Forum

oldest open Position price - mql5

Hello, now i can get the last/newest position info buy this code PositionSelect ( _Symbol ) ; ulong position_ID= PositionGetInteger ( POSITION_IDENTIFIER ); long create_time_msc= PositionGetInteger ( POSITION_TIME_MSC ); long update_time_sec= PositionGetInteger ( POSITION_TIME_UPDATE ); long

get the current open position open price and profit - mql5

Hello, i need a simple code by simple steps to get the current open position open price and profit using mql5 thanks