forex software

Create and Test Forex Strategies

forex software

Sidebar

Indicator List

indicator:roc_ma_oscillator

Table of Contents

ROC MA Oscillator

FIXME

Parameters

Logical rules for Opening Logic Condition slot.

  • ROC MA Oscillator rises;
  • ROC MA Oscillator falls;
  • ROC MA Oscillator is higher than the zero line;
  • ROC MA Oscillator is lower than the zero line;
  • ROC MA Oscillator crosses the zero line upward;
  • ROC MA Oscillator crosses the zero line downward;
  • ROC MA Oscillator changes its direction upward;
  • ROC MA Oscillator changes its direction downward;

Logical rules for Closing Logic Condition slot.

  • ROC MA Oscillator rises;
  • ROC MA Oscillator falls;
  • ROC MA Oscillator is higher than the zero line;
  • ROC MA Oscillator is lower than the zero line;
  • ROC MA Oscillator crosses the zero line upward;
  • ROC MA Oscillator crosses the zero line downward;
  • ROC MA Oscillator changes its direction upward;
  • ROC MA Oscillator changes its direction downward;

List box parameters

  • Smoothing method (Simple). The Moving Average method used for smoothing ROC value. Options: Simple, Weighted, Exponential, Smoothed.
  • Signal line method (Exponential). The Moving Average method used for smoothing the signal line. Options: Simple, Weighted, Exponential, Smoothed.
  • Base price (Close). The price ROC is based on. Options: Open, High, Low, Close, Median, Typical, Weighted.

Numeric box parameters

  • ROC period (10). The period of ROC. Minimum: 1, Maximum: 200.
  • Signal line period (14). The period of signal line. Minimum: 1, Maximum: 200.

Implementation

C# source code: ROC MA Oscillator.

MQL source code: ROC MA Oscillator.