PureBytes Links
Trading Reference Links
|
you could try
if(interval()==inweekly) Plot(...........
--
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com
2008/7/12 Louis Préfontaine <rockprog80@xxxxxxxxx>:
> 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 <chrisjeal@xxxxxxxxxxx>:
>>
>> 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/
|