Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3098
Rating:
(6)
Published:
2018.06.18 15:11
TATR.mq5 (9.35 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Oscillator TATR (Tick Average True Range) represents a simplified ATR and is calculated as the mean value of True Range (TR). True Range can be found as the largest value of:

  1. The difference between the current High and the current Low;
  2. The difference between the current High and the previous Close (absolute value);
  3. The difference between the current Low aand the previous Close (absolute value).

Tick ​​True Range can be found as the difference between the current Close and the previous Close (absolute value)

The indicator has three input parameters:

  • Period - calculation period;
  • Method - calculation method;
  • Applied price - price used for calculations.

Calculations:

TATR[i] = Moving Average(AP, Period, Method)

where:

AP[i] = Abs(Price[i] - Price[i-1])

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20867

Exp_BrainTrend2_V2_Duplex Exp_BrainTrend2_V2_Duplex

Two identical trading systems based on the signals of BrainTrend2_V2, for long and short trades, which can be configured in different ways within one Expert Advisor.

AnalysisOnBars_HTF AnalysisOnBars_HTF

Indicator AnalysisOnBars with the timeframe selection option available in input parameters.

Volatility_Ratio Volatility_Ratio

Indicator Volatility_Ratio.

RSI_STARC RSI_STARC

RSI + STARC Bands (Stoller Average Range Channels).