在线检测未来函数

通达信麒麟操盘决策指标公式

来源:Internet,编辑:股旁网,2024-02-05

A1:=EMA(C,12)-EMA(C,25);
A2:=EMA(A1,6);
获利回吐:(A2>=0)*A2,colorwhite,LINETHICK0;
空头回补:(A2<0)*A2,coloryellow,LINETHICK0;
坚绝做空:(A1<0)*A1,colorgreen,LINETHICK0;
买入持股:(A1>=0)*A1,colorred,LINETHICK0;
STICKLINE(A2>=0,A2,0,3.2,0),COLORAAAAAA;
STICKLINE(A2>=0,A2,0,2.9,0),COLOR777777;
STICKLINE(A2>=0,A2,0,2.4,0),COLOR999999;
STICKLINE(A2>=0,A2,0,1.8,0),COLORBBBBBB;
STICKLINE(A2>=0,A2,0,1.1,0),COLORDDDDDD;
STICKLINE(A2>=0,A2,0,0.3,0),COLORFFFFFF;
STICKLINE(A2<0,A2,0,3.2,0),COLORFF5500;
STICKLINE(A2<0,A2,0,2.9,0),coloryellow;
STICKLINE(A2<0,A2,0,2.4,0),coloryellow;
STICKLINE(A2<0,A2,0,1.8,0),coloryellow;
STICKLINE(A2<0,A2,0,1.1,0),coloryellow;
STICKLINE(A2<0,A2,0,0.3,0),coloryellow;
STICKLINE(A1<0,A1,0,3.2,0),COLORCC0066;
STICKLINE(A1<0,A1,0,2.9,0),COLOREE0066;
STICKLINE(A1<0,A1,0,1.8,0),COLORFF2266;
STICKLINE(A1<0,A1,0,1.1,0),COLORFF4466;
STICKLINE(A1<0,A1,0,0.3,0),COLORFF6666;
STICKLINE(A1>=0,A1,0,3.2,0),COLOR000055;
STICKLINE(A1>=0,A1,0,2.9,0),COLOR000077;
STICKLINE(A1>=0,A1,0,2.4,0),COLOR000099;
STICKLINE(A1>=0,A1,0,1.8,0),COLOR0000BB;
STICKLINE(A1>=0,A1,0,1.1,0),COLOR0000DD;
STICKLINE(A1>=0,A1,0,0.3,0),COLOR0000FF;
{SAR持币:IF(sar(10,2,20)>=H,0,DRAWNULL),CIRCLEDOT,colorgreen;
SAR持股:IF(SAR(10,2,20)<=L,0,DRAWNULL),CIRCLEDOT,COLOR000099;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'42'),COLOR556699;};

通达信麒麟操盘决策指标公式

相关文章