Loading…

Pro Gainer

From the Old Kings archive: Pro Gainer, an expert advisor (trading robot) for MetaTrader 4. In the code it works with the Stochastic oscillator. It raises the lot size after losses (martingale — high risk), places pending orders and moves the stop behind price. It has 37 settings, for example GN (default --- General ---), Magic Number (default 20120505) and Rescue Magic Number (default 20130101). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 2 EA files with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.

Expert advisor · MT4 · v1.0 · Free

About Pro Gainer

Pro Gainer is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic. It increases the lot size after a losing trade (martingale), places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 37 settings, such as Gn, Magic number and Rescue magic number. MQL source code included.

It also trades only in the hours you set (time filter) and can size trades from your balance and risk percent.

Files in the download: ForexProGainer_v2-EDU.mq4, ForexProGainer_v2-EDU.ex4.

Trading robots can lose money. Check every setting and test on a demo account before using real funds.

Settings

SettingDefaultWhat it does
Gn--- General ---
Magic number20120505Magic number that tells this EA's orders apart
Rescue magic number20130101Magic number that tells this EA's orders apart
Manual magic number20140101Magic number that tells this EA's orders apart
Slippage3Maximum slippage allowed when opening a trade
Mo--- Modes ---
Enable buyTRUE
Enable sellTRUE
Enable rescue buyTRUE
Enable rescue sellTRUE
Enable manual buyTRUE
Enable manual sellTRUE
Mm--- Money Management ---
Max orders9Maximum number of open trades
Stop loss220.0Stop loss distance
Lots size0.1
Buy lots multiple1.0How much the lot size grows after a loss
Sell lots multiple1.0How much the lot size grows after a loss
Money managementTRUE
Risk percent0.1Risk per trade (percent of balance)
Preserved balance0
Max draw down percentage100.0
Max draw down0.0
Rescue orders total start10
Manual signal commentmanualComment written on the orders
Tf--- Time Filter ---
Use auto gm toffsetTRUE
Auto fallback on failTRUE
Gmt offset1
Monday filterFALSE
Monday start hour14Hour when trading starts (server time)
Trade on fridayTRUE
Trade on blackout daysTRUE
Trade on nfp daysTRUE
Close before no trade daysTRUE
Write log to fileFALSE
Verbose logFALSE

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Martingale · Pending Orders · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Stochastic · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria