I have an indicator with a button on the chart (System.Windows.Controls.Button). When I click the button -> a HorizontalLine appears (NinjaTrader.NinjaScript.DrawingTools.HorizontalLi ne). However, it appears not instantly, it appears when I scroll the chart (or with a first new tick).
How to make the line appear instantly, without delays and additional actions with the chart?
Comment