
Atherion Zenith AI EA [MQLume] 1.6: +214.42% | XAUUSD · 12-month backtest
Return, drawdown, monthly results and selected settings for Atherion Zenith AI EA [MQLume] 1.6.

Return, drawdown, monthly results and selected settings for Atherion Zenith AI EA [MQLume] 1.6.
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 gold EA combining band and trend signals, scheduled entries, adjustable stops, trailing protection and account-loss limits.
Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.
Trading setup
A gold EA combining band and trend signals, scheduled entries, adjustable stops, trailing protection and account-loss limits.
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 CalculateLots(const ENUM_ORDER_TYPE side,const double price){ double balance=AccountInfoDouble(ACCOUNT_BALANCE),rate=1.0; if(ae_jpy_account_mode) { string conversion=""; for(int i=0;i<SymbolsTotal(false);i++) { string symbol=SymbolName(i,false); if(StringFind(symbol,"USDJPY")==0){conversion=symbol;break;} } rate=SymbolInfoDouble(conversion,SYMBOL_BID); if(rate==0){Print("Failed to obtain conversion rate for ",conversion);return 0;} rate=SymbolInfoDouble(conversion,SYMBOL_BID); } double lots=ae_manual_lot; if(ae_auto_lot) { const double normal[]={1,3,4,6,19},jpy[]={1,3,4,6,14}; double factor=0.01; if(ae_risk>=0 && ae_risk<5)factor=ae_jpy_account_mode?jpy[ae_risk]:normal[ae_risk]; if(rate!=1)balance/=rate; lots=NormalizeDouble((factor/100000.0)*balance,VolumePrecision()); } if(lots<SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN))lots=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN); if(lots>=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX))lots=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX); double limit=MarginLotLimit(side,price); if(limit<=lots)lots=MarginLotLimit(side,price); return lots;}bool EnoughMargin(const string symbol,const double lots,const ENUM_ORDER_TYPE side){ MqlTick quote;SymbolInfoTick(symbol,quote); double free=AccountInfoDouble(ACCOUNT_MARGIN_FREE),margin=0; if(!OrderCalcMargin(side,symbol,lots,side==ORDER_TYPE_SELL?quote.bid:quote.ask,margin))return false; return margin<=free;}bool ValidVolume(const double lots){ if(lots<SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN))return false; if(lots>SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX))return false; double step=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_STEP); return MathAbs((int)MathRound(lots/step)*step-lots)<=volumeTolerance;}bool WithinAggregateVolume(const double lots){ double limit=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_LIMIT); double maximum=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX),used=0; for(int i=PositionsTotal()-1;i>=0;i--) if(PositionSelectByTicket(PositionGetTicket(i)) && PositionGetInteger(POSITION_MAGIC)==ae_magic)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 1.6 · 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.
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 v1.6 · 28
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 |
|---|---|
Let the EA choose the lot sizeae_auto_lot | true |
How much risk to take per tradeae_risk | 1 |
Lot size when auto sizing is offae_manual_lot | 0.01 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Stop Loss, in pointsae_stop_loss | 3000 |
Take Profit, in pointsae_take_profit | 700 |
Move the Stop Loss as price advancesae_use_trailing | true |
Trailing Stop distance, in pointsae_trail_distance | 300 |
Points price must move before the stop is updatedae_trail_step | 50 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Stop trading if losses get too bigae_use_loss_limits | false |
Max loss allowed in one day (% of account)ae_daily_loss_pct | 5 |
Max total loss allowed (% of account)ae_total_loss_pct | 10 |
Skip trades if spread is above this, in pointsae_max_spread | 500 |
Max price difference accepted on fill, in pointsae_max_slippage | 100 |
enable time filter (true = block trading during the range belowtrading_hours | false |
block start hour, server time (0-23)trade_hours | 21 |
block end hour, trading resumes from this hour (0-23)trade_hour | 23 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Pause trading around economic newsae_use_news_filter | false |
Only react to news of this impact or higherae_news_impact | HighNEWS_HIGH |
Stop trading this many minutes before newsae_minutes_before_news | 50 |
Resume trading this many minutes after newsae_minutes_after_news | 50 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Wait for extra confirmation before enteringae_confirm_entries | false |
Use custom trade symbolUseInpSymbol | false |
Trade symbolInpTradeSymbol | "" |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
ID used to recognise this EA's tradesae_magic | 561 |
Text attached to each trade (fixed MQLume branding)ae_comment | Display text |
Show the basic EA info panelae_show_info_panel | true |
Text size used in the panelsae_font_size | 5 |
Internal JPY account adjustmentae_jpy_account_mode | false |
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
Explore separate gold and euro strategy modes, balance-based sizing and configurable exits in an editable MT5 project.

EA only · EX5
Eight gold breakout profiles with pending entries, volatility-based distances, selectable strategies and configurable position management.

Free EA · MQ5 + EX5
Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.
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