通达信黑牛寻踪主图指标公式
2020/5/27 19:18:17
D1:=90;
D2:=15;
M1:=3;
M2:=3;
M3:=3;
多:REF(MA(HIGH,3),1) NODRAW ;
空:REF(MA(LOW,5),1) NODRAW ;
支:REF(MA(LOW,30),1) NODRAW ;
SPJ:CLOSE NODRAW ;
HT:HHV(SPJ,90) NODRAW ;
ZT:IF((SPJ - REF(SPJ,1)) * 100 / REF(SPJ,1) >= 10 - 1 / REF(SPJ,1) AND (SPJ - REF(SPJ,1)) * 100 / REF(SPJ,1) <= 10.5 AND (HIGH = SPJ),1,0) AND VOL / CAPITAL * 100 NODRAW ;
LASTZT:COUNT(ZT,15) >= 1 NODRAW ;
B点预警:CROSS(SPJ,空) AND 多 > 空 AND 空 > 支 AND MACD.DIF > 0 AND MACD.DEA > 0 AND LASTZT > 0 NODRAW ;
牛点:CROSS(SPJ,REF(HHV(SPJ,90),1)) AND (COUNT(CROSS(SPJ,REF(HHV(SPJ,90),1)),5) = 1) NODRAW;
DRAWTEXT(牛点 OR (CROSS(SPJ,REF(HHV(SPJ,360),1)) AND (COUNT(CROSS(SPJ,REF(HHV(SPJ,360),1)),5) = 1)),LOW * 0.97,'');
追点:CROSS(HIGH,REF(HHV(SPJ,90),1)) AND (COUNT(CROSS(HIGH,REF(HHV(SPJ,90),1)),5) = 1) NODRAW ;
DRAWTEXT(追点,LOW * 0.98,'追');
SVAR0:=REF(HHV(HIGH,90),1) ;
TPJL:(SPJ - SVAR0) / SVAR0 * 100, NODRAW ;
DRAWTEXT(B点预警 > 0,LOW,'B');
B2预警:CROSS(SPJ,多) AND 多 > 空 AND 空 > 支 AND MACD.DIF > 0 AND MACD.DEA > 0 AND LASTZT > 0 NODRAW;
DRAWTEXT(B2预警 > 0,LOW,'B2');
STICKLINE(LOW > REF(HIGH,1),REF(HIGH,1),LOW,20,0.5),COLORA0A0A0;
DRAWICON(CROSS(多,SPJ),HIGH * 1.02,2),LINETHICK4;
DRAWICON(CROSS(SPJ,多),LOW * 0.98,1),LINETHICK5;
DT:CROSS(SPJ,多) NODRAW ;
SVAR1:=SUM(IF(SPJ > REF(SPJ,1),VOL,IF(SPJ < REF(SPJ,1),-(VOL),0)),0) ;
SVAR2:=HHV(SVAR1,90) ;
HH顶:HHV(SPJ,700) NODRAW ;
SVAR3:="SH000001$CLOSE" ;
SVAR4:=(SVAR3 - REF(SVAR3,1)) / REF(SVAR3,1) * 100 ;
SVAR5:=(SPJ - REF(SPJ,1)) / REF(SPJ,1) * 100 ;
DRAWTEXT((MA(SVAR5,5) - MA(SVAR4,5) > 0.5 AND MA(SVAR5,5) - MA(SVAR4,5) < 6 AND VOL / REF(VOL,1) > 2 AND SPJ > REF(SPJ,1) AND HIGH < HHV(HIGH,1000)) > 0,LOW * 0.99,'牛');
STICKLINE(ZT > 0,SPJ,OPEN,5.5,0),COLOR00FFFF;
MA5:MA(SPJ,5),COLORFFFFFF ;
MA10:MA(SPJ,10),COLOR00FFFF ;
MA30:MA(SPJ,30),COLOR8B8B7A ;
MA250:MA(SPJ,120),COLOR0000FF ;
投股票 网 ww w.tou18.cn
股市公式下载推荐