首页 > 编程语言 >通达信势在必行选股指标公式源码

通达信势在必行选股指标公式源码

时间:2024-03-10 09:13:45浏览次数:29  
标签:EMA MA M5 通达信 源码 去除 选股 CLOSE REF

{ 通达信势在必行选股指标公式源码 }

去除ST:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*ST'),0,1);
去除停牌:=DYNAINFO(4)>0;
去除大盘股:=CAPITAL/1000000<25;
去除次新股:=FINANCE(42)>120;
科创板:=IF(INBLOCK('科创板'),0,1);
现价:=CLOSE>3 AND CLOSE<100;
J1:=去除ST AND 去除停牌 AND 去除大盘股 AND 去除次新股 AND 科创板 AND 现价;
J8:=H/REF(L,5)<1.8;
J7:=macd.MacD>=REF(MACD.MACD,1);
REFLINE:=0;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
J2:=IF(X2>0,X2,0)>0.1;
J10:=J2>=REF(J2,1);
HL:=WINNER(C)*100;
HLX:=HL<60;
HLX5:=EXIST(HLX,8);
ZF:=IF(CODELIKE('30'),1.19,1.09);
HLD:=WINNER(C*ZF)*100;
HLD1:=HLD>75;
J3:=HLX5 AND HLD1;
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60);
M80:=MA(C,80);
M100:=MA(C,100);
M120:=MA(C,120);
J9:=H>M60;
XH:=(M5-M10)+(M5-M20)+(M5-M30)+(M5-M60)+(M5-M80)+(M5-M100)+(M5-M120);
J4:=XH>-1 AND XH<=6;
SS:=SSRP.SSRP;
J5:=SS>=REF(SS,1);
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
长K:=SMA(RSV1,5,1);
J6:=长K>=REF(长K,1);
JB:=J1+J2+J3+J4+J5+J6+J7+J8+J9+J10;
JBJ:FILTER(JB>=10,20);

 

标签:EMA,MA,M5,通达信,源码,去除,选股,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18063720

相关文章

  • 通达信波段趋势强弱主图,立体K线 红绿多空变色彩带源码
    {通达信波段趋势强弱主图,立体K线红绿多空变色彩带源码}X_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;X_2:=EMA(X_1,13);X_3:=EMA(X_2,3);X_4:=EMA(X_3,3);X_5:=EMA(X_4,3);X_6:=EMA(X_5,3);X_7:=EMA(X_6,3);DRAWBAND(X_2,RGB(150,50,20),X_7,RGB(36,150,40));NOTEXTMB101:IF(X_......
  • 通达信突破组合指标公式源码
    {通达信突破组合指标公式源码}量比:=V/REF(MA(V,1),1);五日涨幅:((C-REF(C,5))/REF(C,5)*100)NODRAW;今获利:WINNER(C)*100,NODRAW;昨获利:=REF(今获利,1);获利比增:今获利-昨获利,NODRAW;多方力度:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SM......
  • drf源码剖析----限流
    点击查看代码urlpatterns=[#1.访问视图函数中的LoginView()类中的as_view()方法path('login/',views.LoginView.as_view()),]点击查看代码#可自定义detailcodeclassThrottled(APIException):status_code=status.HTTP_429_TOO_MANY_REQUESTSd......
  • 通达信派神夺庄副图指标扫单副图
    {通达信派神夺庄副图指标扫单副图}M1:=5;M2:=100;X_1:=POW(10,6)+241230-DATE;X_2:=IF(X_1>0,1,0);X_3:=HHV(CLOSE,10);X_4:=EMA(X_3,30);X_5:=EMA(X_3,120);X_6:=MA(CLOSE*VOL,20);X_7:=MA(CLOSE*VOL,60);X_8:=1000*(X_6-REF(X_6,1))/REF(X_6,1)*2;X_9:=1000*(......
  • 通达信提前抄底部副图,粉红吸筹信号 绿色钻石抄底信号
    {通达信提前抄底部副图,粉红吸筹信号绿色钻石抄底信号}提前抄底部黄曲线是多方力度;{ 指标介绍:黄曲线是多方力度;绿色曲线是空方力度。红色背景是耻骨区间;绿色背景是持币区间。股东的一些基本资料可以显示在左侧查询。底部出现粉红色的柱体表示庄家在吸纳筹......
  • 通达信三线合一主图,三线归一是介入点
    {通达信三线合一主图,三线归一是介入点}  M1:ma(C,5)COLORBLUE,LINETHICK2;M2:HHV(M1,3)COLORGREEN,LINETHICK2;M3:(M1+M1-M2)COLORRED,LINETHICK3;DRAWICON(C>LLV(REF(L,3),3)ANDDYNAINFO(7)>=HHV(H,7)ANDC>=HHV(H,7)ANDC>MA(C,144),L*1.17,25);DRA......
  • 通达信指路灯副图指标公式源码
    {通达信指路灯副图指标公式源码}XA_1:=MA(INDEXC,34);XA_2:=(55*XA_1+34*REF(XA_1,1)+21*REF(XA_1,2)+13*REF(XA_1,3)+8*REF(XA_1,4)+5*REF(XA_1,5)+3*REF(XA_1,6)+2*REF(XA_1,7)+REF(XA_1,8)+REF(XA_1,9))/143;XA_3:=REF(XA_2,1);XA_4:=0.5*(XA_2+XA_3);XA_5:=MA(CLOSE,......
  • 通达信背驰回调买优副图指标公式
    {通达信背驰回调买优副图指标公式}下轨:=MA(REF(LLV(C,30),1),2);QS:=IF(C>REF(C,1),(2*CLOSE+2*HIGH+OPEN+LOW)/6,(2*OPEN+2*LOW+CLOSE+HIGH)/6);短线:=MA(SMA(QS,5,1),3);均角:=ATAN((短线/REF(短线,1)-1)*100)*180/3.14115926;A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*1......
  • 通达信三源主图主图指标划线指标源码
    {通达信三源主图主图指标划线指标源码}DRAWGBK(O>C,RGB(0,30,0),RGB(0,0,60),0,'01',0); DRAWKLINE(H,O,L,C);MV10:=MA(V,10);AVG_V:=(V-MV10)/MV10*100;量差:=AVG_V-REF(AVG_V,1);假阴:=C>REF(C,1)ANDC<o;<br="">高开:=(O-REF(C,1))/REF(C,1)*100;......
  • 通达信买卖区间信号指标公式源码副图
    {通达信买卖区间信号指标公式源码副图}A14:=MA(CLOSE,20);A15:=(CLOSE>MA(CLOSE,5));A16:=(MA(CLOSE,5)>MA(CLOSE,10));A17:=(CLOSE>MA(CLOSE,10));A18:=(MA(CLOSE,5)>MA(CLOSE,20));A19:=(CLOSE>MA(CLOSE,20));A10:=REF(A14,1);A11:=(A14>A10);AVX:......