this script plots arrow mark on doji. was learning to script and add a new line.
protected override void OnBarUpdate()
{
double tail0 = Instrument.MasterInstrument.Round2TickSize(Math.Ab s(Close[0] - Low[0]))/TickSize;
double currentCandleSize3 = Math.Abs(Open[3] - Close[3]); --> this line makes the indicator not work. How should the code be if I want to compare 3 candles before doji ?
When I say not work plotting of arrows gets stopped with the above line.
Comment