I want to display 20-tick and 28-tick  candlestic charts of an instrument in a single chart(not in two diff.  windows). Since the TIMEFRAME keyword only supports multiples of the current timeframe, I need a way to manually aggregate non-multiple tick data. Additionally, I should be able to write a custom indicator that can traverse back and forth through these aggregated candles like normal ones.
If there are any existing codes related to aggregated tick candle series formation, I would appreciate it. The 20-tick and 28-tick values are just examples; I need a general approach to handle any custom tick settings.
Does ProRealTime support this, and if so, how can it be implemented?
Thank you!