一买就涨 大趋势型指标 通达信主图指标 源码 贴图 有未来
此款主图是大趋势型指标专做主升浪中鱼身最肥的一段.看信号买入坐等渔利.当然新手可以飘过不适应这样的操作.指标有未来使用需谨慎.指标只是辅助工具,帮你缩小目标范围,就像尽信书不如无书一样,尽信指标不如无指标,能否操作仍需结合大势,比如股灾期间,每一次的拉升都是逃命的机会。与大家分享,与大家共勉。
{一买就涨主图}折线:ZIG(3,20);
前波峰值:=PEAK(3,20,1);
前波谷值:=TROUGH(3,20,1);
DRAWNUMBER(折线 REF(折线,1) AND REF(折线,1) REF(折线,2),REF(C,1),-(前波峰值-REF(C,1))/前波峰值*100);{好股票WWW.GOODGUPIAO.COM}
DRAWNUMBER(折线 REF(折线,1) AND REF(折线,1) REF(折线,2),REF(C,1),(REF(C,1)-前波谷值)/前波谷值*100);
PL5:=ZIG(3,5);
EN1:=ZIG(3,5) REF(ZIG(3,5),1) AND REF(ZIG(3,5),1) =REF(ZIG(3,5),2) AND REF(ZIG(3,5),2) =REF(ZIG(3,5),3);
EX1:=ZIG(3,5) REF(ZIG(3,5),1) AND REF(ZIG(3,5),1) =REF(ZIG(3,5),2) AND REF(ZIG(3,5),2) =REF(ZIG(3,5),3);
PL10:=ZIG(3,10);
EN2:=ZIG(3,10) REF(ZIG(3,10),1) AND REF(ZIG(3,10),1) =REF(ZIG(3,10),2) AND REF(ZIG(3,10),2) =REF(ZIG(3,10),3);
EX2:=ZIG(3,10) REF(ZIG(3,10),1) AND REF(ZIG(3,10),1) =REF(ZIG(3,10),2) AND REF(ZIG(3,10),2) =REF(ZIG(3,10),3);
PL20:=ZIG(3,20);
EN3:=ZIG(3,20) REF(ZIG(3,20),1) AND REF(ZIG(3,20),1) =REF(ZIG(3,20),2) AND REF(ZIG(3,20),2) =REF(ZIG(3,20),3);
EX3:=ZIG(3,20) REF(ZIG(3,20),1) AND REF(ZIG(3,20),1) =REF(ZIG(3,20),2) AND REF(ZIG(3,20),2) =REF(ZIG(3,20),3);
PL40:=ZIG(3,40);
走强1:=BARSLAST(PL5 REF(PL5,1));
走弱1:=BARSLAST(PL5 REF(PL5,1));
走强2:=BARSLAST(PL10 REF(PL10,1));
走弱2:=BARSLAST(PL10 REF(PL10,1));
走强3:=BARSLAST(PL20 REF(PL20,1));
走弱3:=BARSLAST(PL20 REF(PL20,1));
ZTJZ5:=IF(PL10 REF(PL10,1),COUNT(EN1,走强2),0);
ZTJD5:=IF(PL10 REF(PL10,1),COUNT(EX1,走强2),0);
DTJZ5:=IF(PL10 REF(PL10,1),COUNT(EN1,走弱2),0);
DTJD5:=IF(PL10 REF(PL10,1),COUNT(EX1,走弱2),0);
ZTJZ10:=IF(PL20 REF(PL20,1),COUNT(EN2,走强3),0);
ZTJD10:=IF(PL20 REF(PL20,1),COUNT(EX2,走强3),0);
DTJZ10:=IF(PL20 REF(PL20,1),COUNT(EN2,走弱3),0);
DTJD10:=IF(PL20 REF(PL20,1),COUNT(EX2,走弱3),0);
DRAWTEXT(EX1 AND PL10 REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLOR0000FF;
DRAWTEXT(EN1 AND PL10 REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR0000FF;
DRAWTEXT(EX1 AND PL10 REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLOR0000FF;
DRAWTEXT(EN1 AND PL10 REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;
DRAWTEXT(EX2 AND PL20 REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLOR0000FF;
DRAWTEXT(EX2 AND PL20 REF(PL20,1) AND ZTJD10=1,H*1.06,'①'),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20 REF(PL20,1) AND ZTJZ10=2,L*0.94,'②'),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EX2 AND PL20 REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.06,'③'),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20 REF(PL20,1) AND ZTJZ10=3,L*0.94,'④'),LINETHICK3,COLOR00FFFF;
MA13:=EMA(C,13),COLOR0000FF;{www.9m8.cn 九毛八公式指标网}
DIR:=ABS(CLOSE-REF(CLOSE,10));
VIR:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER:=DIR/VIR;
CS:=ER*(0.8-2/24)+2/24;
CQ:=CS*CS;
STICKLINE(C MA13,H,L,0,0),COLORRED;
YTX:EMA(DMA(CLOSE,CQ),2),COLORGREEN;
STICKLINE(C MA13,C,O,-1,1),COLORRED;
STICKLINE(C=MA13,H,L,3,0),COLORCYAN;
BLU:IF(YTX/REF(YTX,1) 0.997,YTX,DRAWNULL),COLORBLUE,LINETHICK3;
STICKLINE(C MA13,H,L,0,0),COLORCYAN;
STICKLINE(C MA13,O,C,-1,1),COLORCYAN;
GUL:IF(YTX/REF(YTX,1) 1.001,YTX,DRAWNULL),COLORRED,LINETHICK3;
买线:=ZIG(3,10);
卖线:=MA(买线,3);
STICKLINE(CROSS(买线,卖线),O,C,7,0),COLOR00AAFF;
STICKLINE(买线 卖线,H,L,0,0),COLORGREEN;
STICKLINE(买线 卖线,C,O,3,0),COLOR007700;
STICKLINE(买线 卖线,C,O,3,0),COLOR008E00;
STICKLINE(买线 卖线,C,O,3,0),COLOR009900;
STICKLINE(买线 卖线,C,O,3,0),COLOR00A600;
STICKLINE(买线 卖线,C,O,3,0),COLOR00B500;
STICKLINE(买线 卖线,C,O,3,0),COLOR00C600;
STICKLINE(买线 卖线,C,O,3,0),COLOR00D500;
STICKLINE(买线 卖线,C,O,2,0),COLOR00E600;
STICKLINE(买线 =卖线,H,L,0,0),COLOR0000FF;
STICKLINE(买线 =卖线,C,O,3,0),COLOR0000A3;
STICKLINE(买线 =卖线,C,O,3,0),COLOR0000B7;
STICKLINE(买线 =卖线,C,O,3,0),COLOR0000C8;
STICKLINE(买线 =卖线,C,O,3,0),COLOR0000D9;
STICKLINE(买线 =卖线,C,O,3,0),COLOR0000CD;
STICKLINE(买线 =卖线,C,O,3,0),COLOR0000E9;
STICKLINE(买线 =卖线,C,O,2,0),COLOR0000EA;
STICKLINE(买线 =卖线,C,O,1,0),COLOR0000FF;