newbee1713006039 Posted January 5, 2011 Report Share Posted January 5, 2011 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 ;-) Quote Link to comment Share on other sites More sharing options...
manganate Posted January 5, 2011 Report Share Posted January 5, 2011 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). Quote When mind lingers in one place efficiency is lost Link to comment Share on other sites More sharing options...
newbee1713006039 Posted January 6, 2011 Author Report Share Posted January 6, 2011 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 Quote Link to comment Share on other sites More sharing options...
r_a_u_l Posted January 6, 2011 Report Share Posted January 6, 2011 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); newbee1713006039 1 Quote Link to comment Share on other sites More sharing options...
newbee1713006039 Posted January 6, 2011 Author Report Share Posted January 6, 2011 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 Quote Link to comment Share on other sites More sharing options...
r_a_u_l Posted January 7, 2011 Report Share Posted January 7, 2011 u r welcome :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.