M1:=5;M2:=10;M3:=20;M4:=30;M5:=60;V5:=MA(,5);V10:=MA(,10);V20:=MA(VOL,20);LDAY1:=BARSLAST(OSS(V5,V10));LDAY2:=BARSLAST(CROSS(V5,V20));LDAY3:=BARSLAST(CROSS(V10,V20));LTJ1:=(LDAY1>LDAY2 OR LDAY1=LDAY2) AND LDAY2=0 AND V10
O AND REF(C,1)[REF(O,2) AND C>REF(C,2));LTJ:=LTJ1 AND LTJ2;LTJ0:=LTJ1 AND V10>REF(V10,1);MA5:MA(C,5),COLORWHITE;MA10:MA(C,10),COLORCYAN;MA20:MA(C,20),COLORRED;MA30:MA(C,40),LINETHICK1,DOTLINE,COLORYELLOW;MA60:MA(C,60),LINETHICK1,DOTLINE,COLORGREEN;PDAY1:=BARSLAS
]