Forum

How to get just the buy open orders from a mix of open orders into an array?

I'd like to get the buy open orders of several orders into an array (like below): OpenPrices: BUY: 1.62181 (ticket:1) Sell: 1.61282 (ticket: 2) Buy: 1.59635 (ticket: 3) Buy: 1.63566 (Ticket: 4) Sell: 1.62332 (Ticket: 5) I am trying to extract the Buy Open Prices to BuyOpenPriceArray[], such that

What does it mean when initial margin is exactly equal to maintenance margin for a 1:100 leverage forex account in MT4?

What does it mean when initial margin is exactly equal to maintenance margin for a 1:100 leverage forex account in MT4? Isn't maintenance margin supposed to be lower than initial margin? Also, how does the 1:100 leverage play a part in such a case (where, initial margin = maintenance margin)