AllowSendOrdersOnOrderReject

From MultiCharts
Jump to navigation Jump to search

Toggles intra-bar order generation when an order sent by the auto trading system is rejected.

Usage

[AllowSendOrdersOnOrderReject = LogicalValue]

Where:

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

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

A script is called when an order is rejected, but it does not generate orders if AllowSendOrdersOnOrderReject = 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 was rejected:

[AllowSendOrdersOnOrderReject = True];