背离王指标是以带影线的红绿柱为主体,以0轴为中心的趋势类指标。其中红柱表示当日资金流入量>资金流出量;
红柱说明当天资金是以流入为主,这将成为行情向上运行的源动力,因此我们应当做出顺势买入或者持股的决策;
绿柱说明当天资金是以流出为主,这将造成股价的进一步回落,因此我们应当顺势卖出股票或者持币观望。
指标设计为以0为波动轴心,0轴以上称之为“强势区”,0轴以下称为“弱势区”。
以上三张图是期货螺纹钢五分钟15分钟和一个小时的,图形走势,另外五张图是股票的走势图
《背离王公式》源代码
A1:=FORCAST(EMA(CLOSE,5),6); A2:=FORCAST(EMA(CLOSE,8),6); A3:=FORCAST(EMA(CLOSE,11),6); A4:=FORCAST(EMA(CLOSE,14),6); A5:=FORCAST(EMA(CLOSE,17),6); B:=A1+A2+A3+A4-4*A5; TOWERC:=EMA(B,2); FORCAST(EMA(B,3),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,4),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,5),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,6),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,7),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,8),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,9),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,10),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,11),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,12),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,13),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,14),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,15),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,16),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,17),6),POINTDOT,COLORGREEN; STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,REF(TOWERC,1),8,0),COLORRED;
STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,REF(TOWERC,1),5,0),COLORRED; STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,REF(TOWERC,1),3,0),COLORRED; STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,REF(TOWERC,1),0,0),COLORRED;
|