fabienlege / Publications
Forum
Not enought Money when trying to open trade
Hi, I've write a EA which correctly find signals but, when it try to open a trade, broker respond not enought money . The most probable cause is that the numbre of lots my EA try to buy/sell is too big. So i search to find the maximum number of lots i can buy/sell if my robot calculate a too big
Is there a bug in CheckOpenShort of CMoneyFixedRisk library ?
I, I think i've found a bug in CMoneyFixedRisk Library. I wrote an EA i try in strategy tester . but on a precise candle my EA stop with this critical error : "2020.04.17 01:17:00 zero divide in 'MoneyFixedRisk.mqh' (97,50)" I've opened 'MoneyFixedRisk.mqh' file and at line 90, char 50 it's the