Experts: CCI and Martin

 

CCI and Martin:

The EA based on iCCI (Commodity Channel Index, CCI) indicator plus managing position volumes using martingale.

The EA uses iCCI (Commodity Channel Index, CCI) indicator value on the last four bars and Open/Close prices on the last three bars. A position opening signal is checked if less than 20 seconds remain before closing the current bar (this is a very rare solution) and if there are no positions opened by this EA.

Position opening conditions

//--- BUY
   if(cci[1]<5 && cci[2]<cci[3] && cci[1]<cci[2] && cci[0]>cci[1] && 
      Open[2]>Close[2] && Open[1]>Close[1] && Open[0]<Close[0] && Open[1]<Close[0])

//--- SELL
   if(cci[1]>-5 && cci[2]>cci[3] && cci[1]>cci[2] && cci[0]<cci[1] && 
      Open[2]<Close[2] && Open[1]<Close[1] && Open[0]>Close[0] && Open[1]>Close[0])

where:

  • cci[] - array of CCI indicator values;
  • Open[] and Close[] - open and close prices arrays, respectively.

Author: Vladimir Karputov

 

Dear Vladimir Karputov and Barabashkakvn,

First of all, I'd like to thank to both of you for sharing your EA.

I wold like to ask about the Input Parameter "Inp_ma_period" and "Inp_applied_price".

Does this mean that your EA use Moving Average too ?

Thank You.

 
TraderFX Bandung :

Dear Vladimir Karputov and Barabashkakvn,

First of all, I'd like to thank to both of you for sharing your EA.

I wold like to ask about the Input Parameter "Inp_ma_period" and "Inp_applied_price".

Does this mean that your EA use Moving Average too ?

Thank You.

No. This Expert Advisor does not use the Moving Average indicator. This EA uses the iCCI indicator.

For notation - see the iCCI help :

int  iCCI( 
   string              symbol,            // symbol name 
   ENUM_TIMEFRAMES     period,            // period 
   int                 ma_period,         // averaging period 
   ENUM_APPLIED_PRICE  applied_price      // type of price or handle 
   );
 
Postponed: https://www.mql5.com/ru/forum/266389#comment_9821442
Советники: CCI and Martin
Советники: CCI and Martin
  • 2018.07.18
  • www.mql5.com
CCI and Martin: Автор: Vladimir Karputov...
 
Bom tarde, tem como colocar parâmetros de taxa diária e horário de funcionamento pessoal do robô
 
Tem como coloca paramentros de horario de operações, e meta ganhos e percas nesse robô?
 
I do not understand, sorry.
 
CONGRATULATIONS ON YOUR EA, I WANT TO KNOW IF YOU HAVE HOW TO ADD IN THE BASIC TRADING SETTINGS, TIME TO OPEN AND CLOSE EA ORDERS AND DAILY STOP AND DAILY TAKE PROFIT
 
natobarros # :

Martingale does not use time, does not use Stop Loss

 
I'm wanting the EA parameters
1 - STOP LOSS DAILY
2 - TAKE PROFIT DAILY
3- TRADING TIME CONTROL
 
natobarros # :
I'm wanting the EA parameters
1 - STOP LOSS DAILY
2 - TAKE PROFIT DAILY
3- TRADING TIME CONTROL

Yes, there will be such a version soon.

Reason: