PureBytes Links
Trading Reference Links
|
If the
scale of the two plots proves to be problematic you can add Styleownscale to one
of the data sets....
<SPAN
class=834384205-15022003>
<SPAN
class=834384205-15022003>x = ROC(MA(Foreign("^DJX","C"),50),3); y
= ROC(MA(Foreign("^XAU","C"),50),3);
<SPAN
class=834384205-15022003>plot(x,"DJX",colorwhite,1);
<SPAN
class=834384205-15022003>plot(y,"XAU",Coloryellow,1|styleownscale);<FONT
color=#0000ff face=Arial size=2><SPAN
class=834384205-15022003>
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Alan Nouray
<alann@xxxxxxxxxxxx> [mailto:alann@xxxxxxxxxxxx]Sent: Friday,
February 14, 2003 3:49 PMTo:
amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: 50day MA for
DJIHi Rik,I look forward receiving the code.
Thank you. This is what I came up with so far based on the help from
moreexperienced users:graph0 = ROC(MA(Foreign("^DJX","C"),50),3);
graph1 = ROC(MA(Foreign("^XAU","C"),50),3); I used ROC 3 since I
believed Paul in his excel sheet also used thisparameter and not ROC 10.
This should plot both graphs on one chart. How your code looks
like?AlanP.S My next project is to write a code for 3 Elephants,
Zacks and LambChops.--- In amibroker@xxxxxxxxxxxxxxx, "Rik
Rasmussen" <hrasmussen@xxxx> wrote:> That is not what I am using.
It may be better. But it isn't what Iended up> using.>
> Alan, when I get home tonight, I will post what I am doing.>
> Basically it is using DJX and XAU and doing a 50 day MA on them
andthen a> 10 day ROC on that MA.> > I am plotting them
with a -10 to +10 scale.> > Paul's system compares the results of
the two and gives him a signalbased> on the relatioship of the
two.> > The coolest thing I would like to do would be to plot both
on one chart.> Don't know if that is possible,> > >
Rik Rasmussen> > > > ----- Original Message
-----> From: "Tomasz Janeczko" <amibroker@xxxx>> To:
<amibroker@xxxxxxxxxxxxxxx>> Sent: Friday, February 14, 2003 12:13
PM> Subject: Re: [amibroker] Re: 50day MA for DJI> >
> > Hello,> >> >> > array = Close; //
you can also use Foreign( "^DJI", "C");> >> > graph0 = ROC(
MA( array, 50 ), 1 ); // one-day ROC - you canmodify it.>
>> > Best regards,> > Tomasz Janeczko> >
amibroker.com> > ----- Original Message -----> > From:
<alann@xxxx>> > To: <amibroker@xxxxxxxxxxxxxxx>>
> Sent: Friday, February 14, 2003 5:52 PM> > Subject: [amibroker]
Re: 50day MA for DJI> >> >> > > Hi Rik,>
> >> > > Yes. I would appreciate if you can post the AB code.
By the way,have> > > you done any testing with this
signal?> > >> > > Alan> > >> >
>> > > --- In amibroker@xxxxxxxxxxxxxxx, "Rik Rasmussen"
<hrasmussen@xxxx>> > > wrote:> > > > Alan,
does this have anything to do with Paul's XAU/DJX signalfrom> >
> the VV> > > > group?> > > >> >
> > If so, the fine folks here helped me and I have it set up in
AB.> > > >> > > > Be glad to share.> >
> >> > > > Rik Rasmussen> > > > Stock
Analyzer mailing list moderator> > > > <A
href="">http://groups.yahoo.com/group/stockanalyzer/>
> > >> > > > > -----Original Message----->
> > > > From: Alan Nouray <alann@xxxx>
[mailto:alann@xxxx]> > > > > Sent: Thursday, February 13,
2003 7:00 PM> > > > > To: amibroker@xxxxxxxxxxxxxxx>
> > > > Subject: [amibroker] 50day MA for DJI> > > >
>> > > > >> > > > > I want to write a
formula for an indicator which is ROC of 50day> > > MA> >
> > > of DJI. Is it possible?> > > > >> >
> > > AlanN> > > > >> > > >
>> > > > > Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx> > > > > (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
> > > >> > > > > Check group FAQ at:> >
> > > <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>
> > > >> > > > > Your use of Yahoo! Groups is
subject to> > > <A
href="">http://docs.yahoo.com/info/terms/>
> > > >> > > > >> > >> >
>> > > Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx> > > (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
> >> > > Check group FAQ at:> <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>
> >> > > Your use of Yahoo! Groups is subject to> <A
href="">http://docs.yahoo.com/info/terms/>
> >> > >> > >> >> > Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx> > (Web
page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
>> > Check group FAQ at:> <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>
>> > Your use of Yahoo! Groups is subject to<A
href="">http://docs.yahoo.com/info/terms/>
>> >Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|