趋势线:MA(C,20),LINETHICK2,COLORGREEN;
短线操作线:MA(C,3),COLORWHITE;
IF(趋势线 REF(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK2;
IF(趋势线 =REF(趋势线,1),趋势线,DRAWNULL),LINETHICK2,COLORGREEN;
STICKLINE(C/REF(C,1) =1.095 AND C=H,O,C,2.8,0),COLORMAGENTA;
强势线:MA(LOW,20)*1.1,,COLORMAGENTA,CROSSDOT;
弱势线:MA(HIGH,20)*0.9,COLORBLUE,CROSSDOT;
X_1:=LLV(HIGH,500);
做多能量:=100*(CLOSE-X_1)/X_1,COLORRED,LINETHICK2;
X_2:=HHV(HIGH,240);
做空能量:=100*(X_2-CLOSE)/CLOSE,COLORGREEN,LINETHICK2;
能量饱和度:=100*WINNER(CLOSE),COLORYELLOW,LINETHICK2;
主力拉升:=MA(VOL,3)/VOL*((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*1000,NODRAW;
DRAWTEXT(能量饱和度 =95,L,'●'),COLORYELLOW,LINETHICK2;
DRAWTEXT(做空能量 =3,L*0.98,'●'),COLORRED,LINETHICK2;
DRAWTEXT(主力拉升 50,L*0.96,'●'),COLORGREEN,LINETHICK2;
多头:=趋势线 REF(趋势线,1);
走好:=多头=1 AND REF(多头,1) 1;
A:=能量饱和度 =95 AND COUNT(能量饱和度 =95,BARSLAST(走好)+1)=1;
B:=做空能量 =3 AND COUNT(做空能量 =3,BARSLAST(走好)+1)=1;
多头主升:=A OR B;{www.9m8.cn 九毛八公式指标网}
DRAWTEXT(多头主升,L*0.95,'主升浪'),COLORYELLOW;
AA:=能量饱和度 =95 OR 做空能量
主升浪突破:=AA AND CROSS(C,强势线);
DRAWTEXT(主升浪突破,L*0.95,'主升浪[突破]'),COLORYELLOW;
主升浪强势:=AA AND COUNT(AA,BARSLAST(CROSS(做多能量,100))+1)=1;
DRAWTEXT(主升浪强势,L*0.9,'主升浪[强势]'),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.00,0,'
擒妖抓牛
'),COLORYELLOW;
HJ_1:=REF(CLOSE,1);