How to reach more history data from High and Low arrays

 

Hello,


i have this code .. does somebody know how to reach more historic bars?


void OnTick()

  {

//---

   ChartNavigate(0, CHART_END, 0);

   Print(High[2000]);

  }


this gives me error but with usage of High[1000] it works.

I tried that ChartNavigate funciton but it does not help.


Thanks!!