Re: Partial exits on M5 gold scalps without turning winners into scratches
Posted: Sun Sep 06, 2026 9:49 am
How to use this in TradingView:
Open a chart, click Pine Editor at the bottom, paste the code, and click Add to Chart.
Visual Assistant Mode: Turn off your strategy entries (or ignore the dummy trades). The blue and red dotted lines will dynamically draw exactly where your M5/M15 trailing stops should go in real time. Use these lines as a visual guide to adjust your MT4/cTrader stops manually.
Backtesting Mode: Replace the fast_ma and slow_ma dummy entry logic with your actual entry criteria (e.g., London sweep-and-reclaim). The Strategy Tester will now accurately simulate your $+1.5\text{R}$ winners and prove the mathematical expectancy of your partial framework.
Open a chart, click Pine Editor at the bottom, paste the code, and click Add to Chart.
Visual Assistant Mode: Turn off your strategy entries (or ignore the dummy trades). The blue and red dotted lines will dynamically draw exactly where your M5/M15 trailing stops should go in real time. Use these lines as a visual guide to adjust your MT4/cTrader stops manually.
Backtesting Mode: Replace the fast_ma and slow_ma dummy entry logic with your actual entry criteria (e.g., London sweep-and-reclaim). The Strategy Tester will now accurately simulate your $+1.5\text{R}$ winners and prove the mathematical expectancy of your partial framework.