forex software

Create and Test Forex Strategies

forex software

Sidebar

Indicator List

indicator:average_true_range

Table of Contents

Average True Range

FIXME

Parameters

Logical rules for Opening Logic Condition slot.

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

Logical rules for Closing Logic Condition slot.

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

List box parameters

  • Smoothing method (Simple). The Moving Average method used for smoothing the ATR. Options: Simple, Weighted, Exponential, Smoothed.
  • Base price (Bar range). ATR uses the range of the current bar Options: Bar range.

Numeric box parameters

  • Smoothing period (14). The period of ATR smoothing. Minimum: 1, Maximum: 200.
  • Level [points] (100). A critical level in points(for the appropriate logic). Minimum: 0, Maximum: 2000.

Implementation

C# source code: Average True Range.

MQL source code: Average True Range.