M5:MA(C,5);M10:MA(C,10);A:=BARSLAST(OSS(M5,M10));T:=BARSLAST(CURRBARSCOUNT=CONST(A)+1);D:=MIN(M5,M10);STICKLINE(T>=0,REF(D,T),REF(D,T),6,0),COLORRED,LINETHICK2;STICKLINE(T>=0,REF(D+D*0.198,T),REF(D+D*0.198,T),6,-1),COLORLIMAGENTA;STICKLINE(T>=0,REF(D-D*0.198,T),REF(D-D*0.198,T),6,-1),COLORLIMAGENTA;STICKLINE(T>=0,REF(D+D*0.382,T),REF(D+D*0.382,T),6,-1),COLORGREEN;STICKLINE(T>=0,REF(D-D*0.382,T),REF(D-D*0.382,T),6,-1),COLORGREEN;STICKLINE(T>=0,REF(D+D*0.5,T),REF(D+D*0.5,T),6,-1),COLORYELLOW;STICK