Var 1: = sum (max (high-low, ABS (high -REF(CLOSE, 1)), ABS (low -REF(CLOSE,1)), 25);
VAR2:=HIGH-REF (high,1);
VAR3:=REF(LOW, 1)- low;
var 4:= SUM(IF(var 2 & gt; 0 and VAR2 & gtVAR3, VAR2, 0), 25);
var 5:= SUM(IF(var 3 & gt; 0 and VAR3 & gtVAR2, VAR3, 0), 25);
var 6:= var 4 * 100/var 1;
var 7:= var 5 * 100/var 1;
var 8:= MA(ABS(var 7-var 6)/(var 7+var 6)* 100, 15);
VAR9:=(VAR8+REF(VAR8, 15))/2;
A: = (var 7 > VAR6 and VAR7 & gt25 and VAR6 & lt25);
B:=ZIG(3,50/5)* 100,COLORWHITE
G:=MA(B,2),COLORYELLOW
D:=CROSS(B,G)* 1000,COLORRED
W:=CROSS(G,B)* 1000,COLORBLUE
E:=REF(INDEXC, 1);
F:=SMA(MAX(INDEXC-E,0),3 1)/SMA(ABS(INDEXC-E),3 1);
VAR 10:=F and F<8;
Var11:= (close-LLV (low, 9))/(HHV (high, 9)-LLV (low, 9)) *100;
var 12:= SMA(var 1 1,3, 1);
VAR 13:=SMA(VAR 12,3, 1);
VAR 14:=VAR 13 and var13 <; 20;
MM:=A and d and VAR 10 and var14;
XG :D = 1000;