通达信+飞狐=两用指标主图源码
通达信:
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,'高
量
柱'),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;
小手一抖,花花到手! 这个资源我有了,不过还是感谢楼主分享 只为积分!感谢! 非常好,赞一个! 帮帮顶顶!! 这里资源很丰富啊 顶贴光荣! 感谢感谢
页:
[1]