https://www.myziyuan.com/
- 00萨满祭司00
- {通达信已通过测试,会出现红色箭头时,报警} DIFIF1:= EMA(CLOSE,12) - EMA(CLOSE,26); DEAEA1:= EMA(DIFIF1,9); CROSS(DIFIF1,DEAEA1);
- 2021-02-22 01:50:01
- 免注册用户
- {明天低买}VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=CLOSE-REF(CLOSE,1);VAR13:=MAX(VAR12,0);VAR14:=ABS(VAR12);VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;VAR17:=BARSCOUNT(CLOSE);VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;VAR19:=(-200)*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))+100;VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<55 AND VAR17>50;明天低买CGL90%:CROSS(VAR20,0.5); {买入成功率80%}AA:=LLV(LOW,34); BB:=HHV(HIGH,30); DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25); 绝谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25); 买入成功率80%:CROSS(绝谷,90) AND (DD<40);股票公式专家团为你解答,希望能帮到你,祝投资顺利。
- 2021-02-11 19:29:09
- 大少爷
- 请求高手把这个通达信指标改成公式(1)短牛大牛(2)短牛中牛大牛(3)短牛各三个选股公式,您好,难e5a48de588b6e79fa5e9819331333262373936听的话说前头,这个指标有未来函数。最好别用。但是我还是把指标改好了,短牛中牛大牛,自己选股的时候组合一下就好了。对了,通常含有未来函数的指标都有很多无用的代码,恕我私自把没用的代码都删除了。 再说一次,有未来函数的话,信号会漂移的。 VAR1:=C-REF(C,1); VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6); MA5:=EMA(C,5); MA13:=EMA(C,13); UP:DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),0) ; DOWN:DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),0) ; BT:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1); STICKLINE(BT,0,3,0.22,0),COLOR0000FF; DRAWTEXT(BT,3,'短牛'),COLOR0000FF; TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82; STICKLINE(TJ1,0,2,0.2,0),COLORFF00FF; DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF; HR:=HHV(HIGH,55); HRY:=LLV(LOW,55); HRY11:=HR*HRY; HRY33:=SQRT(HRY11); TJ2:= REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33; STICKLINE(TJ2,0,1,0.2,0),COLOR00FFFF; DRAWTEXT(TJ2,1,'大牛'),COLOR00FFFF; ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1); STICKLINE(ST,10,9,0.2,0),COLOR00FF00; DRAWTEXT(ST,9,'卖'); 短牛:BT; 中牛:TJ1; 大牛:TJ2;
- 2021-02-11 19:29:09