股票软件通达信精品指标公式-四季操盘短线源码通达信公式
公式源码:
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;
特别提示:
选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280