Loading…

Ea Strategy 2

Ea Strategy 2 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses MACD. It raises the lot size after losses (martingale — high risk), places pending orders and moves the stop behind price. It has 40 settings, for example comment (default EA), magic (default 1234) and moneymanagement (default Money Management). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 1 EA file with source code (.mq4) you can open and edit in MetaEditor and 5 settings files (.set). 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 Ea Strategy 2

Ea Strategy 2 is an expert advisor (trading robot) for MetaTrader 4 based on MACD. 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 40 settings, such as Comment, Magic and Moneymanagement. 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: ea-strategy-instaforex-usd-min100usd-1to500-eurusd-m5-4digit.set, ea-strategy.mq4, strategy2.set, strategy3.set, strategy5.set, á® 100 ¤® 2200 §  4 £®¤  á ¬ aG¨­®¬. ¯a®á ¤ª  9%.set, StrategyTester.gif.

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

Settings

SettingDefaultWhat it does
CommentEAcomment to display in the order
Magic1234magic number required if you use different settings on a same pair, same timeframe
MoneymanagementMoney Management
Lots0.1lots size
Mmfalseenable risk management
Risk1risk in percentage of the account
Minlot0.01minimum lots size
Maxlot50maximum lots size
Lotdigits2
Martingalefalseenable the martingale
Multiplier2.0multiplier used for the martingale
OrdersmanagementOrder Management
Ecnfalsemake the expert compatible with ecn brokers
Oppositeclosetrueclose the orders on an opposite signal
Reversesignalsfalsereverse the signals, long if short, short if long
Maxtrades100maximum trades allowed by the traders
Tradesperbar1maximum trades per bar allowed by the expert
Hideslfalsehide stop loss
Hidetpfalsehide take profit
Stoploss0stop loss
Takeprofit0take profit
Trailingstart0profit in pips required to enable the trailing stop
Trailingstop0trailing stop
Trailingstep1margin allowed to the market to enable the trailing stop
Breakevengain0gain in pips required to enable the break even
Breakeven0break even
Maxspread100maximum spread allowed by the expert
EntrylogicsEntry Logics
UsepipsdistancefalseDistance between orders
Pipsdistance20Distance between orders
Usersitrue
Rsiperiod9Period or timeframe used by the calculation
Rsilong50
Rsilong256
Rsishort43
Rsishort232
Usemacdtrue
Macdfast17
Macdslow26
Macdsma9

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 · MACD · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria