My bollinger band comes out like the below, which doesn't seem right. Any idea what is wrong with my code for calculating upper and lower bollinber bands? I obtained my data from here ...
For black box testing, I was hoping that I could replicate the ADX + DI+ and DI- indicators that are provided in trading platforms such as ThinkOrSwim, ScottradeElite etc. However, I noticed that ...
Say I have a vector of daily price changes for an asset and calculate the standard deviation of returns in the usual way. Let's call this result A. Now assume that for the same asset I also have a ...