股票论坛
标题:
请老师将四季操盘附图指标改为选股公式,谢谢!!
[打印本页]
作者:
上官阳荣
时间:
2015-11-13 16:37
标题:
请老师将四季操盘附图指标改为选股公式,谢谢!!
源码:
DIFIF1:=EMA(CLOSE,8) - EMA(CLOSE,18);
DEAEA1:=EMA(DIFIF1,7);
MACD1:=2*(DIFIF1-DEAEA1),STICK;
MACD2:=EMA(MACD1,3);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORBLUE;
STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORWHITE;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;
STICKLINE(MACD1<MACD2 AND MACD1>0,0,MACD1,1,0),COLORGREEN;
MACD:MACD1,NODRAW,COLORMAGENTA;
强:=IF(DIFIF1>=DEAEA1,DIFIF1,DRAWNULL),COLORRED,LINETHICK2;
弱:=IF(DEAEA1>=DIFIF1,DEAEA1,DRAWNULL),COLORFF9900,LINETHICK2;
DRAWICON(CROSS(DIFIF1,DEAEA1),DEAEA1-0.02,1);
A10:=CROSS(MACD1,0);
无庄控盘:IF(MACD1<0,MACD1,0),COLORWHITE,NODRAW;
开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;
选出出现“开始控盘”信号个股,谢谢!!
作者:
新朝阳
时间:
2015-11-13 16:37
DIFIF1:=EMA(CLOSE,8) - EMA(CLOSE,18);
DEAEA1:=EMA(DIFIF1,7);
MACD1:=2*(DIFIF1-DEAEA1),STICK;
A10:=CROSS(MACD1,0);
开始控盘:IF(A10,1,0),LINETHICK1,COLORYELLOW;
作者:
上官阳荣
时间:
2015-11-18 20:55
谢谢!!
欢迎光临 股票论坛 (http://100000w.com/)
Powered by Discuz! X3.2