Make the strategy your own.

With the source in your hands, your ideas can go further than the settings panel.

No extra dependencies to install

Open your source in MetaEditor and start building. Projects use self-contained code or the standard libraries already included with MT5.

Unlimited personal use

Study, customise and trade on your own accounts. Your EA source gives you the freedom to keep refining your ideas.

Pay once. No activation or usage fees.

One purchase per source project. MQLume does not charge by the number of activations or uses.

Vibe coding. Your trading judgement.

Bring your ideas to an AI coding assistant. Use the editable MQL5 project as your starting point, and stay in control of every change.

  1. Describe your idea

    Ask for a session filter, clearer logging or a different risk rule.

  2. Review the change

    Read the proposed code, check the logic and compile it in MetaEditor.

  3. Test your version

    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

An EA you can make your own.

Editable English MQ5, matching EX5 and installation/parameter guides. The file list below shows the exact included resources.

Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.

Operating conditions

Project specifications

Platform
MetaTrader 5 / MQL5; not compatible with MT4
Version
21.0
Dependencies
Use a hedging account. Grid additions increase exposure; virtual exits require a running, connected terminal. Optional online news needs WebRequest permission and is bypassed in the tester; missing news does not guarantee that entries stop.
Inputs
77 input entries
Settings
Copy the entire package into MQL5/Experts, preserving subfolders. Use the supplied EX5, or compile edited MQ5 with MT5 MetaEditor. Review PARAMETERS.pdf and your terminal settings.

Trading setup

Stated specifications

RSI entries with two ATR filters, configurable sessions and optional grid management.

Read the supplied parameter guide for units and interactions before changing these initial values.

Symbol
EURUSD
Chart timeframe
M5
Account
Hedging

Inside the source

Explore 50 lines of the project's MQL5 source. Scroll inside the editor to discover more.

