Skip to content
All library documents

Troubleshooting Zero Bollinger Band Values in VeighNa

Article vn.py community

Summary

A VeighNa forum exchange addresses why the middle and upper Bollinger values may appear as zero in a user interface. The question shows a middle band calculated with a simple moving average and upper and lower bands calculated through ArrayManager’s Bollinger method. The reply identifies two checks: whether the requested window exceeds ArrayManager’s default capacity of 100, and whether enough bars were loaded to initialize the manager.

The discussion offers a concise debugging direction rather than a full diagnosis. It does not show the user’s parameter values, bar-loading configuration, or a confirmed fix, so it cannot establish which condition caused the displayed zeros. It also does not explain how Bollinger bands are calculated or discuss trading signals. The practical takeaway is to verify both the indicator window against the manager’s storage length and the amount of historical data available before trusting plotted values.

Key ideas

  • Check whether the Bollinger window exceeds ArrayManager’s default length of 100.
  • Load enough bars for ArrayManager to initialize before reading indicator values.
  • The forum exchange suggests possible causes but does not confirm the user’s specific issue.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.