首页 > 编程语言 >通达信赤霞捉妖指标公式源码副图

通达信赤霞捉妖指标公式源码副图

时间:2024-01-28 14:58:03浏览次数:31  
标签:EMA DIF 捉妖 赤霞 源码 DEA CLOSE REF MACD

{日周月趋势}
月DIF:=(Ema(CLOSE,12*4*4)-EMA(CLOSE,26*4*4));
月DEA:=EMA(月DIF,9*4*4);
月macd:=2*(月DIF-月DEA);
周DIF:=(EMA(CLOSE,12*4)-EMA(CLOSE,26*4));
周DEA:=EMA(周DIF,9*4),COLORWHITE,DOTLINE;
周MacD:=2*(周DIF-周DEA);
日DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
日DEA:=EMA(日DIF,9);
日MACD:=2*(日DIF-日DEA),COLORWHITE;
{MACD年线共振色带}
stICKLINE(月MACD>REF(月MACD,1),REF(MACD/2,BArslAST(MACD=HHV(MACD,250))),0,5,0),COLOR660088;
STICKLINE(月MACD<ref(月macd,1),ref(macd 2,barslast(macd="HHV(MACD,250))),0,5,0),COLOR003300;<br"> DRAWBAND(EMA(周MACD,10),RGB(0,0,180), 周MACD,RGB(255,255,0));
{MACD柱}
STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,1,0),COLORYELLOW;
STICKLINE(MACD>0 AND MACD<ref(macd,1),0,macd,1,0),colorliblue;
STICKLINE(MACD<0,0,MACD,1,0),COLORGREEN;
{MACD年线加强柱}
STICKLINE(MACD>=REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),MACD,2,0),COLORAA00CC;
股价趋势:MACD,COLORAACCEE,LINETHICK2;
行情启动:REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),COLOR0000EE,LINETHICK2;
{成妖}
DIF4:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA4:=EMA(DIF4,9);
ZTB:=C>INTPART(REF(C,1)*(1+10/100)/0.01+0.5)*0.01-0.006 AND C=H;
启动版:=DIF4>-0.2 AND DIF4<0.35 AND ZTB AND REF(ZTB,1)<1 AND COUNT(EMA(CLOSE,12)-EMA(CLOSE,26)>=-0.01,5)=5;
DRAWTEXT(启动版,REF(MACD/2,BARSLAST(MACD=HHV(MACD,250)))*1.185,'--妖来了'),COLOREE9900;
DRAWTEXT(启动版,REF(MACD/2,BARSLAST(MACD=HHV(MACD,250)))*1.185,'↙'),COLORYELLOW;

 

标签:EMA,DIF,捉妖,赤霞,源码,DEA,CLOSE,REF,MACD
From: https://www.cnblogs.com/zhibiao/p/17992864

相关文章

  • 通达信超级生命线指标公式源码副图
    LASBAR:=BARstATUS==2;volX:=IF(LASBAR,DYNAINFO(17)*DYNAINFO(38),0),LINETHICK0;STICKLINE(LASBAR,0,VOLX,7.5,1)COLORYELLOW;VOLUME:VOL,VOLSTICK;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);HJZ:=(3*C+H+L+O)/6......
  • 通达信卧龙根副图指标公式源码副图
    跟庄看盘:DRAWNULL,COLOR0088FF;DT:=L=DTPRICE(REF(C,1),0.1);ZT:=C=ZTPRICE(REF(C,1),0.1);连阴:=COUNT((C<REF(C,1)ORL<REF(L,1)),10)>=5;间谍柱:=REF(连阴,1)ANDDT;卧底:=BArslAst(间谍柱);卧龙根:卧底<20ANDcrOSS(C,REF((C+O)/2,卧底));洗龙根:EXIST(卧龙根,1......
  • 通达信卧龙根主图指标公式源码
    跟庄看盘:DRAWNULL,COLOR0088FF;DRAWKLINE(H,O,L,C);ma5:MA(C,5);昨半:REF((C+O)/2,1),COLORYELLOW,NODRAW;半分:(C+O)/2,NODRAW,COLORWHITE;TM:=1200823;涨停:IF(DATE<tm,ztprice(ref(c,1),if(codelike('688'),0.2,if(nameinclude('s'),0.05,0.1))),ztpri......
  • 通达信分时T+0指标公式源码主图
    ma30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);stICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLOR00DD00;支撑:L1+P1......
  • 通达信放量一阳穿5线指标公式源码副图
    ma5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA60:=MA(C,60);MA120:=MA(C,120);MA250:=MA(C,250);低ZK:=REF(C,1)低K:=O高K:=C>MA5ANDC>MA10ANDH>MA20ANDH>MA30ANDH>MA60;HSLZ:=V*10000/FINANCE(46);穿多线:C>REF(C,1)*1.06A......
  • 通达信突破龙头选股指标公式源码副图
    A1:=vol;A2:=ma(A1,5);A3:=MA(CLOSE,10);A4:=MA(CLOSE,26);A5:=EMA(CLOSE,5);A6:=EMA(CLOSE,14);A7:=EMA(CLOSE,18);A8:=EMA(CLOSE,40);A9:=EMA(CLOSE,60);A10:=MA(CLOSE,10);A11:=MA(CLOSE,54);A12:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;A13:=FILTER(A12......
  • 通达信短线箱体主图指标公式源码
    AB:=Ema(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);BA:=EMA(AB,5);A18:=REFDATE(REF(HHV(H,96),5),DATE);{高}B1:=REFDATE(REF(LLV(L,96),5),DATE);{低}DY:=((A18)+(B1))/2;{中}顶:IF(AB>0ANDAB-BA<=0,A18,A18),DOTLINE,COLORCYAN;腰:IF(AB>0......
  • 通达信波段神牛指标公式源码副图
    X_1:=REF(REF(ma(CLOSE,55),1)<ma(close,55)and=""(ma(close,15)<ma(close,5)=""or=""ma(close,25)<ma(close,13)),1)=""ref(low<ema(low,15)=""count(low<ema(low,13),barslast(close=""......
  • 通达信先锋抄底黑马选股指标公式源码副图
    X_1:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);X_2:=REF(X_1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);X_3:=REF(X_2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);X_4:=REF(X_3,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=RE......
  • 通达信【乾坤地势坤】幅图选股公式 阶段底部安全买入 十拿九稳 源码文件分享
     本公式以安全为前提,如果你想要暴利,以下就别再看了,十拿九稳,可能稍微夸张了一点点,那起码出十个票有八个能涨是真的哦!都是回调底部起涨的个股,当然也不排除会出现暴利大牛股!设计此指标应用到一阴一阳之味道,专做阶段性底部,可以短中线结合使用!物理学是描述自然界各种规律最早、最彻......