Seeking Guidance on Fixed Date Time Axis for 1-Tick Data

Dear AmiBroker Community,

My Basic Time Frame is 1 Tick.
I am Drawing 5 Mins Candle on that, which has value areas for those 5 min candle using low-level graphics.
Due to the variable nature of tick data, the length of each 5-minute candle varies, resulting in uneven candle lengths.

I'd like to inquire if there's a way to create a fixed Date Time axis, where each time interval (e.g., 5 minutes) has a uniform length, regardless of the number of ticks received during that period.

Any insights or suggestions on how to achieve a fixed Date Time axis would be greatly appreciated.

Thank you for your time and expertise,
Kaeswar


Data Vendor : True Data Plugin
WebSite : True Data
I am using Real Time Tick Data (Indian NSE Market)

As I suspected, that is not TBT, it is "1 minute" snapshot so you should not plot anything.
Just select the timeframe 5 min.
TBT will usually have sub-second timestamps

you don't even have 1 second bars. (afaik this is the lowest resolution that retail gets as of today nse/bse )

First i would like to thank you for giving me reply sir,
Really Sorry I copied that from other Db.

Here the snap shot from Tick Db

I am not aware of TBT ? what is that sir ...

you said you selected "My basic Timeframe as 1 Tick".
So now this is incorrect, your plugin is feeding 1 second.

Your DB settings should be 1-second base time interval. (Also, Tomasz has recommended setting this at the time of DB creation)

So basically you don't have tick data, at best you will have 1 second chart.
to plot 5 min chart, select 5m from interval box.
And nowhere you need to draw using low-level gfx. use AB native plotting.

1 Like

Thank You Sir, Now i Understood.....I have to set to 1s during DB Creation and go with that , now i get equal spacing between each intervals.

1 Like

and also report to the plugin vendor to rectify it.
They should allow only supported basetime intervals to be set using SetTimeBase() provided in the ADK for plugins.