通达信+飞狐=两用指标主图源码

 2023-08-06 17:22:39    通达信指标网  

通达信:

DRAWBAND(MA(CLOSE,5),RGB(140,42,43),MA(CLOSE,24),RGB(31,72,46));

DRAWKLINE(H,O,L,C);

TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;

DRAWTEXT(TJ,LOW*0.986,'↖高量柱'),COLORYELLOW;

STICKLINE(TJ,OPEN,CLOSE,1.5,0),COLORYELLOW;

K1:=SUMBARS(TJ,1);

STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),COLORYELLOW;

飞狐:

DRAWGBK(CLOSE>0, COLORRGB(20,20,20), COLORRGB(2,2,2),2);

a:=MA(CLOSE,5);

b:=MA(CLOSE,24);

FILLRGN(a>b,a,b),ColorC0C0C0;

FILLRGN(a<b,a,b),Color363636;

TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;

DRAWTEXT(TJ,LOW*0.986,'高\n量\n柱'),COLORYELLOW;

K1:=SUMBARS(TJ,1);

STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),ColorFF00FF;

STICKLINE(C>=O,C,O,7,0),Color0B0BFF;

STICKLINE(C>=O,H,L,1,0),Color0B0BFF;

STICKLINE(C<=O,C,O,7,0),ColorB0B000;

STICKLINE(C<=O,H,L,1,0),ColorB0B000;

STICKLINE(TJ,OPEN,CLOSE,8,0),COLORYELLOW;

  •  标签:  

原文链接:https://www.tdxzb.com/?id=1545

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服