Loading…

Pull Back V1a 4

Pull Back V1a 4 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. It raises the lot size after losses (martingale — high risk), works with a grid of orders and can hold buy and sell positions together. It has 40 settings, for example gen (default ----General inputs----), Trading Time Frame (default PERIOD_CURRENT) and Every Tick Mode (default true). 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. 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 · v1a · Free

About Pull Back V1a 4

Pull Back V1a 4 is an expert advisor (trading robot) for MetaTrader 4. It increases the lot size after a losing trade (martingale), opens a grid of orders at fixed price steps and can hold buy and sell positions at the same time (hedging). It has 40 settings, such as Gen, Trading time frame and Every tick mode. MQL source code included.

It also places pending buy/sell stop or limit orders, moves the stop loss behind price (trailing stop / break-even) and trades only in the hours you set (time filter).

Files in the download: PullBack_V1a.mq4.

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

Settings

SettingDefaultWhat it does
Gen----General inputs----
Trading time framePERIOD_CURRENTPeriod or timeframe used by the calculation
Every tick modetrue
Lot0.01Trade size in lots
Risk percent0Set to zero to disable and use Lot
Lots per dollop of cash0Over rides Lot. Zero input to cancel.
Size of dollop1000
Use balancefalse
Use equitytrue
Stop tradingfalse
Setup006true
Setup007true
Trade longtrue
Trade shorttrue
Take profit pips10Take profit distance
Stop loss pips12Stop loss distance
Stop length minutes15
Second stop start minutes65
Basket trailfalseTrailing stop distance or switch
Magic number0Magic number that tells this EA's orders apart
Trade commentSetUp TesterComment written on the orders
Is global prime or ecn criminalfalse
Max slippage pips5Maximum slippage allowed when opening a trade
Post trade attempt wait seconds2Defaults to 10 minutes
Sep2c========================================
Mpp---- Minimum pips in between same-pair t
Min distance between trades pips7Distance between orders
Sep1========================================
Hgic======== HGI choices ========
Hgi-- HGI Inputs --
Hgi time framePERIOD_M5Period or timeframe used by the calculation
Close on large arrowsfalse
Close on blue wavyfalse
Only close winning tradesfalse
Sep2========================================
Btp---- Hedged Basket take profit inputs --
Hedged basket cash take profit1Take profit distance
Non hedged basket cash take profit3.0Take profit distance
Non hedged basket cash take loss-20.0
Zip pip120

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 · Grid · Hedging · Pending Orders · Trailing Stop & Break-even · Time Filter · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria