Loading…

Correlation Bot 9

Correlation Bot 9 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses moving averages and ATR. It moves the stop behind price, can size trades from your risk and handles several symbols. It has 35 settings, for example Remark1 (default == Main Settings ==), Magic Number (default 0) and Signals Only (default False). 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 Correlation Bot 9

Correlation Bot 9 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average and ATR. It moves the stop loss behind price (trailing stop / break-even), can size trades from your balance and risk percent and works on several symbols at once. It has 35 settings, such as Remark1, Magic number and Signals only. MQL source code included.

Files in the download: CorrelationBot.mq4.

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

Settings

SettingDefaultWhat it does
Remark1== Main Settings ==
Magic number0Magic number that tells this EA's orders apart
Signals onlyFalse
AlertsFalseTurn this alert on or off
Signal mailFalse
Play soundsFalseTurn this alert on or off
Each tick modeTrue
Close on opposite signalTrue
Lots0Trade size in lots
Money managementFalse
Risk0Risk per trade (percent of balance)
Slippage5Maximum slippage allowed when opening a trade
Use stop lossTrueStop loss distance
Stop loss150Stop loss distance
Use take profitTrueTake profit distance
Take profit60Take profit distance
Use trailing stopFalseTrailing stop distance or switch
Trailing stop30Trailing stop distance or switch
Move stop onceFalse
Move stop when price50
Move stop to1
Remark2
Remark3== MA Fast Settings ==
Ma1 period15Period or timeframe used by the calculation
Ma1 shift0Bar shift (0 = current bar)
Ma1 method0
Ma1 price0
Remark4
Remark5== MA Slow Settings ==
Ma2 period30Period or timeframe used by the calculation
Ma2 shift0Bar shift (0 = current bar)
Ma2 method0
Ma2 price0
Use atr pct0.7
Use atr stoptrue

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: Trailing Stop & Break-even · Risk & Lot Size · Multi-Currency · Moving Average · ATR · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria