Order Functions *
(Only Can Be Used by Closing and Trailing and Break Even Expressions)
| Profit | Returns profit of the order |
| Stoploss | Returns stop loss value of the order |
| TakeProfit | Returns take profit value of the order |
| OpenPrice | Returns open price of the order |
| OpenCandle | Returns candle shift of the order open time |
| OpenDuration | Returns open duration of the order in seconds |
| OrderOpenYear | Returns the year of order open time |
| OrderOpenMonth | Returns the month of order open time |
| OrderOpenDay | Returns the day of order open time |
| OrderOpenDayOfWeek | Returns the week day of order open time |
| OrderOpenDayOfYear | Returns the year day of order open time |
| OrderOpenHour | Returns the hour of order open time |
| OrderOpenMinute | Returns the minute of order open time |
| OrderOpenSecond | Returns the second of order open time |
| OrderOpenWeek | Returns the week number of order open time |
| Swap | Returns swap value of the order |
| Lots | Returns the current amount of lots of the order |
| InitialLots | Returns the original amount of lots of the order |
| Ticket | Returns ticket number of the order |
| Commission | Returns calculated commission of the order |
| ProfitPoints | Returns profit of the order in points |
| LossPoints | Returns loss of the order in points |
| IsBuy | Returns True if order type is buy |
| IsSell | Returns True if order type is sell |