I need help please. What is wrong with this code, I want to get Renko in the main chart, not in a separate window:
I don't know. It is hard to run through all that code. As far as I understood you can not load a Renko directly into a chart.
I downloaded this her:
it includes a Renko - but you have to open up a "offline chart" and have it updated - so you need both, a live chart of e.g. EUR/USD 5M and an EUR/USD 10M (offline chart) - the offline chart will look like the Renko Chart.