I want my indicator to adjust bar type and interval automatically.
For example, my chart is a 10 tick chart.
I apply my indicator and now the indicator automatically sets the type to Minutes and Interval to 5.
Could you give me a hint how to code this?
greetings,
Comment