LC:=REF(C,1);
A1:=SMA(MAX(C-LC,0),6,1)/SMA(Abs(C-LC),6,1)*100;
A2:=SMA(MAX(C-LC,0),24,1)/SMA(ABS(C-LC),24,1)*100;
XG:A1>=70 AND A1>A2 AND V< REF(V,1) AND C< REF(C,1)*1.03;
LC:=REF(C,1);
A1:=SMA(MAX(C-LC,0),6,1)/SMA(Abs(C-LC),6,1)*100;
A2:=SMA(MAX(C-LC,0),24,1)/SMA(ABS(C-LC),24,1)*100;
XG:A1>=70 AND A1>A2 AND V< REF(V,1) AND C< REF(C,1)*1.03;