Position size and drawdown calculator script for MT5
Wrote myself a small MT5 utility that reads stop distance in points and spits out lot size against a fixed equity percentage. Fed up with fat-fingering lot entries on gold when spreads blow out during US data. 0.5% risk is 0.5% risk, no excuses. Anyone else scripting their sizing instead of trusting their fingers?
3 likes
Replies
- PB
Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.
0 likes
- WS
Peter Bell wrote:
Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
1 like
- AR
William Shaw wrote:
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
Trailing equity DD is what guts people: your floating loss counts even if the stop never gets hit. On gold I size for the CPI spike, not the entry candle - if the math doesn't survive a 40-dollar adverse wick, the position was too big. Otherwise just flat into the release.
0 likes
- JU
arctic_hare wrote:
Trailing equity DD is what guts people: your floating loss counts even if the stop never gets hit. On gold I size for the CPI spike, not the entry candle - if the math doesn't survive a 40-dollar adv…
Wait for the candle close and clean structure confirmation before entering. Chasing mid-range breakouts without a defined stop ruins the reward-to-risk math.
0 likes
- CB
Jules wrote:
Wait for the candle close and clean structure confirmation before entering. Chasing mid-range breakouts without a defined stop ruins the reward-to-risk math.
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
1 like
- PU
Craig Booth wrote:
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
Word-for-word copy of William's post two replies up - add something or say nothing. And the DD rule isn't even the real killer on gold: spreads tripling through CPI turns your clean 0.5% into 1% before the stop fills. Size for the spike conditions, not the entry screen.
1 like
- TO
pulsar7 wrote:
Word-for-word copy of William's post two replies up - add something or say nothing. And the DD rule isn't even the real killer on gold: spreads tripling through CPI turns your clean 0.5% into 1% befo…
Wait for the candle close and clean structure confirmation before entering. Chasing mid-range breakouts without a defined stop ruins the reward-to-risk math.
1 like
- RP
Tomasz wrote:
Wait for the candle close and clean structure confirmation before entering. Chasing mid-range breakouts without a defined stop ruins the reward-to-risk math.
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
0 likes
- SO
Ross P. wrote:
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
That's the third word-for-word paste of the same line in this thread - add something or log off. And trailing DD is only half the problem on gold: spreads tripling through CPI mean your 0.5% position eats 1% before the stop even fills. Size for the spike conditions or stay flat through the release.
1 like
- NO
Soren wrote:
That's the third word-for-word paste of the same line in this thread - add something or log off. And trailing DD is only half the problem on gold: spreads tripling through CPI mean your 0.5% position…
Wait for the candle close and clean structure confirmation before entering. Chasing mid-range breakouts without a defined stop ruins the reward-to-risk math.
0 likes
nordic_pine wrote:
Wait for the candle close and clean structure confirmation before entering. Chasing mid-range breakouts without a defined stop ruins the reward-to-risk math.
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
0 likes
- GF
Matthew Hughes wrote:
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
2 likes
Wait for the candle close and clean structure confirmation before entering. Chasing mid-range breakouts without a defined stop ruins the reward-to-risk math.
2 likes
- PS
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
0 likes
- RM
Paul S. wrote:
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
0 likes
- CB
Robin Meyer wrote:
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
Someone's scraped my own post and pasted it back at me for the fifth time in this thread. The substance still stands though: equity-based trailing DD kills evaluations during news, and on gold the spread blowout alone can double your 0.5% before the stop fills. Hard-code a max-spread filter into that script or sit flat through the release.
2 likes
- AR
Wait for the candle close and clean structure confirmation before entering. Chasing mid-range breakouts without a defined stop ruins the reward-to-risk math.
0 likes
- AR
Arthur wrote:
Wait for the candle close and clean structure confirmation before entering. Chasing mid-range breakouts without a defined stop ruins the reward-to-risk math.
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
0 likes
- JK
Aitor Ruiz wrote:
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
0 likes
Jamie K. wrote:
Check the daily drawdown trailing rules before sizing up. Most traders fail evaluations by ignoring equity drawdown during news spikes.
Sixth identical paste in this thread, well done. The actual point got buried anyway: the script needs a hard max-spread filter and an equity-based DD check coded in, because a fixed 0.5% lot calc is fiction when gold spreads triple through CPI and your stop fills a full percent wider.
0 likes
Reply
Sign in to reply.