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

[amibroker] Re: StaticVar Help



PureBytes Links

Trading Reference Links

The idea is to use Parmeters buttom to change Macd and Rsi parameters in first afl and pass these to the Macd and Rsi afls.  This should work, correct? 

--- In amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@xxx> wrote:
>
> You have the right idea, but you need to use StaticVarSet() in the  
> first chart and StaticVarGet() in the plot only chart.  However, this  
> is not likely to speed up such a simple AFL, so no point to it other  
> than as a learning exercise.
> 
> BR,
> Dennis
> 
> On Oct 7, 2009, at 12:21 PM, bistrader wrote:
> 
> > I would like to create one afl with Price, Macd and Rsi in it.   
> > This, I can do.  I would like to plot Price, Macd and Rsi as if each  
> > was from a separate afl.  Price at top, Macd in middle, Rsi at  
> > bottom.  I can just duplicate the afl with separate plot statements  
> > in each.  Yet, I have been reading posts and it sound like I can use  
> > Static Variables to somehow plot Price, Macd and Rsi as if am  
> > ploting via 3 separate afls.  Does anyone have an example of how to  
> > do this?  My reading says the following: (1) create the Price, Macd  
> > and Rsi afl with Price only plot and with VarSet for Macd and Rsi;  
> > (2) create short Macd afl with VarGet for Macd and plot for Macd;  
> > (3) create short Rsi afl with VarGet for Rsi and plot for Rsi.  If  
> > this is correct, then I do not understand how VarGet in Macd and Rsi  
> > afls know to get the variables from first afl.  Anyway, I am  
> > confused and example would help.
> >
> > ...
> >
> >
> >
> > ------------------------------------
> >
> > **** IMPORTANT PLEASE READ ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> >
> > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > http://www.amibroker.com/feedback/
> > (submissions sent via other channels won't be considered)
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > Yahoo! Groups Links
> >
> >
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/