Global Variables - View on Charts

Questions about MultiCharts and user contributed studies.
HummerH1
Posts: 66
Joined: 13 Sep 2011
Has thanked: 6 times
Been thanked: 1 time

Global Variables - View on Charts

Postby HummerH1 » 18 Sep 2011

Hello,

Is that a way I can see Global variables values in my chart windows?

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Global Variables - View on Charts

Postby bowlesj3 » 18 Sep 2011

HummerH1,

Only by using the global variable get command(s) and using text_new to place the text version of the GV value on the chart (one GV at a time). You may need to use NumToStr to convert a numeric GV to a text format so the Text_New can show the text version on the screen. I use this a lot. If the GV is a string you do not need to use NumToStr. Of note, external programs (database programs, C or VB programs) that support GVs can of course display them in their forms, popups, whatever.

I wish the GV creators created a way to list all GVs that are in memory at one time (including a count of them). Maybe someone knows of such a program. Actually I know a place to ask.

John.

HummerH1
Posts: 66
Joined: 13 Sep 2011
Has thanked: 6 times
Been thanked: 1 time

Re: Global Variables - View on Charts

Postby HummerH1 » 18 Sep 2011

Thanks!

If you ll find such a feature to show all GV at the same time please let me know

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Global Variables - View on Charts

Postby bowlesj3 » 18 Sep 2011

If you ll find such a feature to show all GV at the same time please let me know
I submitted the question. No response yet.


I just remembered something. You should read this thread "Tips, tricks, programs, etc for MC resource Management" and zero in on intrabarpersist especially. It will save you a lot of pain when it comes to variables and the text_new related commands.

viewtopic.php?f=16&t=7665&hilit=intrabarpersist

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

Re: Global Variables - View on Charts

Postby Henry MultiСharts » 20 Sep 2011

Unfortunately we don't have this information.
This question should be addressed to the Dll developer.
The dll should support output of such information.

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Global Variables - View on Charts

Postby TJ » 20 Sep 2011

Hello,

Is that a way I can see Global variables values in my chart windows?
How would you like them shown?

In a pop-up window?

What if there are lots of variables?

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Global Variables - View on Charts

Postby bowlesj3 » 20 Sep 2011

The dll should support output of such information.
Regarding a general list of GVs in memory, a simple command to dump them all to a text file for review in notepad would be perfect. Ideal would be having them alpha within category for the named GVs and in numeric sequence within category for the numbered GVs. In this format you could also do a string search as well. I have no answer to my question about this so maybe it can not be done. On the other hand however these days Dr Google seems to know everything if you know how to ask and have enough time :-) Maybe I should try google. It would be useful.

HummerH1
Posts: 66
Joined: 13 Sep 2011
Has thanked: 6 times
Been thanked: 1 time

Re: Global Variables - View on Charts

Postby HummerH1 » 25 Sep 2011


In a pop-up window?

What if there are lots of variables?
I thought like my charts or indicator values, at the top of my chart.
with an option to show, hide.
And if they are too much of them, maybe the ability to select which one of them i want to show or hide.

btw when I hide a line in an indicator, I still saw its value at the top. Is there a way i can hide them at the same time?


Return to “MultiCharts”