volUME:VOL,NODRAW;
VA8:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
obv18:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA8),0);
OBV28:=EMA(OBV18,3)-MA(OBV18,9);
OBV38:=EMA(IF(OBV28>0,OBV28,0),3);
MAC38:=MA(C,3);
QS:=OBV38>REF(OBV38,1) AND MAC38>REF(MAC38,1);
吸:XLPL.NOTEXT吸,COLORFF00FF,CIRCLEDOT,LINETHICK3,NODRAW;
拉:XLPL.NOTEXT拉,COLORRED,CIRCLEDOT,LINETHICK3,NODRAW;
派:XLPL.NOTEXT派,COLOREEE31A,CIRCLEDOT,LINETHICK3,NODRAW;
落:XLPL.NOTEXT落,COLORGRAY,CIRCLEDOT,LINETHICK3,NODRAW;
STICKLINE(吸,0,V,2,0),COLORFF00FF;
STICKLINE(拉,0,V,2,0),COLORRED;
STICKLINE(派,0,V,2,0),COLOREEE31A;
STICKLINE(落,0,V,2,0),COLORGRAY;
QSLS:=QS AND 拉 AND 拉!=派;
STICKLINE(QSLS,0,V,2,0),COLORRED;
{量能潮}
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV2:=EMA(OBV1,3)-MA(OBV1,9);
OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
MAC3:=MA(C,3);
量能潮:OBV3,NODRAW,COLOR00FFFF;
STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3,0.01,0),COLOR00FFFF;