1:=33;2:=33;0,COLORWHITE;CS1:=(2*CLOSE+HIGH+LOW)/4*(VR1+0.001);CS2:=EMA(CS1,4)*(VR2);CS3:=EMA(CS2,4);CS4:=EMA(CS3,4);JS0:=(CS4-REF(CS4,1))/REF(CS4,1)*100*(VR2);短波0:JS0;JS1:=MA(JS0,2);短波1:JS1;JS2:=MA(JS0,1);短波2:JS2;{中波:MA(JS1,N),COLORRED;}红实波:JS0>=0 AND JS0>REF(JS0,1),COLORRED,NODRAW;红空波:JS0>=0 AND JS0<=REF(JS0,1),COLORLIRED,NODRAW;绿波:JS0<0>=JS2,COLORGREEN,NODRAW;蓝波:JS0<0 JS1<=JS2,COLORBLUE,NODRAW;STICKLINE(红实波>=0 AND JS0
[O AND EXIST(短波1>REF(短波1,1),3)=1 AND 短波1>0.6 ,JS0,0,0.1,0),COLORMAGEN
]