通达信分时起爆点分时主图指标 异动起爆买点 源码



ZSR:=DYNAINFO( 3);

{前收盘价 即时行情数据}

GDK:=(SMA(C,2,1)-SMA(C,6,1))*2.1;

STICKLINE(GDK>0,ZSR,ZSR+GDK,0,0) ,COLOR5151A2;

STICKLINE(GDK<=0,ZSR,ZSR+GDK,0,0) ,COLOR74743A;

STICKLINE(GDK>0 ,ZSR+GDK*0.05,ZSR+GDK*0.15,0,0) ,COLOR0077FF;

STICKLINE(GDK>0 ,ZSR+GDK*0.2,ZSR+GDK*0.35,0,0) ,COLOR0088FF;

STICKLINE(GDK>0 ,ZSR+GDK*0.4,ZSR+GDK*0.55,0,0) ,COLOR0099FF;

STICKLINE(GDK>0 ,ZSR+GDK*0.6,ZSR+GDK*0.75,0,0) ,COLOR00CCFF;

STICKLINE(GDK>0 ,ZSR+GDK*0.8,ZSR+GDK*0.95,0,0) ,COLOR00DDDD;

STICKLINE(GDK>0 ,ZSR+GDK*0.86,ZSR+GDK*0.999,0,0) ,COLOR00FFFF;

STICKLINE(GDK<=0 ,(ZSR+GDK*0.05),(ZSR+GDK*0.15),0,0) ,COLOR006600;

STICKLINE(GDK<=0 ,(ZSR+GDK*0.2),(ZSR+GDK*0.35),0,0) ,COLOR009900;

STICKLINE(GDK<=0 ,(ZSR+GDK*0.4),(ZSR+GDK*0.55),0,0) ,COLOR00CC00;

STICKLINE(GDK<=0 ,(ZSR+GDK*0.6),(ZSR+GDK*0.75),0,0) ,COLOR00FF00;

STICKLINE(GDK<=0 ,(ZSR+GDK*0.8),(ZSR+GDK*0.95),0,0) ,COLOR55FF00;

STICKLINE(GDK<=0 ,(ZSR+GDK*0.86),(ZSR+GDK*0.999),0,0) ,COLOR99FF00;

DRAWTEXT_FIX(1,0.06,0,0,'所属行业:')COLOR0080FF;

DRAWTEXT_FIX(1,0.12,0,0,HYBLOCK)COLOR0080FF;

DRAWTEXT_FIX(1,0.18,0,0,'所属地区:')COLOR00FFFF;

DRAWTEXT_FIX(1,0.24,0,0,DYBLOCK)COLOR00FFFF;

HH:DYNAINFO(5),COLORDDAADD,LINETHICK1;

{最高}

LL:DYNAINFO(6),COLOR888800,LINETHICK1;

{最低}

中G:(HH+LL)/2,COLOR999999,LINETHICK1;

{中}{四线}

CTA:=DYNAINFO(5);

CTB:=DYNAINFO(6);

CTD:=CTA-CTB;

上顶:CTB+CTD*7/8,COLOR008800,DOTLINE;

阻力:CTB+CTD*2/3,COLOR777700,DOTLINE;

支撑:CTB+CTD/3,COLOR777700,DOTLINE;

下底:CTB+CTD*1/8,COLOR447777,DOTLINE;

DRAWNUMBER(CURRBARSCOUNT=232,CTA*0.9995,CTA),COLORFFAAFF;

DRAWNUMBER(CURRBARSCOUNT=232,CTB,CTB),COLORDDDD00;

DRAWNUMBER(CURRBARSCOUNT=232,中G,中G),COLORDDDDDD;

DRAWNUMBER(CURRBARSCOUNT=232,上顶,上顶),COLOR00FFFF;

DRAWNUMBER(CURRBARSCOUNT=232,阻力,阻力),COLOR00FFFF;

DRAWNUMBER(CURRBARSCOUNT=232,支撑,支撑),COLOR00FFFF;

DRAWNUMBER(CURRBARSCOUNT=232,下底,下底),COLOR00FFFF;

DRAWTEXT(CURRBARSCOUNT=240,CTA*0.9995,'最高:'),COLORFFAAFF;

DRAWTEXT(CURRBARSCOUNT=240,CTB,'最低:'),COLORFFFF00;

DRAWTEXT(CURRBARSCOUNT=240,上顶,'上顶:'),COLOR00FF00;

DRAWTEXT(CURRBARSCOUNT=240,阻力,'阻力:'),COLORFFFF00;

DRAWTEXT(CURRBARSCOUNT=240,支撑,'支撑:'),COLORFFFF00;

DRAWTEXT(CURRBARSCOUNT=240,下底,'下底:'),COLOR00FFFF;

DRAWTEXT(CURRBARSCOUNT=240,中G,'平衡:'),COLOREEEEEE;

TT1:=BARSCOUNT(C);

均价黄:=SUM(C*V,TT1)/SUM(V,TT1);

量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);

价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);

价上岗量破5:=C>均价黄 AND V>MA(V,5);

量起爆:=V>=REF(V,1)*1;

价创新高:=C>=HHV(C,0);

量创新高:=V>=HHV(V,0);

对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;

{涨幅控制2个点以内}

每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅;DRAWICON(每日一点,C,13);DRAWTEXT(每日一点,L-0.01,'←起爆买点'),COLORYELLOW;

BU:=BARSLAST(CLOSE=HHV(CLOSE,60));

SE:=BARSLAST(CLOSE=LLV(CLOSE,60));

KK1:=SE;

KK2:=BU;

LM1:=SE;

LM2:=BU;

OK:=KK1>KK2 AND LM1>LM2;

OK1:=KK1>KK2 AND LM1<LM2;

NOK:=KK2>KK1 AND LM2>LM1;

NOK1:=KK2>KK1 AND LM2<LM1;

DRAWICON(FILTER(CROSS(KK1,KK2),60),OPEN*1,9);

DRAWTEXT(FILTER(CROSS(KK1,KK2),60) ,OPEN*0.995,'←异动买点'),COLORYELLOW;



未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图