ibexy / Publications
Forum
PositionsTotal() is always returning zero even when there is open trades
I have the code below but PostionsTotal() is always returning zero even when there is open trades. I am trying to return the total number of currently open trades. I am using MT5 downloaded from Metaquotes. Any help highly appreciated. Thanks. int _Currently_Open_Trades_Of_Type( ENUM_ORDER_TYPE