PureBytes Links
Trading Reference Links
|
Ara,
I wrote in Commentary the
StaticVarSet("gra",50);
WriteVal(StaticVarGet("gra"));
and then, in an empty IB window the
k=StaticVarGet("gra");
Plot(MA(C,k),"MA"+WriteVal(k,1.0),1,1);
Plot(MA(C,50),"",colorRed,8);
Everything was fine, no problem at all.
In the next amibroker run you should only open again the commentary
window, to "activate" the static var.
[When the static var definition is in an IB window, it is auto-
activated in the beginning]
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxxx> wrote:
> Trying to access static variables from Guru Commentary window.
>
> I can only access one of the 5 variables That I set in an indicator
window.
>
> Are the Static variable accessible from the GURU Commentary window?
>
> Thanks
>
> Ara
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|