N1:=5;N2:=5;P:=3;
{n1 1-100 -5
CKDP: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>=85,CKDP,ASR30,3.8,1),COLORYELLOW;
STICKLINE(ASR30
STICKLINE(CROSS(CKDP,MAX(ASR10,ASR30)) AND
DRAWICON(CROSS(CKDP,MAX(ASR10,ASR30)) AND