forex software

Create and Test Forex Strategies

forex software

Sidebar

Indicator List

indicator:oscillator_of_roc

Table of Contents

Oscillator of ROC

FIXME

Parameters

Logical rules for Opening Logic Condition slot.

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

Logical rules for Closing Logic Condition slot.

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

List box parameters

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

Numeric box parameters

  • First ROC period (10). The period of first ROC. Minimum: 1, Maximum: 200.
  • Second ROC period (14). The period of second ROC. Minimum: 1, Maximum: 200.

Implementation

C# source code: Oscillator of ROC.

MQL source code: Oscillator of ROC.