OPEN-SOURCE SCRIPT
Updated

Simple Momentum and Trend, Fixed PnL Strategy for SPY 1D [SR]

3162
This strategy uses an ATR rule to assess momentum and a TSI rule to assess bullish or bearishness
It has a fixed stop at 50 points, and fixed take profit at 300 pips

It provides a very satisfyingly smooth equity line with a max drawdown below 5% and realized profit over 200%
This is the initial version as I work out optimizations and add plots to the chart based on the strategy's actions.

I would love to get the community's feedback and help as I'm new. Not sure how to limit the date range of the backtest to make it more realistic. I'm also not certain how to plot it best.
Release Notes
This adds my attempt to plot the calculations, if anyone has a better approach please let me know

Disclaimer

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.