What would I add to this to make it a multiple (i.e. 2 times the atr) of ATR with a BarArray on daily?
protected override void Initialize()
Add(PeriodType.Day, 1);
protected override void OnBarUpdate()
if (Close[0] > ATR (BarsArray[1], 14)

Greg

Comment