OBV: IF(CLOSE > REF(CLOSE,1), OBV+VOL, IF(CLOSE < REF(CLOSE,1), OBV-VOL, OBV));
MAOBV: MA(OBV, 10);
BUY_SIGNAL: CROSS(OBV, MAOBV);
{DRAWTEXT(BUY_SIGNAL, LOW, 'BUY'), COLORGREEN; }
STICKLINE(BUY_SIGNAL, LOW*0.98, HIGH*1.02, 0, 0), COLORGREEN;
OBV_LINE: OBV, COLORRED;
DRAWICON(CROSS(C,BUY_SIGNAL) AND L,L*0.98,23);