HSTD
2017/5/12 11:35:42点击:
问:怎么每天都能免费收到这种原创好指标呢?
答:只需加微信:396950280关注朋友圈即可,天天更新!
公式源码:
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWICON(CROSS(FF,MA15),LOW ,5),ALIGN1,COLORWHITE;
DRAWTEXT(CROSS(FF,MA15),LOW,'底背离'),ALIGN0,LINETHICK1,COLORWHITE;
F:=EMA(CLOSE,3);
ma15:=ema(c,21);
TTJ:=CROSS(FF,MA15);
上:=EMA(C,3);
中:=EMA(C,5);
下:=EMA(中,5);
QQ:= C<中;
MM:=上>REF(上,1) AND REF(上,1)
V5:=MA((LOW+HIGH+CLOSE)/3,5);
hhvc4:=hhv(c,4);
llvc4:=llv(c,4);
VAR01:=CLOSE=hhvc4 AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
OR REF(C,1)=hhvc4 AND CLOSE>=REF(C,2) OR REF(C,2)=hhvc4 AND
REF(C,3)=llvc4 AND C>=REF(C,1) OR REF(C,3)=hhvc4 AND
C>=REF(C,1) AND C>=REF(C,2);
VAR02:=CLOSE=hhvc4 AND REF(C,1)=llvc4;
VAR03:=CLOSE=llvc4 AND (REF(C,1)
REF(C,1)=llvc4 AND C
REF(C,1)=hhvc4 AND C
C
VAR04:=REF(C,1)=llvc4 AND C>=REF(C,2) OR REF(C,2)=llvc4 AND
REF(C,1)<=REF(C,3) AND REF(C,2)=REF(C,1);
VAR05:=REF(C,1)=hhvc4 AND C
REF(C,1)>REF(C,3) OR REF(C,3)=hhvc4 AND REF(C,1)>REF(C,2)) AND
REF(C,2)>=REF(C,4) AND C
VAR06:=V5>REF(V5,1) AND REF(V5,1)
VAR07:=LOWHHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;
VAR08:=VAR07 AND COUNT(VAR06,2);
VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
VAR10:=EMA(MA(C,13),13);
VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND
CROSS(VAR09,MA(VAR09,2)))=1,5);
VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND
CROSS(MA(VAR09,2),VAR09))=1,1);
VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);
VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
VAR16:=VAR08 AND NOT(REF(VAR08,1));
RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSVQ,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
金叉:=CROSS(J,D);
死叉:=CROSS(D,J);
买1:=(VAR14 OR VAR15) AND VAR11;
买2:=(VAR14 OR VAR15) AND VAR04;
买3:=(VAR14 OR VAR15) AND VAR02;
买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);
买5:=(金叉 AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11);
TTJ0:=VAR16;
TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;
XG0:=TTJ AND TTJ0;
XG1:=TTJ AND TTJ1;
XG11:=XG0 OR XG1;
PL5:=ZIG(3,5);
EN1:=PL5>REF(PL5,1) AND REF(PL5,1)<=REF(PL5,2) AND REF(PL5,2)<=REF(PL5,3);
PL10:=ZIG(3,10);
EN2:=PL10>REF(PL10,1) AND REF(PL10,1)<=REF(PL10,2) AND REF(PL10,2)<=REF(PL10,3);
PL20:=ZIG(3,20);
EN3:=PL20>REF(PL20,1) AND REF(PL20,1)<=REF(PL20,2) AND REF(PL20,2)<=REF(PL20,3);
PL40:=ZIG(3,40);
pl5x:=PL5
pl5y:=PL5>REF(PL5,1);
pl10x:=PL10
pl10y:=PL10>REF(PL10,1);
pl20x:=PL20
pl20y:=PL20>REF(PL20,1);
走强1:=BARSLAST(pl5x);
走弱1:=BARSLAST(pl5y);
走强2:=BARSLAST(pl10x);
走弱2:=BARSLAST(pl10y);
走强3:=BARSLAST(pl20x);
走弱3:=BARSLAST(pl20y);
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);