Can anyone share to me how to get the price of latest open position if I have 2 or more open positions. double OpenTrade = PositionGetDouble( POSITION_PRICE_OPEN ); I guess this code does not get the latest open position I opened
This code of mine was not counting only buy positions it count also sell position but I want it to count it separately to have a value of how many buy and sell position I have. Please help me find the problem. #include <Trade\Trade.mqh> CTrade
I want to create an EA with simple buy and sell stop order, the problem is I want to constantly placing a pending order (buy/sell stop depending on the first executed pending order) every time an order is place with a condition of deleting all