MQL5 / .mq5
Hamster Scalping MT5 21.0[MQLume].mq5v21.0
int OnInit() {   allowNewCycle=NewCycle_;   allowBuy=Flag_Trade_Buy_;   allowSell=Flag_Trade_Sell_;   autoLot=Autolot_ && Autolotsize_!=0;   initialLot=MathMax(Lot_Init_,SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN));   maxLot=MaxLot_;   if(maxLot<SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN) || maxLot>SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX)) maxLot=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX);   lotMultiplier=Martin_<0?1:Martin_;   tpPoints=TP_<0?100:TP_;   slPoints=SL_<0?2000:SL_;   trailStart=iTS<0?400:iTS;   trailDistance=iTD;   if(trailStart!=0 && (trailDistance<1 || trailDistance>=trailStart)) trailDistance=200;   volumeDigits=(int)MathRound(MathAbs(MathLog(SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_STEP))/MathLog(10.0)));   long modes=SymbolInfoInteger(_Symbol,SYMBOL_FILLING_MODE);   filling=(modes&SYMBOL_FILLING_FOK)!=0?ORDER_FILLING_FOK:((modes&SYMBOL_FILLING_IOC)!=0?ORDER_FILLING_IOC:ORDER_FILLING_RETURN);   TesterHideIndicators(true);   atrHandle=iATR(_Symbol,PERIOD_CURRENT,ATR_Signal_Period_1);   if(atrHandle==INVALID_HANDLE) return INIT_FAILED;   secondAtrHandle=iATR(_Symbol,ATR2_TF,ATR_Signal_Period_2);   if(secondAtrHandle==INVALID_HANDLE) return INIT_FAILED;   rsiHandle=iRSI(_Symbol,PERIOD_CURRENT,RSI_Period,PRICE_CLOSE);   TesterHideIndicators(false);   if(rsiHandle==INVALID_HANDLE) return INIT_FAILED;   objectPrefix="MQLumeHS_"+IntegerToString(ChartID())+"_";   LoadPanelState();   RefreshQuote();   CreatePanel();   InitializeNewsCurrencies();   if(Flag_Use_News && !MQLInfoInteger(MQL_TESTER) && !MQLInfoInteger(MQL_OPTIMIZATION)) LoadNews();   return INIT_SUCCEEDED;}void OnTick() {   if(!UpdateNewsGate()) return;   if(!MQLInfoInteger(MQL_TRADE_ALLOWED) || !TerminalInfoInteger(TERMINAL_TRADE_ALLOWED) || !AccountInfoInteger(ACCOUNT_TRADE_ALLOWED) || SymbolInfoInteger(_Symbol,SYMBOL_TRADE_MODE)==SYMBOL_TRADE_MODE_DISABLED) return;   if(pendingCloseSide>=0) {      ProcessPendingClose();      RefreshBaskets();      UpdatePanel();      return;   }   if(MQLInfoInteger(MQL_TESTER)) PollTesterCloseButtons();   UpdateSignals();   RefreshQuote();   RefreshBaskets();   UpdatePanel();   TryEntries();   ApplyVirtualExits();

Your next build starts here.

Included files

Complete source, practical documentation and reference files to help you understand, customise and test your EA.

One project.
Complete source.

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 21.0 · Personal-use licence
  • EX5

    Hamster Scalping MT5 21.0[MQLume].ex5

    The compiled EA accompanying the source. Recompile after editing the MQ5.

    Included
  • MQ5

    Hamster Scalping MT5 21.0[MQLume].mq5

    Complete, editable single-file source. Read the logic, customise it and compile your own EA.

    Included
  • PDF

    PARAMETERS.pdf

    Read the supplied parameter guide for units and interactions before changing these initial values.

    Included
  • TXT

    README.txt

    A concise welcome, installation and compilation guide, with licence terms and support details.

    Included

Testing

Build confidence through testing.

RSI entries with two ATR filters, configurable sessions and optional grid management.

Version v21.0 · 77

Parameter guide

Initial settings from the delivered source. Review and test changes before using them.

Initial values shown below come from the included source. Review the parameter guide before changing settings. 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.

How to read EA parameters
Settings 1 · //--- Basic parameters ---//

Read the supplied parameter guide for units and interactions before changing these initial values.

Settings 1 · //--- Basic parameters ---//
Source input keyInitial value
=======================================qw0Display text
Choice of strategyStrategyGRID_STRATEGY
Open new seriesNewCycle_true
Trade BuyFlag_Trade_Buy_true
Trade SellFlag_Trade_Sell_true
Manage manual ordersflag_Hand_Ordfalse
Initial lotLot_Init_0.01
AutolotAutolot_false
Autolot size. Free margin for each 0.01 LotsAutolotsize_1000
Max LotMaxLot_5.0
Max buy ordersMaxOrdersBuy10
Max sell ordersMaxOrdersSell10
Use hedgeFlag_Use_hedgetrue
Order Comment (fixed @MQLume)sOrdCommDisplay text
Max spread (0 - not use)MaxSpred0
Start HourStart_Hour0
End HourEnd_Hour0
Magic16102020
Settings 2 · //--- Signal settings ---//

Read the supplied parameter guide for units and interactions before changing these initial values.

Settings 2 · //--- Signal settings ---//
Source input keyInitial value
=======================================aq1Display text
Period indicator1RSI_Period7
Up levelRSI_Up_Level80.0
Down levelRSI_Down_Level40.0
Period indicator2ATR_Signal_Period_115
FromATR_form_1_10
ToATR_to_1_100
Period indicator3ATR_Signal_Period_215
FromATR_form_2_10
ToATR_to_2_100
TF indicator3ATR2_TFPERIOD_CURRENT
Settings 3 · //--- Strategy 1 Settings (Base) ---//

Read the supplied parameter guide for units and interactions before changing these initial values.

Settings 3 · //--- Strategy 1 Settings (Base) ---//
Source input keyInitial value
=======================================aq2Display text
Virtual Take Profit, pointsTP_virt_60
Option Take ProfitSignalBarTP1LiveEVERY_TICK
Level of Take ProfitLevelTPBASKET_AVERAGE
Virtual Stop Loss, pointsSL_virt_1500
Option Stop LossSignalBarSL1LiveEVERY_TICK
Close all orders at take or stop (false - separately)Flag_Close_Allfalse
Settings 4 · //--- Strategy 2 Settings (Grid) ---//

Read the supplied parameter guide for units and interactions before changing these initial values.

Settings 4 · //--- Strategy 2 Settings (Grid) ---//
Source input keyInitial value
=======================================qw3Display text
Lot MultiplierMartin_1.5
TP ModeTP_Modemode_Virt
TP (0 - not use)TP_200
SL ModeSL_Modemode_Virt
SL (0 - not use)SL_200
Trail ModeTrail_Modemode_Virt
Trail Start, points (0 - not use)iTS0
Trail Distance, pointsiTD100
Overlap Last orderOverlaptrue
Overlap last order numberOverlapOrderNumber8
Overlap percentOverlapPercent3
Pause between orders (min. 0 - not use)MinuteStop0
Settings 5 · //--- Distance settings ---//

Read the supplied parameter guide for units and interactions before changing these initial values.

Settings 5 · //--- Distance settings ---//
Source input keyInitial value
=======================================qw4Display text
Fix distanceFix_Distance200
Order dinamic distanceOrder_dinamic_distance6
Dynamic distance startDynamic_distance_start200
Distance multiplierDistance_multiplier1.2
Settings 6 · //--- News Setting ---//

Read the supplied parameter guide for units and interactions before changing these initial values.

Settings 6 · //--- News Setting ---//
Source input keyInitial value
=======================================qw5Display text
Use NewsFlag_Use_Newsfalse
High impactImp1Drawfalse
Medium impactImp2Drawfalse
Low impactImp3Drawfalse
Pause before a high importance newsb3_60
Pause after a high importance newsa3_60
Pause before a medium importance newsb2_15
Pause after a medium importance newsa2_15
Pause befor a low importance newsb1_5
Pause after a low importance newsa1_5
Settings 7 · //--- Panel Parametrs ---//

Read the supplied parameter guide for units and interactions before changing these initial values.

Settings 7 · //--- Panel Parametrs ---//
Source input keyInitial value
=======================================qw6Display text
X1_10
Y1_30
Draw on-offfDrawtrue
FontSizeMark13
FontNameMark"Verdana"
ColorTextclrWhite
ColorFonRecC'148,0,211'
FontSizeButt11
FontNameButt"Verdana"
ColorButtclrWhite
Info panel background colorcCIPclrGray

Support after delivery

Bug fixes are included.

While the product is actively maintained, we investigate and fix reproducible defects in the delivered, unmodified code that conflict with the product description.

Delivery & compilation

Missing files, incorrect delivery and original-code compilation failures in the stated environment.

Code & documentation defects

Provide the release, settings, logs and reproduction steps so we can assess and resolve the issue.

Support scope

Start with the included guide and contact us for help with delivery or reproducible software defects. Trading results are not guaranteed.

FAQ

Frequently asked questions

Help centre
What am I buying?

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.

Refunds after delivery

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.

Delivery and bug reports

Enter your email, confirm the licence and download your free EA source package. No payment needed.

Delivery & support

  1. 1

    Get it free

    Choose your free EA source packages.

  2. 2

    Check your order

    Review the products and US$0 total.

  3. 3

    Enter your email

    Confirm the licence and complete your free order.

  4. 4

    Download

    One ZIP for all selected free products, with individual downloads available.

MQLume Bespoke

Built around your ambition.

Explore bespoke services →

Have something more specific in mind?

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 downloads. Real source files.

FREE

Lizard [MQLume]

MQL5 / MT5Version v2.21

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

US$149.00FREE
FREE

Scraper Gold [MQLume]

MQL5 / MT5Version v3.7

Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.

US$95.00FREE
FREE

EA Black Dragon [MQLume]

MQL5 / MT5Version v13.0

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

US$30.00FREE
FREE

Hamster Scalping [MQLume]

MQL5 / MT5Version v21.0

RSI entries with two ATR filters, configurable sessions and optional grid management.

US$30.00FREE

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.

Journal Starter

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.

Reviews & questions

Loading…

MQLume

More to explore. A community to share it with.

Stay close to MQLume, wherever you like to learn.

YouTube

See our EAs in action. Explore backtests, walkthroughs and practical guides.

Watch on YouTube

Telegram

Meet other EA users, share ideas and keep up with what’s new.

Join the community Follow official updates

Checkout

Hamster Scalping [MQLume]

Version 21.0 · Personal-use licence

Order total
US$0

Instant download after checkout

Screenshot · Hamster Scalping [MQLume]

Screenshot — Hamster Scalping [MQLume]
Enlarge image ↗

Cart

One personal-use licence per project. Each project can be added once.

Your cart is waiting for its first passenger.

Choose an EA or source edition to get started.

Continue shopping