View Single Post
  #106 (permalink)  
Old 07-17-2007, 10:01 AM
Kalenzo's Avatar
Kalenzo Kalenzo is offline
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 723
Kalenzo is on a distinguished road
Who said that this is my thread I'm only modest creator of that indicator. It is Cocoracas who is developing the strategy with the ea.

And about Emily v8 I think you should fix the problem with lot management - when I was testing it I was getting message that I don't have enough margin - this is a bug - you should check if you have enough money to put order to the market before you will call order send function.

Try to add this statement before order send function:

Code:
if(AccountFreeMarginCheck(Symbol(),OP_BUY,lots)<=0 
|| 
GetLastError()==134) return;
Above code will avoid printing the messages about not enough money, however this will not slove problem with counting the right lot size.

Another thing that can haste this ea is to use iRsiOnArray function instead a few loops like it was done in the first version of the indicator.

Those are just my few cents I'm really happy that this thread is developing
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................

Last edited by Kalenzo; 07-17-2007 at 10:23 AM. Reason: added some code
Reply With Quote