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. קרא עוד ב־תנאי השימוש.