VAR2:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
VAR3:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
中期线:=VAR3+100;
短期线:=VAR2+100;
红箭头买:crOSS(短期线, 中期线) AND 中期线<15;
VAR2:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
VAR3:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
中期线:=VAR3+100;
短期线:=VAR2+100;
红箭头买:crOSS(短期线, 中期线) AND 中期线<15;