#21 (permalink)  
Old 07-28-2005, 05:39 AM
Freshman
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
factorM is on a distinguished road
Default

FIRST POST!

I am going to build a simple expert and then test it and see how she does. Will keep you updated. Great concept! Thanks to Scorpion.
Reply With Quote
  #22 (permalink)  
Old 07-28-2005, 03:00 PM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,930
Thanks: 99
Thanked 365 Times in 149 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

Welcome aboard factorM!
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
The 3 Logics
  #23 (permalink)  
Old 08-02-2005, 08:07 PM
Freshman
 
Join Date: Jul 2005
Posts: 17
Thanks: 0
Thanked 2 Times in 1 Post
freshfx is on a distinguished road
Default The 3 Logics

Scorpion, thank you this is a great program and has helped me alot, especially since I am just now beginning to teaching myself to write code. Before using this program I tried to write an EA for MT4 using the EA wizard in MT4 but when I would compile could not fix the error I was getting. After a few days I just gave up. Now, I have made several versions of EAs which I hope to improve upon by systematically playing with them.

I have a suggestion. What I have done is keep track of the 3 Logics: 1. BUY Logics, 2. SELL Logics, and 3. CLOSE Logics in seperate folders so that I can test what works best. For the most part SELL Logics are just the opposite of the BUY Logics. However, CLOSE Logics are different. I would love to see two threads added to this site: BUY/SELL Logics and CLOSE Logics because this is where I would like to post. And it seems this is what we are all working on improving, at least to start.

Also, my current FXFisherman EA I have applied to the four majors but it seems to only be in only one trade at a time. Is this part of the code that allows only one position to be held at a time. Thanks again, freshfx
Reply With Quote
  #24 (permalink)  
Old 08-03-2005, 03:04 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,930
Thanks: 99
Thanked 365 Times in 149 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

Hi!

Welcome to FXFisherman!

Quote:
Also, my current FXFisherman EA I have applied to the four majors but it seems to only be in only one trade at a time. Is this part of the code that allows only one position to be held at a time. Thanks again, freshfx
Yes, the code allows only 1 trade at a time. I know it's restrictive to demo testing, but in real trading, this should protect you from many risks.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
Limit on open positions
  #25 (permalink)  
Old 08-04-2005, 07:33 AM
Freshman
 
Join Date: Jul 2005
Posts: 17
Thanks: 0
Thanked 2 Times in 1 Post
freshfx is on a distinguished road
Default Limit on open positions

Scorpion, I found the line of code that limited the number of open positions to 1 and change it to 4 as I am trading the four majors and wanted to see how the EA would work on multiple currencies. However, what happened was I was filled 3 times in USDCHF and once in USDJPY. That is not what I wanted. I need to add a line of code something like:
if Symbol > 1 then
{
DeleteOrder(OrderValue(1,VAL_TICKET),Red);
};
Does this sound right? Thanks in advance for your help, freshfx
Reply With Quote
  #26 (permalink)  
Old 08-04-2005, 07:47 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,930
Thanks: 99
Thanked 365 Times in 149 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

No, freshfx. Don't change If TotalTrades<1 then. This statement should protect you from many risks like the duplicated trades you encountered. If you like to run your expert in 4 majors then open 4 demo accounts, open 4 instances of MetaTrader, and then run 1 major in 1 account. That will solve your problem without hacking the code.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #27 (permalink)  
Old 08-04-2005, 07:50 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,930
Thanks: 99
Thanked 365 Times in 149 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

Again, running multiple majors in one account would be very dangerous, believe me.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
Thanks Scorpion
  #28 (permalink)  
Old 08-04-2005, 05:30 PM
Freshman
 
Join Date: Jul 2005
Posts: 17
Thanks: 0
Thanked 2 Times in 1 Post
freshfx is on a distinguished road
Default Thanks Scorpion

I will take you guidance. freshfx
Reply With Quote
  #29 (permalink)  
Old 08-05-2005, 07:01 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,930
Thanks: 99
Thanked 365 Times in 149 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

freshfx, in the next zerocode release, you'll be able to run multiple majors.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
Now testing EA in multiple accounts
  #30 (permalink)  
Old 08-09-2005, 09:16 PM
Freshman
 
Join Date: Jul 2005
Posts: 17
Thanks: 0
Thanked 2 Times in 1 Post
freshfx is on a distinguished road
Default Now testing EA in multiple accounts

I opened new demo accounts to test an FXFisherman EA in EURUSD, GBPUSD, USDCAD, and USDJPY individually in each account. Now just waiting for the results, freshfx :whistling
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 Beta 2 Status scorpion MetaTrader and ZeroCode 85 06-21-2008 04:11 PM
ZeroCode Expert Running 3 Majors (?) Scicronys MetaTrader and ZeroCode 8 12-12-2007 08:58 AM
RE: RSI in ZeroCode ????? TurboTrader24 MetaTrader and ZeroCode 9 08-04-2005 03:28 AM
Important: ZeroCode Header in Compiled MQL files scorpion MetaTrader and ZeroCode 0 06-09-2005 08:59 AM


All times are GMT. The time now is 05:17 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