I'm trying to draw a 2 dots on the RSI indicator line in the indicator panel.
I'd like the dots to appear each time the condition is met in my strategy.
I've found in the forum that I need to set the DrawOnPricePanel = false.
I did, but error cs0103 kicks in.
my simplified settings are as follows:
protected override void Initialize() { Add(RSI(14,3)); DrawOnPricePanel = false; }
protected override void OnBarUpdate() { <...> //strategy conditions EnterLong(Iqty_A, "Long 1a"); EnterLong(Iqty_B, "Long 1b"); DrawDot("tag1", true, 0, RSI(14, 3)[0], Color.Red); DrawDot("tag2", true, 9, RSI(14, 3)[9], Color.Red); }
Thank you
Comment