通达信建仓加仓空仓优化版指标公式
2020/5/11 18:22:26
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
DEA:=EMA(DIF,9),COLORWHITE,LINETHICK2;
STICKLINE(DIF>0 AND DIF>DEA>0,0,-0.6,10,1),COLORYELLOW;
STICKLINE(0>DIF>DEA AND DIF>DEA,0,-0.6,10,1),COLORRED;
STICKLINE(DIF<DEA,0,-0.6,10,1),COLORGREEN;
DRAWTEXT(CROSS(DEA,DIF),0+0.1,'空仓'),COLORGREEN;
DRAWTEXT(CROSS(DIF,0),0+0.1,'加仓'),COLORYELLOW;
DRAWTEXT(CROSS(DIF,DEA),0+0.1,'建仓'),COLORRED;
投股 票网 www.tou1 8.cn
股市公式下载推荐