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

[amibroker] Re: Function (Brain) Check



PureBytes Links

Trading Reference Links

CS,
I really don't know how MA() works, I just noticed that Nz has 
removed the problem.
Of course, as underlined in the near threads, remove does not mean 
delete, some problem is still hidden somewhere, but this is the 
multiple role of Nz.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "CS" <res1wgwl@xxxx> wrote:
> Thanks DT,
> 
> Yes, I use Nz frequently, but my point is that even if B3 returns 
what appears to be good data, the plot may fail at B4.
> 
> Thanks,
> Corey Saxe
> 
> 
> 
>   ----- Original Message ----- 
>   From: DIMITRIS TSOKAKIS 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Tuesday, December 30, 2003 3:20 AM
>   Subject: [amibroker] Re: Function (Brain) Check
> 
> 
>   Not 'embarrassingly' simple but a lot of {empty} or division by 
zeros.
>   The sure thing is
> 
>   A1=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 Saxe
> 
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   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
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
>       
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
>       
>     c.. Your use of Yahoo! Groups is subject to the 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 Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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:
 http://docs.yahoo.com/info/terms/