forex software

Create and Test Forex Strategies

forex software

Sidebar

Indicator List

indicator:moving_averages_crossover

Table of Contents

Moving Averages Crossover

FIXME

Parameters

Logical rules for Opening Logic Condition slot.

  • Fast MA crosses Slow MA upward;
  • Fast MA crosses Slow MA downward;
  • Fast MA is higher than Slow MA;
  • Fast MA is lower than Slow MA;

Logical rules for Closing Logic Condition slot.

  • Fast MA crosses Slow MA upward;
  • Fast MA crosses Slow MA downward;
  • Fast MA is higher than Slow MA;
  • Fast MA is lower than Slow MA;

List box parameters

  • Base price (Close). The price both Moving Averages are based on. Options: Open, High, Low, Close, Median, Typical, Weighted.
  • Fast MA method (Simple). The method used for smoothing Fast Moving Averages. Options: Simple, Weighted, Exponential, Smoothed.
  • Slow MA method (Simple). The method used for smoothing Slow Moving Averages. Options: Simple, Weighted, Exponential, Smoothed.

Numeric box parameters

  • Fast MA period (13). The period of Fast MA. Minimum: 1, Maximum: 200.
  • Slow MA period (21). The period of Slow MA. Minimum: 1, Maximum: 200.
  • Fast MA shift (0). The shifting value of Fast MA. Minimum: 0, Maximum: 100.
  • Slow MA shift (0). The shifting value of Slow MA. Minimum: 0, Maximum: 100.

Implementation

C# source code: Moving Averages Crossover.

MQL source code: Moving Averages Crossover.