Difference between revisions of "RejectedOrderLimitPrice"
Jump to navigation
Jump to search
(Created page with "Returns a numerical value, representing the price of the rejected Limit order. ==Usage== <syntaxhighlight>RejectedOrderLimitPrice</syntaxhighlight> The following values can b...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
:'''0''' - No rejected order event | :'''0''' - No rejected order event | ||
otherwise | otherwise | ||
− | :''' '''Rejected order Limit price | + | :''' '''Rejected order <b>Limit</b> price |
==Notes== | ==Notes== | ||
− | This function can only be used in signals. | + | This function can only be used in signals. <br> |
+ | This function is executed only when the "Order Rejected" event is enabled in Strategy Properties - Auto Trading tab. | ||
==Example== | ==Example== |
Latest revision as of 17:00, 30 June 2017
Returns a numerical value, representing the price of the rejected Limit order.
Usage
RejectedOrderLimitPrice
The following values can be returned:
- 0 - No rejected order event
otherwise
- Rejected order Limit price
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 the price of the rejected Limit order, to Value1 variable:
Value1= RejectedOrderLimitPrice;