Hello. I use Renko chart for my strategies.
But I use dynamic parameters creation in my strategies by changing high, low, defaultValue and value parameters via config file. But I also need to change renko candle size on the chart (change default candle size on the size I set up in my strategy as default candle size value).
I really don't know how to do this well, I use this dummy code through reflection:
CODE:
Please log in to see this code.
(I write this example supposing that only one window with chart for my strategy is opened at the sime time. It's a part of original code I use for selection Forms and changing parameters).
I don't know how to renew chart bars - what method shoud I use for this?
I tried:
CODE:
Please log in to see this code.
But have no effect.
Pls, help...