@ambrogio... Wow. you the best... Thank you so much the block worked.. and am really grateful.. Thank you
Latest posts made by YOUUNMEE
-
RE: Error Code "NOT ENOUGH MONEY"
-
Error Code "NOT ENOUGH MONEY"
Hello support and team... an ea developed using this tool display error code "NOT ENOUGH MONEY" during validation phase on the mql5 portal. And l took a look at the reason and fixes here below is the recommendation "
test on EURUSD,H1
strategy tester report 67 total trades
test on NZDUSD,H1
2022.02.01 09:37:58 Tester: not enough moneyRecommended Fixes;
MQL4bool CheckMoneyForTrade(string symb, double lots,int type)
{
double free_margin=AccountFreeMarginCheck(symb,type, lots);
//-- if there is not enough money
if(free_margin<0)
{
string oper=(type==OP_BUY)? "Buy":"Sell";
Print("Not enough money for ", oper," ",lots, " ", symb, " Error code=",GetLastError());
return(false);
}
//--- checking successful
return(true);
}But l don't understand what to do... Please l need help.
-
RE: automatic addition of 6pips to buy trades
As a stipulation? but it does it behave like for the EA l built with the direct coding... So what do you suggest l do..
-
RE: automatic addition of 6pips to buy trades
This is happening on the backtesting... Please here is the link:
https://fxdreema.com/shared/eyxxtv5hb -
automatic addition of 6pips to buy trades
Good day team... Pls l noticed a challenge in my coded ea. and this is happening on the Instaforex MT4 platform... l noticed when the EA places a buy trade or buy pending trade there will be an introduction of 6pips. But this doesn't happen to sell trades. l dont understand whats wrong.
-
RE: HEDGE COUNT NO WORKING
I have gone through it but couldnt get it to work at all.. It enters just the fist order and couldnt run the other orders.... So it enters the lot size of the first condition... 0.01 but all other others it doesnt run them..... Seems like l am getting something wrong..
-
RE: HEDGE COUNT NO WORKING
Yes l am familiar with variables infact l used variables for the formular... to work. It will be best if there could be any sample for this purpose thats used before...
-
RE: HEDGE COUNT NO WORKING
I think it seems l don't understand how to do what you are asking me to do... But l tried what l think you meant by using the trade count block and the formular block. But it still didn't work.. It stays for a long time after which is past the number l indicated.. l think l need help to achieve it... Please can you help me with any sample...
-
RE: HEDGE COUNT NO WORKING
Its didn't work effectively.. when tested it long enough it moved pass the count of 5 l stated... So it does 0.01 0.02 0.04 0.08 0.16 0.32 0.64 1.28... So its still doesnt stop at the count of 5.
-
RE: HEDGE COUNT NO WORKING
Alright... https://fxdreema.com/shared/aO3m2omY
Thank you