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

RE: [amibroker] Displaced Moving average



PureBytes Links

Trading Reference Links

Thanks Anthony.

-----Original Message-----
From: Anthony Faragasso [mailto:ajf1111@xxxxxxxx]
Sent: February 15, 2003 7:42 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Displaced Moving average


William,

Your formula for the displaced moving average is not doing what you
intended.

You are adding 5 to the value of the Moving average...example is if the
value of moving average is 43 (+5) = 48..
/*********************************************/

Displaced Moving average:
y=Ref(MA(C,50),-3);//todays value shifted three days into the future

Plot(y,"",colorRed,styleLine);

Anthony



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/