M5:=MA(C,5);M10:=MA(C,10);M20:=MA(C,20);M60:=MA(C,60);A:=M5>=M60 AND M10>=M60 AND M20>=M60;T:=BARSLAST(OSS(A,0.5));HT:=HHVBARS(H,T+1);NOTEXT1:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),ISLASTBAR,REF(H,T),0),colorred;NOTEXT2:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),HT=0,REF(H,HT),1),colorred;NOTEXT3:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),HT=0,(REF(H,HT)-REF(H,T))*0.382+REF(H,T),1),DOTLINE,colormagenta;NOTEXT4:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),HT=0,(REF(H,HT)-REF(H,T))*0.618+REF(H,T