philipvln / Publications
Forum
Why is the order being closed?
I made an EA so that if the profit is above 0 the order is closed. But the order is still being closed even if the profit is negative. Why is this happening? OrderSelect (OrderA, SELECT_BY_TICKET ); Alert ( OrderProfit ()); // It does alert a negative profit if ( OrderProfit () > 0 )