I am developing and indicator which identifies candle patterns.
(I am new to NT and script, but not new to c#)
I have written the following in the OnBarUpdate method:
if(BDoji){
if (Open[0] == Close[0]){
DrawArrowDown("Doji", 0,High[0]+TickSize, Color.Blue);
DrawText("Doji","Doji",0,High[0]+TickSize*2,Color.Blue);
}
}
I only get the text drawn and not the arrow. If I draw the text before the arrow then the arrow is drawn. .i.e only the last draw is taken into account. Is this correct?
I am using NT7 on Win 7.
Edit: Okay I am being daft - the problem is the same tag names ! SIlly me!
Comment