中线波段【大三浪】(附图+说明+通达信源码)
-
相关简介:中线波段----大三浪,有耐心的朋友适当参考. 特别提醒:指标只是参考,理念更加重要;热点才有大机会,信号不会都很好! C/C++ Code 复制内容到剪贴板 {大三浪----理想论坛一品茶缘编写,通用副图指标} {大三浪指标使用说明: 均线粘合且多头,长期未涨庄吸筹; 目标锁定先跟踪,出击买入等丰收!} {N:30,120,65;} MA5:=MA(CLOSE,5); MA21:=MA(CLOSE,21); MA65:=MA(CLOSE,N); 多头:=
-
文章来源:择股网作者:股海网发布时间:2009-09-24浏览次数:
中线波段----大三浪,有耐心的朋友适当参考.
特别提醒:指标只是参考,理念更加重要;热点才有大机会,信号不会都很好!
C/C++ Code复制内容到剪贴板
- {大三浪----理想论坛一品茶缘编写,通用副图指标}
- {大三浪指标使用说明:
- 均线粘合且多头,长期未涨庄吸筹;
- 目标锁定先跟踪,出击买入等丰收!}
- {N:30,120,65;}
- MA5:=MA(CLOSE,5);
- MA21:=MA(CLOSE,21);
- MA65:=MA(CLOSE,N);
- 多头:=COUNT(MA21>MA65,10)=10;
- GX:=MAX(MA5,MAX(MA21,MA65));
- DX:=MIN(MA5,MIN(MA21,MA65));
- 粘合:=ABS(GX/DX-1)*100<=15;
- 多头粘合:IF(多头 AND 粘合,1,0),COLORFF00FF,POINTDOT,LINETHICK0;
- DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
- DEA:=EMA(DIFF,9);
- MACD:=2*(DIFF-DEA);
- 庄股:COUNT(MACD<0,10)=10,COLORFFFF00,POINTDOT,LINETHICK0;
- 目标:IF(多头 AND 粘合 AND 庄股,5,0),COLORFFFFFF,LINETHICK2;
- 跟踪:IF(目标,BARSLAST(CROSS(目标,0))+1,0),COLOR00FF00,POINTDOT,LINETHICK2;
- 出击:IF(CROSS(0.1,目标) AND CROSS(MACD,0),8,0),COLOR00FFFF,LINETHICK2;
- MJSJ:=BARSLAST(出击);
- 涨幅:IF(MJSJ<=120,(C/REF(C,MJSJ)-1)*100,0),COLOR0000FF,POINTDOT,LINETHICK0;
- 日涨:IF(MJSJ<=120,涨幅/MJSJ,0),COLORFFFFFF,POINTDOT,LINETHICK0;
- TPX:=MIN(MA65*1.15,MA21*1.13);
- 突破:IF(CROSS(C,TPX) AND 粘合 AND MA65>REF(MA65,1),10,0),COLOR0000FF,LINETHICK2;
- {以下设置副图显示方式}
- STICKLINE(多头粘合,0,1,8,0),COLORFF00FF;
- STICKLINE(庄股,0,MACD*10,8,0),COLORFFFF00;
- DRAWTEXT(出击,10,'★买'),COLOR00FFFF;
- VERTLINE(CROSS(涨幅,20) AND COUNT(CROSS(涨幅,20),MJSJ)=1,2),COLOR0000FF;
- {最后一行为大智慧L2画竖虚线用,其他软件可用下面一行代替:
- STICKLINE(CROSS(涨幅,20) AND COUNT(CROSS(涨幅,20),MJSJ)=1,-5,10,0,0),COLOR0000FF;
- 大智慧1软件,还应将所有 涨幅 修改为 涨幅1 .}
C/C++ Code复制内容到剪贴板
- {大三浪----理想论坛一品茶缘编写副图指标,通达信版本}
- {N:30,120,65;}
- MA5:=MA(CLOSE,5);
- MA21:=MA(CLOSE,21);
- MA65:=MA(CLOSE,N);
- 多头:=COUNT(MA21>MA65,10)=10;
- GX:=MAX(MA5,MAX(MA21,MA65));
- DX:=MIN(MA5,MIN(MA21,MA65));
- 粘合:=ABS(GX/DX-1)*100<=15;
- 多头粘合:IF(多头 AND 粘合,1,0),COLORFF00FF,POINTDOT,NODRAW;
- DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
- DEA:=EMA(DIFF,9);
- MACD:=2*(DIFF-DEA);
- 庄股:COUNT(MACD<0,10)=10,COLORFFFF00,POINTDOT,NODRAW;
- 目标:IF(多头 AND 粘合 AND 庄股,5,0),COLORFFFFFF,LINETHICK2;
- 跟踪:IF(目标,BARSLAST(CROSS(目标,0))+1,0),COLOR00FF00,POINTDOT,LINETHICK2;
- 出击:IF(CROSS(0.1,目标) AND CROSS(MACD,0),8,0),COLOR00FFFF,LINETHICK2;
- MJSJ:=BARSLAST(出击>0);
- 涨幅:IF(MJSJ<=120,(C/REF(C,MJSJ)-1)*100,0),COLOR0000FF,POINTDOT,NODRAW;
- 日涨:IF(MJSJ<=120,涨幅/MJSJ,0),COLORFFFFFF,POINTDOT,NODRAW;
- TPX:=MIN(MA65*1.15,MA21*1.13);
- 突破:IF(CROSS(C,TPX) AND 粘合 AND MA65>REF(MA65,1),10,0),COLOR0000FF,LINETHICK2;
- {以下设置副图显示方式}
- STICKLINE(多头粘合,0,1,3,0),COLORFF00FF;
- STICKLINE(庄股,0,MACD*10,3,0),COLORFFFF00;
- DRAWTEXT(出击>0,8,'★买'),COLOR00FFFF;
- STICKLINE(CROSS(涨幅,20) AND COUNT(CROSS(涨幅,20),MJSJ)=1,-5,10,0,0),COLOR0000FF;
- 注:通达信版本指标使用说明,请自己复制到指标注释中.
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|