收藏 分享(赏)

【股票指标公式下载】-【通达信】涨幅倍量组合(波段底、加仓).doc

上传人:11xg27ws 文档编号:9300196 上传时间:2019-08-01 格式:DOC 页数:8 大小:343KB
下载 相关 举报
【股票指标公式下载】-【通达信】涨幅倍量组合(波段底、加仓).doc_第1页
第1页 / 共8页
【股票指标公式下载】-【通达信】涨幅倍量组合(波段底、加仓).doc_第2页
第2页 / 共8页
【股票指标公式下载】-【通达信】涨幅倍量组合(波段底、加仓).doc_第3页
第3页 / 共8页
【股票指标公式下载】-【通达信】涨幅倍量组合(波段底、加仓).doc_第4页
第4页 / 共8页
【股票指标公式下载】-【通达信】涨幅倍量组合(波段底、加仓).doc_第5页
第5页 / 共8页
点击查看更多>>
资源描述

1、【通达信】涨幅倍量组合(波段底、加仓)-指标公式源码DIR2:=ABS(CLOSE-REF(CLOSE,10);VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1),10);ER2:=DIR2/VIR2;CS2:=ER2*(0.8-2/24)+2/24;CQ2:=CS2*CS2;AMA2:EMA(DMA(CLOSE,CQ2),2),COLORLIBLUE,LINETHICK2;AMA3:IF(AMA2/REF(AMA2,1)0.997,AMA2,DRAWNULL),COLORRED,LINETHICK2;AMA4:IF(AMA2/REF(AMA2,1)1.001,AMA2,DRAW

2、NULL),COLORRED,LINETHICK2;LC:=REF(CLOSE,1); VAR28:=SMA(MAX(CLOSE-LC,0),5.5,1)/SMA(ABS(CLOSE-LC),6,1)*100;VARA00:=(AMOUNT)/(VOL)/(100);VARAB00:=(3)*(HIGH)+LOW+OPEN+(2)*(CLOSE)/(7);VARAC00:=(SUM(AMOUNT,7)/(VARA00)/(100);VARD0:=DMA(VARAB00,(VOL)/(VARAC00);VARDE0:=(CLOSE-VARD0)/(VARD0)*(100);VARDE0F:=(C

3、LOSE-LLV(LOW,34)/(HHV(HIGH,34)-LLV(LOW,34)*(100);VARDE0JF:=MA(VARDE0,20)+STD(VARDE0,20);BIAS18:=(CLOSE-MA(CLOSE,18)/(MA(CLOSE,18)*(100);AA:=SMA(VARDE0F,3,1);SS:=(REF(BIAS18,1)=5) AND CROSS(VARDE0JF,VARDE0) AND (AA79);DRAWTEXT(CROSS(84,RSI) AND CROSS(76,VAR28),H*1.01,卖出),LINETHICK4,COLORGREEN;红轨道:=MA

4、(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW;绿轨道:=MA(MA(CLOSE,3),3);上升:=IF(红轨道=绿轨道,绿轨道,DRAWNULL),COLORRED,LINETHICK2;AA1:=3*SMA(C-LLV(L,9)/(HHV(H,9)-LLV(L,9)*100,3,1)-2*SMA(SMA(C-LLV(L,9)/(HHV(H,9)-LLV(L,9)*100,3,1),3,1);加仓:=IF(CROSS(AA1,REF(AA1+0.01,1) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0

5、);波段底:=(3)*(SMA(CLOSE - LLV(LOW,27)/(HHV(HIGH,27) - LLV(LOW,27)*(100),5,1) -(2)*(SMA(SMA(CLOSE - LLV(LOW,27)/(HHV(HIGH,27) - LLV(LOW,27)*(100),5,1),3,1);DRAWTEXT(CROSS(波段底,3),L*0.97,底);A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*RE

6、F(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20)/210;MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);CB:=EMA(X,13);买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX0.09;涨幅大于 9个点缩量:=HHV(VOL,盘整天数-2)2* SUM(VO

7、L, 盘整天数-2);七伤拳:=缩量 AND REF(涨停,盘整天数) AND COUNT(涨停,盘整天数+1)=1 AND (HHV(H,盘整天数)-REF(C,盘整天数)/REF(C,盘整天数)*100(下探幅度*-1);DRAWTEXT(七伤拳,LOW*0.98,*七伤拳),COLORRED;阳涨幅:=3.5;阳倍量:=1.9;单阳收:=C;单阳开:=O;单阳:=单阳收=REF(C,1)*(1+阳涨幅/100)AND VOLREF(VOL,1)*阳倍量;DRAWTEXT(CURRBARSCOUNT低不破价 OR LLV(L,BARSLAST(单阳)=低不破价);STICKLINE(单阳不

8、破,低不破价-低不破价*0.0005,低不破价,4,0),COLORGREEN;STICKLINE(单阳不破,高不破价,高不破价,4,0),COLORRED;STICKLINE(单阳,单阳开,单阳收,2,0),COLORYELLOW;DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,1),COLORGREEN;DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,2),COLORGREEN;DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,3),COLORGREEN;DRAWTEXT(BAR

9、SLAST(单阳)=4 AND 单阳不破,低不破价*0.98,4),COLORGREEN;DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,5),COLORGREEN;DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,6),COLORGREEN;DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,7),COLORGREEN;DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,8),COLORGREEN;DRAWTEXT(BARSLAST(单阳)=9 AND

10、 单阳不破,低不破价*0.98,9),COLORGREEN;DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,10),COLORGREEN;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); MACD1:=CROSS(DIFF,DEA) AND COUNT(MACD0,1)=1; RSV:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100; K:=SMA(RSV,9,1); D:=SMA(K,9,1); J:=3*K-2*

11、D; KDJ1:=CROSS(K,D) AND CROSS(J,D); 均线:=CROSS(MA(C,5),MA(C,10); 量线:=CROSS(MA(V,5),MA(V,10); SCC:=MACD1 AND KDJ1 AND 均线 AND 量线; SC1:=MACD1 AND KDJ1; SC2:=均线 AND 量线; SC3:=均线 AND MACD1; SC4:=量线 AND KDJ1; SC5:=均线 AND KDJ1; SC6:=MACD1 AND 量线; DRAWICON(SC1 OR SC2 OR SC3 OR SC4 OR SC5 OR SC6,L-0.20,9);两个以上

12、指标同时金叉显示 9号图标 DRAWICON(SCC,L-0.20,3);四个指标同时金叉显示 3号图标,便于区别;AAA:=MA(2*CLOSE+HIGH+LOW)/4,5);通 1:=AAA*102/100;通 2:=AAA*(200-102)/100;CC:=ABS(2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20)/MA(CLOSE,20);DD:=DMA(CLOSE,CC);上:(1+7/100)*DD,CIRCLEDOT,COLORBLUE;下:(1-7/100)*DD,CIRCLEDOT,COLORBLUE;中:(上+下)/2,CIRCLEDOT,COLORBLUE

13、;IF(上=REF(上,1), 上,DRAWNULL),CIRCLEDOT,COLOR0099FF;IF(中=REF(中,1), 中,DRAWNULL),CIRCLEDOT,COLOR0099FF;IF(下=REF(下,1), 下,DRAWNULL),CIRCLEDOT,COLOR0099FF;TT:=240/FROMOPEN;比:=TT;促进指数:=(HIGH-LOW)*1000000/(VOL*比),COLORRED;ZGD:=HHV(H,80)*0.99;ZGD2:=CONST(ZGD);YYA4:=MA(CLOSE,20);YYA5:=(CLOSE MA(CLOSE,5);YYA6:=

14、(MA(CLOSE,5) MA(CLOSE,10);YYA7:=(CLOSE MA(CLOSE,10);YYA8:=(MA(CLOSE,5) MA(CLOSE,20);YYA9:=(CLOSE MA(CLOSE,20);YYA10:=REF(YYA4,1);YYA11:=(YYA4 YYA10);YYAVX:=(IF(YYA5,10,(0 - 10) + IF(YYA6,10,(0 - 10) + IF(YYA7,10,(0 - 10) + IF(YYA8,10,(0 - 10) + IF(YYA9,10,(0 - 10) + IF(YYA11,10,(0 - 10);DSLX:=(CLOSE

15、 / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);YYV1:=MA(VOL,5);YYV2:=MA(VOL,10);情况 1:=CONST(IF(CROSS(YYAVX,1) AND (YYV1 = YYV2) AND (DSLX = DSLX1),1,0);情况 2:=CONST(IF(CROSS(YYAVX,1) AND (YYV1 = DSLX1),1,0);情况 3:=CONST(IF(CROSS(YYAVX,1) AND (YYV1 YYV2) AND (DSLX = YYV2) AND (DSLX = DSLX1),1,0);情况 6:

16、=CONST(IF(CROSS(1,YYAVX) AND (YYV1 = DSLX1),1,0);情况 7:=CONST(IF(CROSS(1,YYAVX) AND (YYV1 = YYV2) AND (DSLX = 1) AND (REF(YYAVX,1) 0) AND (YYV1 = YYV2) AND (DSLX = DSLX1),1,0);情况 10:=CONST(IF(YYAVX = 1) AND (REF(YYAVX,1) 0) AND (YYV1 = DSLX1),1,0);情况 11:=CONST(IF(YYAVX = 1) AND (REF(YYAVX,1) 0) AND (

17、YYV1 = YYV2) AND (DSLX = 1) AND (REF(YYAVX,1) 0) AND (YYV1 = YYV2) AND (DSLX = DSLX1),1,0);情况 14:=CONST(IF(YYAVX = DSLX1),1,0);情况 15:=CONST(IF(YYAVX = YYV2) AND (DSLX = YYV2),1,0);大盘 2:=CONST(IF(CROSS(YYAVX,1) AND (YYV1 = YYV2),1,0);大盘 4:=CONST(IF(CROSS(1,YYAVX) AND (YYV1 = 1) AND (REF(YYAVX,1) 0) A

18、ND (YYV1 = YYV2),1,0);大盘 6:=CONST(IF(YYAVX = 1) AND (REF(YYAVX,1) 0) AND (YYV1 = YYV2),1,0);大盘 8:=CONST(IF(YYAVX =REF(MFI,1)AND VOL*比=REF(VOL,1);M1:=CONST(绿灯);衰退:=MFI=REF(MFI,1)AND VOL*比=REF(VOL,1); M4:=CONST(蛰伏);TS1:=IF(M1=1,0.03+0.03,0.03);TS2:=IF(M2=1,TS1+0.03,TS1);TS3:=IF(M3=1,TS2+0.03,TS2);TS4:

19、=IF(M4=1,TS3+0.03,TS3);DRAWTEXT(情况 1=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),量能理想,明显走强,中线参与,仓位在 2/3左右),COLORFF00FF;DRAWTEXT(情况 2=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),走势趋强量能不足,短线进场,仓位在 1/2左右),COLORFF00FF;DRAWTEXT(情况 3=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD

20、2*0.03),量价良好,并没有明显走强,短线进场,仓位 1/2左右。),COLORFF00FF;DRAWTEXT(情况 4=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),形态尚可,量能不足,未完全走强,短线参与,仓位 1/3左右。),COLORFF00FF;DRAWTEXT(情况 5=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),形态变坏,走势尚可,重仓减大半,清仓者观望。),COLORFF0000;DRAWTEXT(情况 6=1 AND (CLOSE 200)

21、 AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),随大盘一起下跌,明显缩量走势,考虑大盘风险,减持或清仓。),COLORFF0000;DRAWTEXT(情况 7=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),该股放量下跌,走势明显偏弱,离场观望。),COLORFF0000;DRAWTEXT(情况 8=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),该股缩量下跌,走势偏弱,离场观望。),COLORFFFF00;DRAWTEXT(情况 9=1

22、 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),该股形态良好,强势明显,量能充足,可以继续持有。),COLOR00FFFF;DRAWTEXT(情况 10=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),该股上行趋势不变,强势依然,但量能开始转弱,注意风险),COLOR00FFFF;DRAWTEXT(情况 11=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。),

23、COLORFFFFFF;DRAWTEXT(情况 12=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),该股走势趋弱,量能不足,减持大部分筹码),COLORFFFF00;DRAWTEXT(情况 13=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),该股形态不佳,注意成交量的变化,但目前不适合参与。),COLORFFFF00;DRAWTEXT(情况 14=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),该股趋

24、势不明,股价偏弱,注意量能变化,目前不宜参与。),COLORFFFF00;DRAWTEXT(情况 15=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),有走强迹象,但量能不足,趋势不明,不适合操作),COLORFFFF00;DRAWTEXT(情况 16=1 AND (CLOSE 200) AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.03),该股走势太弱,没有参与价值。),COLORFFFFFF;DRAWTEXT(M1 AND CURRBARSCOUNT=70,ZGD2-(ZGD2*TS1),绿灯实计交易量增

25、加。MFI 促进指数增加。),COLORGREEN;DRAWTEXT(M2 AND CURRBARSCOUNT=70,ZGD2-(ZGD2*TS2),衰退实计交易量减少。MFI 促进指数减少。),COLORGREEN;DRAWTEXT(M3 AND CURRBARSCOUNT=70,ZGD2-(ZGD2*TS3),伪装实计交易量减少。MFI 促进指数增加。),COLORGREEN;DRAWTEXT(M4 AND CURRBARSCOUNT=70,ZGD2-(ZGD2*TS4),蛰伏实计交易量增加。MFI 促进指数减少。),COLORGREEN;【通达信】涨幅倍量组合(波段底、加仓)-指标公式效果图(文档来源:若水财经社区)

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 企业管理 > 管理学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报