股票论坛

标题: 求助老师帮忙把两个公式信号共振合并谢谢 [打印本页]

作者: 夜谈天方    时间: 2016-7-6 10:59
标题: 求助老师帮忙把两个公式信号共振合并谢谢
条件:
      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;
作者: 新人报道    时间: 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'));




欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2