Global Variables: Difference between revisions
From MultiCharts
→Understanding Global Variables
Line 3: | Line 3: | ||
Global Variables is an external .dll file that can be used to pass values between strategies on separate charts and third party applications. | Global Variables is an external .dll file that can be used to pass values between strategies on separate charts and third party applications. | ||
The information is stored in a shared memory space. External processes can access the data in the memory for further operations.<br> | The information is stored in a shared memory space. External processes can access the data in the memory for further operations.<br> | ||
When a customer uses Global Variables it is important to determine the read-write action time because the actions are performed in the script calculation. | <br> | ||
When a customer uses Global Variables it is important to determine the read-write action time because the actions are performed in the script calculation.<br> | |||
<br> | <br> | ||
Global Variables work between different MultiCharts processes of the same bitness if they use the same GlobalVariable.dll (that is stored in the same place). | Global Variables work between different MultiCharts processes of the same bitness if they use the same GlobalVariable.dll (that is stored in the same place). | ||
Line 11: | Line 12: | ||
<br>MultiCharts .NET 32bit and MultiCharts 32bit | <br>MultiCharts .NET 32bit and MultiCharts 32bit | ||
<br>MultiCharts .NET 64bit and MultiCharts 64bit | <br>MultiCharts .NET 64bit and MultiCharts 64bit | ||
== Example == | == Example == | ||
From MultiCharts, the Global Variables functionality is accessed by PowerLanguage functions: | From MultiCharts, the Global Variables functionality is accessed by PowerLanguage functions: |