I am currently doing some TA-research and would like to backtest Bollinger Band signals. For the upper band, I have to add 2 * standard deviation to the MA-level.
However: what kind of sd do I need? Is it
(1) as often suggested the sd of the difference between the MA and the closing price? or
(2) the standard deviation of the share price itself. This procedure seems to be used by the TA-lib excel add in.
(and if (1) is the correct version, do you guys have any experience with reliability of the TA-lib formulas?)
Many thanks in advance!
However: what kind of sd do I need? Is it
(1) as often suggested the sd of the difference between the MA and the closing price? or
(2) the standard deviation of the share price itself. This procedure seems to be used by the TA-lib excel add in.
(and if (1) is the correct version, do you guys have any experience with reliability of the TA-lib formulas?)
Many thanks in advance!