Hi Louis, Graham, Louis, I was hiding the ma's but that takes time when I want to change from one set to the other straight away.
Graham, thanks for that,but it's not what I'm after, I want the ma's in the same time frame but not on the chart at the same time, hence the use of layers (or not as it seems), It would appear as layer is not an AFL function I suspect I won't be able to do so, although I can't understand why when PLOTSHAPES has layer within it. although it does state "layer defines layer number on which shapes are plotted" Thanks again. Chris J --- In [email protected], Graham <[EMAIL PROTECTED]> wrote: > > you could try > > if(interval()==inweekly) Plot(........... > > -- > Cheers > Graham Kav > AFL Writing Service > http://www.aflwriting.com > > > > 2008/7/12 Louis Préfontaine <[EMAIL PROTECTED]>: > > Hi Christopher, > > > > Wouldn't this be easier if you simply used the "hide" feature, when you > > right-click on the chart and select "parameters"? You could put your 7 MAs > > there and hide the one you don't want to see and each time you can go back > > and click the one you want and the one you don't want. You could even use > > thicker MA and dotted ones... > > > > I hope this help, > > > > Louis > > > > 2008/7/12 Christopher <[EMAIL PROTECTED]>: > >> > >> Hi Louis, > >> > >> Maybe an example, if I add a trend line and then go to the properties > >> box of the trend line, at the bottom of the properties box (in the > >> colour and style) is an option of "layer" where I can select where I > >> choose the trend line to be seen such as only on weekly charts OR on a > >> layer of my choosing that I created for a specific purpose. > >> > >> What I wish to do is the same thing with the ma's, I wish to plot 4 > >> ma's on one layer and 3 different ma's on another layer on the same > >> chart on the same timeframe. > >> > >> Basically I don't want to see all 7 ma's at the same time. I want to > >> be able to hide one or the other set and this can be done with layers > >> but I don't know how to add layers to the ma's codes > >> > >> I hope thats a little clearer > >> > >> --- In [email protected], "Louis Préfontaine" <rockprog80@> > >> wrote: > >> > >> > > >> > Hi Christopher, > >> > > >> > I am not sure to understand your question. Can you be more precise? > >> > Thanks, > >> > > >> > Louis > >> > > >> > 2008/7/10 Christopher <chrisjeal@>: > >> > > >> > > Hi, I don't know if anybody can help but is there some code that > >> could > >> > > be added to a ma so that it can be on a particular layer (as it can be > >> > > done with trend lines etc). > >> > > > >> > > If so what would the code be? I do play with changing others > >> > > programming if I think I can but I'm not good enough (yet) to write a > >> > > piece of my own. > >> > > > >> > > I'm awaiting that AmiBroker programming guide as that will help me > >> a lot. > >> > > Thanks.... > >> > > Chris2var >
