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] Profit–Returns profit of the Nth previous order
[ORDER] Stop Loss–Returns stop loss value of the Nth previous order
[ORDER] Take Profit–Returns take profit value of the Nth previous order
[ORDER] Open Price–Returns open price of the Nth previous order
[ORDER] Candle–Returns candle shift of the Nth previous order
[ORDER] Open Duration–Returns open duration of the Nth previous order in seconds
[ORDER] Open Year–Returns the year of Nth previous order open time
[ORDER] Open Month–Returns the month of Nth previous order open time
[ORDER] Open Day–Returns the day of Nth previous order open time
[ORDER] Open Day of Week–Returns the week day of Nth previous order open time
[ORDER] Open Day of Year–Returns the year day of Nth previous order open time
[ORDER] Open Hour–Returns the hour of Nth previous order open time
[ORDER] Open Minute–Returns the minute of Nth previous order open time
[ORDER] Open Second–Returns the second of Nth previous order open time
[ORDER] Open Week–Returns the week number of Nth previous order open time
[ORDER] Swap–Returns swap value of the Nth previous order
[ORDER] Lots–Returns amount of lots of the Nth previous order
[ORDER] Commission–Returns calculated commission of the Nth previous order
[ORDER] Profit Points–Returns profit of the Nth previous order in points
[ORDER] Loss Points–Returns loss of the Nth previous order in points
[ORDER] Is Buy–Returns True if Nth previous order type is buy
[ORDER] Is Sell–Returns True if Nth previous order type is sell