One problem. Works as expected except one thing. I go to controlling afl and change Macd parameters but second afl that plots Macd does NOT change as I change parameters in controlling afl. I have to click on Macd afl to see the change. Is there a way to change Macd parameters in controling afl and see first hand the change in the Macd that is plotted by the second afl?
--- In [email protected], Dennis Brown <se...@...> wrote: > > Yes, this would work fine for this. The other approach is to just > send over the parameter values to the other charts if you are just > trying to have all your parameters in one parameter window. I > commonly do this when I am experimenting with ideas and want to be > able to control all the parameters from one window. Like for instance > setting a period parameter that is shared by multiple panes. Lots of > different ways to approach sharing parameter settings. > > BR, > Dennis > > > > On Oct 7, 2009, at 2:30 PM, bistrader wrote: > > > 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 [email protected], Dennis Brown <see3d@> 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 > > > > > > >
