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.
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 )
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.
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.