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

RE: [amibroker] Displaced or Shifted Moving Average



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Don,
have 
you tried shifting using the ref() function? Something like this moves the ma by 
5 periods...
<FONT face=Arial color=#0000ff 
size=2> 
 
Plot<FONT color=#282828 
size=2>(C<FONT 
color=#282828 size=2>,""<FONT 
color=#282828 size=2>,4<FONT 
color=#282828 size=2>,64<FONT 
color=#282828 size=2>);<FONT color=#0000ff 
size=2>
Plot<FONT color=#282828 
size=2>(MA<FONT color=#282828 
size=2>(C<FONT 
color=#282828 size=2>,10<FONT 
color=#282828 size=2>),""<FONT 
color=#282828 size=2>,4<FONT 
color=#282828 size=2>,1<FONT 
color=#282828 size=2>);<FONT color=#0000ff 
size=2>
Plot<FONT color=#282828 
size=2>(Ref<FONT color=#282828 
size=2>(MA<FONT color=#282828 
size=2>(C<FONT 
color=#282828 size=2>,10<FONT 
color=#282828 size=2>),-5<FONT 
color=#282828 size=2>),"new"<FONT 
color=#282828 size=2>,5<FONT 
color=#282828 size=2>,1<FONT 
color=#282828 size=2>);
 
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: don 
[mailto:donmac63@xxxxxxxxxxxx]Sent: Wednesday, October 08, 2003 8:13 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
Displaced or Shifted Moving AverageGreetings to 
all,I was wondering if anyone has coded Displaced or Shifted Moving 
Averages?RegardsDon McKaySend 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------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












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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.