飞狐的金山银山指标改成通达信的

[复制链接]
查看356 | 回复0 | 2022-6-28 07:54:40 | 显示全部楼层 |阅读模式

指标的源码如下:

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MA1:MA(CLOSE,8),COLORFFFFFF;
MA2:MA(CLOSE,21),COLORYELLOW;
多头:STICKLINE(DIFF>DEA,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(DIFF>DEA,HIGH,LOW,0,0),COLORRED;
空头:STICKLINE(DIFF<=DEA,CLOSE,OPEN,3.5,0),COLORFFFF00;
STICKLINE(DIFF<=DEA,HIGH,LOW,0,0),COLORFFFF00;
DRAWTEXT(CROSS(DIFF,DEA),LOW-0.2,'买入'),COLORRED;
DRAWTEXT(CROSS(DEA,DIFF),HIGH+0.2,'卖出'),COLORYELLOW;

 

2011315465469581.rar

2.07 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

2011315465469581.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则