+1 888 340 6572

FilledOrderPrice: Difference between revisions

From MultiCharts
(Created page with "Returns a numerical value, representing the average price of the filled order. ==Usage== <syntaxhighlight>FilledOrderPrice</syntaxhighlight> The following values can be retur...")
 
No edit summary
Line 9: Line 9:


==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==

Revision as of 17:02, 30 June 2017

Returns a numerical value, representing the average price of the filled order.

Usage

FilledOrderPrice

The following values can be returned:

0 - No filled order event

otherwise

Average order fill 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 average price of the filled order, to Value1 variable:

Value1= FilledOrderPrice;