×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

RejectedOrderContracts - MultiCharts
Open main menu

RejectedOrderContracts

Revision as of 16:59, 30 June 2017 by Angelina (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns a numerical value, representing the number of contracts of the rejected order.

Usage

RejectedOrderContracts

The following values can be returned:

0 - No rejected order event

otherwise

Number of contracts of the rejected order

Notes

This function can only be used in signals.
This function is executed only when the "Order Rejected" event is enabled in Strategy Properties - Auto Trading tab.

Example

Assign a value, indicating number of contracts of the rejected order, to Value1 variable:

Value1= RejectedOrderContracts;