VAR3:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
VAR4:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
VAR5:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
短线:=VAR4+100,COLORLIBLUE;
中线:=VAR5+100,COLORYELLOW,LINETHICK2;
长线:=VAR3+100,COLORGREEN;
VAR14:=长线<15 AND REF(长线,1)<15 AND 中线<18 AND 短线>REF(短线,1);
VAR28:=VAR14 AND crOSS(短线,长线) AND 短线>中线;
VAR29:=(REF(短线,1)<5 OR REF(短线,2)<5);
XG:VAR28 AND VAR29 AND (中线>=长线 OR REF(短线,1)<1),COLORLIRED;