Hello everyone,I'm looking for a way to let a EA. Check what the total current profit is of all open orders. If it's is equal to for example 20 usd that it automatically closes all the orders. Regards,
I busy making a EA that uses MA5 and MA10.
i want to do a OrderClose function when the cross back so . (PMA5>PMA10 && MA5<MA10) BUY order opens. (PMA5<PMA10 && MA5>MA10) BUY order closes and...
I'm looking for a check function, So the EA checks if a trade of the symbol is already open and if its open already then dont open a second one.
I use the Orderstotal() at the moment but then i cant open more trades from different...