OBV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE[OBVE:=EMA(OBV,3);]
DIFF := EMA(OBVE,12) - EMA(OBVE,26);
BBDIFF:=DIFF-REF(DIFF,1);
DEA := EMA(DIFF,9);
BBDEA:=DEA-REF(DEA,1);
(BBDEA>0 AND BBDIFF>0 AND NOT(REF(BBDEA>0 AND BBDIFF>0 ,1))) OR (BBDIFF>0 AND REF(BBDIFF,1)<=0);