IntraBarOrderGeneration (Reserved Word)

image\trumpet2.gif Disclaimer

The EasyLanguage attribute IntraBarOrderGeneration allows you to turn on or off the intrabar order generation flag.  If the attribute is not present in any of the strategy code, users will be allowed to control the setting through the Calculations tab.  If the attribute is present and set to TRUE, the ’Enable intrabar order generation and calculation’ flag will be checked, the checkbox will be disabled, and the radio buttons will be available.  If the attribute is present and set to FALSE, the ’Enable intrabar order generation and calculation’ flag will be unchecked and the checkbox and radio buttons will be disabled.

The syntax is as follows:

[IntrabarOrderGeneration = Value]   // where Value can be TRUE or FALSE

  The use of square brackets is required for this reserved word.

Remarks

This attribute may only be used in a strategy.  If used in any other type of module the following error should appear at verify time and the focus should be set to the attribute:  ”Attribute IntrabarOrderGeneration is only available for use in strategies.”

The intrabar order generation feature is only supported for single data stream charts.  If applied to a multiple data stream chart, the status of the strategy will be turned off.

Example

 [IntrabarOrderGeneration = FALSE]  //  Strategy will only generate orders at close of bar

  Attributes are evaluated at compile time only so their values cannot be changed at run-time.