Mohamed Adel / Profile
- Information
9+ years
experience
|
0
products
|
0
demo versions
|
0
jobs
|
0
signals
|
0
subscribers
|
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
Mohamed Adel
Added topic 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
Mohamed Adel
Added topic 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,

Charles Wachira
2015.08.02
for(int i=0;i<OrdersTotal();i++)
{
OrderSelect(i,SELECT_BY_POS,MODE_TRADES);
Print(OrderOpenPrice(),OrderProfit());
}
{
OrderSelect(i,SELECT_BY_POS,MODE_TRADES);
Print(OrderOpenPrice(),OrderProfit());
}


: