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);
VAR10:=IF(VAR9>100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);
VAR14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VAR15:=MA(VAR14,3);
VAR16:=HHV(HIGH,9)-LLV(LOW,9);
VAR17:=HHV(HIGH,9)-CLOSE;
VAR18:=CLOSE-LLV(LOW,9);
VAR19:=VAR17/VAR16*100-70;
VAR20:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR21:=(2*CLOSE+HIGH+LOW)/4;
VAR22:=SMA(VAR18/VAR16*100,3,1);
VAR23:=LLV(LOW,34);
VAR24:=SMA(VAR22,3,1)-SMA(VAR19,9,1);
VAR25:=IF(VAR24>100,VAR24-100,0);
VAR26:=HHV(HIGH,34);
VAR27:=EMA((VAR21-VAR23)/(VAR26-VAR23)*100,8);
DRAWKLINE(EMA(VAR27,5),EMA(VAR27,5),VAR27+1,VAR27);
领先:EMA(VAR27,5),COLORCYAN;
生命线:EMA(VAR13,1),COLORYELLOW;
VAR28:=MA(CLOSE,5)=HHV(MA(CLOSE,5),20);
VAR29:=MA(CLOSE,5)>MA(CLOSE,10);
VAR30:=MA(VOL,5)>MA(VOL,40)*1.01;
VAR31:=COUNT(MA(CLOSE,1)>REF(CLOSE,1),2)=2;
VAR32:=VAR28 AND VAR29 AND VAR30 AND VAR31;
VAR33:=EMA(CLOSE,8);
VAR34:=EMA(VAR33,20);
VAR35:=CROSS(VAR33,VAR34);
VAR36:=VAR33<EMA(CLOSE,120);
STICKLINE(VAR35 AND VAR36 OR (VAR28 AND VAR29 AND VAR30 AND VAR31),VAR27*1.03,VAR27*1.12,1,0),COLORYELLOW;
VAR37:=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);
VAR38:=20;
低位转强:IF(CROSS(VAR37,VAR38),50,0),STICK,COLORMAGENTA,LINETHICK2;
开始拉升:IF(CROSS(VAR12,生命线) AND VAR12>VAR13 AND VAR12<55 AND CLOSE>OPEN,50,0),POINTDOT,COLORLIRED;
VAR39:=LLV(CLOSE,500)=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>1+9.8/100;
极地上涨:IF(VAR39,领先,0),COLORGREEN,LINETHICK2;
STICKLINE(开始拉升>0,15,开始拉升*1.01,1,0),COLORBLUE;
STICKLINE(开始拉升>0 AND 开始拉升<400 OR (极地上涨>0 AND 极地上涨<400) OR (低位转强>0 AND 低位转强<400) OR 低位转强>0,30,开始拉升,1,0),COLORRED;
STICKLINE(开始拉升>0,15,开始拉升*0.6,3,0),COLORBLUE;
STICKLINE(开始拉升>0,15,开始拉升*0.4,3,0),COLORGREEN;
STICKLINE(开始拉升>0,15,开始拉升*0.2,3,0),COLOR0099CC;
STICKLINE(低位转强>0,15,低位转强*1.01,1,0),COLORMAGENTA;
STICKLINE(低位转强>0 OR 极地上涨>0,15,低位转强*0.4,3,0),COLORYELLOW;
STICKLINE(低位转强>0,15,低位转强*0.2,3,0),COLORFFCC66;
STICKLINE(极地上涨>0,15,极地上涨*1.01,1,0),COLORYELLOW;