Loading…

SELL.mq4

From the Old Kings archive: SELL.mq4, an expert advisor (trading robot) for MetaTrader 4. It raises the lot size after losses (martingale — high risk), works with a grid of orders and places pending orders. It has 40 settings, for example Use Break Even (default false), Break Even Pips (default 10) and Breeak Even Profit (default 0). 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 · v1.0 · Free

About SELL.mq4

SELL.mq4 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 places pending buy/sell stop or limit orders. It has 40 settings, such as Use break even, Break even pips and Breeak even profit. MQL source code included.

It also moves the stop loss behind price (trailing stop / break-even), can size trades from your balance and risk percent and has a news filter.

Files in the download: SELL.mq4.

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

Settings

SettingDefaultWhat it does
Use break evenfalseUse_BreakEven
Break even pips10BreakEven_Pips
Breeak even profit0BreeakEven_Profit
Max loss percentage100000001Max_Loss_Percentage
Max loss money0Max_Loss_Money
Delete pending grid rangefalseDelete_Pending_Grid_Range
Gr delete on lossfalseGR_Delete_on_Loss
Delete pending gsp gcpfalseDelete_Pending_GSP_GCP
X i---Lot Size Settings---xI
Lot size0.01Lot_Size
Use lot incrementtruelot_Increment
Dynamic lot sizetrueDynamic_Lot_Size
Dynamic multiplier10Dynamic_Multiplier
Lot size multiple2Lot_Size_Multiple
X ii---General Grid Settings---xII
Grid gap10Grid_Gap
Max slippage pips4Max_Slippage_Pips
Min pips from price5Min_Pips_from_Price
X iii---Random/Shift Settings---xIII
Shift buy range pips0Shift_Buy_Range_Pips
Shift sell range pips0Shift_Sell_Range_Pips
Random on candlefalseRandom_OnCandle
I---Automatic Buy Range---I
Grid buy rangefalseGrid_Buy_Range
Gbr no of orders3GBR_No_of_Orders
Grid buy range pips40Grid_Buy_Range_Pips
Buy range sl0Buy_Range_SL
Buy range tp200Buy_Range_TP
II---Automatic Sell Range---II
Grid sell rangetrueGrid_Sell_Range
Gsr no of orders3GSR_No_of_Orders
Grid sell range pips40Grid_Sell_Range_Pips
Sell range sl0Sell_Range_SL
Sell range tp200Sell_Range_TP
III---Manual Grid Settings---III
Buy ordersfalseBuy_Orders
Sell ordersfalseSell_Orders
IV---Grid Start Settings---IV
Buy gs price0buy_GS_Price ex: 1.5500
Sell gs price110.605sell_GS_Price

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

Old Kings — classic MT4 & MT5 collection · PolyMaria