DrawText(string tag, string text, int barsAgo, double y, Color color)
My suggestion would only apply if there was an If block and then bar color was set by assigning a color property through BarColor. Your indicator is using another method that is not supported. Unfortunately NinjaTrader is not able to offer assistance with this third party indicator.
One issue with your code is assigning values to variables within Initialize(). This should be done in OnBarUpdate().
There is a reference sample on using drawing objects available here.


Appreciate your tips on resolving it. Thank you.
Are there samples that will help my understanding so that I can fix mine?
You have made my day!
Comment