股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 3309|回复: 1
打印 上一主题 下一主题

请帮忙把下面的公式改成通达信的,谢谢!!

[复制链接]

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
2
跳转到指定楼层
楼主
发表于 2016-11-28 16:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
30爱心果
大智慧源码:
逃顶不难 副图

V1:=EMA(EMA(EMA(CLOSE,8),13),55);
V2:=(REF(HIGH,1)+REF(LOW,1))/2;
V3:=MA(CLOSE,20)+2*STD(CLOSE,20);
CROSS(V2,V3);
V4:=REF(CLOSE,1);
V5:=SMA(MAX(CLOSE-V4,0),7,1)/SMA(ABS(CLOSE-V4),7,1)*100;
V6:=CROSS(79,V5);
V7:=FILTER(V6,4);
V7;
a1:=ref(c,5)<ref(O,5) and ref(c,4)<ref(O,4) and ref(c,3)<ref(O,3);
(a1 AND all(C>O,2)) OR (a1 AND C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2));
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);
CROSS(J,REF(J+0.01,1)) AND X AND J<20;

再次感谢!!

最佳答案

查看完整内容

把ALL(c>o,2)换成NDAY(C,O,2) V1:=EMA(EMA(EMA(CLOSE,8),13),55); V2:=(REF(HIGH,1)+REF(LOW,1))/2; V3:=MA(CLOSE,20)+2*STD(CLOSE,20); CROSS(V2,V3); V4:=REF(CLOSE,1); V5:=SMA(MAX(CLOSE-V4,0),7,1)/SMA(ABS(CLOSE-V4),7,1)*100; V6:=CROSS(79,V5); V7:=FILTER(V6,4); V7; A1:=REF(C,5)

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
1
沙发
发表于 2016-11-28 16:31 | 只看该作者
把ALL(c>o,2)换成NDAY(C,O,2)


V1:=EMA(EMA(EMA(CLOSE,8),13),55);
V2:=(REF(HIGH,1)+REF(LOW,1))/2;
V3:=MA(CLOSE,20)+2*STD(CLOSE,20);
CROSS(V2,V3);
V4:=REF(CLOSE,1);
V5:=SMA(MAX(CLOSE-V4,0),7,1)/SMA(ABS(CLOSE-V4),7,1)*100;
V6:=CROSS(79,V5);
V7:=FILTER(V6,4);
V7;
A1:=REF(C,5)<REF(O,5) AND REF(C,4)<REF(O,4) AND REF(C,3)<REF(O,3);
(A1 AND NDAY(C,O,2)) OR (A1 AND C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2));
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);
CROSS(J,REF(J+0.01,1)) AND X AND J<20;
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-11-24 01:01 , Processed in 0.163099 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表