Order information

From NakedMarkets
Jump to navigation Jump to search

CategoryRule_OrderInformatione
Summary

This Order information category contains all Default Rules related to Market Orders informations. By using these rules, the user can access the state and the properties of the current opened orders.
The main goal is to apply the money management automatically by designing Rules gathering this kind of information.
These Rules can only by inserted in Exit Rules because the Market Order has to be opened and attached to the related Rule.

Order profit

This Rule returns the current profit of the related Market Order.

Order growth

This Rule returns the current growth (in percentage) of the related Market Order.

Order profit in Pips

This Rule returns the current profit of the related Market Order, in the Pips format.

Order open time

This Rule returns the open date of the related Market Order. The return value is a float number composed by the number of days ellapsed since 01/01/1900. This is the Excel date format and provide milliseconds accuracy.

Order close time

This Rule returns the close date of the related Market Order, if it's closed. The return value is a float number composed by the number of days ellapsed since 01/01/1900. This is the Excel date format and provide milliseconds accuracy.

Order lots number

This Rule returns the lots count of the related Market Order.

Order ticket

This Rule returns the ticket number of the related Market Order.

Order type

This Rule returns the type of the related Market Order. The return value is an integer number.
Details :

  • Value 0 : Instant BUY Order
  • Value 1 : Instant SELL Order
  • Value 2 : Pending BUY Limit Order
  • Value 3 : Pending SELL SELL Order
  • Value 4 : Pending BUY Stop Order
  • Value 5 : Pending SELL Stop Order


Order stoploss

This Rule returns the stoploss value of the related Market Order.

Order takeprofit

This Rule returns the takeprofit value of the related Market Order.

Order open price

This Rule returns the open price value of the related Market Order.

Order close price

This Rule returns the close price value of the related Market Order.

Order symbol

This Rule returns the symbol name of the related Market Order.