Position CLASS
Profit/loss (without swaps or commissions) all calculated based on the current broker's price. For open position it shows the profit/loss you would make...
Sat, May 5, 2018 at 5:00 PM
Profit/loss calculated based on the current broker's price. For open position it shows the profit/loss you would make if you close the position at the c...
Sat, May 5, 2018 at 5:02 PM
Initial margin for opened position. SYNTAX public double GetUsedMargin (Currency currency) PARAMETERS currency — Currency currency for calc...
Sat, May 5, 2018 at 5:05 PM
Removes current stop-loss order SYNTAX public bool RemoveStopLoss () RETURN bool Return true if stop-loss order removed successfully, otherwi...
Sat, May 5, 2018 at 5:07 PM
Removes current stop-loss order asynchronously SYNTAX public bool RemoveStopLossAsync (Action<bool> callback) PARAMETERS callback — Act...
Sat, May 5, 2018 at 5:10 PM
Removes current take-profit order SYNTAX public bool RemoveTakeProfit () RETURN bool Return true if take-profit order removed successfully, o...
Sat, May 5, 2018 at 5:11 PM
Removes current take-profit order asynchronously SYNTAX public bool RemoveTakeProfitAsync (Action<bool> callback) PARAMETERS callback —...
Sat, May 5, 2018 at 5:13 PM
Rollback position. This operation is allowed only for accounts with MasterPosition function and SYNTAX public bool Rollback () RETURN bool R...
Sat, May 5, 2018 at 5:16 PM
Sets a new (modifies existed) stop-loss order SYNTAX public bool SetStopLoss (double slPrice) PARAMETERS slPrice — double Price of the stop-l...
Sat, May 5, 2018 at 5:18 PM
Sets a new (modifies existed) stop-loss order asynchronously SYNTAX public bool SetStopLossAsync (double slPrice,Action<bool> callback) PA...
Sat, May 5, 2018 at 5:20 PM