Automated Trading Protocol

Hamster Scalper MT4: Full Deployment Guide

A technical walkthrough for installing, configuring, and launching the Hamster Scalper (Black/White variants) on the MetaTrader 4 terminal.

Hamster Scalper is one of the most widely used automated trading systems for MetaTrader 4, primarily because of its focus on Night Scalping and the RSI/ATR momentum filter. However, because it is an Expert Advisor (EA), it requires specific platform-level permissions to execute trades on your behalf. Failure to enable these will result in the EA appearing on your chart but never opening a position.

Pre-Installation Requirements

Before moving files, ensure your environment is optimized for high-frequency scalping. Scalping strategies are highly sensitive to latency and spreads. If your broker's spread on EURUSD exceeds 1.5 pips during the night session, the EA's performance will degrade significantly.

Low-Spread ECN Account: Ideally 0.0 to 0.5 pips on major pairs.
VPS (Virtual Private Server): Scalping Hamster must run 24/5. Do not run this from a home PC that might sleep or lose internet connection.
Asset Selection: Historically, EURUSD is the primary pair for this EA.

Installing the Files into MT4

The EA file usually ends in .ex4. You must place it in the correct directory within the MT4 application data folder for the terminal to recognize it.

The Directory Path: 1. Open your MT4 Terminal.
2. Go to File -> Open Data Folder.
3. Navigate to MQL4 -> Experts.
4. Copy and Paste your 'Hamster Scalper.ex4' file into this folder.
5. Restart MT4 or right-click 'Experts' in the Navigator panel and select 'Refresh'.

Essential MT4 Platform Configuration

Even if the EA is installed, MT4 blocks automated trading by default. You must toggle three specific settings to allow the "Hamster" to communicate with the broker's server.

Global Settings Toggle: 1. Press CTRL + O (Tools -> Options).
2. Click the Expert Advisors tab.
3. Check "Allow automated trading".
4. Check "Allow DLL imports" (Many versions of Hamster require this for licensing or advanced calculations).
5. Look at the top toolbar: Ensure the AutoTrading button is GREEN.

Applying to Charts & Choosing Timeframes

Hamster Scalper is a timeframe-specific bot. Most developers recommend the M1 (1-minute) or M5 (5-minute) timeframe for entry, even though the logic tracks longer trends.

  • Open a clean EURUSD chart.
  • Set the chart timeframe to M1 or M5 (Check your specific version's readme).
  • Drag the EA from the Navigator panel onto the chart.
  • In the popup, go to the Common tab and ensure "Allow live trading" is checked.

Key Parameter Optimization

When the settings window pops up, you will see a list of "Inputs." While the defaults are often okay, the following parameters are critical for your risk management:

AutoLot: Set to 'true' if you want the EA to increase size as your balance grows. For beginners, it is safer to set AutoLot = false and FixedLot = 0.01 to test performance.

Hamster uses these to identify when the market is "calm" enough for a reversal. If the EA isn't trading, your RSI Period or Min/Max ATR values might be too restrictive for current market conditions.

Troubleshooting "Not Trading" Issues

If the EA is active but not placing orders, check these three common failure points:

The Sad Face Icon: Look at the top right corner of your chart. If you see a ☹ (sad face), it means "Allow Live Trading" is unchecked in the EA settings or AutoTrading is OFF in the toolbar. It must be a ☺ (smiling face).

Common Checklist for Execution Failure:

  1. Terminal Tab: Check the "Journal" and "Experts" tabs at the bottom of MT4. If there is an error code (like Error 133 - Trade Disabled), your broker has blocked automated trading for that account type.
  2. Market Watch: Ensure the EURUSD pair is active and moving in the Market Watch window. If the symbol is "greyed out," the EA cannot pull price data.
  3. Suffixes: Some brokers use symbols like EURUSD.m or EURUSD+. If your EA has a "Symbol" setting, ensure it matches your broker’s specific naming convention.
Final Success Check: Once the EA is applied, you should see a "Hamster Info Panel" on the chart showing your account balance, current spread, and trading status. If this panel appears, your installation is successful and the bot is waiting for its technical triggers to fire.

Risk Warning: Automated trading involves high risk of capital loss. Scalping strategies are particularly vulnerable to slippage and news-driven volatility. Always test on a Demo account before deploying real capital.

Scroll to Top