I'm trying to draw different geometries and text, which I cannot do properly with "Draw.Line" giving only price and bar coordinates.
I've learnt, that this can be done under "OnRender" using screen coordinates instead pirce and bar.
Please confirm me if there is another method or posibility to do it.
My question now is, when will be this "OnRender" be activated?
The indicator can be updated at the end of each bar, for example, but when will be updated this "OnRender".
I know that I should't use too many calculations inside OnRender, but thera are some variables, which I need from the screen, thus I have to do this calculations inside OnRender.
Maybe you can give some tips or examples in order to understand it better.
Thanks in advance!

Comment