90 minute charts.

 
I want to plot 90 minute charts.
How do I do that?

Thank you,
sam123.
 
Thank you Slawa. It worked but my CPU is now 100% busy.
Is there anything I can do to fix that?

I am fine to have 90 minute chart getting updated every few minutes rather than every couple of ticks.

Thank you,
sam123.
 
insert Sleep function in the source.
Instead of
   while(IsStopped()==false)
     {
      int cur_time=LocalTime();


write

   while(IsStopped()==false)
     {
      Sleep(50);
      int cur_time=LocalTime();
 
Slawa,

This is exactly what I needed.
Thank you so much.

- sam123