把买入、预警、狂猎、底背离整合成预警指标
2020/7/12 18:59:48
公式编写说明:
第一个:FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,15);买入:CROSS(FF,MA15);F:=EMA(CLOSE,3);A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);出手就赢:=DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9;X1:=COUNT(REF(EMA(C,3),1)<REF(EMA(C,3),2),5)=5 AND EMA(C,3)>REF(EMA(C,3),1);BDD:=C=LLV(C,13);N:=BARSLAST(BDD);低:=IF(N,REF(C,N),REF(C,N));X2:=C>低 AND REF(C=低,1);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);买1:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);X3:=买1=1;VAR2:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.09),0.9),3),1);X4:=CROSS(CLOSE,VAR2);TJ:=IF((C-REF(C,1))/REF(C,1)>0.025,1,0);YL:=IF(C>REF(O,BARSLAST(TJ =1)),REF(O,BARSLAST(TJ =1)),0);FT:=BARSLAST(YL);YLX:=REF(YL,FT);X5:=CROSS(C,YLX);XXX:=(X1 AND X2 AND X3) OR (X1 AND X2 AND X4) OR (X1 AND X2 AND X5) OR (X1 AND X3 AND X4)OR (X1 AND X3 AND X5) OR (X1 AND X4 AND X5) OR (X3 AND X5 AND X2) OR (X2 AND X4 AND X5) OR (X3 AND X4 AND X5);第二个:JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1: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4))*100*17;
预警:=DDX>2 AND DDZ>100 AND DDY>3 AND VOL/CAPITAL*100>3;
虎:=DYNAINFO(11)+(DYNAINFO(11)*0.02);
Q:=(REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)*100;
狂猎:=DYNAINFO(6)>(DYNAINFO(3)-0.1) AND Q <6 AND DYNAINFO(11)>DYNAINFO(3) AND IF(DYNAINFO(7)>虎,1,0);
FF2:=EMA(CLOSE,3);
MA151:=EMA(CLOSE,21);
底背离:=CROSS(FF2,MA151);
买入 AND 预警 AND 狂猎 AND 底背离;
投 股票网 www. tou18.cn
股市公式下载推荐