Order Functions

Order Functions *

(Only Can Be Used by Closing and Trailing and Break Even Expressions)

 ProfitReturns profit of the order
 StoplossReturns stop loss value of the order
 TakeProfitReturns take profit value of the order
 OpenPriceReturns open price of the order
 OpenCandleReturns candle shift of the order open time
 OpenDurationReturns open duration of the order in seconds
 OrderOpenYearReturns the year of order open time
 OrderOpenMonthReturns the month of order open time
 OrderOpenDayReturns the day of order open time
 OrderOpenDayOfWeekReturns the week day of order open time
 OrderOpenDayOfYearReturns the year day of order open time
 OrderOpenHourReturns the hour of order open time
 OrderOpenMinuteReturns the minute of order open time
 OrderOpenSecondReturns the second of order open time
 OrderOpenWeekReturns the week number of order open time
 SwapReturns swap value of the order
 LotsReturns the current amount of lots of the order
InitialLotsReturns the original amount of lots of the order
 TicketReturns ticket number of the order
 CommissionReturns calculated commission of the order
 ProfitPointsReturns profit of the order in points
 LossPointsReturns loss of the order in points
 IsBuyReturns True if order type is buy
 IsSellReturns True if order type is sell