Watch how to download trading robots for free
Find us on Facebook!
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
Indicators

EMA_With_Trend_Adjustment - indicator for MetaTrader 5

Views:
3149
Rating:
(5)
Published:
2018.07.13 15:33
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

EMA_With_Trend_Adjustment - a moving average with exponential smoothing and correction by its trend component.

The indicator has four configured parameters:

  • Alpha - coefficient to calculate EMA;
  • Beta - coefficient to calculate the trend component;
  • Use Trend Adjustment - whether to use correction by trend (Yes/No);
  • Applied price - price used for calculations.

Calculations:

EMATA = Alpha * Price + (1-Alpha) * (PrevEMATA + Trend)
Trend = Beta * (EMATA - PrevEMATA) + (1 - Beta) * PrevTrend

where:

Price - SMA(1, Applied price)

Fig 1. Trend component is not used.

Fig 1. Trend component is not used.

Fig. 2. Trend component is used.

Fig. 2. Trend component is used.

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

DI_Cluster DI_Cluster

Indicator DI_Cluster represents three indicators ADX with different parameters. Unlike standard ADX, the threshold levels of DI Cluster are not constant, but are determined by the intersections of three indicator lines. You can choose any of the three lines of standard ADX to be displayed: ADX trend strength lines themselves and line +DI or -DI.

CI CI

Indicator CI (Congestion Identifier). It displays within how many bars before the current one the price was within the channel formed by the Close price of the current bar +/- Delta in points. It also displays the counter value threshold level and the marks, in which the counter is above or below that level.

EURX EURX

Indicator EURX displays index EUR.

FIR FIR

Indicator FIR is a symmetrically weighted filter (Finite Impulse Response Filter).