forex software

Create and Test Forex Strategies

forex software

Sidebar

Indicator List

indicator:macd_histogram

Table of Contents

MACD Histogram

FIXME

Parameters

Logical rules for Opening Logic Condition slot.

  • MACD histogram rises;
  • MACD histogram falls;
  • MACD histogram is higher than the Level line;
  • MACD histogram is lower than the Level line;
  • MACD histogram crosses the Level line upward;
  • MACD histogram crosses the Level line downward;
  • MACD histogram changes its direction upward;
  • MACD histogram changes its direction downward;

Logical rules for Closing Logic Condition slot.

  • MACD histogram rises;
  • MACD histogram falls;
  • MACD histogram is higher than the Level line;
  • MACD histogram is lower than the Level line;
  • MACD histogram crosses the Level line upward;
  • MACD histogram crosses the Level line downward;
  • MACD histogram changes its direction upward;
  • MACD histogram changes its direction downward;

List box parameters

  • Smoothing method (Exponential). The smoothing method of Moving Averages. Options: Simple, Weighted, Exponential, Smoothed.
  • Base price (Close). The price the Moving Averages are based on. Options: Open, High, Low, Close, Median, Typical, Weighted.
  • Signal line method (Simple). The smoothing method of the signal line. Options: Simple, Weighted, Exponential, Smoothed.

Numeric box parameters

  • Slow MA period (26). The period of Slow MA. Minimum: 1, Maximum: 200.
  • Fast MA period (12). The period of Fast MA. Minimum: 1, Maximum: 200.
  • Signal line period (9). The period of Signal line. Minimum: 1, Maximum: 200.
  • Level (0). A critical level (for the appropriate logic). Minimum: 0, Maximum: 5.

Implementation

C# source code: MACD Histogram.

MQL source code: MACD Histogram.