DynamicZoneStochasticUp

Category: Indicators

The DynamicZoneStochasticUp function in ProBuilder language is designed to calculate the upper boundary of the Dynamic Zone Stochastic indicator. This indicator enhances the traditional stochastic oscillator by incorporating dynamic overbought and oversold zones using Bollinger Bands. The purpose of this function is to help identify potential bearish signals when the price of a security is considered overbought.

Syntax:

dynamiczonestochasticup[BBperiod](price)
  • BBperiod: The number of periods used for calculating the Bollinger Bands applied to the Stochastic values. The default is 20 periods.
  • price: The price series used in the stochastic calculation.

Example:

a = DynamicZoneStochasticUp[20](close)
b = DynamicZoneStochasticDown[20](close)
return a coloured(0,255,0) style(line,1), b coloured(255,0,0) style(line,1), Stochastic[14,3](close)

This example demonstrates how to calculate and plot the upper and lower boundaries of the Dynamic Zone Stochastic along with the standard Stochastic oscillator. The upper boundary is colored green, and the lower boundary is colored red.

Additional Information:

The Dynamic Zone Stochastic oscillator ranges from 0 to 100, similar to the traditional stochastic oscillator. However, it adjusts the overbought and oversold levels dynamically based on the standard deviation of the stochastic values, rather than using fixed levels. This dynamic adjustment is achieved by applying Bollinger Bands to the stochastic values:

  • The upper line (overbought zone) is calculated as the average of the stochastic values over a specified period plus 0.8 times the standard deviation of these values over the same period.
  • A bearish signal is suggested when the stochastic value crosses below this upper line, indicating that the security might be moving from an overbought condition.

This function is particularly useful for traders who want to incorporate volatility-adjusted stochastic readings into their analysis, providing a more nuanced view than the standard stochastic oscillator.

Related Instructions:

Logo Logo
Loading...