MA30:=EMA(CLOSE,30);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORFFFFFF,DOTLINE;
支撑:L1+P1*0.5/8,COLOR0080FF,DOTLINE;
VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(VAR2,13,8);
高抛:100, POINTDOT,COLOR7D7D7D;
低吸: 0, POINTDOT;
做多能量: SMA(VAR3,13,8),COLOR000000;
做空能量: SMA(VAR1,21,8),COLORD2D200,LINETHICK1;
强弱分界: 50;
主力资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR000000;
即将爆发线: 65,COLOR000000;
爆发线:80,COLOR000000,LINETHICK1;
DRAWTEXT(CROSS(主力资金,爆发线),主力资金,'★爆点'),COLOR00FFFF;
爆发警戒线: 50,COLOR000000;
★买:20,COLOR000000;
抄底:20,COLORFF8E8E,LINETHICK1;
DRAWTEXT(CROSS(主力资金,抄底),主力资金,'★买'),COLOR00FFFF;
DRAWTEXT(CROSS(主力资金,爆发警戒线),主力资金,'★加'),COLOR00FFFF;
DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,'★加'),COLOR00FFFF;
DRAWTEXT(CROSS(爆发线,主力资金),爆发线,'★减'),COLOR00FF00;
短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),colorwhite,LINETHICK1;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR0000FF,LINETHICK3;
20,POINTDOT,COLOR00F000;
50,POINTDOT,COLOR0000FF,LINETHICK4;
80,POINTDOT,COLOR7D7D7D;
底:短期<6 AND 长期<6,STICK,COLORFFFFFF,LINETHICK2;
DRAWTEXT(底>0,0.1,'底'),COLOR00FFFF;
针:短期<20 AND 长期>60,STICK,COLORFFFFFF,LINETHICK2;
DRAWTEXT(针>0,5.1,'针'),COLOR00FFFF;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
跨越:=EMA(Q3, 3);
VAR12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线:=SMA(VAR12,3,1);
大底:=0;
★强势区:IF(CROSS(跨越,机构做空能量线) ,大底+35,0),COLOR000000,STICK,LINETHICK1;
DRAWTEXT(★强势区>0,35.6,'★强势区'),COLOR00FFFF;