what is the best practice to update a draw object, for example, i have a Draw.Text and i want to change the display text, i tryed just changing the value with myDrawText.DisplayText = "changed text"; but it does not work, but if i recreate the object with myDrawText = Draw.Text(this, "myDrawText", "changed text, barsAgoText, Close[0], true, ""); it works, but, this is the best practice to do that?
Same happen with a Draw.Line, i need to change the Y value to update every price change, only works if i Draw a new Line with Draw.Line but again it is the best practice?
And what is the best practice to hide an object for example the Line or the Text? i tryed changing the stroke to transparent but only works defining the new Draw.Line or Draw.Text.
Thank you for your help!!
Comment