VAR1F1:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),COLORFF9900;
VAR1F2:=20;
底部:crOSS(VAR1F1,VAR1F2);
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(CLOSE+HIGH+LOW)/3;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR_A:=IF(VAR9>100,VAR9-100,0);
VAR_B:=HHV(HIGH,34);
VAR_C:=EMA((VAR6-VAR8)/(VAR_B-VAR8)*100,13);
VAR_D:=EMA(0.667*REF(VAR_C,1)+0.333*VAR_C,2);
牛熊线:=EMA(VAR_D,1),COLORYELLOW;
拉升:crOSS(VAR_C,牛熊线) AND VAR_C>VAR_D AND VAR_C<55 AND C>O;

