Difference between revisions of "AllowSendOrdersOnMouseEvents"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Toggles intra-bar order generation on mouse events. == Usage == <syntaxhighlight>[AllowSendOrdersOnMouseEvents = LogicalValue]</syntaxhighlight> Where: :'''LogicalValue...")
 
(No difference)

Latest revision as of 14:34, 14 February 2024

Toggles intra-bar order generation on mouse events.

Usage

[AllowSendOrdersOnMouseEvents = LogicalValue]

Where:

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

A script continues to be calculated on a mouse event if [ProcessMouseEvents=true], but does not generate orders intra-bar if AllowSendOrdersOnMouseEvents = False.

Notes

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

Example

Enable intra-bar order generation on mouse click event:

[AllowSendOrdersOnMouseEvents = True];