Sadly the "Take Profit" points are not working, either there's some Pine Script syntax that I'm not aware of that lets you close percentages of your position (I'm using qty_percent in strategy.exit()) or it's just broken and I can't exactly prove it.
There are some conditions that have exits and entries on the same candle and I'm still working to figure out if those are correct according to the system itself.
For now it's 95% polished for the base functionality
It's a small detail of calculation but it improved some of my results up to +50%!
- Ability to enable/disable longs or shorts
- SMA Threshold to plot if the current trend is above or below to signal a trend towards longs or shorts
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.