forex software

Create and Test Forex Strategies

forex software

Sidebar

Indicator List

indicator:moving_average

Table of Contents

Moving Average

FIXME

Parameters

Logical rules for Opening Point of the Position slot.

  • Enter the market at Moving Average;

Logical rules for Opening Logic Condition slot.

  • Moving Average rises;
  • Moving Average falls;
  • The bar opens above Moving Average;
  • The bar opens below Moving Average;
  • The bar opens above Moving Average after opening below it;
  • The bar opens below Moving Average after opening above it;
  • The position opens above Moving Average;
  • The position opens below Moving Average;

Logical rules for Closing Point of the Position slot.

  • Exit the market at Moving Average;

Logical rules for Closing Logic Condition slot.

  • Moving Average rises;
  • Moving Average falls;
  • The bar closes below Moving Average;
  • The bar closes above Moving Average;

List box parameters

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

Numeric box parameters

  • Period (14). Moving Average period. Minimum: 1, Maximum: 200.
  • Shift (0). How many bars to shift with. Minimum: 0, Maximum: 200.

Implementation

C# source code: Moving Average.

MQL source code: Moving Average.