
Gold
A focused improvement
For a specific change to an existing project.
Quoted per project
Discuss this tier · GoldWith 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. Explore and customise AUDUSD, EURAUD, EURUSD, GBPUSD and USDCAD modules; EURGBP is inactive. Images and a checked EURUSD-ECN H1 preset are included: the preset records a historical test setup, not a trading recommendation.
Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.
Trading setup
Five RSI strategies combine currency-pair selection, averaging grids and virtual basket targets.
Setup information follows the supplied guide. Confirm the exact symbol and account settings with your broker.
Explore 50 lines of the project's MQL5 source. Scroll inside the editor to discover more.
bool RefreshProfit(const int i){ baskets[i].volume=0; baskets[i].profit=0; // The global-position filter precedes selection of the cached ticket at that index. for(int j=0;j<baskets[i].count;j++) { if(PositionGetSymbol(j)!=strategies[i].symbol) continue; if(!PositionSelectByTicket(baskets[i].tickets[j])) continue; if(PositionGetInteger(POSITION_MAGIC)!=InpMagicNumber) continue; if(!PositionCommentMatches(i,PositionGetString(POSITION_COMMENT))) return false; baskets[i].volume+=PositionGetDouble(POSITION_VOLUME); baskets[i].profit+=PositionGetDouble(POSITION_PROFIT)+PositionGetDouble(POSITION_SWAP); } return true;}bool DrawLevel(const int i,const string suffix,const double price,const color lineColor){ if(strategies[i].symbol!=_Symbol || price<=0) return true; string name="QS["+strategies[i].module+"]"+suffix; if(ObjectFind(0,name)<0 && !ObjectCreate(0,name,OBJ_HLINE,0,0,price)) return false; if(!ObjectMove(0,name,0,0,price)) return false; ObjectSetInteger(0,name,OBJPROP_COLOR,lineColor); ObjectSetInteger(0,name,OBJPROP_STYLE,InpLineStyle); ObjectSetInteger(0,name,OBJPROP_WIDTH,InpLineWidth); return true;}bool RefreshBasket(const int i){ baskets[i].count=0; baskets[i].volume=0; baskets[i].profit=0; double weighted=0; baskets[i].firstOpen=0; baskets[i].extremePrice=0; for(int j=PositionsTotal()-1;j>=0;j--) { if(PositionGetSymbol(j)!=strategies[i].symbol) continue; ulong ticket=PositionGetTicket(j); if(!PositionSelectByTicket(ticket)) return false; if(PositionGetInteger(POSITION_MAGIC)!=InpMagicNumber) continue; if(!PositionCommentMatches(i,PositionGetString(POSITION_COMMENT))) continue; int n=baskets[i].count; if(ArraySize(baskets[i].tickets)<=n && ArrayResize(baskets[i].tickets,n+10,10)<0) return false; baskets[i].tickets[n]=ticket; baskets[i].count++; double volume=PositionGetDouble(POSITION_VOLUME); double price=PositionGetDouble(POSITION_PRICE_OPEN);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 4.0 · Personal-use licenceBundled 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.
MT5 input preset. Review the settings before use.
The compiled EA accompanying the source. Recompile after editing the MQ5.
Complete, editable single-file source. Read the logic, customise it and compile your own EA.
A concise welcome, installation and compilation guide, with licence terms and support details.
Testing
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 v4.0 · 32
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.
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
Expert AdvisorInpVersion | "MQLume Quantum StarMan v4.0 (16 July 2025)" |
Stop EAInpPause | (ENUM_ONOFF)1 |
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
[Lots] Auto Lot (Recommended)autolot | true |
[Lots] Risk Levelrisklevel | Medium (Recommended)(ENUM_RISK_LEVEL)3 |
[Lots] Fixed Lot SizeLotSize | 0.03 |
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
[DrawDown] ModeInpDDMode | OFF(ENUM_DD_MODE)0 |
[DrawDown] ValueInpDDValue | 50.0 |
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
[MetaQuotes ID] Push Notif.InpMQID | (ENUM_ONOFF)1 |
[Friday Closing] ModeInpFridayMode | OFF(ENUM_FRIDAY_MODE)0 |
[Friday Closing] HourInpFridayHour | 22:00(ENUM_TRADING_HOUR)22 |
[Xmas/New Year] Pause TradingInpXmas | ON(ENUM_ONOFF)0 |
[Xmas/New Year] December DayInpXmasDecDay | 20 |
[Xmas/New Year] January DayInpXmasJanDay | 10 |
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
[Spread Max.] (0=OFF)InpSpread | 0 |
[Slippage Max.] (0=OFF)InpSlippage | 0 |
[Magic Number] ID TradesInpMagicNumber | 26485 |
Trading MethodInpTradingMethod | (ENUM_TRADING_METHOD)1 |
Suffix of the SymbolInpSuffix | "" |
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
[AUDUSD] Symbol UseInpS1SymbolUse | ON(ENUM_ONOFF)0 |
[EURAUD] Symbol UseInpS2SymbolUse | ON(ENUM_ONOFF)0 |
[EURUSD] Symbol UseInpS4SymbolUse | ON(ENUM_ONOFF)0 |
[GBPUSD] Symbol UseInpS5SymbolUse | ON(ENUM_ONOFF)0 |
[USDCAD] Symbol UseInpS6SymbolUse | ON(ENUM_ONOFF)0 |
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
[Panel] (OFF=Fast Backtesting)InpPanel | ON(ENUM_ONOFF)0 |
[Panel] FontInpFont | "Trebuchet MS" |
[Panel] Font SizeInpFontSize | 8 |
[Panel] Comment (Max. 30 chars)InpComment | "@MQLume" |
[Line] StyleInpLineStyle | (ENUM_LINE_STYLE)0 |
[Line] WidthInpLineWidth | 2 |
[Line] Color TakeProfitInpTPColor | clrLime |
[Line] Color GridInpGridColor | clrYellow |
[Line] Color BreakEvenInpBEColor | clrWhite |
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.
Missing 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.

Trend-based entries with optional grid additions, side controls and virtual exits.

RSI entries with two ATR filters, configurable sessions and optional grid management.
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
XAUUSD · M1 scalping and flexible sizing

Source code · MQ5 + EX5
Explore AUDCAD grid entries with basket management, configurable sizing and virtual exits.

EA only · EX5
Combine local Pending and Additional systems with Banks and Indicators online signal modules.

Free EA · MQ5 + EX5
Trend-based entries with optional grid additions, side controls and virtual 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