top of page

Ninja Trader Supplied Indicators

Std. dev. Indicator

Std. dev. Indicator

The Standard Deviation (Std. Dev.) Indicator on NinjaTrader is a statistical tool used in technical analysis to measure the amount of variability or dispersion around an average. In the context of financial markets, it helps traders understand the volatility of an asset's price over a certain period. Here's an in-depth overview:


1. Concept of Standard Deviation Indicator:

- Standard deviation quantifies how much a series of numbers (like security prices) deviates from its mean (average). A higher standard deviation indicates greater price volatility and vice versa.

- In trading, it's often used to assess the risk associated with a price's fluctuation.


2. Calculation of Standard Deviation:

- The formula for standard deviation involves several steps:

- First, calculate the mean (average) price over a certain number of periods.

- Then, compute the variance by determining the average of the squared differences from the mean.

- Finally, the standard deviation is the square root of the variance.

- The time period for which the standard deviation is calculated can be adjusted based on the trader's strategy, with common settings including 20 or 14 periods.


3. Interpreting the Indicator:

- High Standard Deviation: Indicates high volatility. Prices are widely dispersed around the mean, suggesting a less predictable market.

- Low Standard Deviation: Implies low volatility. Prices are closer to the mean, indicating more predictability.


4. Usage in Trading:

- Risk Assessment: Traders use standard deviation to assess the risk level of an asset. Higher volatility often equates to higher risk.

- Volatility-Based Strategies: It's used in various trading strategies, including mean reversion and volatility breakout strategies.

- Bollinger Bands: Standard deviation is a key component of Bollinger Bands, another popular trading indicator.


5. Customization in NinjaTrader:

- NinjaTrader allows users to customize the period for the standard deviation calculation and the visual aspects of the indicator on charts.


6. Advantages and Limitations:

- Quantitative Measure of Volatility: Provides a clear, mathematical assessment of market volatility.

- Versatility: Can be applied to any time frame or trading instrument.

- Lagging Nature: As a statistical measure based on historical data, it's a lagging indicator.

- Does Not Predict Direction: Standard deviation indicates volatility but not the direction of price movements.


7. Practical Application:

- Traders often use the standard deviation indicator to gauge the volatility of a market and to adjust their trading strategies and risk management techniques accordingly.

About the

Std. dev. Indicator

In summary, the Standard Deviation Indicator on NinjaTrader is a vital tool for assessing the volatility of an asset's price. It provides traders with valuable insights into the risk and unpredictability associated with a market, although it's important to remember that it doesn't indicate price direction. Its effectiveness is enhanced when used in conjunction with other technical analysis tools and methods.

bottom of page