+1 888 340 6572

FilledOrderAction

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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;