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

[amibroker] Re: FOR problem



PureBytes Links

Trading Reference Links

Change i=1 to i=10
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "CS" <res1wgwl@xxxx> wrote:
> I know this is really simple, but I am missing it.
> 
> Why is inphase always empty?
> 
> Y=(H+L)/2;
> V1=Y-Ref(Y,-6);
> V2=Ref(V1,-3);
>   
> inphase = 0;
> 
> for (i = 1; i<BarCount; i++)
> {
>     inphase[i] =  0.33 * V2[i] + 0.67 * inphase[i-1] ;
> }
> Plot(inphase,"inphase",7,1);
> 
> Thanks,
> -CS


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/Tq9otC/XP.FAA/3jkFAA/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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/