- I made it comprehensive in that you can select long, short, or both.
- There is a trend filter. You can filter for trades above, below, or don't include it at all.
- The exit is based on a .
The source code should be open if you want to see it or modify it for your own project. I hope it helps!
Global Market Signals
I hope it helps,
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.