OPEN-SOURCE SCRIPT
Atualizado

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

3 716
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.
Notas de Lançamento
This adds my attempt to plot the calculations, if anyone has a better approach please let me know

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.