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

Re: [amibroker] Re: Layers and ma's



PureBytes Links

Trading Reference Links

Since you wish to plot ALL the MAs' on the SAME time frame you can use paramtoggle. It would work like this:

ma14=ma(c,14);
MA14_plot=ParamToggle("Plot 14BAR MA","(N) OR (Y)",0);
if(MA14_PLOT)        Plot(MA14,"14BAR_MA",colorYellow,styleThick|styleLine);
                        else Plot(MA14,"16BAR_MA",colorYellow,styleHIDDEN|styleNoLabel|styleNoTitle);



On Sat, Jul 12, 2008 at 3:18 PM, Christopher <chrisjeal@xxxxxxxxxxx> wrote:
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 amibroker@xxxxxxxxxxxxxxx, "Louis Préfontaine" <rockprog80@xxx>
wrote:
>
> Hi Christopher,
>
> I am not sure to understand your question.  Can you be more precise?
> Thanks,
>
> Louis
>
> 2008/7/10 Christopher <chrisjeal@xxx>:
>
> >   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
> >
> >
> >
>



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

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

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


__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___