PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Interesting..... run a simple exploration on 500 days of CSCO and I see
values in all columns except B4. Since B3 produces values why then will an ma of
those values not plot? Change B4 to 2*b3 and you get values in
B4......
<FONT face=Arial color=#0000ff
size=2>
Filter<FONT
color=#0000ff>=1<FONT
color=#282828 size=2>;<FONT
face=Arial color=#282828 size=2>
A1=<FONT face=Arial
size=2>LinearReg(<FONT face=Arial
size=2>Close<FONT face=Arial
size=2>,7<FONT face=Arial
color=#282828 size=2>);
B1=<FONT
color=#0000ff>Close<FONT face=Arial
size=2>-LLV<FONT face=Arial
size=2>(A1,28<FONT face=Arial
color=#282828 size=2>);
B2=<FONT face=Arial
size=2>HHV(A1,<FONT face=Arial
size=2>28) - <FONT face=Arial
size=2>LLV(A1,<FONT face=Arial
size=2>28<FONT
color=#0000ff>);
B3=(B1 / B2);
B4=<FONT
size=2>MA(B3,<FONT
size=2>3<FONT
color=#0000ff>);
Plot(B3,<FONT
face=Arial color=#ff00ff size=2>"B3"<FONT face=Arial color=#282828
size=2>,4<FONT face=Arial
color=#282828 size=2>,8<FONT
face=Arial color=#282828 size=2>);<FONT face=Arial color=#0000ff
size=2>
Plot(B4,<FONT
face=Arial color=#ff00ff size=2>"B4"<FONT face=Arial color=#282828
size=2>,2<FONT face=Arial
color=#282828 size=2>,1<FONT
face=Arial color=#282828 size=2>);
AddColumn<FONT
color=#282828 size=2>(a1,<FONT color=#ff00ff
size=2>"A!"<FONT
face=Arial>);
AddColumn(<FONT
color=#282828 size=2>b<FONT face=Arial color=#282828
size=2>1,"<FONT
color=#ff00ff size=2>b<FONT face=Arial color=#ff00ff
size=2>!");<FONT face=Arial
color=#0000ff size=2>AddColumn<FONT face=Arial color=#282828
size=2>(b2<FONT face=Arial
color=#282828 size=2>,"<FONT
color=#ff00ff size=2>b2<FONT face=Arial color=#ff00ff
size=2>");<FONT face=Arial
color=#0000ff size=2>AddColumn<FONT face=Arial color=#282828
size=2>(b3<FONT face=Arial
color=#282828 size=2>,"<FONT
color=#ff00ff size=2>b3<FONT face=Arial color=#ff00ff
size=2>");<FONT face=Arial
color=#0000ff size=2>AddColumn<FONT face=Arial color=#282828
size=2>(b4<FONT face=Arial
color=#282828 size=2>,"<FONT
color=#ff00ff size=2>b4<FONT face=Arial color=#ff00ff
size=2>");
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: DIMITRIS TSOKAKIS
[mailto:TSOKAKIS@xxxxxxxxx]Sent: Tuesday, December 30, 2003 6:21
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re:
Function (Brain) CheckNot 'embarrassingly' simple but a
lot of {empty} or division by zeros.The sure thing
isA1=Nz(LinearReg(Close,7));//Plot(a1,"",1,1);B1=Nz(Close-LLV(A1,28));B2=Nz(HHV(A1,28)
- LLV(A1,28));B3=Nz(100*(B1 / B2));B4=Nz(MA( B3 ,
3));Plot(B3,"B3",4,8);Plot(B4,"B4",2,1);Dimitris Tsokakis---
In amibroker@xxxxxxxxxxxxxxx, "CS" <res1wgwl@xxxx> 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.
|