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

RE: [amibroker] Re: 50day MA for DJI



PureBytes Links

Trading Reference Links

I use TC2000 data so I changed the symbols to "DJX-X" and "XAU".

I only get one line plotted using:

Graph0 = ROC(MA(Foreign("DJX-X","C"),50),3);
Graph1 = ROC(MA(Foreign("XAU","C"),50),3);



Rik Rasmussen
Stock Analyzer mailing list moderator
http://groups.yahoo.com/group/stockanalyzer/
-----Original Message-----
From: Jayson [mailto:jcasavant@xxxxxxxxxxxx]
Sent: Saturday, February 15, 2003 12:46 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Re: 50day MA for DJI


If the scale of the two plots proves to be problematic you can add
Styleownscale to one of the data sets....

x = ROC(MA(Foreign("^DJX","C"),50),3);
y = ROC(MA(Foreign("^XAU","C"),50),3);
plot(x,"DJX",colorwhite,1);
plot(y,"XAU",Coloryellow,1|styleownscale);


Jayson
-----Original Message-----
From: Alan Nouray <alann@xxxxxxxxxxxx> [mailto:alann@xxxxxxxxxxxx]
Sent: Friday, February 14, 2003 3:49 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: 50day MA for DJI


Hi Rik,

I look forward receiving the code. Thank you.

This is what I came up with so far based on the help from more
experienced 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 this
parameter and not ROC 10.

This should plot both graphs on one chart. How your code looks like?

Alan

P.S My next project is to write a code for 3 Elephants, Zacks and Lamb
Chops.



--- In amibroker@xxxxxxxxxxxxxxx, "Rik Rasmussen" <hrasmussen@xxxx> wrote:
> That is not what I am using. It may be better. But it isn't what I
ended 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 and
then 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 signal
based
> 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 can
modify 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 signal
from
> > > 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
> > > > http://groups.yahoo.com/group/stockanalyzer/
> > > >
> > > > > -----Original Message-----
> > > > > From: Alan Nouray <alann@xxxx> [mailto:alann@x...]
> > > > > 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: 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
> > > http://docs.yahoo.com/info/terms/
> > > > >
> > > > >
> > >
> > >
> > > 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
> http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> >
> > 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
http://docs.yahoo.com/info/terms/
> >
> >



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.

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.


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 http://docs.yahoo.com/info/terms/