PureBytes Links
Trading Reference Links
|
Hi,
I did something similar using StaticVarSet and StaticVarGet. In my
situation, changing the variable in the StaticVarSet pane merely set
the variable. I needed a "click" event in the StaticVarGet "Target"
pane to activate the code.
Try clicking in the Target pane.
Regards,
Dan.
--- In amibroker@xxxxxxxxxxxxxxx, "mmqp" <mmqp@xxxx> wrote:
> These codes does not generate errors but do not perform as expected.
> I try to create a static variable so I could use it across all
> formulas/panes. But changing value on one pane does not reflect
> change of another. Here is the code:
>
> Reading static variable from another pane/formulas
>
> RSI_lb = Param ("RSI LookBack",StaticVarGet
("Global_IFT_RSI_lb"),1,25,1);
>
> setting new value to static variable so it can be used in other
> formulas/panes
>
> StaticVarSet ("Global_IFT_RSI_lb", RSI_lb );
>
> Thanks
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hofpd1k/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124391613/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->
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 Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|