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 don't have to wait for TradingView to allow screener based on custom indicator - we can build our own ^^
I - What is an pattern
Let's start with a screener to check for a very famous pattern called engulfing
candles tend to signal a reversal of the current trend in the market. This specific pattern involves two candles with the latter candle ‘engulfing’ the entire body of the candle before it.
The candle can be or depending on where it forms in relation to the existing trend
Source and more info here
These candles indicate a strong shift in direction, and when combined with observation of the price-trending direction that precedes it, this shift creates the opportunity for a trading strategy.
II - How did I set the screener
I added an optional filter being Price vs . The idea is to select only the whenever the price also breaks an - this usually translates a stronger move - but could sometimes give the signal too late (#meh #trading #ain't #easy)
The visual signals are as follow:
- square: whenever the engine detects an and an breakout
- triangle: the engine only detects an
- dash: none of the above
Then the colors are:
- orange when
- yellow when
- aqua/dash when none of the above
"But sir... what can we do with only 5 instruments for a screener?" I agree not much but...
even if I allow only 5 instruments per indicator - nothing prevents you from adding multiple times the same indicator and changing the selected instruments for each. I also show why the SPX500 gave a yellow triangle ( ) and how to match it with the screener.
Wishing you all the BEST trading
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
This is exactly what I need, and I look forward to attempting customizations based on other candlestick patterns confirmed by support/resistance indicators.
You can use the ones you think are the most relevant