以下是通达信益盟超盘手指标公式
MA5: MA(CLOSE,5);
MA10: MA(CLOSE,10);
MA20: MA(CLOSE,20);
MA60: MA(CLOSE,60);
drawtext(cross(cpx,0),LOW,'B'),coloryellow,linethick3;
drawtext(cross(0,cpx),HIGH*1.01,'S'),colorgreen,linethick3;
stickline(cpx>=0,c,high,0.1,0),colorred;
stickline(cpx>=0 and c>o,close,open,7.5,1),colorred;
stickline(cpx>=0,l,open,0.1,0),colorred;
stickline(cpx>=0 and c<=o,o,c,3,0),colorEEEE00;
stickline(cpx>=0 and c<=o,o,c,8,1),colorred;
stickline(cpx<0 and c<=o,close,open,7.5,0),colorEEEE00;
stickline(cpx<0 and c<=o,o,h,0.1,0),colorEEEE00;
stickline(cpx<0 and c<=o,low,c,0.1,0),colorEEEE00;
stickline(cpx<0 and c>=o,l,open,0.1,0),colorEEEE00;
stickline(cpx<0 and c>=o,c,high,0.1,0),colorEEEE00;
stickline(cpx<0 and c>=o,o,c,7.5,1),colorEEEE00;
stickline(cross(cpx,0),open,close,4,0),coloryellow;
stickline(cross(0,cpx),open,close,4,0),colorgreen;