VAR8:=LLV(LOW,34);
VARC:=EMA(((((2)*(CLOSE) + HIGH + LOW)/(4) - VAR8)/(HHV(HIGH,34) - VAR8))*(100),8);
VARD:=EMA(VARC,5);
建仓:IF((VARC > 17) AND (VARC < 59) AND (VARC - VARD >= 0),10,(-10));
VAR8:=LLV(LOW,34);
VARC:=EMA(((((2)*(CLOSE) + HIGH + LOW)/(4) - VAR8)/(HHV(HIGH,34) - VAR8))*(100),8);
VARD:=EMA(VARC,5);
建仓:IF((VARC > 17) AND (VARC < 59) AND (VARC - VARD >= 0),10,(-10));