Bollinger bands function

Posted: exe2 Date: 04.06.2017

Bollinger Bands - Wikipedia

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?

bollinger bands function

Try to plot the rolling mean against your quotes for SP and see if it makes sense. Although you line of code to compute the rolling mean is correct, there might be something wrong in the data that you pass as input.

bollinger bands function

By posting your answer, you agree to the privacy policy and terms of service. Sign up or log in to customize your list. Stack Exchange Inbox Reputation and Badges. Questions Tags Users Badges Unanswered.

bollinger bands function

Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. Join them; it only takes a minute: Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top.

Bollinger %B Strategy Code Help Needed

Calculating Bollinger Band Correctly. I am not into python but looks like that your average ave time series does not look right in relation to "SP", at least ave does not converge with "SP".

Bollinger Bands [ChartSchool]

Perhaps try to plot ave to see where it is, and perhaps on a different window plot std to see its size. Providing a full code might be helpful as well. Bach I second the recommendation on providing more code or perhaps a simplified version that can reproduce the plot from scratch. Sohel Khan 31 2. Sign up or log in StackExchange.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.

Quantitative Finance Stack Exchange works best with JavaScript enabled. MathOverflow Mathematics Cross Validated stats Theoretical Computer Science Physics Chemistry Biology Computer Science Philosophy more 3. Meta Stack Exchange Stack Apps Area 51 Stack Overflow Talent.

Rating 4,5 stars - 924 reviews
inserted by FC2 system