首页 > 编程语言 >通达信巡阳雷达选股指标公式源码

通达信巡阳雷达选股指标公式源码

时间:2024-03-08 20:55:24浏览次数:41  
标签:EMA VAR19 通达信 巡阳 源码 DEA DIFF CLOSE REF

{ 通达信巡阳雷达选股指标公式源码 }

VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<ref(close,1) and="" close<ref(close,2);="" <br=""> VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)
AND VAR1;
涨幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
DIFF:=Ema(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA);
多头:=DEA<0.09 AND DEA>REF(DEA,1) AND REF(DEA,1)>REF(DEA,2) AND MacD>-2 AND DIFF>DEA;
强势:=DEA<0.15 AND DIFF>REF(DIFF,1) ;
短线支撑:=EMA(EMA((2*L+C)/3,5),7);
操作线:=EMA(SLOPE(CLOSE,20)*20+CLOSE,60);
VAR0:=((-((99)*(HHV(HIGH,11) - CLOSE))/(HHV(HIGH,11) - LLV(LOW,11))));
XG1:=(L<操作线 AND C>操作线 AND VAR0>-30 AND 涨幅>=2.7) AND (多头 {OR 强势});
XG2:=FILTER(VAR19=1,4) AND 涨幅>=3 AND 多头 AND C<操作线*1.12;
{XG2:=(FILTER(VAR19=1,4) AND 涨幅>=3) AND (多头 OR 强势) AND C<操作线*1.12;}
{XG1:=L<操作线 AND C>操作线 AND VAR0>-20 ;
XG2:=FILTER(VAR19=1,4) ;}
A1:=NAMELIKE('st');
A2:=NAMELIKE('*');
A3:=NAMELIKE('S');
去除停牌:=DYNAINFO(8)>0;
去除ST:=(A1+A2+A3)=0;
巡阳雷达:(XG1 OR XG2 { OR ( crOSS(C,MA(C,5)) AND 涨幅>=3 )}) AND 多头 AND 去除ST && 去除停牌;

 

标签:EMA,VAR19,通达信,巡阳,源码,DEA,DIFF,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18061845

相关文章

  • 通达信三元主图指标公式源码
    {通达信三元主图指标公式源码}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;高开:=(O-REF(C,1))/REF(C,1)*100;倍量:=V>REF(V,1)*1.69ANDV......
  • 通达信指路灯选股指标公式源码副图
    {通达信指路灯选股指标公式源码副图}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(CLO......
  • 通达信凤凰底部指标公式源码副图
    {通达信凤凰底部指标公式源码副图}LC:=REF(CLOSE,1);rsi1:=SMA(maX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;CP1:=crOSS(RSI1,25);CP2:=(C-REF(C,1))/REF(C,1)*100<5;X2:=CP1ANDCP2;stICKLINE(X2>0,0,X2,4,0),COLOR9B37FF;STICKLINE(X2>0,0,X2,4,0),COLOR6300C6......
  • 通达信抄底三合一指标公式源码副图
    {通达信抄底三合一指标公式源码副图}VAR111:=(C-Dma(C,V/MA(V,4)/4))/DMA(C,V/MA(V,4)/4)*100<-8AND(DMA(C,V/MA(V,4)/4)-DMA(C,V/MA(V,32)/32))/DMA(C,V/MA(V,32)/32)*100<-21AND(O-REF(C,1))/REF(C,1)>-0.05ANDCOUNT(C=O,3)=0;VAR112:=SMA(SMA((INDEXC-LLV(INDEXL,27......
  • 通达信超牛全仓出击指标公式源码副图
    {通达信超牛全仓出击指标公式源码副图}BB:=ma(C,1);持币阶段:=SMA(SMA(SMA(BB,2,1),2,1),2,1);主升持股波段:=HHV(MA(持币阶段,1),13);双线合一关注:=主升持股波段;涨幅:=(C-REF(C,1))/REF(C,1)*100;VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);VAR1E:=EMA(VAR1D,30);VAR1F:=2*......
  • 通达信八仙互动共振指标公式源码副图
    {通达信八仙互动共振指标公式源码副图}X_1:=Ema(CLOSE,12/4)-EMA(CLOSE,26/4);X_2:=EMA(X_1,9/4);stICKLINE(X_1>=X_2,42,46,5,0),COLORWHITE;STICKLINE(X_1<x_2,42,46,5,1),color696969;X_3:=EMA(CLOSE,6)-EMA(CLOSE,80);X_4:=EMA(X_3,40);STICKLINE(X_3>=X_4,36,40,5,......
  • 通达信【主力资金突破】主图图选股公式 监控分析资金的动向 资金趋势选股实战秘技 源
    {股票指标} 主力资金突破全套指标主要通过监控分析资金的动向,通过分析主力资金的流入流出方向跟随主力吃肉的指标。主力资金是指在股票市场中能够影响股市、甚至控制股市中短期走势的资金。股市中个股有资金推动才上涨,主力资金对个股和板块影响都十分重大,主力资金的流入流......
  • 通达信凤凰K线主图指标公式源码副图
    {通达信凤凰K线主图指标公式源码副图}ma5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60);AA1:=(C-REF(C,1))/REF(C,1)>=0.058AND(C-REF(C,1))/REF(C,1)<0.095;AA2:=(C-REF(C,1))/REF(C,1)>=0.098;stICKLINE(AA1,O,C,0,1),COLOR9B37FF;STIC......
  • 通达信浴火出局指标公式源码副图
    {通达信浴火出局指标公式源码副图}LC:=REF(CLOSE,1);rsi1:=SMA(maX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CL......
  • 通达信凤凰成交量柱指标公式源码副图
    {通达信凤凰成交量柱指标公式源码副图}{Vvol:IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;stICKLINE(CURRBARSCOUNT=1ANDPERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;}VOLUME:VOL,VOLSTICK;JUma:=COUNT(CLOSE>REF(CLOSE,1),2)=2ANDCOUNT(VOL<ref(vol,......