股票论坛

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

求助老师帮忙把两个公式信号共振合并谢谢

[复制链接]

巡抚

Rank: 5Rank: 5

听众
6
跳转到指定楼层
楼主
发表于 2016-7-6 10:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
30爱心果
条件:
      1、两公式信号共振合并
      2 、去除停牌和ST股票。
谢谢老师!
指标一
F:=100*(C-REF(C,1))/REF(C,1);
RL3:=(REF(L,1)*(1+4.3*0.01))-0.003;
HT:=H>RL3 AND F>=0 ;
STICKLINE(REF( HT ,1) AND  HT=0,1.2,1,1,0);

指标二
VAR1:=1;
VAR2:=(2*CLOSE+HIGH+LOW) / 4;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
J:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1)-60;
D:=(EMA(((0.667*REF(J,1))+(0.333*J)),2)*VAR1);
K:=MA(J,1);
{IF(K>REF(K,1),K,DRAWNULL),COLORMAGENTA,LINETHICK1;
IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK1};
X:=REF(J,1)<REF(J,2) AND REF(J,2)<REF(J,3) AND J>REF(J,1);
Z:=REF(J,4)>REF(J,3) AND REF(J,3)<REF(J,2) AND REF(J,2)>REF(J,1) AND REF(J,1)<J;
X2:(X OR Z) AND D<-5;

最佳答案

查看完整内容

F:=100*(C-REF(C,1))/REF(C,1); RL3:=(REF(L,1)*(1+4.3*0.01))-0.003; HT:=H>RL3 AND F>=0 ; VAR2:=(2*CLOSE+HIGH+LOW) / 4; VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); J:=EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)-60; D:=EMA(((0.667*REF(J,1))+(0.333*J)),2); K:=MA(J,1); {IF(K>REF(K,1),K,DRAWNULL),COLORMAGENTA,LINETHICK1; IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK1}; X:=REF(J,1)REF(J,3) AND RE ...

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
5
沙发
发表于 2016-7-6 10:59 | 只看该作者
F:=100*(C-REF(C,1))/REF(C,1);
RL3:=(REF(L,1)*(1+4.3*0.01))-0.003;
HT:=H>RL3 AND F>=0 ;
VAR2:=(2*CLOSE+HIGH+LOW) / 4;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
J:=EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)-60;
D:=EMA(((0.667*REF(J,1))+(0.333*J)),2);
K:=MA(J,1);
{IF(K>REF(K,1),K,DRAWNULL),COLORMAGENTA,LINETHICK1;
IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK1};
X:=REF(J,1)<REF(J,2) AND REF(J,2)<REF(J,3) AND J>REF(J,1);
Z:=REF(J,4)>REF(J,3) AND REF(J,3)<REF(J,2) AND REF(J,2)>REF(J,1) AND REF(J,1)<J;
(X OR Z) AND D<-5 AND REF(HT,1) AND HT=0 AND DYNAINFO(8)>0 AND NOT(NAMELIKE('ST') OR NAMELIKE('*ST'));
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 07:32 , Processed in 0.148763 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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