forex software

Create and Test Forex Strategies

forex software

Sidebar

Indicator List

indicator:price_ma_relation

Table of Contents

Price MA Relation

FIXME

Parameters

Logical rules for Opening Logic Condition slot.

  • Bar price is higher than MA;
  • Bar price is lower than MA;

Logical rules for Closing Logic Condition slot.

  • Bar price is higher than MA;
  • Bar price is lower than MA;

List box parameters

  • MA base price (Close). Base price of the MA Options: Close.
  • MA method (Simple). Method for calculating the MA Options: Simple, Weighted, Exponential, Smoothed.
  • Bar reference price (Close). Bar reference price. Options: Open, High, Low, Close, Median, Typical, Weighted.

Numeric box parameters

  • MA period (13). Bars used for calculating the MA Minimum: 1, Maximum: 200.

Implementation

C# source code: Price MA Relation.

MQL source code: Price MA Relation.