[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Coupled variable values



PureBytes Links

Trading Reference Links

Pretty sure. Here's the description from HELP:

Static variable - the variable has static duration (it is allocated when the program begins and deallocated when the program ends) and initializes it to Null unless another value is specified. Static variables allow to share values between various formulas. Only NUMBER and STRING static variables are supported now (not ARRAYS).

Note the limitation to non-array variables. Note also you must define it with StaticVarSet and then put access it with StaticVarGet. I have not tried it from different panes. I use it to keep a timer running that does not "forget" where it's at each time a chart is recalculated (which is every new tick of data).

Terry

wavemechanic wrote:
Terry, are you sure it works between panes?  Can't seem to make it work.  Bill
----- Original Message -----
From: Terry
Sent: Sunday, March 27, 2005 3:03 PM
Subject: Re: [amibroker] Coupled variable values

Bill,

I believe StaticVars do that. Lookup StaticVar in the Help Index.

Terry

wavemechanic wrote:
Hello:
 
Is it possible to change the value of a variable (e.g., using Param()) in one indicator pane and have that change picked up in other indicator panes?  I think I recall this subject being discussed in the past, but cannot find it (maybe incorrect search criteria).
 
Thanks.
 
Bill




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.3 - Release Date: 3/25/2005


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html






Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links