Loading…

Anti Cable Run

From the Old Kings archive: Anti Cable Run, an expert advisor (trading robot) for MetaTrader 4. In the code it works with fractals. It places pending orders, has a trading-hours filter and can size trades from your risk. It has 32 settings, for example Step (default 170), _ (default Step (0 - )) and Inc Step (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 Anti Cable Run

Anti Cable Run is an expert advisor (trading robot) for MetaTrader 4 based on Fractals. It places pending buy/sell stop or limit orders, trades only in the hours you set (time filter) and can size trades from your balance and risk percent. It has 32 settings, such as Step, _ and Inc step. MQL source code included.

It also has a news filter.

Files in the download: antiCableRun.mq4.

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

Settings

SettingDefaultWhat it does
Step170Distance between orders
_ Step (0 - )
Inc step0Distance between orders
Count orders10
___1 - , 2- - , 3 -
Method step1Distance between orders
1
Start step170Distance between orders
2- N-
Count bars20
First lot0.01
Inc lot0.0
Trade start hour0Hour when trading starts (server time)
Trade start minutes0
Trade end hour0Hour when trading stops (server time)
Trade end minutes0
Force close ordersfalse
__1 - , 2- , 3 -
Min profit method1
Min profit11.5
Min profit2100
Min profit31
Max loss method1
Max loss1300
Max loss230.0
Max loss310
Force close orders before newsfalse
Use news filterfalse
Mins before news60
Mins after news30
Slippage2Maximum slippage allowed when opening a trade
Magic22211123345Magic number that tells this EA's orders apart

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: Pending Orders · Time Filter · Risk & Lot Size · News Trading · Fractals · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria