Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2016.02.09 09:17
XDidi_Index

XDidi_Index - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
743
Rating:
votes: 14
\MQL5\Include\

Real author:

Rudinei Felipetto

Description:

The Didi needles indicator with the advanced customization settings of the moving averages used in its calculations.

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input Smooth_Method Curta_Method=MODE_SMA; // Curta Averaging method
input uint Curta=3; // Curta Depth of smoothing
input int CPhase=15; // Curta Smoothing parameter
//--- for JJMA it varies within the range -100 ... +100 and influences the quality of the transient period;
//--- for VIDIA it is a CMO period, for AMA it is a slow average period
//--- 
input Smooth_Method Media_Method=MODE_SMA; // Media Averaging method
input uint Media=8; // Media Depth of smoothing
input int MPhase=15; // Media Smoothing parameter
//--- for JJMA it varies within the range -100 ... +100 and influences the quality of the transient period;
//--- for VIDIA it is a CMO period, for AMA it is a slow average period
input Smooth_Method Longa_Method=MODE_SMA; // Longa Averaging method
input uint Longa=20; // Longa Depth of smoothing
input int LPhase=15; // Longa Smoothing parameter
//--- for JJMA it varies within the range -100 ... +100 and influences the quality of the transient period;
//--- for VIDIA it is a CMO period, for AMA it is a slow average period
input Applied_price_ IPC=PRICE_CLOSE;    // Price constant
input bool  Revers=false;  // Chart inversion relative to the time axis

The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Image:

Figure 1. The XDidi_Index and XDidi_Index_Cloud indicators

Figure 1. The XDidi_Index and XDidi_Index_Cloud indicators

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14655

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.