A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
牛市线:=A+100,LINETHICK2,COLORMAGENTA;
短期线:=B+100,COLORRED;
中期线:=D+100,COLORLIRED,LINETHICK1;
低位金叉:牛市线<15 AND REF(牛市线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND crOSS(短期线,牛市线) AND 短期线>中期线
AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=牛市线 OR REF( 短期线,1)<1 );