当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是通达信+飞狐=两用指标主图源码(无源码的请下载附件导入)
通达信+飞狐=两用指标主图源码
通达信:
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;
{公式在线提供:www.gszx.com.cn}