Login / Register
Add a review
Log in
Sign UP
[bws_google_captcha]

The Stochastic Oscillator indicator, built on a tick price chart.

At startup, you must wait for the arrival of the required amount of tick data for calculations.

  • K period – the number of unit periods used to calculate the stochastic oscillator;
  • D period – the number of unit periods used to calculate the moving average line %K;
  • Slowing – deceleration period %K;
  • Calculated bar – the number of bars on the chart for calculating the indicator.

Then follow the parameters that regulate the weights of the Stochastic oscillator signals (from 0 to 100). Their description can be found in the MQL5 Reference in the section Signals of the Stochastic oscillator.

  • The oscillator has required direction – the value of the oscillator on the analyzed bar increases/decreases.
  • Reverse of the oscillator to required direction – reversal of the oscillator.
  • Crossing of main and signal line – the intersection of the main and signal lines.
  • Divergence of the oscillator and price – divergence.
  • Double divergence of the oscillator and price – double divergence.

Buffer numbers: 0 – MACD_LINE, 1 – SIGNALLINE, 2 – SIGNAL_UP, 3 – SIGNAL_DOWN.

Add review
Reviews ( 0 ):