Forum

See the orders open

Hi, I´m trying to understand how I can now if I have one position open like. Because If I have a open position I will wating the stoploss or takeprofit close the order before open a new. I´m using this code in the backtest to see the result, but all the time the PositionsTotal show 0. Example: void