首页 > 编程语言 >通达信涨停宝抄底宝主图指标公式源码副图

通达信涨停宝抄底宝主图指标公式源码副图

时间:2024-01-27 17:15:27浏览次数:28  
标签:1.5 涨停 STICKLINE DRAWTEXT 通达信 源码 宝主图 DT1 ZT1

M1:=10;
M2:=20;
N:=20;
二品:(1+M1/100)*ma(CLOSE,N),COLORYELLOW;
四品:(1-M2/100)*MA(CLOSE,N),COLORBLUE;
三品:(二品+四品)/2,COLORWHITE;
一品:8*(二品+四品)/14,COLORRED;
五品:6*(二品+四品)/14,COLORGREEN;
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;
{曾涨跌停打开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;
DRAWTEXT(ZT AND DT1 AND PERIOD=5,L-0.03,'地天板'),COLORCC00CC;{从跌停到涨停}
DRAWTEXT(DT AND ZT1 AND PERIOD=5,H+0.03,'天地板'),COLOR00CC00;{从涨停到跌停};
DRAWTEXT(DT1,L-0.09,'撬板'),COLORCC00CC;{从涨停到跌停};
DRAWTEXT(ZT1,H+0.03,'炸板'),COLOR00CC00;{从涨停到跌停};
TJ:=V=HHV(V,100);
K1:=SUMBARS(TJ,1);
STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),COLORYELLOW;
MA120:MA(C,120),COLORMAGENTA,LINETHICK2;
涨停宝:=C>一品 AND REF(C,1)<一品 AND (C-REF(C,1))/REF(C,1)>0.09;
DRAWTEXT(涨停宝,一品,'涨停宝');
抄底宝:=(REF(C,1)<五品 AND C>五品) OR (L<五品 AND C>五品);
DRAWTEXT(抄底宝,五品,'抄底宝');

 

标签:1.5,涨停,STICKLINE,DRAWTEXT,通达信,源码,宝主图,DT1,ZT1
From: https://www.cnblogs.com/zhibiao/p/17991658

相关文章

  • 通达信强弱界限指标公式源码副图
    VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,34);VARB:=HHV(HIGH,34);BB:=Ema((VAR6-VAR8)/(VARB-VAR8)*100,13);VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);RSV1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;K1:=SMA(RSV1,13,1);D1:=SMA(K1,13,1);浪:=EMA(D1,3)......
  • 通达信筹码乾坤指标公式源码副图
    显示:=1;A20:WINNER(COst(97))-WINNER((COST(97)-COST(3))/40*38+COST(3));A19:WINNER((COST(97)-COST(3))/40*38+COST(3))-WINNER((COST(97)-COST(3))/40*36+COST(3));A18:WINNER((COST(97)-COST(3))/40*36+COST(3))-WINNER((COST(97)-COST(3))/40*34+COST(3));A17:WINNER(......
  • 通达信行业板块看盘加强版指标公式源码
    创业板:=INBLOCK('创业板');中小企业:=INBLOCK('中小板');上证A股:=INBLOCK('上证A股');深证A股:=INBLOCK('深证A股');INDEH:=IF(中小企业=1,"399005$H",IF(创业板=1,"399006$H",IF(上证A股=1,"999999$H","399001$H"))),NOD......
  • 通达信立量桩选股指标公式源码副图
    均价:=(3*C+H+L+O)/6;VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;TJ1:=VOL=HHV(VOL,10)ANDVOL>2*REF(VOL,1)ANDCLOSE>VAR1;立桩量:=FILTER(TJ1,5);TJ2:=IF(BARSLAST(立桩量)=1ANDCLOSE>REF(......
  • 通达信擒黑马大牛 副图+选股公式副图/选股公式
    {擒黑马大牛选股}TJ1:=REF(CROSS(MA(C,5),C),1)ANDCROSS(C,MA(C,5));TJ2:=REF(CROSS(MA(C,10),C),1)ANDCROSS(C,MA(C,10));TJ3:=REF(CROSS(MA(C,20),C),1)ANDCROSS(C,MA(C,20));TJ4:=TJ1ORTJ2ORTJ3;TJ5:=REF(C,2)/REF(C,1)>=1.045ANDREF(C,1)<ref(o,1)and=&......
  • 通达信【小楷超级竞价秘籍】竞价低吸+激进模式二合一玩转竞价 源码文件分享
     本套竞价指标,原价200金钻哦(1金钻=10元,就是2000元哦)小楷超级竞价秘籍,经过半年时间的研发测试,现在将这套系统推出!一、此指标包括选股预警+使用说明,预警时间为上午9.25-9.30分二、此指标包括两种竞价模式竞价激进模式+竞价低吸模式三、竞价激进模式适用于激进选手,出票一般都是......
  • 通达信低位强庄识牛股指标公式源码
      上面截图为设置盘中涨幅">=8.5%”的“打板模式”的胜率,个人是不支持也不喜欢打板模式的,但发现很多坛友热衷此道甚至还有花钱去买打板指标,我就免费分享出来这个指标模式的打板设置评测仅供参考  {副图公式}VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,34);VARB:=HHV......
  • 通达信四串阴阳主图指标公式源码
    {四串阴}DD_0:=EVERY(C<o,4);DD_1:=REF(H,BARSLAST(CONST(BARSLAST(DD_0))+4=CURRBARSCOUNT));STICKLINE(H,DD_1,DD_1,5,-1)COLORLIGREEN;STICKLINE(BARSLAST(DD_0)<=20ANDREF(C,1)<=DD_1ANDC>DD_1,O,(C+O)/2,0.8,0)COLORYELLOW;STICKLINE(L<dd_1and=&q......
  • 通达信金牛探底专注牛股指标公式源码
    A1:=EMA(C,12)-EMA(C,25);A2:=EMA(A1,6);获利回吐:(A2>=0)*A2,colorwhite,LINETHICK0;大黑马:(A2<0)*A2,COLORD4FF7F,LINETHICK0;坚绝做空:(A1<0)*A1,COLORB00058,LINETHICK0;买入持股:(A1>=0)*A1,colorred,LINETHICK0;STICKLINE(A2>=0,A2,0,5,0),colorwhite;STICKLINE......
  • 通达信趋势判断指标公式源码副图
    来势线:EMA(CLOSE,7)-EMA(CLOSE,21),COLORYELLOW;福星:EMA(来势线,7),COLORSTICK,COLORRED;VAR1:=CLOSE/REF(LLV(LOW,35),5)<1;决策:IF(VAR1,0.5,0),STICK,COLORBLUE;必买:IF(TROUGHBARS(3,15,1)=0ANDHIGH>LOW+0.01,1,-1),COLORYELLOW,LINETHICK1;必卖:IF(PEAKB......