地线: 10,colorff00ee,POINTDOT;
强弱界: 50,colorblue,;
天线: 82,color00ff55,POINTDOT;
Var1:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV (LOW,55))*100;
Var2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV (LOW,21))*100;
Var3:=LLV(LOW,33);
Var4:=HHV(HIGH,21);
Var5:=EMA((CLOSE-Var3)/(Var4-Var3)*100,20)*0.998;
主力:=EMA(0.667*REF(Var5,1)+0.333*Var5,1);
STICKLINE(主力>=75,主力,78,4,1),colorred;
STICKLINE(主力<=20,主力,20,4,1),color00ff22;
STICKLINE(主力>=50 AND 主力<75,主力,50,4,1),colorred;
STICKLINE(主力<50 AND 主力>20,主力,50,4,1),color22ff00;
STICKLINE(主力>=75,50,78,4,1),coloryellow;
STICKLINE(主力<=20,50,20,4,1),colorff77ff;
STICKLINE(主力<REF(主力,1) AND 主力>50,50,主力,4,1),colorcccc00;
STICKLINE(主力>REF(主力,1) AND 主力<50,50,主力,4,1),colorff22ff;
STICKLINE(主力<20,20,主力,4,1),colorblue;
STICKLINE(主力>90,95,主力,3,1),colorred,linethick5;
空头能量线: SMA(Var1,4,1),color00ccc0,linethick2;
多头能量线: SMA(Var2,4,1)-4,colorred,linethick2;
DRAWTEXT(CROSS(地线,多头能量线) ,地线+10,'买不亏');
AA:100-EMA(0.667*REF(Var5,9)+0.333*Var5,1),colorgreen,linethick0;
STICKLINE(主力>85,85,主力,4,1),color00ff88;
STICKLINE(主力<10,10,主力,4,1),color00ff88;