You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
As everyone has said use layers of protection.
Another layer, which is quite easy to implement, is to check your best optimisation result and look at the time frames when you tend to lose money, block trading over those times. Rerun it and see what happens.
A lot of good layers already in this thread, so I will add one reframe and one concrete refinement rather than repeat.
Reframe: on gold M15, drawdown is less about the size of any single loss and more about losses clustering together. They bunch up in two places - regime transitions (range flipping to trend) and thin-liquidity windows around the daily rollover and pre-session. So the highest-leverage move is usually not tightening every stop, it is cutting exposure specifically in those windows. A session/time gate does more for drawdown than shaving pips off the SL, and it does it without touching the entry logic. I would build that gate structurally (fixed session hours, volatility state) rather than blocking "the hours that lost money in the backtest" - the latter, as reasonable as it sounds, is just fitting the past.
Refinement on the daily-loss-limit code Mobina described (the timer-decides / tick-executes split is the right structure): base the daily snapshot on the intraday equity high-water mark, not the day-start balance. A run to +3% that gives back to -2% passes a day-start check, but the drawdown you actually lived through was 5%. Tracking peak equity and cutting at a fixed give-back from that peak caps the felt drawdown, which is also what funded-account daily limits really measure.
One thing worth being explicit about: simply reducing lot size lowers drawdown and return by the same factor - it scales the equity curve, it does not improve it, and the Sharpe is unchanged. The only ways to lower drawdown while keeping return are selective exposure (the regime/session filter above) or de-correlation (the portfolio point raised earlier). Both are more work than turning the size knob down, but they change the shape of the curve rather than its height.
Unless you can predict the future, the only way to control drawdown is to control risk.
Just because your car can go 150 MPH doesn't mean you should. Just because you have a lot of margin, doesn't mean you should use it. Control your risk.
Risk depends on your initial stop loss, lot size, and the value of the symbol. It does not depend on margin or leverage. No SL means you have infinite risk (on leveraged symbols). Never risk more than a small percentage of your trading funds, certainly less than 2% per trade, 6% account total.
You place the stop where it needs to be — where the reason for the trade is no longer valid. E.g. trading a support bounce, the stop goes below the support. Then you compute your lot size.
AccountBalance * percent/100 = RISK = OrderLots * (|OrderOpenPrice - OrderStopLoss| * DeltaPerLot + CommissionPerLot) (Note OOP-OSL includes the spread, and DeltaPerLot is usually around $10/PIP, but it takes account of the exchange rates of the pair vs. your account currency.)
Do NOT use TickValue by itself - DeltaPerLot and verify that MODE_TICKVALUE is returning a value in your deposit currency, as promised by the documentation, or whether it is returning a value in the instrument's base currency.
MODE_TICKVALUE is not reliable on non-fx instruments with many brokers - MQL4 programming forum (2017)
Is there an universal solution for Tick value? - Currency Pairs - General - MQL5 programming forum (2018)
Lot value calculation off by a factor of 100 - MQL5 programming forum (2019)
You must normalize lots properly and check against min and max.
You must also check Free Margin to avoid stop out
For MT5, see 'Money Fixed Risk' - MQL5 Code Base (2017)
Most pairs are worth about $10 per PIP. A $5 risk with a (very small) 5 PIP SL is $5/$10/5 or 0.1 Lots maximum.
Hey,
Just a few thoughts, no absolute certainty here:
On fixed risk vs percentage — if the stop varies from trade to trade, a fixed point risk feels a bit risky to me, but that probably depends on each person's style.
On volatility, sticking to precise time windows has always seemed simpler to me than a real-time indicator, though I'm not sure it's "the" right method.
On news, cutting trading entirely or just adjusting sizing, both can make sense depending on what you're trying to preserve.
But overall, in trading, what matters most in the end is preserving capital over the long term — might sound repetitive to say, but it's often what makes the difference between lasting or not.