Closed Order (History Order)

NameParametersDescription
ClosedOrderTicketReturns ticket of the Nth closed order
ClosedOrderProfitReturns profit of the Nth closed order
ClosedOrderLotReturns amount of lots of the Nth closed order
ClosedOrderStopLossReturns stop loss of the Nth closed order (only MT4)
ClosedOrderTakProfitReturns take profit of the Nth closed order (only MT4)
ClosedOrderOpenPriceReturns open price of the Nth closed order
ClosedOrderClosePriceReturns close price of the Nth closed order
ClosedOrderDurationReturns open duration of the Nth closed order in seconds
ClosedOrderOpenTimeReturns passed seconds from open of the Nth closed order
ClosedOrderCloseTimeReturns passed seconds from close of the Nth closed order
ClosedOrderOpenCandleReturns the open candle number of the Nth closed order
ClosedOrderCloseCandleReturns the open candle number of Nth closed order
ClosedOrderSwapReturns swap value of the Nth closed order
ClosedOrderCommissionReturns calculated commission of the Nth closed order
ClosedOrderFeeReturns calculated fee of the Nth closed order
ClosedOrderTypeReturns Type of the Nth closed order (BUY or SELL)
ClosedOrderClosedbySLReturns True if Nth closed order is Closed by SL
ClosedOrderClosedbyTPReturns True if Nth closed order is Closed by TP