Forex



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
 
Thread Tools Display Modes
  #51 (permalink)  
Old 11-06-2007, 05:01 AM
Senior Member
 
Join Date: Aug 2006
Posts: 217
saintmo is on a distinguished road
I am no programming expert, however it looks to me like the custom calls are set up incorrecrly which would impact your buy/sell tests.

You have:

qqeSTF0 = iCustom(NULL,shortTF,"QQE",0,PRICE_CLOSE,1);
qqeSTF1 = iCustom(NULL,shortTF,"QQE",1,PRICE_CLOSE,1);
qqeLTF0 = iCustom(NULL,longTF,"QQE",0,PRICE_CLOSE,1);
qqeLTF1 = iCustom(NULL,longTF,"QQE",1,PRICE_CLOSE,1);

These need to be changed to:

qqeSTF0 = iCustom(NULL,shortTF,"QQE",SF,0,1);
qqeSTF1 = iCustom(NULL,shortTF,"QQE",SF,1,1);
qqeLTF0 = iCustom(NULL,longTF,"QQE",SF,0,1);
qqeLTF1 = iCustom(NULL,longTF,"QQE",SF,1,1);

then you need to add:

extern int SF=5;

Hopefully that will help.

saintmo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #52 (permalink)  
Old 11-06-2007, 05:25 AM
Member
 
Join Date: Dec 2006
Location: Minnesota, USA
Posts: 83
mrebersv is on a distinguished road
Thanks! That did the trick! I guess it pays to read the documentation. I'll try to remember to RTFM next time ;-)

Next post will have v0.3 attached.
-MRE-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #53 (permalink)  
Old 11-06-2007, 05:29 AM
Member
 
Join Date: Dec 2006
Location: Minnesota, USA
Posts: 83
mrebersv is on a distinguished road
Enclosed is v0.3 ready for beta testing. Let me know what kind of errors or abnormalities you receive.

-MRE-

Edit: Attachment was removed because of an error. See two posts below for correct version.

Last edited by mrebersv; 11-06-2007 at 05:36 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #54 (permalink)  
Old 11-06-2007, 05:34 AM
demam_emas's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Ambarawa City
Posts: 153
demam_emas is on a distinguished road
Quote:
Originally Posted by mrebersv View Post
Enclosed is v0.3 ready for beta testing. Let me know what kind of errors or abnormalities you receive.

-MRE-
We can't test it, since this EA can't be compiled because of variable problem.
Please check it. Thanks
__________________
Click! Free $100 monthly (Trade 10 lots needed). Click! Free welcome bonus up to $5000
Click! Download premium forex indicators for free!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #55 (permalink)  
Old 11-06-2007, 05:35 AM
Member
 
Join Date: Dec 2006
Location: Minnesota, USA
Posts: 83
mrebersv is on a distinguished road
Thanks. I just noticed that i uploaded the thing without saving all changes. Try this one.

-MRE-
Attached Files
File Type: mq4 Qbot-v0.3-beta.mq4 (8.3 KB, 140 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #56 (permalink)  
Old 11-06-2007, 05:41 AM
demam_emas's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Ambarawa City
Posts: 153
demam_emas is on a distinguished road
Only 1 trade on October?
Definitely something wrong here...
__________________
Click! Free $100 monthly (Trade 10 lots needed). Click! Free welcome bonus up to $5000
Click! Download premium forex indicators for free!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #57 (permalink)  
Old 11-06-2007, 05:48 AM
Member
 
Join Date: Dec 2006
Location: Minnesota, USA
Posts: 83
mrebersv is on a distinguished road
Quote:
Originally Posted by demam_emas View Post
Only 1 trade on October?
Definitely something wrong here...
I'm skeptical of backtesting a strategy that uses multiple timeframes, so I only plan on forward testing this one. If we find that forward testing causes the same issue, I'm guessing the problem has to do with the "NoOpen" variable which is used to keep the strategy from re-opening trades in the same direction after stoploss and now takeprofit (fingers crossed on that one). Specifically, I've been implementing too many changes without testing each one individually lately, so I can foresee an error or two in the logic controlling the "NoOpen" variable.

-MRE-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #58 (permalink)  
Old 11-06-2007, 06:29 AM
Senior Member
 
Join Date: Aug 2006
Posts: 217
saintmo is on a distinguished road
There is another statement that needs to be changed. Same issue as before.

void checkForNoOpenChange() {
if ( ((iCustom(NULL,shortTF,"QQE",SF,0,2) <= iCustom(NULL,shortTF,"QQE",SF,1,2)) && (iCustom(NULL,shortTF,"QQE",SF,0,1) > iCustom(NULL,shortTF,"QQE",SF,1,1))) ||
((iCustom(NULL,longTF,"QQE",SF,0,2) <= iCustom(NULL,longTF,"QQE",SF,1,2)) && (iCustom(NULL,longTF,"QQE",SF,0,1) > iCustom(NULL,longTF,"QQE",SF,1,1))) ){
NoOpen=false;
}
}

With this change more trades are opened. However, after a trade in one direction is closed, other trades in the same direction continue to be opened.

saintmo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #59 (permalink)  
Old 11-06-2007, 06:51 AM
Senior Member
 
Join Date: Aug 2006
Posts: 217
saintmo is on a distinguished road
More problems. Trades opened and closed immediately under some circumstances. Lots of trades.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #60 (permalink)  
Old 11-06-2007, 01:45 PM
Member
 
Join Date: Dec 2006
Location: Minnesota, USA
Posts: 83
mrebersv is on a distinguished road
Wow, Saint! You're proving to be quite helpful in testing this thing! I'll start fixing those issues after work today, but I won't be home until late, so it might be a while.

-MRE-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
cache:KWGBCHlV-FoJ:www.forex-tsd.com/expert-advisors-metatrader-4/10266-ea-request-profitable-gbp-jp, gbp jpy EA, gbp/jpy ea, gbp/jpy system, gbpjpy ea, mtf qqe, qqe ea, qqe indicator, qqe mq4, TrendStrength_v1

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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
need opinion with my PROFITABLE system stevenali Brain Systems 12 06-21-2009 04:58 PM
Trend Catcher/ Profitable System JaneFX General Discussion 43 05-10-2008 09:50 PM
Anyone wants to program my profitable System? scalpmaster Suggestions for Trading Systems 11 09-24-2007 08:31 PM
15min Profitable System FXBabe Suggestions for Trading Systems 23 09-23-2007 12:27 PM
GMG - profitable system need EA atlist Expert Advisors - Metatrader 4 31 01-31-2007 12:30 PM


All times are GMT. The time now is 07:03 PM.



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