PROTECTED SOURCE SCRIPT
已更新

Money Management Backtest

1 916
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

版本注释
Added functionality for
- Entering by Stop Order
- Filter for Entry Rules
- Backtest Sample Period
版本注释
fix typos
版本注释
SL can flip direction

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。