Changing the Horizantal (Time) Scale on Chart

 

Hello, I coded the Footprint Chart for MT5. In general, traders use the NinjaTrader or VolFix platforms to trade with Footprint Chart.

If there are no more than 999 lots at one price, no problem with object create. However, if there are more than 1000 lots at one price, objects overlap on chart. So, the chart is not clear.

How do I convert the chart to tick-data chart without using any indicator? In other words, How do I increase the distance between the  bars? Thank you.

Files: