MACD divergence signal.1
MACD divergence signal.1
MACD divergence signal.1
//------------------------------------------------------------------------------
// Regular Bullish
// Osc: Higher Low
//------------------------------------------------------------------------------
// Hidden Bullish
// Osc: Lower Low
//------------------------------------------------------------------------------
// Regular Bearish
// Osc: Lower High
bearCond = plotBear and priceHH and oscLH and phFound and bearzero
plot(phFound ? osc[lbR] : na, offset=-lbR, title='Regular Bearish', linewidth=2,
color=bearCond ? bearColor : noneColor, transp=0)
//------------------------------------------------------------------------------
// Hidden Bearish
// Osc: Higher High