ZeroCode expert not working
  #1 (permalink)  
Old 11-10-2005, 06:12 AM
Freshman
 
Join Date: Nov 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Scicronys is on a distinguished road
Unhappy ZeroCode expert not working

My MA Cross expert is not working properly. I am using MT3 and there should be 2 arrows appearing on the chart with every cross: 1 for closing the previous trade and 1 for opening a new trade. Sometimes it will just open short trades, other times just long trades. The odd time it will open a trade going in the direction of the cross immediately after having closed the previous trade. This is what I want. I don't know any profession where expertise is considered executing 10% of the time, LOL. Btw I have made sure to enable Long & Short trades with the positions tab. I am quite confused. Once again here are my ZeroCode logics:

Buy logics:

MA (1) Previous < MA (2) Previous
AND MA (1) Current > MA (2) Current


Sell logics:

MA (1) Previous > MA (2) Previous
AND MA (1) Current < MA (2) Current

Why could this be happening? Hopefully it is one of my errors. Thanks very much for any help
Reply With Quote
  #2 (permalink)  
Old 11-11-2005, 08:04 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,923
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Logics are ok. It might be because of "too frequent error" or something like that. Post the error log, we'll investigate together.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #3 (permalink)  
Old 11-13-2005, 10:27 AM
Freshman
 
Join Date: Nov 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Scicronys is on a distinguished road
Default

Scorpion, how are you? Thanks so much for your time and energy. I will look for an error log although I have not seen one anywhere; it just seems to miss trades. Maybe it's slippage? Prices where not moving very quickly during test periods though. Maybe I should look in the 'experts' folder? or maybe somewhere else?
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ZeroCode Sample: Create "10-Minute" Strategy Expert scorpion Tutorials, Tips & Tricks 16 04-13-2008 11:29 PM
ZeroCode Expert Running 3 Majors (?) Scicronys MetaTrader and ZeroCode 8 12-12-2007 08:58 AM
Help bulding expert In Zerocode Please motisi2 MetaTrader and ZeroCode 4 07-29-2005 07:06 AM
Important: ZeroCode Header in Compiled MQL files scorpion MetaTrader and ZeroCode 0 06-09-2005 08:59 AM
ZeroCode: Create a simple MACD Cross expert scorpion Tutorials, Tips & Tricks 2 06-08-2005 03:23 PM


All times are GMT. The time now is 11:42 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now