Credit to HPotter for that script
I took his script and added alerts to it. 2 lines lol
But anyway, useful to detect reversals by coloring bullish/bearish engulfing candles :)
Continuing deeper and stronger with the screeners serie. I keep getting requests private messages and requests saying that screeners aren't possible with TradingView.
My answer is always... "Reallyyy ??" (I never find a better answer than that...)
I'll publish a few screeners just for everyone to understand what can be done with Pinescript. We...
Engulfings for bullish and bearish candles. Default is to compare to 20MA, but that is configurable. Bullish make white candles, bearish makes black candles. If the engulfing is against the direction of the MA, or if open and close are on opposite sides of the MA, the candles turn gray.
Most of the engulfing indicators i tried seemed to only look at the candle bodies which i didnt like. This one takes into account the highs and lows as well. You get less signals but each one seem to be more reliable.