返回列表

将两个指标公式改为通达信指标公式,并生成长 【求助】请将以下两个指标公式改为通达信指标公式并分享

[通达信]
1160591 Lv.4

专栏

查看:3650 评论:1 复制 显示全部楼层 倒序浏览 |
跳转到指定楼层
设置
请哪位老师帮忙把下面的2个指标公式改为通达信指标公式;

   0,COLORFF00FF,LINETHICK1;

DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA  : EMA(DIFF,M),COLORyellow,LINETHICK1;

MACD : 2*(DIFF-DEA), COLORSTICK;
partline(diff,diff>=ref(diff,1),rgb(255,0,0),diff<ref(diff,1),rgb(0,255,0)),linethick1;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(CLOSE,A1+1)>CLOSE AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
DRAWTEXT(FILTER(B1>0,5),MACD ,'M底'),COLORGREEN,ALIGN1;{MACD底背离}
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(CLOSE,C1+1)<CLOSE AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(FILTER(D1>0,5),MACD ,'M顶'),COLOR00ffFF,ALIGN1;{MACD顶背离};



第2个指标;

TYP := (HIGH + LOW + CLOSE)/3;
ZJ1:=(HIGH+LOW+CLOSE*2)/4;
ZJ2:=EMA(ZJ1,14);
PC:=STD(ZJ1,14);
CCI1:=(ZJ1-ZJ2)/PC*100;
MC:=EMA(CCI1,7);
黄下穿红准备卖:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
下穿必卖:150,linethick1,COLORff9900;
红色大顶线:220,POINTDOT ,colorred,linethick3;
强弱界线:-8 ,COLORyellow,LINETHICK1;

LC:=REF(CLOSE,1);
止损价位:(LC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0;
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(B/2+40)*1.1;
D:=SMA(CCC,3,1);
【回抽】:IF(CROSS(D,RSI5),50,0),STICK,COLORRED,LINETHICK3;
【逃命】:IF(CROSS(80,RSI5),-50,0),STICK,COLORGREEN,LINETHICK2;



partline(黄下穿红准备卖,黄下穿红准备卖>=ref(强弱界线,1),rgb(250,0,0),黄下穿红准备卖<ref(强弱界线,1),rgb(0,250,0)),linethick1;




先谢谢了
505.middle
1761505 Lv.2

专栏

发表于:2010-6-18 18:34 复制 查看全部楼层
游客,您是(游客)级别,无法查看回复内容,请到新手区学习升级之后才能查看,或直接购买升级后查看。
您需要登录后才可以回帖 登录

本版积分规则 《理想财富服务协议》《免责声明》

楼主
2楼
广告
站长推荐 /2

最新主题