The indicator i need is "ATR expressed in # of Ticks", and I tried the following code but it doesn't compile.
- Appreciate if you could provide any sample code ..
- Also, how do i specify a command to plot a DataSeries on the chart?
//// Code
protected override void Initialize()
{
atrInTicks = new DataSeries(this);
atrInTicks = ATR(14) / TickSize();
Add(atrInTicks);
CalculateOnBarClose = true;
}
Comment