VAR1:=IF(C>REF(C,1),V,-V);
VAR2:=SUM(IF(C=REF(C,1),0,VAR1),0);
VAR3:=(EMA(C,9)-EMA((REF(C,1)+O)/2,9));
VAR4:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(Abs(C-REF(C,1)),6,1)*100;
VAR5:=REF(CLOSE,1);
VAR6:=SMA(MAX(C-VAR5,0),6,1)/SMA(ABS(C-VAR5),6,1)*100;
VAR7:=EMA(V,18)-EMA(V,36);
VAR8:=EMA(C,18)-EMA(C,36);
VAR9:=VAR7>REF(VAR7,1) AND VAR8<REF(VAR8,1);
VAR10:=STRCAT(HYBLOCK,' ');
VAR11:=STRCAT(VAR10,FGBLOCK);
VAR12:=STRCAT(VAR11,DYBLOCK);
VAR13:=STRCAT(VAR12,' ');
VAR18:=REF(VAR9,2)=1 AND REF(VAR9,1)=1 AND VAR9;
VAR19:=REF(VAR9,3)=1 AND REF(VAR9,2)=1 AND REF(VAR9,1)=1 AND VAR9;
XG:VAR18 AND VAR19;