forex software

Create and Test Forex Strategies

forex software

Sidebar

Indicator List

indicator:detrended_oscillator

Table of Contents

Detrended Oscillator

FIXME

Parameters

Logical rules for Opening Logic Condition slot.

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

Logical rules for Closing Logic Condition slot.

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

List box parameters

  • Smoothing method MA1 (Simple). The method of smoothing of MA1. Options: Simple, Weighted, Exponential, Smoothed.
  • Smoothing method MA2 (Simple). The method of smoothing of MA2. Options: Simple, Weighted, Exponential, Smoothed.
  • Base price (Close). The price the MA is based on. Options: Open, High, Low, Close, Median, Typical, Weighted.

Numeric box parameters

  • Period MA1 (13). The smoothing period of MA1. Minimum: 1, Maximum: 100.
  • Period MA2 (3). The smoothing period of MA2. Minimum: 1, Maximum: 100.

Implementation

C# source code: Detrended Oscillator.

MQL source code: Detrended Oscillator.