Jump to content

Recommended Posts

Posted

Hi,

I tried to use Hedge EA with FBS on 5-digit "unlimited" demo account with ".u" as suffix.

Now i receive the message "ERROR:0" and EA does not open any trades.

Can someone help here?

 

http://www.4shared.com/file/Fow91sDM/Hedger.html[/Code]

 

regards

newbee

 

All the best for 2011 ;-)

Posted

It means "No error found."

The suffix appears to be added automatically within the code. Are you adding it on top of this as well?

Check that the orders actually open (Look at Journal tab).

When mind lingers in one place efficiency is lost
Posted

Hi manganate,

I use the EA as it is. The suffix ".u" is already added inside the code, so I did neither add it to the pairs nor in the Suffix string. As soon as I add ".u" (without quotes) either to the pair1, pair2 or to the suffix string, I receive the message "Please enable all pairs on Market Watch Window", But all pairs are shown in the market window.

 

regards

newbee

Posted
here it is:

no matter the name of your currency pair

declare a variable as the first 6 chars in the currency pair variable name

 

mycurrency = StringSubstr(Symbol(), 6, StringLen(Symbol()) - 6);

 

thx, that was all I needed, now it works ;-)

 

regards

newbee

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...