VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
做空线:=SMA(VAR1,3,1),LINETHICK2,COLORGREEN;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
做多线:=SMA(VAR2,5,1)-8,LINETHICK2,COLORRED;
XG:(crOSS(做多线,做空线) AND 做多线>40 AND REF(做多线,3)<做多线 AND 做空线>40 AND C>=O AND C/REF(C,1)>=1.03);