VAR1X:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) - ((CLOSE + LOW)/(2))*(0.1);
VAR2X:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR1X)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) - VAR1X)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) - VAR1X)*(5),2)))/(10));
VAR3X:=IF((VAR2X > 0),VAR2X - 0,(-1));
B6:=IF(CROSS(VAR3X,0) AND C>MA(C,30) AND MA(C,30)>REF(MA(C,30),1) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/(2),8)),1,0);
IF(TT7 OR B6,1,0); |