Difference between revisions of "FilledOrderAction"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value, representing the action of the filled order. ==Usage== <syntaxhighlight>FilledOrderAction</syntaxhighlight> The following values can be returned: :...")
 
Line 10: Line 10:
 
==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 Filled" event is enabled in Strategy Properties - Auto Trading tab.
  
 
==Example==
 
==Example==

Revision as of 17:00, 30 June 2017

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

Usage

FilledOrderAction

The following values can be returned:

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

Notes

This function can only be used in signals.


This function is executed only when the "Order Filled" event is enabled in Strategy Properties - Auto Trading tab.

Example

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

Value1= FilledOrderAction;