N:=14;N2:=6;
AA:=EMA(C,2);
DD:=EMA(SLOPE(C,21)*20+C,42);
TYP := (HIGH + LOW + CLOSE)/3;
V1:=SUM(IF(TYP REF(TYP,1),TYP*VOL,0),N)/SUM(IF(TYP REF(TYP,1),TYP*VOL,0),N);
HHH:100-(100/(1+V1));
DRAWICON(CROSS(AA,DD),HHH,1);
DRAWICON(CROSS(HHH,50),HHH,3);
DRAWICON(CROSS(80,HHH),HHH,2);
80;
50;
20;