Entered price series · deviation envelope

Bollinger Bands Calculator

Calculate rolling lower, middle and upper Bollinger-style bands from ordered prices you enter, using a simple moving average and an explicit N-divisor population deviation. The page reports band width and latest-price location but does not fetch candles, classify band touches or predict reversals, breakouts or future volatility.

Runs in your browserMetaQuotes deviation conventionNo overbought or breakout label

Enter ordered prices

Use one consistent symbol, timeframe, broker feed and applied-price basis.

Entered

One row per line: price alone, or optional label then price. Commas, semicolons or tabs are accepted.

Band boundary: Bands are descriptive arithmetic around the entered window. A touch or move beyond a band is not classified as a signal.

Current entered-price envelope

Entered Price Statistics 1.0.0.

Derived
No bands calculated yetEnter at least as many prices as the selected period, or load the audited example.

How the Bollinger bands are calculated

Middle = SMA of latest N prices
Population deviation = √[Σ(price − middle)² ÷ N]
Upper / Lower = Middle ± multiplier × deviation

The rolling middle band is a simple moving average. The deviation follows the MetaQuotes published Standard Deviation indicator convention and divides the squared-deviation total by N.

Latest-price location is measured across the lower-to-upper span. It remains unclassified, and values below 0% or above 100% are retained rather than converted into a trading label.

Worked example from the audited fixture

Reproduce it with “Load audited example”With period 3, multiplier 2 and entered prices 1, 2, 3, 4 and 5, the latest window is 3, 4 and 5. Its middle is 4 and population deviation is √(2 ÷ 3) = 0.816497. The resulting lower and upper bands are 2.367007 and 5.632993, with the latest price 80.6186% across that span.

How to interpret the result

The latest price is inside this entered-window envelope and above its middle, but that location does not establish overbought conditions, a breakout or a reversal. A chart can differ because of applied price, shift, averaging method, deviation divisor, history length or rounding conventions.

Assumptions and limits

  • All observations must use one symbol, timeframe, broker feed and applied-price basis.
  • Labels are descriptive; the tool does not sort rows or infer missing candles.
  • A zero-deviation window collapses both bands onto the middle and makes within-band location undefined.
  • Different platforms or custom indicators can use different averaging, deviation or seeding conventions.
  • Bands do not predict reversals, breakouts, targets or future volatility.

Frequently asked questions

  • It uses only the ordered positive prices entered in the browser and does not fetch chart candles.
  • The middle band is the simple moving average of the latest N entered prices.
  • Version 1.0.0 divides the sum of squared price deviations by N and takes the square root.
  • The entered multiplier times population deviation is added to and subtracted from the middle band.
  • Deviation and band width are zero, so all bands coincide and within-band location is undefined.
  • It means the latest entered price is arithmetically above the current upper band; the page does not label it a breakout.
  • No. The page reports an entered-price envelope without a reversal, trend or market-state classification.
  • Not necessarily. Applied price, history, averaging and deviation conventions can differ across platforms and custom indicators.

Sources and methodology

Compare the chart feed and trading terms

Use one consistent broker feed for every entered observation and verify the symbol's price precision, spread and trading conditions before using any measurement in a plan.

XM

Review available instruments, price precision and account terms.

Check XM terms

FBS

Compare symbol specifications and trading conditions for your region.

Check FBS terms

FXOpen

Confirm price precision, spread and contract terms for the symbol.

Check FXOpen terms

Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

Disclaimer: The results from this tool are estimates for educational and informational purposes only and may differ from your broker's figures. This is not financial or investment advice. Trading forex and CFDs carries a high level of risk and can result in the loss of all your capital. Always verify calculations with your broker and trade within your risk tolerance.