VAR2:=MA(ADVANCE-DECLINE,3)/100;
VAR3:=MA(CLOSE,5)*1.01;
VAR4:=MA(OPEN,13)*1.01;
VAR5:=(MA(HIGH,3)+MA(LOW,5)+MA(CLOSE,3)+MA(OPEN,3)+CLOSE+OPEN)/6+VAR2;
VAR6:=IF(VAR4>VAR5,VAR4,VAR5);
VAR7:=IF(VAR4< VAR5,VAR4,VAR5);
VAR8:=3/100;
下轨:MA(VAR7,5)*(1-VAR8),LINETHICK2,COLORRED;
上轨:MA(VAR6,5)*(1+VAR8),LINETHICK2,COLOR00FF11;
STICKLINE(VAR3>VAR4,VAR4,VAR3,0.01,0),LINETHICK2 COLORYELLOW;
STICKLINE(VAR3< VAR4,VAR3,VAR4,0.01,0),LINETHICK1 COLORWHITE;
STICKLINE(VAR5>VAR4,VAR5,VAR4,0.01,0)COLORMAGENTA;
STICKLINE(VAR5< VAR4,VAR4,VAR5,0.01,0)COLORCYAN;
标签:VAR5,VAR4,MA,VAR3,STICKLINE,公式,0.01,通达信,源码 From: https://www.cnblogs.com/zhibiao/p/17989120