背離王指標是以帶影線的紅綠柱為主體,以0軸為中心的趨勢類指標。其中紅柱表示當日資金流入量>資金流出量;
紅柱說明當天資金是以流入為主,這將成為行情向上運行的源動力,因此我們應當做出順勢買入或者持股的決策;
綠柱說明當天資金是以流出為主,這將造成股價的進一步回落,因此我們應當順勢賣出股票或者持幣觀望。
指標設計為以0為波動軸心,0軸以上稱之為“強勢區(qū)”,0軸以下稱為“弱勢區(qū)”。
以上三張圖是期貨螺紋鋼五分鐘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;
|