均线回归
-
相关简介:C/C++ Code 复制内容到剪贴板 {均线回归白马唐僧编写} {操作要点:旨在强中取,不在曲中求} {股价在60日均线以上,并且MA60趋势向上} MA3:MA(C,3); MA30:MA(C,30); MA60:MA(C,60),COLORRED,LINETHICK2; BM1:=(C+O)/2; BM2:=COUNT(MA30REF(MA30,1),5)=5ORCOUNT(MA60REF(MA60,1),5)=5;
-
文章来源:择股网作者:股海网发布时间:2009-09-26浏览次数:
C/C++ Code复制内容到剪贴板
- {均线回归——白马唐僧编写}
- {操作要点:旨在强中取,不在曲中求}
- {股价在60日均线以上,并且MA60趋势向上}
- MA3:MA(C,3);
- MA30:MA(C,30);
- MA60:MA(C,60),COLORRED,LINETHICK2;
- BM1:=(C+O)/2;
- BM2:=COUNT(MA30>REF(MA30,1),5)=5 OR COUNT(MA60>REF(MA60,1),5)=5;
- BM4:=(BM1*2-REF(BM1,3));
- BM5:=C/MA(C,5);
- BM6:=REF(BM1/MA(BM1,5),1);
- BM7:=COUNT(BM6>BM5,3)=3;
- BM8:=C>O;
- 买:=(CROSS(BM4,MA3) OR CROSS(BM4,MA30)) AND BM2 AND BM8 AND C>MA(C,60);
- 优选:=买 AND (BM7 OR REF(BM7,1) OR REF(BM7,2)),COLORYELLOW,LINETHICK2;
- {以下设置主图显示}
- STICKLINE(买,O,C,4,1),COLOR00FF00,LINETHICK2;
- DRAWTEXT(买 ,LLV(L,2)*0.98,'▲'),COLORYELLOW;
- DRAWTEXT(优选,LLV(L,2)*0.96, '优选'),COLORRED;
- DRAWICON(优选,LLV(L,2)*0.96, 1);
- STICKLINE(优选,O,C,4,1),COLORYELLOW,LINETHICK2;
- {以下设置逃顶}
- BM9:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
- BM10:=3*SMA(BM9,3,1)-2*(SMA(SMA(BM9,3,1),3,1));
- DRAWICON(CROSS(90,BM10),H*1.03,2);
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|