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

Smoothed_ADX - indicator for MetaTrader 5

Views:
8002
Rating:
(15)
Published:
2019.02.07 09:00
Smoothed_ADX.mq5 (13.18 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This indicator is the smoothed standard indicator Average Directional Movement Index.

It has five adjustable parameters:

  • Period - ADX calculation period
  • Primary smoothing factor - primary factor of smoothing
  • Secondary smoothing factor - secondary factor of smoothing
  • Strong trend level - level of a strong trend
  • Weak trend level - level of a weak trend

Calculations:

SDIP = Secondary smoothing factor * DIPtmp + (1.0 - Secondary smoothing factor) * PrevSDIP
SDIM =Secondary smoothing factor * DIMtmp + (1.0 - Secondary smoothing factor) * PrevSDIM
SADX = Secondary smoothing factor * ADXtmp + (1.0 - Secondary smoothing factor) * PrevSADX

where:

DIPtmp = 2.0 * DMIplus + (Primary smoothing factor - 2.0) * PrevDMIplus + (1.0 - Primary smoothing factor) * PrevDIPtmp
DIMtmp = 2.0 * DMIminus + (Primary smoothing factor - 2.0) * PrevDMIminus + (1.0 - Primary smoothing factor) * PrevDIMtmp
ADXtmp = 2.0 * ADX + (Primary smoothing factor - 2.0) * PrevADX + (1.0 - Primary smoothing factor) * PrevADXtmp
DMIplus, DMIminus - DMI+ и DMI-
ADX - Directional Movement Index(Period)


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

MACD_Osmax MACD_Osmax

Indicator MACD OsmaX

Wide_Narrow_Spread Wide_Narrow_Spread

Indicator Wide/Narrow Spread bar

RSI_Rendiment RSI_Rendiment

Indicator RSI Rendiment

Ilan iMA Ilan iMA

Ilan based on indicator iMA (Moving Average, MA)