×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

AllowSendOrdersOnBrokerPositionChange

929 bytes added, 16 February
Created page with "Toggles intra-bar order generation when a market position at the broker changes. == Usage == <syntaxhighlight>[AllowSendOrdersOnBrokerPositionChange = LogicalValue]</syntax..."
Toggles intra-bar order generation when a market position at the broker changes.

== Usage ==

<syntaxhighlight>[AllowSendOrdersOnBrokerPositionChange = LogicalValue]</syntaxhighlight>

Where:

:'''LogicalValue''' - a true/false value; True = Enable; False = Disable.
A script is not calculated when a market position at the broker changes if auto trading is not running or Market Position Change is not enabled in the Recalculate on Broker Events section of Auto Trading settings.

A script is called when a market position at the broker changes, but it does not generate orders if AllowSendOrdersOnBrokerPositionChange = False.

== Notes ==

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

== Example ==
Enable intra-bar order generation after the broker position changed:

<syntaxhighlight>[AllowSendOrdersOnBrokerPositionChange = True]; </syntaxhighlight>


[[Category:Attributes]]