以下是同花顺WP2号通道画线源码主图
实盘操作中,往往因为庄家的假突破跟进去被深深地套住。本着规避假突破被套的思路,编写了此指标公式。
在编写时可能用到论坛上某些老师的源码,在此深表感谢!
此指标的特点:(划线有未来,怕者莫用)
1、颜色通道的自动判断;
2、短线支撑和压力判断的自动划线;
3、薛斯通道背景和持股持币的辅助参考;
4、无量的反抽往往是下跌中继的陷阱;
在突破选股中,特别强调量能放大和趋势成立的选股思路。——Wp
N:=13;
BC:=(H*0.382+L*0.618+O*0.382+C*0.618)/2;
LJ:=IF(INDEXC=C,BC,(BC+AMOUNT/(V*100))/2),colorgray;
HT:=REF((HHV(LJ,N*0.691)+HHV(LJ,N)+HHV(LJ,N*1.309))/3,1),LINETHICK,colorred;
LT:=REF((LLV(LJ,N*0.691)+LLV(LJ,N)+LLV(LJ,N*1.309))/3,1),LINETHICK,colorgreen;
ZT:=(HT+LT)/2,LINETHICK,coloryellow;
STICKLINE(ISLASTBAR=1 AND LJ<ZT,HT,LT,N*8,0),colorblue;
STICKLINE(ISLASTBAR=1 AND LJ=ZT,HT,LT,N*8,0),colorgray;
STICKLINE(ISLASTBAR=1 AND LJ>ZT,HT,LT,N*8,1),colorwhite;
STICKLINE(ISLASTBAR=1,ZT,ZT,N*8,0),colorwhite;
箱顶:HT,colorwhite,NODRAW;
箱底:LT,colorwhite,NODRAW;
箱中:ZT,colorwhite,NODRAW;
N2:=102;
M:=7;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
薛通A:AA*N2/100,colorwhite,DOTLINE;
薛通B:AA*(200-N2)/100,colorwhite,DOTLINE;
DRAWBAND(薛通A,RGB(120,80,60),薛通B,RGB(0,100,0));
DRAWKLINE(H,O,L,C);
BT11:=MA(C,1);
持币:SMA(SMA(SMA(BT11,2,1),2,1),2,1),colorcyan,LINETHICK2;
SMA22:=MA(持币,3);
持股:IF(持币>SMA22,持币,DRAWNULL),colormagenta,LINETHICK2;
STICKLINE(持币,C,O ,1,0 ),colorgreen;
STICKLINE(C>持股,C,O ,1,0 ),colorred;
评论(0)