通达信牛熊交易区副图指标公式
安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。
不会安装点击 安装指南 步骤操作。
熊市区:MA((2*L+C)/3,20),COLORCYAN,NODRAW;
牛市区:MA((H+2*C)/3,20),COLORRED,NODRAW;
STICKLINE(熊市区,熊市区,0,0,-1),COLORLICYAN;
STICKLINE(C>牛市区,熊市区,0,0,-1),COLOR0090FF;
STICKLINE(C>熊市区 AND C<牛市区,0,熊市区,0,-1),COLORWHITE;
DRAWBAND(熊市区,RGB(60,60,60),牛市区,RGB(60,60,60));
STICKLINE(C>熊市区 AND C<牛市区,牛市区,熊市区,2,0),COLORWHITE;
STICKLINE(C>熊市区 AND C>=O,O,C,3,1),COLORRED;
STICKLINE(C>熊市区 AND C>=O,H,C,0,0),COLORRED;
STICKLINE(C>熊市区 AND C<O,O,C,2.5,0),COLORCYAN;
STICKLINE(C>熊市区 AND C<O,O,C,1.8,0),COLORRED;
买入:=CROSS(C,牛市区);
{更多指标关注微信公众号:程序化指标}
STICKLINE(C>熊市区 AND C<O,O,H,0,1),COLORRED;
STICKLINE(C>熊市区 AND C<O,C,L,0,1),COLORRED;
卖出:=CROSS(熊市区,C);
STICKLINE(C<牛市区 AND C<熊市区 AND C>O,O,C,2.5,1),COLORGREEN;
STICKLINE(C<牛市区 AND C<熊市区 AND C<=O,C,O,3,0),COLORGREEN;
STICKLINE(C<牛市区 AND C<熊市区 AND C<=O,H,L,0,0),COLORGREEN;
STICKLINE(C<牛市区 AND C<熊市区 AND C>O,C,H,0,1),COLORGREEN;
STICKLINE(C<熊市区,牛市区,熊市区,2,0),COLORBLUE;
STICKLINE(C<牛市区 AND C<熊市区 AND C>O,O,L,0,1),COLORGREEN;
STICKLINE(C>牛市区,熊市区,牛市区,2,0),COLOR0090FF;
DRAWICON(买入,L*0.98,7);
DRAWICON(卖出,H*1.03,8);
指标先生有话说:用完记得多多分享文章哦!感谢您的支持!
需要把上面公式改写成选股公式大声呼唤我!