PROTECTED SOURCE SCRIPT
Updated

Money Management Backtest

1 914
This non-repaint script is to backtest some different money management strategies:
- Whether to enter immediately after a signal (shaved bar) fires or wait for pullback (market vs limit order)
- Move Stoploss to breakeven (with fee calculated in) right after position starts to have UnPnL
- Take Partial Profit

SL Cap is calculated from current price to decide where to put SL
SL Padding is to add some space above High for Short position or below Low for Long position

Release Notes
Added functionality for
- Entering by Stop Order
- Filter for Entry Rules
- Backtest Sample Period
Release Notes
fix typos
Release Notes
SL can flip direction

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.