首页 > 编程语言 >通达信卧龙根主图指标公式源码

通达信卧龙根主图指标公式源码

时间:2024-01-28 14:55:08浏览次数:29  
标签:STICKLINE ZT1 根主图 通达信 源码 ZT DT REF DT1

跟庄看盘: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))),ztprice(ref(c,1),if(codelike('688') or="" codelike('300'),0.2,if(nameinclude('s'),0.05,0.1)))),nodraw,colorred;<br=""> 跌停:IF(DATE<tm,dtprice(ref(c,1),if(codelike('688'),0.2,if(nameinclude('s'),0.05,0.1))),dtprice(ref(c,1),if(codelike('688') or="" codelike('300'),0.2,if(nameinclude('s'),0.05,0.1)))),nodraw,colorgreen;<br=""> 明涨停:=IF(DATE<tm,c*if(codelike('688'),1.2,if(nameinclude('s'),1.05,1.1)),c*(if(codelike('688') or="" codelike('300'),1.2,if(nameinclude('s'),1.05,1.1)))),nodraw,colorlimagenta;<br=""> 明跌停:=IF(DATE<tm,c*if(codelike('688'),0.8,if(nameinclude('s'),0.45,0.9)),c*(if(codelike('688') or="" codelike('300'),0.8,if(nameinclude('s'),0.45,0.9)))),nodraw,colorffff00;<br=""> ZT:=C>=涨停 AND PERIOD=5 AND H=C;
ZT1:=H>=涨停 AND PERIOD=5 AND H>C;
DT:=C<=跌停 AND PERIOD=5 AND L=C;
DT1:=L<=跌停 AND PERIOD=5 AND L<c;
连阴:=COUNT((C<ref(c,1) or="" l<ref(l,1)),10)="">=5;
间谍柱:=REF(连阴,1) AND (DT OR DT1);
卧龙根价:DRAWLINE(间谍柱,(C+O)/2,REF(间谍柱,1),REF((C+O)/2,1),1),COLOR55FFCC;
封成比:IF(涨停,DYNAINFO(58)/DYNAINFO(8),0),NODRAW,COLORYELLOW;
{涨停k线颜色设置}
stICKLINE(ZT,C,(O+C)/2,3,0),COLOR000099;
STICKLINE(ZT,C,(O+C)/2,2.2,0),COLOR0000CC;
STICKLINE(ZT,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT,C,(O+C)/2,0.5,0),COLORCC66FF;
STICKLINE(ZT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(ZT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(DT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT,C,(O+C)/2,0.5,0),COLOR00FF00;
{曾涨跌停打开K线颜色设置}
STICKLINE(ZT1,C,(O+C)/2,3,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,2.2,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT1,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,O,(O+C)/2,3,0),COLOR888888;
STICKLINE(DT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT1,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT1,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT1,C,(O+C)/2,0.5,0),COLOR00FF00;
假阴:=REF(C>O,1) AND AMOUNT/V/100>REF(C,1) AND C<o;
假阳:=REF(C<o,1) and="" h<ref(o,1)="" c<(ref(o-c,1))="" 3+ref(c,1)="" amount="" v="" 100<ref(c,1)="" c="">O;
DRAWICON(REF(ZT OR ZT1,1) AND 假阴 AND H=HHV(H,5) AND V>=REF(V,1)*0.9 AND C>REFX(C,1),H*1.03,8);
DRAWICON(ZT1 AND H=HHV(H,10) AND V>=REF(V,1) AND H>REFX(H,1),H*1.03,8);
STICKLINE(假阴,O,C,0.58,0),COLORRED;{假阴柱};
STICKLINE(假阳,O,C,0.58,0),COLORLIGREEN;{假阳柱};
HH:=COUNT(ZT,13)>=1;
BA:=BArslAST(HH);
A:=L<=REF(H,BA)*0.9;
DRAWICON(A AND crOSS(C,MA(C,3)) AND BA<13,L*0.98,1);

 

标签:STICKLINE,ZT1,根主图,通达信,源码,ZT,DT,REF,DT1
From: https://www.cnblogs.com/zhibiao/p/17992877

相关文章

  • 通达信分时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......
  • 通达信【乾坤地势坤】幅图选股公式 阶段底部安全买入 十拿九稳 源码文件分享
     本公式以安全为前提,如果你想要暴利,以下就别再看了,十拿九稳,可能稍微夸张了一点点,那起码出十个票有八个能涨是真的哦!都是回调底部起涨的个股,当然也不排除会出现暴利大牛股!设计此指标应用到一阴一阳之味道,专做阶段性底部,可以短中线结合使用!物理学是描述自然界各种规律最早、最彻......
  • 通达信斜面推高指标公式源码副图
    N:=10;P:=4;S:=1;{N(10),P(4),S(1);}ma5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);DTPL:=MA10>MA20ANDMA20>MA30ANDMA20>REF(MA20,1)ANDMA30>REF(MA30,1);DTSJ:=BArslAst(crOSS(DTPL,0.1));XME:=DTSJ*DTPL>0;MZH:=(MA(C,20)+MA(......
  • 通达信五星上将指标公式源码副图
    C5:=Ema(C,5);C10:=EMA(C,10);C30:=EMA(C,30);D1:=2*(C5-C10);D2:=2*(C5-C30);D3:=200*(D1+D2);LL:=V/1000;将军:D3;A1:=MA(LL,5);A2:=MA(LL,10);A3:=MA(LL,120);A4:=MA(LL,250);DRAWTEXT(D3>0,20,'★'),COLORRED;DRAWTEXT(A1>A3,40,'★......
  • 通达信出现必涨副图指标公式源码
    VAR1:=MA(HHV(HIGH,485),17);VAR2:=MA(HHV(HIGH,222),17);VAR3:=MA(HHV(HIGH,96),17);VAR4:=MA(LLV(LOW,485),17);VAR5:=MA(LLV(LOW,222),17);VAR6:=MA(LLV(LOW,96),17);VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,17);VAR8:=MA((V......