1) At first, we test if the ema 9 is up or down if it is Up the background is painted yellow and you can find the reference candles for the setups if it is down the background is Gray and you can find the reference candles for the setups
2) Then we compare the close, highs and lows if the candle match some of the setup rules, and if match we plot a sign in the reference candle with the name of respective setup, now you can decide in the next candle if it is eligible for an entry SHORT/LONG position.
Please, few free to comment and tell me any inconsistency and possible upgrades...
Later as soon I’m get used withe pine script I will improve this script with more and more features
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 publication is governed by House rules. You can favorite it to use it on a chart.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.