Loading…

Pyramid MA V5.2XE

Pyramid MA V5.2XE — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Judging by its name, it is built around moving averages. This copy is version 5. Its source code uses moving averages. It works with a grid of orders, places pending orders and can size trades from your risk. It has 40 settings, for example koef grid (default 0.5), 0 (default Indicators) and timeframe (default 0). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 1 EA file 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 · v5 · Free

About Pyramid MA V5.2XE

Pyramid MA V5.2XE is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It opens a grid of orders at fixed price steps, places pending buy/sell stop or limit orders and can size trades from your balance and risk percent. It has 40 settings, such as Koef grid, 0 and Timeframe. MQL source code included.

Files in the download: PYRAMID MA v5.2XE.mq4.

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

Settings

SettingDefaultWhat it does
Koef grid0.5
0Indicators
Timeframe0Period or timeframe used by the calculation
Period fast25Number of bars in the calculation
Period slow50Number of bars in the calculation
Ma method0
Applied price0
Shift1Bar shift (0 = current bar)
1Start
Start recede30
Steps15Distance between orders
Quantity5
2Settings
Lots0.0Trade size in lots
Alfa lot1
Choice methodFALSE
Risk1.0Risk per trade (percent of balance)
Stop loss0Stop loss distance
Take profit15Take profit distance
Magic number87Magic number that tells this EA's orders apart
Slippage3Maximum slippage allowed when opening a trade
Number of try5
Lock______Settings warrants Lock_____
LockTRUE
Lock pips15
Koef lot lock2.0
Mn lock b54
Mn lock s45
Stop loss lock0Stop loss distance
Take profit lock34Take profit distance
Av______Settings warrants AV_____
AVTRUE
Tf av0
Exponents1.0How much the lot size grows after a loss
Level av20
Level op15
F lot av2.0
Dr______Other Options_____
Market watchFALSE
Use soundTRUETurn this alert on or off

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: Moving Average · Grid · Pending Orders · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria