You might need setbarsrequired(sbrall, sbrall) ----- Original Message ----- From: Chaitanya To: [email protected] Sent: November 01, 2009 12:24 AM Subject: [amibroker] BarCount showing wrong values.
Trying to debug some problem i ended up seeing that a simple program showing BarCount shows wrong count. I have about 10years of EOD data on A. When i try to printout the BarCount value it shows it as 387 in some program and as 707 in another; i expect it to be around 1800 and when i copy paste all the quotes into excel it does show more than 2000 rows; which is about right. Why doesnt AB's BarCount show me correct values? Program is here: Plot( MA(C,200), " Barcount: " + BarCount , colorBlue );
