9 buy below and green, 9 sell above and red.
1. Perfect/imperfect 9.
2. Short/Long triggers following 9s.
A go long indicator appears as a green L beneath the candle.
A go short indicator appears as a red S beneath the candle.
Go long: the second candle after a long setup 9 trades above the high of the previous candle.
Go short: the second candle after a short setup 9 trades below the low of the previous candle.
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.