Order

Order:

For obtaining information about each open order. Just set a shift for target order. The shift for Last order is zero and for one order before is 1 and one before that 2 and so on. The function of Order indicators is exactly the same as PrevOrder functions. In the table below (N=Shift)

NameParametersDescription
[ORDER] ProfitReturns profit of the Nth previous order
[ORDER] Stop LossReturns stop loss value of the Nth previous order
[ORDER] Take ProfitReturns take profit value of the Nth previous order
[ORDER] Open PriceReturns open price of the Nth previous order
[ORDER] CandleReturns candle shift of the Nth previous order
[ORDER] Open DurationReturns open duration of the Nth previous order in seconds
[ORDER] Open YearReturns the year of Nth previous order open time
[ORDER] Open MonthReturns the month of Nth previous order open time
[ORDER] Open DayReturns the day of Nth previous order open time
[ORDER] Open Day of WeekReturns the week day of Nth previous order open time
[ORDER] Open Day of YearReturns the year day of Nth previous order open time
[ORDER] Open HourReturns the hour of Nth previous order open time
[ORDER] Open MinuteReturns the minute of Nth previous order open time
[ORDER] Open SecondReturns the second of Nth previous order open time
[ORDER] Open WeekReturns the week number of Nth previous order open time
[ORDER] SwapReturns swap value of the Nth previous order
[ORDER] LotsReturns amount of lots of the Nth previous order
[ORDER] CommissionReturns calculated commission of the Nth previous order
[ORDER] Profit PointsReturns profit of the Nth previous order in points
[ORDER] Loss PointsReturns loss of the Nth previous order in points
[ORDER] Is BuyReturns True if Nth previous order type is buy
[ORDER] Is SellReturns True if Nth previous order type is sell