Loading…

A Expert CCI2

A Expert CCI2 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses moving averages and CCI. It places pending orders, moves the stop behind price and can size trades from your risk. It has 40 settings, for example DDep (default 0.05), Take Profit (default 300) and Stop Loss (default 0). 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 A Expert CCI2

A Expert CCI2 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average and CCI. It places pending buy/sell stop or limit orders, moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent. It has 40 settings, such as D dep, Take profit and Stop loss. MQL source code included.

It also has a news filter.

Files in the download: AExpertCCI2.mq4.

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

Settings

SettingDefaultWhat it does
D dep0.05. = 0, = Lot
Take profit300Take profit distance
Stop loss0Stop loss distance
Lot0.01Trade size in lots
Lot zero0.01( )
D dep zero0.01( ) .
Trailing stop20= TrailingStep
Trailing step40Trailing stop distance or switch
Min profit20.
Tick33. -
T ftick1
Max spread25.
Loss dop30.
K loss dop1.3
Ns---- external variables-----
Pcci119
Pcci219
Pcci319
Pcci419
Pcci519
Price cci00 6
Ns0---- external Porogs-----
Ucci1130CCI
Ucci2100CCI
Ucci3100CCI
Ucci4100CCI
Ucci5100CCI
Ns1---- external Flags-----
Level lottrue
Buytrue
Selltrue
SoundtrueTurn this alert on or off
Time live0
Ns2---- external Other-----
Max margin0.5.
Commx
Magic19384Magic number that tells this EA's orders apart
TIME30
Codeb241
Codes242

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

Old Kings — classic MT4 & MT5 collection · PolyMaria