I'm trying to draw arrows / diamond when certain conditions occur.
In the following code snippet:
if (bb0Up) { sPr = "bb0Up : BarsInProgress = " + BarsInProgress.ToString() + " CurrentBar = " + CurrentBar.ToString() ; Print(sPr) ; //DrawArrowUp("tag1", 0, Low[0] - TickSize, Color.Red); DrawDiamond("tag1",true, 0, Low[0] - TickSize, Color.Red); }
Printout confirms that my condition is true as I would expect.
The indicator in in input series panel.
My master instrument setup is Renko/20.
My indicator does not plot anything.
I thought there may be a problem with TickSize under Renko , so I removed it, but the following snippet doesn't draw either:
//DrawArrowUp("tag1", 0, High[0] , Color.Red); DrawDiamond("tag1",true, 0, High[0] , Color.Red);
Comment