Hi,
I was wondering why have the following functions been added:
AccuracyGetNamedDouble
AccuracyGetNamedInt
AccuracySetNamedDouble
AccuracySetNamedInt
Do they 100% replace the older:
GetNamedDouble
GetNamedInt
SetNamedDouble
SetNamedInt
?
I'm curious as to what might be wrong with the older functions. Should I change all instances of code using the older functions?
Seperately on just one of my machines i've found these non-compilable functions and have no idea where they came from:
New functions, please advise. [SOLVED]
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: New functions, please advise.
I've made this confusing by asking two questions.
1) Why were these created:
AccuracyGetNamedDouble
AccuracyGetNamedInt
AccuracySetNamedDouble
AccuracySetNamedInt
2) I've found some Global variable functions on one machine that don't compile and aren't on any other machine I run MC64 on.
TJ, do you (or any other MC user) possess any of these exact GV associated functions: I might've exactly imported them with something else. I'm hoping they are superfluous. Do I need them?
1) Why were these created:
AccuracyGetNamedDouble
AccuracyGetNamedInt
AccuracySetNamedDouble
AccuracySetNamedInt
2) I've found some Global variable functions on one machine that don't compile and aren't on any other machine I run MC64 on.
TJ, do you (or any other MC user) possess any of these exact GV associated functions: I might've exactly imported them with something else. I'm hoping they are superfluous. Do I need them?
Re: New functions, please advise.
Regarding my second question.
Why doesn't this compile:
Why doesn't this compile:
Code: Select all
external: "GlobalVariable.dll", int, "GV_SetInteger64", int, int64 ;
inputs:
int ElementLocation( numeric ),
int64 GVValue( numeric ) ;
variables:
int RtnVal( -1 ) ;
if LastBarOnChart then
RtnVal = GV_SetInteger64( ElementLocation, GVValue ) ;
GVSetInteger64 = RtnVal ;
Value1 = Ticks ; { Force RadarScreen to update every tick. }
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
- ABC
- Posts: 721
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 408 times
- Contact:
Re: New functions, please advise.
wilkinsw,
they are likely functions for a 3rd party add-on indicator or strategy and are closed code. If that is the case they are automatically installed with Multicharts. The vendor has likely created separate functions of existing ones (you would have to contact the vendor to find out what they do exactly) in order to prevent public functions to become locked.
In the past this was not necessarily the case and when vendors used public functions they became closed code after a Multicharts installation/update which created problems for all other users using these functions. Therefore it's good that they create their own versions now.
Regards,
ABC
they are likely functions for a 3rd party add-on indicator or strategy and are closed code. If that is the case they are automatically installed with Multicharts. The vendor has likely created separate functions of existing ones (you would have to contact the vendor to find out what they do exactly) in order to prevent public functions to become locked.
In the past this was not necessarily the case and when vendors used public functions they became closed code after a Multicharts installation/update which created problems for all other users using these functions. Therefore it's good that they create their own versions now.
Regards,
ABC
1) Why were these created:
AccuracyGetNamedDouble
AccuracyGetNamedInt
AccuracySetNamedDouble
AccuracySetNamedInt
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: New functions, please advise. [SOLVED]
Exactly as ABC stated above: In MultiCharts 9.0 Release 4 we've added copies of GlobalVariable functions that are utilized by the prebuilt addons. This is something that was reported by ABC here: http://www.multicharts.com/discussion/v ... 859#p82770