molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Fri May 17, 2024 1:25 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Trade could not be complete due to insufficient fund
PostPosted: Tue Sep 25, 2012 4:13 am 
Offline

Joined: Fri Apr 20, 2012 10:02 pm
Posts: 15
Hello!.
I keep getting this message and in the mail it says :Failed Trade: Type: BuyMarket Symbol: EURJPY Units: 25000.
I check in the EA setting of EURJPY , the lot size is 0.25. I have max number of positions allowed:2 and sometimes there are 8 positions from the same EA.
Please let me know how to solve this problem.
Thanks


Top
 Profile  
 
 Post subject: Re: Trade could not be complete due to insufficient fund
PostPosted: Tue Sep 25, 2012 4:11 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Check you use the same number of digit as your broker. (4 or 5)
If that does not help please post your strategy file and broker name, and account type. 1 lot for micro account is not the same as 1 lot for a normal account.


Top
 Profile  
 
 Post subject: Re: Trade could not be complete due to insufficient fund
PostPosted: Tue Jan 22, 2013 8:36 pm 
Offline

Joined: Fri Apr 20, 2012 10:02 pm
Posts: 15
I tried but the problem persists. The lot size is 0.20 but there are too many incoming mails which said trade could not be completed due to insufficient funds: Failed Trade: Type: SellMarket Symbol: GBPJPY Units: 20000. It does not happen all the times. There are trades entered. I check the digits and it is correct. The broker is OANDA and attached is the file.
Thank you


Attachments:
BO20MA20-50.mol [14.64 KiB]
Downloaded 410 times
Top
 Profile  
 
 Post subject: Re: Trade could not be complete due to insufficient fund
PostPosted: Wed Jan 23, 2013 4:51 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
If 0.20 is equivalent to 20000 units the ea is doing the right conversion. This message "Failed Trade: Type: SellMarket Symbol..." comes from the server so it means that the server tell the ea that cannot execute it due to lack of funds. This is odd since we check for available funds before sending the order. You may need to take a look at the logs when the error takes place. You can post them here or send it by email to support. OANDA has its own integration to mt4 so your order goes to mt4 but it is executed by fxtrade which is different from any other mt4 broker.


Top
 Profile  
 
 Post subject: Re: Trade could not be complete due to insufficient fund
PostPosted: Wed Jan 23, 2013 6:44 pm 
Offline

Joined: Fri Apr 20, 2012 10:02 pm
Posts: 15
Not all trades give error just about 30% of the time maybe once or twice a day. When the trade is executed, the lot size is 0.20. If it happens, it crashed the MT4.
Thank


Top
 Profile  
 
 Post subject: Re: Trade could not be complete due to insufficient fund
PostPosted: Fri Jan 25, 2013 10:09 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Again we need to see logs to find out why. The issue may be related to the way oanda connects mt4 to its server. Oanda does not use mt4 like other brokers.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009