PROTECTED SOURCE SCRIPT
已更新 Money Management Backtest

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
- 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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。