How can I create custom bars, and have those appear as the main bars on the chart?
I would like to be able to
1. create custom bars by listening to the primary series, generate bars according to a custom algorithm (eg. 45 seconds, 233 ticks, atr,kagi, renko,etc) and add them to a series in the BarArrays.
Then,
2.I want the chart to display my bar series instead of the default/primary bar series.
I think I can do 1., but how can I do 2.? Are there any examples/source I can look at?
Thank you.

Comment