无未来函数主力跟踪公式
-
相关简介:C/C++ Code 复制内容到剪贴板 {参数缺省值 SHORT :261100 LONG :121100M:91100} DIF:=((EMA(CLOSE, SHORT )-EMA(CLOSE, LONG )))*-1; DEA:=EMA(DIF,M); MACD:=2*(DIF-DEA); A4:=BARSLAST(REF(CROSS(DIF,DEA),1)); B1:=REF(C,A4+1)C
-
文章来源:择股网作者:股海网发布时间:2009-08-28浏览次数:
C/C++ Code复制内容到剪贴板
- { 参数缺省值 SHORT: 26 1 100 LONG: 12 1 100 M: 9 1 100 }
- DIF:=((EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)))*-1;
- DEA:=EMA(DIF,M);
- MACD:=2*(DIF-DEA);
- A4:=BARSLAST(REF(CROSS(DIF,DEA),1));
- B1:=REF(C,A4+1)>C AND REF(DIF,A4+1)<DIF AND CROSS(DIF,DEA);
- DRAWTEXT(FILTER(B1>0,5),DIF+0.2,'背离'),COLORYELLOW;
- 操盘:STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,4,1),COLORRED{COLOR6058FF};
- 减仓:STICKLINE(MACD>=0 AND MACD< REF(MACD,1),0,MACD,4,0),COLORRED{COLOR6058FF};
- 反弹:STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,4,1),COLORYELLOW{COLORFFFF00};
- 寻底:STICKLINE(MACD<0 AND MACD< REF(MACD,1),0,MACD,4,0),COLORFFFF00;
- 空仓:0,COLORWHITE;
- IF(DIF<0,DIF,0),COLORYELLOW,LINETHICK2;
- IF(DIF<0,0,DIF),COLORRED,LINETHICK2;
- IF(DIF<DEA,DIF,DEA),COLORWHITE,LINETHICK2;
- IF(DIF>DEA,DEA,DEA),COLORGREEN{COLORFF00FF},LINETHICK2;
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:准确率极高的波段王
下一篇:通达信无未来函数之{抢钱选股}(有图)