I want to build a donchian breakout-type functionality into a strategy I built in Excel 2003 (i.e. highest high of x days...). The easy way to calculate it is to type =MAX(A1:A20), where column A is the highs of each bar. However, I would like to vary the look-back period by typing in a number (5, 15, 22, etc.) and have it automatically adjust the cells to put in the calculation.
Is there a way to do this in Excel, without coding in VB? I can't even code "hello world" in VB.
(Note: I don't trade off of excel...I just backtest. Lots of nested IF statements!)
Is there a way to do this in Excel, without coding in VB? I can't even code "hello world" in VB.
(Note: I don't trade off of excel...I just backtest. Lots of nested IF statements!)