Difference between revisions of "Global Variables"

From MultiCharts
Jump to navigation Jump to search
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
<br>
 
<br>
  
Additional info is on our discussion forum:
+
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).
 +
Thus, it is possible to pass values between:
 +
<br>MultiCharts 32bit and MultiCharts 32bit
 +
<br>MultiCharts 64bit and MultiCharts 64bit
 +
<br>MultiCharts .NET 32bit and MultiCharts 32bit
 +
<br>MultiCharts .NET 64bit and MultiCharts 64bit
  
MultiCharts 32-bit: http://www.multicharts.com/discussion/viewtopic.php?t=2483 <br>
+
Additional info can be found on:
MultiCharts 64-bit: http://www.multicharts.com/discussion/viewtopic.php?f=5&t=9870 <br>
 
  
And on Big Mike's Trader discussion forum: http://www.bigmiketrading.com/tradestation-multicharts-easylanguage-programming/3502-global-variables-gv-easylanguage-tradestation-multicharts.html
+
* our discussion forum:
Global variables can be used in backtesting only in Portfolio Trader: http://www.multicharts.com/trading-software/index.php/Spread_and_Pair_Trading#Pair_Trading_in_Backtesting
+
 
 +
MultiCharts 32-bit - http://www.multicharts.com/discussion/viewtopic.php?t=2483 <br>
 +
MultiCharts 64-bit - http://www.multicharts.com/discussion/viewtopic.php?f=5&t=9870 <br>
 +
 
 +
* Futures.io discussion forum: https://futures.io/easylanguage-programming/3502-global-variables-gv-easylanguage-tradestation-multicharts.html <br>
 +
 
 +
Global variables can be used in backtesting only in Portfolio Trader, for more info check [[Spread_and_Pair_Trading#Pair_Trading_in_Backtesting|'''this page''']].
  
 
[[Category:FAQ]]
 
[[Category:FAQ]]

Revision as of 13:45, 10 January 2020

Understanding Global Variables

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. From Multicharts, the Global Variables functionality is accessed by PowerLanguage functions. 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.

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). Thus, it is possible to pass values between:
MultiCharts 32bit and MultiCharts 32bit
MultiCharts 64bit and MultiCharts 64bit
MultiCharts .NET 32bit and MultiCharts 32bit
MultiCharts .NET 64bit and MultiCharts 64bit

Additional info can be found on:

  • our discussion forum:

MultiCharts 32-bit - http://www.multicharts.com/discussion/viewtopic.php?t=2483
MultiCharts 64-bit - http://www.multicharts.com/discussion/viewtopic.php?f=5&t=9870

Global variables can be used in backtesting only in Portfolio Trader, for more info check this page.