
Karat Killer [MQLume] 3.22: +133.81% | XAUUSD · 12-month backtest
Return, drawdown, monthly results and selected settings for Karat Killer [MQLume] 3.22.

Return, drawdown, monthly results and selected settings for Karat Killer [MQLume] 3.22.
With the source in your hands, your ideas can go further than the settings panel.
Open your source in MetaEditor and start building. Projects use self-contained code or the standard libraries already included with MT5.
Study, customise and trade on your own accounts. Your EA source gives you the freedom to keep refining your ideas.
One purchase per source project. MQLume does not charge by the number of activations or uses.
Bring your ideas to an AI coding assistant. Use the editable MQL5 project as your starting point, and stay in control of every change.
Ask for a session filter, clearer logging or a different risk rule.
Read the proposed code, check the logic and compile it in MetaEditor.
Compare backtests, then test on a demo account before considering live use.
Use an AI tool of your choice; no AI subscription is included. Review generated code and keep your source private. Better tools support your process, but do not guarantee trading profits.
Overview
The source edition includes editable MQ5, compiled EX5, README and PARAMETERS.pdf. Read the rules, adjust your own copy and recompile after changes. A multi-strategy gold portfolio with an optimized six-strategy mode, a custom mode, cross-asset filters and configurable risk controls.
Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.
Trading setup
A multi-strategy gold portfolio with an optimized six-strategy mode, a custom mode, cross-asset filters and configurable risk controls.
These are marketplace specifications, not a guarantee of suitable capital or performance.
Explore 50 lines of the project's MQL5 source. Scroll inside the editor to discover more.
double QuantizeRiskVolume(const double fixed_lots, const double account_balance, const double risk_percent, const double stop_distance, const double point, const double tick_value, const double tick_size, const double minimum, const double maximum, const double step){ double volume; if (fixed_lots > 0.0) volume = MathFloor(fixed_lots / step) * step; else { if (stop_distance < point) return 0.0; if (tick_value <= 0.0 || tick_size <= 0.0) return 0.0; double distance_ticks = stop_distance / tick_size; double risk_cash = account_balance * risk_percent / 100.0; double cash_per_lot = tick_value * distance_ticks; volume = MathFloor((risk_cash / cash_per_lot) / step) * step; } return MathMax(minimum, MathMin(maximum, volume));}void EnforceStopDistances(const bool buy, const double quote, const int digits, const int stops_points, const double point, double &stop, double &target){ stop = NormalizeDouble(stop, digits); target = NormalizeDouble(target, digits); const int minimum_points = (stops_points > 0 ? stops_points : 10); const double minimum_distance = minimum_points * point; if (buy) { if (quote - stop < minimum_distance) stop = quote - minimum_distance; if (target - quote < minimum_distance) target = quote + minimum_distance; } else { if (stop - quote < minimum_distance) stop = quote + minimum_distance; if (quote - target < minimum_distance) target = quote - minimum_distance; } stop = NormalizeDouble(stop, digits); target = NormalizeDouble(target, digits);}struct StrategyState{ ulong ticket;Your next build starts here.
Complete source, practical documentation and reference files to help you understand, customise and test your EA.
100% source code means the editable implementation of this product is supplied in full. It is not an EX5-only delivery or a hidden strategy module.
Version 3.22 · Personal-use licenceComplete, editable single-file source. Read the logic, customise it and compile your own EA.
The compiled EA accompanying the source. Recompile after editing the MQ5.
Bundled compile-time resource; preserve its relative path.
Parameter handbook with initial values, sizing formulas and usage notes.
A concise welcome, installation and compilation guide, with licence terms and support details.
Explore, customise and test your EA across different market conditions. Start with the supplied guide, then build a testing routine around your own settings.
Version v3.22 · 116
Initial settings from the delivered source. Review and test changes before using them.
Explore the inputs below to shape the EA around your research, risk preferences and workflow. Outgoing EA order comments use @MQLume and retain required strategy identifiers. Comment inputs remain for saved-setting compatibility and do not remove the execution label.
Read PARAMETERS.pdf alongside README.txt for the meaning, defaults and operating notes behind the short input labels.
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Expert Advisor NameInpEAName | Display text |
Info & ManualInpEALink | Display text |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Risk Per Trade (% of Balance)RiskPct | 1.0 |
Fixed Lot Size (0 = use Risk %)FixedLots | 0.0 |
Max Total Open PositionsMaxOpenTotal | 12 |
Max Concurrent Ratchet LONG (S8, S9, S12)MaxOpenRatchet | 1 |
Max Concurrent Short Cluster (S1, S2, S4, S5)MaxOpenShortCluster | 2 |
Max Concurrent Long Trend (S6, S11, S12)MaxOpenLongTrend | 2 |
Max Allowed Spread (points)MaxSpreadPoints | 35 |
Max Drawdown % (0 = disabled)MaxDrawdownPct | 0.0 |
Fast Trailing (M1). Off = strategy TF onlyFastTrailing | true |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Trade Comment (fixed @MQLume with strategy suffix)InpEAComment | Display text |
Magic Number (base)InpMagicNumber | 202501 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Session filter on/off (false=off, matches backtest)EnableSessionFilter | false |
Session Start Hour (server time EET)SessionStartHour | 5 |
Session End Hour (server time EET)SessionEndHour | 20 |
Close ALL trades on Friday at FridayCloseHourCloseFridayEOD | false |
Friday close hour (server time EET, 0-23)FridayCloseHour | 22 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Block entries near USD high-impact newsEnableNewsFilter | true |
Block window: minutes BEFORE eventNewsMinsBefore | 120 |
Block window: minutes AFTER eventNewsMinsAfter | 60 |
Strategies affected by near-news filter (comma-separated, e.g.InpNF_Strats | "2,3,6" |
Block ALL strategies on NFP day (first Friday of month)BlockNFPDay | true |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Silver Symbol (XAGUSD, XAGUSD.a, etc.)InpSymbolSilver | "XAGUSD" |
S&P 500 Symbol (US500, US500.a, SP500, etc.)InpSymbolSP500 | "US500" |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Portfolio ModePortfolioMode | Optimized PortfolioOptimizedPortfolio |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S1 Session Pivot SHORT (M30)EnableS1 | true |
S2 Trend Breakdown SHORT (M30)EnableS2 | true |
S3 Momentum Reversal SHORT (M30)EnableS3 | true |
S4 Pivot Breakout SHORT (M30)EnableS4 | true |
S5 London Breakdown SHORT (M30)EnableS5 | true |
S6 Asian Breakout LONG (H1)EnableS6 | true |
S7 Pivot Rally LONG (M30)EnableS7 | true |
S8 Momentum Surge LONG (H1)EnableS8 | true |
S9 Trend Follow LONG (H1)EnableS9 | true |
S10 Volatility Breakout LONG (H1)EnableS10 | true |
S11 Cloud Breakout LONG (H1)EnableS11 | true |
S12 Trend Continuation LONG (H1)EnableS12 | true |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S1 Distance ModeInpMode_S1 | ATR MultiplesAtrDistance |
S1 Stop LossInpSL_S1 | 1.2 |
S1 Take ProfitInpTP_S1 | 3.0 |
S1 Break-Even Trigger (0=off)InpBE_S1 | 0.8 |
S1 Trail Stop DistanceInpTrailStop_S1 | 0.5 |
S1 Cooldown Bars (0=off)InpCooldown_S1 | 6 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S2 Distance ModeInpMode_S2 | PricePercentDistance |
S2 Stop LossInpSL_S2 | 0.55 |
S2 Take ProfitInpTP_S2 | 3.45 |
S2 Break-Even Trigger (0=off)InpBE_S2 | 0.6 |
S2 Ratchet StepInpRatchetStep_S2 | 0.55 |
S2 Ratchet MoveInpRatchetMove_S2 | 0.7 |
S2 Cooldown Bars (0=off)InpCooldown_S2 | 1 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S3 Distance ModeInpMode_S3 | ATR MultiplesAtrDistance |
S3 Stop LossInpSL_S3 | 2.1 |
S3 Take ProfitInpTP_S3 | 2.95 |
S3 Break-Even Trigger (0=off)InpBE_S3 | 1.8 |
S3 Ratchet StepInpRatchetStep_S3 | 1.25 |
S3 Ratchet MoveInpRatchetMove_S3 | 0.85 |
S3 Cooldown Bars (0=off)InpCooldown_S3 | 2 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S4 Distance ModeInpMode_S4 | ATR MultiplesAtrDistance |
S4 Stop LossInpSL_S4 | 1.7 |
S4 Take ProfitInpTP_S4 | 6.5 |
S4 Break-Even Trigger (0=off)InpBE_S4 | 0.7 |
S4 Ratchet StepInpRatchetStep_S4 | 0.4 |
S4 Ratchet MoveInpRatchetMove_S4 | 0.9 |
S4 Cooldown Bars (0=off)InpCooldown_S4 | 1 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S5 Distance ModeInpMode_S5 | ATR MultiplesAtrDistance |
S5 Stop LossInpSL_S5 | 1.1 |
S5 Take ProfitInpTP_S5 | 5.8 |
S5 Break-Even Trigger (0=off)InpBE_S5 | 0.8 |
S5 Trail Stop DistanceInpTrailStop_S5 | 0.5 |
S5 Cooldown Bars (0=off)InpCooldown_S5 | 3 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S6 Distance ModeInpMode_S6 | PricePercentDistance |
S6 Stop LossInpSL_S6 | 1.85 |
S6 Take ProfitInpTP_S6 | 4.3 |
S6 Break-Even Trigger (0=off)InpBE_S6 | 1.0 |
S6 Time Decay Bars (time_decay exit only)InpDecayBars_S6 | 7 |
S6 Cooldown Bars (0=off)InpCooldown_S6 | 5 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S7 Distance ModeInpMode_S7 | PricePercentDistance |
S7 Stop LossInpSL_S7 | 1.35 |
S7 Take ProfitInpTP_S7 | 2.3 |
S7 Break-Even Trigger (0=off)InpBE_S7 | 1.4 |
S7 Trail Stop DistanceInpTrailStop_S7 | 0.95 |
S7 Cooldown Bars (0=off)InpCooldown_S7 | 5 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S8 Distance ModeInpMode_S8 | PricePercentDistance |
S8 Stop LossInpSL_S8 | 0.85 |
S8 Take ProfitInpTP_S8 | 2.1 |
S8 Break-Even Trigger (0=off)InpBE_S8 | 1.6 |
S8 Trail Stop DistanceInpTrailStop_S8 | 1.6 |
S8 Cooldown Bars (0=off)InpCooldown_S8 | 1 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S9 Distance ModeInpMode_S9 | PricePercentDistance |
S9 Stop LossInpSL_S9 | 1.0 |
S9 Take ProfitInpTP_S9 | 2.1 |
S9 Break-Even Trigger (0=off)InpBE_S9 | 1.0 |
S9 Ratchet StepInpRatchetStep_S9 | 1.0 |
S9 Ratchet MoveInpRatchetMove_S9 | 1.35 |
S9 Cooldown Bars (0=off)InpCooldown_S9 | 5 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S10 Distance ModeInpMode_S10 | PricePercentDistance |
S10 Stop LossInpSL_S10 | 1.5 |
S10 Take ProfitInpTP_S10 | 4.75 |
S10 Break-Even Trigger (0=off)InpBE_S10 | 1.4 |
S10 Trail Stop DistanceInpTrailStop_S10 | 2.35 |
S10 Cooldown Bars (0=off)InpCooldown_S10 | 1 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S11 Distance ModeInpMode_S11 | PricePercentDistance |
S11 Stop LossInpSL_S11 | 1.75 |
S11 Take ProfitInpTP_S11 | 4.8 |
S11 Break-Even Trigger (0=off)InpBE_S11 | 1.7 |
S11 Ratchet StepInpRatchetStep_S11 | 1.4 |
S11 Ratchet MoveInpRatchetMove_S11 | 0.45 |
S11 Cooldown Bars (0=off)InpCooldown_S11 | 4 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
S12 Distance ModeInpMode_S12 | PricePercentDistance |
S12 Stop LossInpSL_S12 | 1.9 |
S12 Take ProfitInpTP_S12 | 2.15 |
S12 Break-Even Trigger (0=off)InpBE_S12 | 1.9 |
S12 Time Decay Bars (time_decay exit only)InpDecayBars_S12 | 5 |
S12 Cooldown Bars (0=off)InpCooldown_S12 | 1 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Show On-Chart DashboardShowDashboard | true |
Support after delivery
While the product is actively maintained, we investigate and fix reproducible defects in the delivered, unmodified code that conflict with the product description.
Support: while the product is actively maintainedMissing files, incorrect delivery and original-code compilation failures in the stated environment.
Provide the release, settings, logs and reproduction steps so we can assess and resolve the issue.
Start with the included guide and contact us for help with delivery or reproducible software defects. Trading results are not guaranteed.
You may read, modify and compile the delivered source for your own research and trading accounts. Keep a backup of the original delivery before making changes. You may not resell, redistribute, publish or sublicense the source or compiled files, or offer them as a white-label product, without separate written permission. Source delivery does not transfer copyright or ownership of third-party names.
Source code is a copyable digital product. Once delivered, we do not accept change-of-mind refunds, including because you no longer need the product. Check compatibility, contents and disclosed limits before ordering.
After payment is verified, we deliver the source package and documentation to your order email. Check your inbox and spam folder. Keep your order reference for delivery and support questions. Include your order reference, source release, terminal build, settings, expected behaviour and steps to reproduce. Attach only relevant logs and remove account credentials.
Read the files, environment and terms
Check the source version and purchase terms
Payment is checked with the provider or on the selected blockchain
Fast, automatic delivery after payment confirmation. No waiting for manual dispatch.
Ask us about advanced custom development. Share your requirements through private support or email; we will discuss the scope and quote separately.
100% committed to following up on your delivery and support requests.
Explore free EA source code




Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.

Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.
Learn the difference: MQL4 / MQL5 source uses .mq4 / .mq5; EX4 / EX5 files are compiled programs. Buying an EX4 or EX5 file does not automatically include source code.
Two original, non-trading learning samples for MT4 and MT5. Inspect OnInit and OnDeinit logging without order execution.
Learning samples only. Review and compile them in MetaEditor before use; these samples do not place trades.
Ready for another approach? Choose an EA to run, or source code to explore and customise.

Source code · MQ5 + EX5
A gold EA combining band and trend signals, scheduled entries, adjustable stops, trailing protection and account-loss limits.


EA only · EX5
Explore separate gold and euro strategy modes, balance-based sizing and configurable exits in an editable MT5 project.

Free EA · MQ5 + EX5
Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.
Loading…
Stay close to MQLume, wherever you like to learn.
See our EAs in action. Explore backtests, walkthroughs and practical guides.
Watch on YouTubeMeet other EA users, share ideas and keep up with what’s new.
Join the community Follow official updates