AllowSendOrdersOnOrderFilled

From MultiCharts
Revision as of 13:01, 16 February 2024 by Polly (talk | contribs) (Created page with "Toggles intra-bar order generation when the auto trading system fills an order. == Usage == <syntaxhighlight>[AllowSendOrdersOnOrderFilled = LogicalValue]</syntaxhighlight>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Toggles intra-bar order generation when the auto trading system fills an order.

Usage

[AllowSendOrdersOnOrderFilled = LogicalValue]

Where:

LogicalValue - a true/false value; True = Enable; False = Disable.

A script is not calculated when an order is filled if auto trading is not running or Order Filled is not enabled in the Recalculate on Broker Events section of Auto Trading settings.

A script is called when the auto trading system fills an order, but it does not generate orders if AllowSendOrdersOnOrderFilled = False.

Notes

Attributes are applied at the time of compilation and cannot be changed at run-time.

Example

Enable intra-bar order generation when an order is filled:

[AllowSendOrdersOnOrderFilled = True];