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

[amibroker] FOR problem



PureBytes Links

Trading Reference Links

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 from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/mk9osC/hP.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/