Home Technical Indicator Post

Mastering the Stochastic ROC Indicator for MetaTrader 5

Attachments
20573.zip (2.04 KB, Download 0 times)

The Stochastic Rate of Change (ROC) indicator is a powerful tool for traders using MetaTrader 5. It combines the principles of the stochastic oscillator with the rate of change, giving you a unique perspective on market momentum.

Here’s a breakdown of the eight key input parameters you’ll need to set up this indicator:

  • Stochastic K Period - This defines the timeframe for calculating the stochastic %K line.
  • Stochastic D Period - This sets the timeframe for the stochastic %D line.
  • Stochastic Slowing - This parameter controls the smoothing period for the stochastic lines.
  • Stochastic MA Method - The method used for calculating the stochastic values.
  • Stochastic Price Field - The price type used in the stochastic calculations.
  • Stochastic Line - This specifies which stochastic line to use for the indicator calculations:
    • Main - The primary line used.
    • Signal - The secondary line that acts as a signal.
  • ROC Period - The duration for calculating the Rate of Change.
  • Calculation Type - This defines how values are calculated:
    • Absolute - Using absolute values for calculations.
    • Relative - Calculating with relative values.

One great aspect of the ROC indicator is that it doesn’t require additional calculations outside of what it provides. The indicator handles everything behind the scenes.

Here’s how the calculations work:

If Type = Absolute Stochastic, then ROC = ((Stochastic(Now) - Stochastic(Prev)),
If Type = Relative Stochastic, then ROC = ((Stochastic(Now) - Stochastic(Prev)) / Stochastic(Prev)) * 100

For ROC, the formula is:

ROC = ((CLOSE(i) - CLOSE(i - n)) / CLOSE(i - n)) * 100
CLOSE(i) - the closing price of the current bar;
CLOSE(i - n) - the closing price n bars ago;

Fig.1. Stochastic ROC Absolute

Fig.1. Stochastic ROC Absolute

Fig.2. Stochastic ROC Relative

Fig.2. Stochastic ROC Relative

Related Posts

Comments (0)