+1 888 340 6572

RejectedOrderAction: Difference between revisions

From MultiCharts
(Created page with "Returns a numerical value, representing the action of the rejected order. ==Usage== <syntaxhighlight>RejectedOrderAction</syntaxhighlight> The following values can be returne...")
 
No edit summary
Line 3: Line 3:
==Usage==
==Usage==
<syntaxhighlight>RejectedOrderAction</syntaxhighlight>
<syntaxhighlight>RejectedOrderAction</syntaxhighlight>
The following values can be returned:
The following values can be returned:
:'''0''' - No rejected order event
:'''0''' - No rejected order event
Line 14: Line 15:
Assign a value, indicating the action of the rejected order, to Value1 variable:
Assign a value, indicating the action of the rejected order, to Value1 variable:
<syntaxhighlight>Value1= RejectedOrderAction;</syntaxhighlight>
<syntaxhighlight>Value1= RejectedOrderAction;</syntaxhighlight>
[[Category:Strategy_Events]]

Revision as of 16:14, 10 April 2017

Returns a numerical value, representing the action of the rejected order.

Usage

RejectedOrderAction

The following values can be returned:

0 - No rejected order event
1 - Buy
-1 - Sell

Notes

This function can only be used in signals.

Example

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

Value1= RejectedOrderAction;