通达信多功能(可调) 五合一主图 ( 指标 源码 贴图)
DRAWICON(CROSS(SELL1,BUY1),H+0.2,8);
STICKLINE(BUY1>SELL1 AND O>=C,C,O,-1,0),COLORRED;
STICKLINE(BUY1>SELL1 AND O>=C,L,H,0,0),COLORRED;
STICKLINE(BUY1<SELL1 AND O<=C,O,C,-1,1),COLORCYAN;
STICKLINE(BUY1<SELL1 AND O<=C,O,L,0,1),COLORCYAN;
STICKLINE(BUY1<SELL1 AND O<=C,C,H,0,1),COLORCYAN;
平均:=(L+H)/2;
KB:=ZIG(平均,10);
KS:=MA(KB,2);
DRAWICON(CROSS(KB,KS),L-0.7,1);
DRAWICON(CROSS(KS,KB),H+0.6,2);
{5.财务板块}
DRAWTEXT_FIX(1,0.65,0.018,0,'市盈率:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.7,0.018,0,CONST(DYNAINFO(39))),COLORYELLOW;
DRAWTEXT_FIX(1,0.76,0.02,0,'市净率:'),COLOR0080FF;
DRAWNUMBER_FIX(1,0.81,0.02,0,CONST(C/FINANCE(34))),COLOR0080FF;
DRAWTEXT_FIX(1,0.86,0.018,0,'每股收益(元):'),COLORFF00FF;
DRAWNUMBER_FIX(1,0.95,0.018,0,CONST(FINANCE(33))),COLORFF00FF;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0.98,1,1,STRCAT(Z3,GNBLOCK)),COLORYELLOW;
{下面可以复制到指标用法注释里:}
说明:
该图为五合一主图:1.离进场参考线;2.解盘;3.B S提示(无未来和有未来);5.财务和板块显示。
解盘文字为当前K线走势情况,作参考!
波段用法:红色K线持股!青色K线持币!
该图买卖BS指标无未来和有未来结合使用:
★该图淡红↖B、淡绿↙S无未来,也就是“右侧交易”,虽滞后但稳妥!
☆该图红↑B、绿↓S有未来:含红绿波段,当出现提示可在第二天确认后再操作!
●该图近四天的K线间有一条红绿线,也就是离场进场线,红线上持股,绿线下持币。
- 上一篇公式:通达信短线布林(源码主图贴图)轻松逃顶见低买入
- 下一篇公式:通达信分时做T(指标分时副图 贴图 不加密)