PureBytes Links
Trading Reference Links
|
Hi all,
I'm trying to make work the following piece of code:
TimeFrameSet( inDaily );
B1 = 0.001;
for( i = 1; i < BarCount; i++ )
{
B1 = 0.62*(H[i]-L[i]) + 0.38*B1;
B[i] = B1;
}
TimeFrameRestore();
B = TimeFrameExpand( B, inDaily );
Filter = 1; NumColumns = 1;
Column0 = 10000*B;
Column0Name = "B";
It does work and gives proper values of B when I don't change time
frames. However, it doesn't work in its presented form where I set
and then restore the time frame. It does work if I replace the loop
by AMA(), but that doesn't satisfy me. Any ideas? Is it a bug in AB
or am I doing something wrong?
Thanks
------------------------ 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
---------------------------------------------------------------------~->
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:
http://docs.yahoo.com/info/terms/
|