Trading Blox provides four data group sections where the different data types of data a group can be applied to how variables share the variables information.  

Click on Name for Details

Data Group Name Types

Click for more information.

User Created Local Variables

 

Group Types:

Description:

Block Permanent Variables - (BPV)

All Block Permanent Variables are the same regardless of instrument that is being processed.  They retain their value in all the scripts, and are accessible from any script section.

two dimensional bpv string arrays, works the same way as two dimensional number arrays

Instrument Permanent Variables - (IPV )

Instrument Permanent variables can contain a different value for each instrument.  Use these when you need the value to be available when an instrument is in context.  Instrument Permanent variables are only accessible using normal means when the script section has obtained instrument context.  Instrument Permanent variables can be brought into context in any script using the Block Permanent variable: <symbol-name>.LoadSymbol(reference) method.

Parameters

Parameters create a powerful feature for controlling systems.  They allow a user with the ability to create systems that present user interface controls  Most Parameters enable easy value setting value that can be incremented so a series of a stepped series of test can generated.  These stepped variables are the primary means control of how Stepped Optimizations are control, and how many iterations will be generated.

Indicators

Indicators are a form of Instrument Permanent variables and follow the same access.  Indicators are created using the Indicator Wizard process that makes custom indicator creation easy and fast.

Local Variables

Local variable scope is limited to the script section in which the User Created Local Variable is created.  Each Local variable must be declared in the script section where they are to be used.  Any value assigned to a Local variable is can only be accessed within script section where it is declared using the Variables Function.  Local are not cleared.  This means the value in the variable is not cleared to zero or a value unless the user provides the scripted code to clear or seed a value that variable will need.  and cleared from these variables must be part of the sections scripting statements.

 


Edit Time: 8/29/2020 3:05:05 PM


Topic ID#: 253

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software