The strategy is based on moving average and work best on #banknifty 1 hour time frame, you are adjust the time frame based on your comfort.
The source code is open for you to add additional logic and you can use other indicators for active filtering.
This algo can be used in conjugation with the other trend indicator.
You can use web hook to automate the whole trading setup.
The strategy tester can be used to validate the performance.
Any Questions, pls post it on comment section.
You can save this script under favourite or copy paste it under your my scripts.
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.