Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-2006, 11:44 AM
xxDavidxSxx's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 745
xxDavidxSxx is on a distinguished road
e-passCCI help!

Can any one make this work I cann't read it.

I want it to place an order when price crosses 34 ema and CCI 55 crosses 0 line.

Just a simple ea I want to play with.

Thanks for any help.

Dave
Attached Files
File Type: mq4 epassCCI.mq4 (5.5 KB, 34 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-21-2006, 10:50 PM
xxDavidxSxx's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 745
xxDavidxSxx is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-22-2006, 08:44 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,955
Blog Entries: 65
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 10:03 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-22-2006, 09:45 AM
xxDavidxSxx's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 745
xxDavidxSxx is on a distinguished road
Quote:
Originally Posted by newdigital
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.

AAh ok seems to be going for a thrust move from -100 to +100 in a 4 bar incrament.

I can see potential in this theroy but its trailing stop really sux.

If any one can fix the trailing stop so it will trail like e-trailing...move s/l to be then set a # of incraments there after I can probly get this to work for a good 5-10 pip scalp on 1-15 min time frames and more on higher times.

4 bars is too small a bar count. It don't happen very often or if it does the ma is filtering entry's. Using a higher bar count has increased the # of trades but It misses target of 10 pips and hit s/l too much. s/l needs to trail to b/e with in 5 pips move.

Thanks for the help

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:24 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.