N1:=5;N2:=5;P:=3;
EMA(100*(C-COST(1))/(COST(99)-COST(1)),3),COLORGREEN;
ASR10:100*REF(EMA((WINNER(C*1.1)-WINNER(C*0.9)),N1),P),COLORWHITE;
ASR30:100*EMA(WINNER(C)-WINNER(C*0.7),N2);
STICKLINE({(VOL/FINANCE(7)) 3 AND} ASR30 ASR10,ASR30,ASR10,2.8,1),COLORRED;
STICKLINE( ASR30 ASR10 AND CKDP =83,CKDP,ASR30,3.8,1),COLORYELLOW;
STICKLINE(ASR30 ASR10,ASR10,ASR30,2.8,1),COLORAAAAAA;
STICKLINE(CROSS(CKDP,MAX(ASR10,ASR30)) AND MAX(ASR10,ASR30) =10,60,CKDP,2.8,1),COLORRED;
DRAWICON(CROSS(CKDP,MAX(ASR10,ASR30)) AND MAX(ASR10,ASR30) =10,CKDP+20,1);