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

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



PureBytes Links

Trading Reference Links




<SPAN 
class=262595714-15022003>Rik,
check 
the syntax for both symbols  in your database then use the code I plotted 
below
<SPAN 
class=262595714-15022003> 
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);
<SPAN 
class=262595714-15022003> 
It 
works for me with QP2 data.......
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Rik Rasmussen 
[mailto:hrasmussen@xxxxxxxxx]Sent: Saturday, February 15, 2003 7:11 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker] 
Re: 50day MA for DJII 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 RasmussenStock Analyzer 
mailing list moderator<A 
href="">http://groups.yahoo.com/group/stockanalyzer/-----Original 
Message-----From: Jayson [mailto:jcasavant@xxxxxxxxxxxx]Sent: Saturday, 
February 15, 2003 12:46 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
[amibroker] Re: 50day MA for DJIIf the scale of the two plots proves 
to be problematic you can addStyleownscale 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 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.htmlYour 
use of Yahoo! Groups is subject to the Yahoo! Terms of Service.Yahoo! 
Groups SponsorADVERTISEMENTPost 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.htmlYour 
use of Yahoo! Groups is subject to the Yahoo! Terms of Service.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.