PureBytes Links
Trading Reference Links
|
Thanks Joe,
That works.
It's interesting to note that even Sum(B3,3)/3
fails because of B2 = 0 at bar 7.
Thanks,Corey Saxe
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Joseph
Landry
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, December 30, 2003 5:25
AM
Subject: [amibroker] Re: Function (Brain)
Check
Strange,but would think that dividing by Zero is causing
problems when I explore the range of B2 , but here is a brute force way
out. You can replicate the 3 day moving average by coding the following
B4 = (B3 + Ref(B3,-1) + Ref(B3,-2))/3; // for 3 day ma.
This works. JOE L. --- In <A
href="">amibroker@xxxxxxxxxxxxxxx, "CS"
<res1wgwl@x...> wrote:> I am
attempting to track down why a simple formula won't plot.> I'm sure
that it's something 'embarrassingly' simple.> >
A1=LinearReg(Close,7);> > B1=Close-LLV(A1,28);>
B2=HHV(A1,28) - LLV(A1,28);> B3=100*(B1 / B2);> B4=MA( B3 ,
3);> > Plot(B3,"B3",4,8);> Plot(B4,"B4",2,1);>
> B3 will plot but not B4 (it's empty on all data files).>
> I've got >4200 bars loaded...any ideas?> >
Thanks,> Corey SaxeSend 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
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
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
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|