Thread: e-passCCI help!
View Single Post
  #3 (permalink)  
Old 09-22-2006, 09:44 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 16,799
Blog Entries: 144
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by xxDavidxSxx
Can any one translate this ea for me. Its in russian. There seems to be more to it than just cci and ma cross. I got it making trades but seems to be more to it.

I think it could be a good scapler. But I cann't figure out what triggers entry.

Dave
I translated few words to English (attached).

I looked in side the code and this EA works as the following.
First of all we have cci1, cci2 and ema.

Code:
cci1 = iCCI(NULL, 0, CCI_Period, PRICE_TYPICAL, 1);
cci2 = iCCI(NULL, 0, CCI_Period, PRICE_TYPICAL, BarsForCheck);
ema  = iMA (NULL, 0, EMA_Period, 0, MODE_EMA, PRICE_TYPICAL, 1);
cci1 is CCI with Typical Price and period of 55 on the first bar (previous from current one).
cci2 is the same with cci1 but during the 4 bars ago.
ema is EMA with Typical Price and period of 34 on the first bar (previous from current one).

Signal for buy:
Code:
cci1>100 && cci2<-100 && ema>Close[1]
It means the following: CCI value should be above 100 on the previous bar and below 100 during the 4 bars ago. Besides EMA should be above closed price.

Signal for sell:
Code:
cci1<-100 && cci2>100 && ema<Close[1]
Opposite for sell.

Closng the orders:
sl, tp, ts and signals for exit.

I did not find any single case on the history which meets this sell/buy requirements.
Attached Files
File Type: mq4 epassCCI.mq4 (5.5 KB, 17 views)

Last edited by newdigital; 09-22-2006 at 11:03 AM.
Reply With Quote