Forum

How can I get the Free Balance while a pisition is open?

Hi guys, i`m developing an EA and I need to know how much money I have available to open more positions. The idea is, if I have already a position open, I would like to know how much money do I have left to buy other stocks. I`m using, inside OnTick the AccountInfoDouble() method. While the first

MT5 EA Backtest on real tick data not triggering stops - only stopping at 1 pip

Hi guys, I'm with a problem here, I tried to search for a solution but didnt see any other cases like mine. Attached is the trade result graph and a piece of the history result in pips ( I checked the box "profit in pips for faster calculations " ) and in money. The results, as you can see, is that