金孤棒
-
相关简介:C/C++ Code 复制内容到剪贴板 {金孤棒}{柱线标志:0.3黄:低金叉0.2粉红:二次金叉0.1绿:底背离} DIFF:指数平滑移动平均(收盘价,12)-指数平滑移动平均(收盘价,27); DEA:指数平滑移动平均(DIFF,9); MACD:2*(DIFF-DEA),彩色棒状线,linethick2; 低位金叉:=交叉函数(DIFF,DEA)ANDDIFF-0.1; 画柱线(低位金叉,0,0.08,6,0),COLORYELLOW; 显示文字(低位金叉,0.
-
文章来源:择股网作者:股海网发布时间:2009-09-26浏览次数:
C/C++ Code复制内容到剪贴板
- {金孤棒} {柱线标志: 0.3 黄:低金叉 0.2 粉红:二次金叉 0.1 绿:底背离}
- DIFF:指数平滑移动平均(收盘价,12)-指数平滑移动平均(收盘价,27);
- DEA:指数平滑移动平均(DIFF,9);
- MACD:2*(DIFF-DEA), 彩色棒状线,linethick2;
- 低位金叉:=交叉函数(DIFF,DEA) AND DIFF<-0.1;
- 画柱线(低位金叉,0,0.08,6,0),COLORYELLOW;
- 显示文字(低位金叉,0.08,' 低位金叉'),COLORYELLOW;
- JCCOUNT:=统计总数(交叉函数(DIFF,DEA),上一次条件成立位置(DEA>=0));
- 二次金叉:=交叉函数(DIFF,DEA) AND DEA<0 AND 统计总数(JCCOUNT=2,21)=1;
- 画柱线(二次金叉,0,0.06,6,0),ColorFF00FF;
- 画图标(二次金叉,dea*1.04,13),ALIGN1 ;
- 显示文字(二次金叉,0.06,' 二次金叉'),ColorFF00FF;
- A1:=上一次条件成立位置(向前引用(交叉函数(DIFF,DEA),1));
- 底背离:=向前引用(收盘价,A1+1)>收盘价 AND DIFF>向前引用(DIFF,A1+1) AND 交叉函数(DIFF,DEA);
- 画柱线(底背离,0,0.03,6,0),Color00FF00;
- 画直线(A1=0,DEA,底背离,DEA,0),COLORRED,linethick4;
- 显示文字(底背离,0.03,' 底背离'),Color00FF00;
- A2:=上一次条件成立位置(向前引用(交叉函数(DEA,DIFF),1));
- 顶背离:=向前引用(收盘价,A2+1)<收盘价 AND 向前引用(DIFF,A2+1)>DIFF AND 交叉函数(DEA,DIFF);
- 画直线(A2=0,DEA,顶背离,DEA,0),COLORGREEN,linethick4;
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|