Global Variables 64bit Questions

Questions about MultiCharts and user contributed studies.
User avatar
joebone
Posts: 175
Joined: 05 Sep 2018
Has thanked: 53 times
Been thanked: 4 times

Global Variables 64bit Questions

Postby joebone » 17 Jan 2019

I have MC64, but GVSetInteger() doesnt work. Do I still need to DL and install something. I though GV's were default in 64 bit.

User avatar
joebone
Posts: 175
Joined: 05 Sep 2018
Has thanked: 53 times
Been thanked: 4 times

Re: Global Variables 64bit

Postby joebone » 17 Jan 2019

How does pmm_set_global_named_num work?

can I recieve this in another strategy with pmm_get_global_named_num ?

does it update every bar?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Global Variables 64bit Questions

Postby Henry MultiСharts » 18 Jan 2019

I have MC64, but GVSetInteger() doesnt work. Do I still need to DL and install something. I though GV's were default in 64 bit.
Hello joebone,

Global Variables is an external DLL for sharing the information between the charts. This DLL comes with the platform. From Multicharts the Global variables functionality is accessed by PowerLanguage functions. In order to get all of the GV functions - please import the Global Variable22.zip attached to this post:
http://www.multicharts.com/discussion/v ... 2483#p8174
You need to save the file, unzip it, import GV 2-2.ELD per instructions:
http://www.multicharts.com/trading-soft ... ng_Studies
Using Global Variables it is important to determine the read-write action time because the actions are performed on the script calculation.
Additional info can be found here:
http://www.multicharts.com/trading-soft ... _Variables

wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Re: Global Variables 64bit Questions

Postby wilkinsw » 18 Jan 2019

Hi Henry,

I'm confused; I use global variables and don't think I ever imported anything extra to make them work.

I had a look at your links and imported GV2-2 but functions looks slightly different to ones I already have.
which version.PNG
(36.38 KiB) Downloaded 382 times
I'm a bit lost. Am i supposed to be importing the GV2-2 EL file or not?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Global Variables 64bit

Postby Henry MultiСharts » 18 Jan 2019

How does pmm_set_global_named_num work?
can I recieve this in another strategy with pmm_get_global_named_num ?
does it update every bar?
PMM and PMMS commands work in Portfolio Trader only:
http://www.multicharts.com/trading-soft ... M_Keywords
Please refer to the Portfolio Trader documentation and strategy examples to learn how to use its features and keywords:
http://www.multicharts.com/trading-soft ... lio_Trader
Portfolio Trader Strategy Examples:
http://www.multicharts.com/trading-soft ... y_Examples

User avatar
joebone
Posts: 175
Joined: 05 Sep 2018
Has thanked: 53 times
Been thanked: 4 times

Re: Global Variables 64bit Questions

Postby joebone » 18 Jan 2019

whats the difference between pmm_global_named_num and pmm_my_named_num?

how many global_named_num's can i have?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Global Variables 64bit Questions

Postby Henry MultiСharts » 26 Feb 2019

Both commands allow for accessing the assigned value from any of the signals within current Portfolio Trader.
But pmm_get_my_named_num and pmms_get_strategy_named_num can reference the value of the specific strategy ID, while pmm_get_global_named_num has a single value across all strategies.
There is no limitation for the number of global variables you can have.


Return to “MultiCharts”