Loading…

Rdz Grid Traps.mq4

From the Old Kings archive: Rdz Grid Traps.mq4, an expert advisor (trading robot) for MetaTrader 4. Its name points to a grid of orders at fixed price steps. It works with a grid of orders, places pending orders and moves the stop behind price. It has 40 settings, for example No Trade On Dates (default 2015.01.05,2015.01.06), Date Time Type (default DTTLocalTime) and Daily Start Time (default 01:00:00). Watch it on a demo account for a while — robots can behave differently with each broker. 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 · v1.0 · Free

About Rdz Grid Traps.mq4

Rdz Grid Traps.mq4 is an expert advisor (trading robot) for MetaTrader 4. It opens a grid of orders at fixed price steps, 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 No trade on dates, Date time type and Daily start time. MQL source code included.

It also can size trades from your balance and risk percent.

Files in the download: RdzGridTraps.mq4.

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

Settings

SettingDefaultWhat it does
No trade on dates2015.01.05,2015.01.06Dates in YYYY.MM.DD format for the EA NOT to trade
Date time typeDTTLocalTimeDate and Time base
Daily start time01:00:00Start Time (HH:mm:ss)
Daily stop time23:00:00Stop Time (HH:mm:ss)
Weekly start dayDOWSundayWeekly Start Day
Weekly start time00:00:00Weekly Start Time (HH:mm:ss)
Weekly stop dayDOWSaturdayWeekly Stop Day
Weekly stop time00:00:00Weekly Stop Time (HH:mm:ss)
Use line start stopfalseUse Stop-Start from Vertical Line
Line start stop keywordGTStop-Start Line Keyword
Stop time modeSTMNothingStop Time Action
Open typeOTDynamicRecreationThresholdPlacing Order Type
Order operationLimitOrdersOrder Operation
Order count per side3Grid Order Count (each side)
Limit max order countfalseEnable Max Order
Max order count4Max Order Count (total)
Recreation count per side9Grid Auto-Expand Count (each side)
Limit orders count8Limit Grid Orders Count
Recreation threshold0Auto-Expand Threshold (Points)
Grid step points70Grid Step (Points)
Current price interval90Current Price Interval (Points)
Magic number8888Unique ID (Magic Number)
Recalculation modeClNoRecalculateRecalculation Mode
Initial lots dynamic baseDBBalanceInitial Lots Calculation Source
Initial lots typeILTDynamicGradualInitial Lots Type
Initial lots0.04Initial Lots
Initial lots mult0.0001Initial Lots Multiplier
Gradual lots operatorGOMultiplyGradual Lots Operator
Gradual lots mult1.2Gradual Lots Multiplier
Comment infoComment Info
Profit taking modePTMWithCommAndSwapProfit Taking Mode
Trailing modeTRPNoneProfit Trailing Mode
Target profit dynamic baseDBBalanceTarget Profit Calculation Source
Target typeTTFixedTarget Type
Target profit30Target Profit
Target profit mult0.004Target Profit Multiplier
Stop loss dynamic baseDBBalanceStop Loss Calculation Source
Loss typeLTNoneLoss Type
Stop loss-100Stop Loss
Stop loss mult-0.0001Stop Loss Multiplier

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: Grid · Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria