VAR1:=(2*C+H+L)/4;
VAR2:=MA(VAR1,5);
VAR3:=MA(VAR1,21);
VAR4:=MA(VAR1,60);
昨收:=DYNAINFO(3),COLORGRAY;
低:=DYNAINFO(6),POINTDOT,COLORYELLOW;
{ _通达信股票指标公式}
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,3,0),COLORFF00FF;
STICKLINE(VAR1>=VAR2,HIGH,LOW,0,0),COLORFF00FF;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,3,0),COLORWHITE;
STICKLINE(VAR1<VAR2,HIGH,LOW,0,0),COLORWHITE;
STICKLINE(VAR1<=VAR3 AND VAR1>OPEN,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(VAR1<=VAR3 AND VAR1>OPEN,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(VAR1>=VAR4 AND VAR1>OPEN,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(VAR1>=VAR4 AND VAR1>OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(VAR1>=VAR4 AND VAR1<OPEN,CLOSE,OPEN,3,0),COLORGRAY;
STICKLINE(VAR1>=VAR4 AND VAR1<OPEN,HIGH,LOW,0,0),COLORGRAY;
强弱:(MA(VAR1,3)+MA(VAR1,6)+MA(VAR1,12)+MA(VAR1,24))/4,COLORRED,LINETHICK2;
股势:(MA(VAR2,5)+MA(VAR2,13)+MA(VAR2,21)+MA(VAR2,34))/4,COLORWHITE;
中长:EMA(VAR1,55),COLORFF00FF;
四季:(MA(VAR1,63)+MA(VAR1,126)+MA(VAR1,189)+MA(VAR1,252))/4,COLORGRAY,LINETHICK2;