PROTECTED SOURCE SCRIPT
已更新

Money Management Backtest

1 967
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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。