最高(最低)价与5MA的比值
最高(最低)价与5MA的比值
【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!
是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。
编写条件:
先谢谢了!!!! 重心:=AMOUNT/(V*100); 两日重心:=(SUM(AMOUNT,2))/(SUM((V*100),2)); 三日重心:=(SUM(AMOUNT,3))/(SUM((V*100),3)); 四日重心:=(SUM(AMOUNT,4))/(SUM((V*100),4)); 上日重心:=ref(重心,1); 上两日重心:=ref(两日重心,1); 上三日重心:=ref(三日重心,1); 上四日重心:=ref(四日重心,1); 前日重心:=ref(重心,2); 前两日重心:=ref(两日重心,2); 前三日重心:=ref(三日重心,2); 前四日重心:=ref(四日重心,2); DRAWTEXTREL(0,100,'■今日重心:'+重心),COLORGREEN; DRAWTEXTREL(85,100,'■两日重心:'+两日重心),COLOR0099ef; DRAWTEXTREL(0,150,'■三日重心:'+三日重心),COLORGREEN; DRAWTEXTREL(85,150,'■四日重心:'+四日重心),COLOR0099ef; DRAWTEXTREL(185,100,'■上日重心:'+上日重心),COLORGREEN; DRAWTEXTREL(270,100,'■上两日重心:'+上两日重心),COLOR0099ef; DRAWTEXTREL(185,150,'■上三日重心:'+上三日重心),COLORGREEN; DRAWTEXTREL(270,150,'■上四日重心:'+上四日重心),COLOR0099ef; DRAWTEXTREL(370,100,'■前日重心:'+前日重心),COLORGREEN; DRAWTEXTREL(455,100,'■前两日重心:'+前两日重心),COLOR0099ef; DRAWTEXTREL(370,150,'■前三日重心:'+前三日重心),COLORGREEN; DRAWTEXTREL(455,150,'■前四日重心:'+前四日重心),COLOR0099ef;
编写方法:
重心:=AMOUNT/(V*100);
两日重心:=(SUM(AMOUNT,2))/(SUM((V*100),2));
三日重心:=(SUM(AMOUNT,3))/(SUM((V*100),3));
四日重心:=(SUM(AMOUNT,4))/(SUM((V*100),4));
上日重心:=REF(重心,1);
上两日重心:=REF(两日重心,1);
上三日重心:=REF(三日重心,1);
上四日重心:=REF(四日重心,1);
前日重心:=REF(重心,2);
前两日重心:=REF(两日重心,2);
前三日重心:=REF(三日重心,2);
前四日重心:=REF(四日重心,2);
高点:=REFDATE(HHV(H,140),DATE);
DRAWTEXT(CURRBARSCOUNT-129,高点,'■今日重心:'),COLORGREEN;
DRAWNUMBER(CURRBARSCOUNT-121,高点,重心),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.98,'■两日重心:'),COLOR0099EF;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.98,两日重心),COLOR0099EF;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.96,'■三日重心:'),COLORGREEN;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.96,三日重心),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.94,'■四日重心:'),COLOR0099EF;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.94,四日重心),COLOR0099EF;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.92,'■上日重心:'),COLORGREEN;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.92,上日重心),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.90,'上两日重心:'),COLOR0099EF;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.90,上两日重心),COLOR0099EF;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.88,'上三日重心:'),COLORGREEN;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.88,上三日重心),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.86,'上四日重心:'),COLOR0099EF;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.86,上四日重心),COLOR0099EF;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.84,'前日重心:'),COLORGREEN;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.84,前日重心),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.82,'前两日重心:'),COLOR0099EF;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.82,前两日重心),COLOR0099EF;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.80,'前三日重心:'),COLORGREEN;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.80,前三日重心),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT-129,高点*0.78,'前四日重心:'),COLOR0099EF;
DRAWNUMBER(CURRBARSCOUNT-121,高点*0.78,前四日重心),COLOR0099EF;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}黑马股票
做(强势出击)中TJ1 TJ2同时出现选股公式
做(强势出击)中TJ1 TJ2同时出现选股公式
大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:
下载地址:https://share.weiyun.com/LPoU0GHu