P1:=2;
PM1:=3;
VAR1:=HHV(HIGH,9*P1)-LLV(LOW,9*P1);
VAR2:=HHV(HIGH,9*P1)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9*P1);
VAR4:=VAR2/VAR1*100-70;
VAR7:=SMA(VAR3/VAR1*100,3*P1,1);
VAR9A:=(SMA(VAR7,3*P1,1)-SMA(VAR4,9*P1,1))*0.8;
VAR9:=EMA(VAR9A,PM1);
PARTLINE(VAR9A REF(VAR9A,1),VAR9A),colorFF,LINETHICK2;
PARTLINE(VAR9A =REF(VAR9A,1),VAR9A),colorFF00,LINETHICK2;
CROSS(VAR9A,VAR9);