GlobalValue Class (Component)
The GlobalValue is a toolbox component that allows access a value that can be shared between EasyLanguage analysis techniques and strategies.
Typically, you will use the Toolbox to add a component to your EasyLanguage document. Click and drag the name GlobalValue into your document from the Toolbox. The name of the provider appears in the component tray at the bottom of your document. By default, the name is followed by a number to identify multiple instances of the component. You can also rename the component to make it easier to refer to the value in multiple analysis techniques..
When you save or read a value with the GlobalValue object you must specify the value type using the appropriate property to specify the value. For example, to save floating point value, use the DoubleValue property as follows:
GlobalValue1.DoubleValue = 123.45;
To read the same value back from another indicator and assign to a variable name MyPrice, use the DoubleValue property as in:
MyPrice = GlobalValue1.DoubleValue;
Namespace: elsystem