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
Views:
2884
Rating:
(9)
Published:
2018.08.23 13:09
Updated:
2023.03.29 13:48
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Ang_Zad_C indicator applies additional smoothing of total values allowing users to avoid excessive indicator signals noise caused by false crossings of its moving averages.

//+----------------------------------------------+
//| Indicator inputs                             |
//+----------------------------------------------+
input double ki=4.000001;                        // Indicator smoothing ratio 
input Smooth_Method MA_SMethod=MODE_JJMA;        // Smoothing method
input uint MA_Length=7;                          // Smoothing depth                    
input int MA_Phase=15;                           // first smoothing parameter,
//---- For JJMA, changing within -100 ... +100, affects the transient process quality;
//---- For VIDIA this is CMO period, for AMA this is a slow average
input Applied_price_ IPC=PRICE_CLOSE_;           // price constant
input int PriceShift=0;                          // indicator vertical shift in points
input int Shift=0;                               // indicator horizontal shift in bars 

The indicator uses the classes of the SmoothAlgorithms.mqh library. Working with that class was described in details in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Fig. 1. XAng_Zad_C indicator

Fig. 1. XAng_Zad_C indicator

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

breakdown breakdown

At the beginning of a new day, the EA places pending Buy Stop and Sell Stop orders by High and Low of the previous day.

Differential_Average_By_Sultonov_Signal Differential_Average_By_Sultonov_Signal

Differential_Average_By_Sultonov_Signal indicator shows information on the current trend using the values of the Differential_Average_By_Sultonov indicator with a fixed timeframe.

AMA three timeframes AMA three timeframes

The indicator is displayed using three horizontal lines of iAMA (Adaptive Moving Average, AMA) indicator from three different timeframes.

CandleStop_System CandleStop_System

The indicator paints candles going beyond the CandleStop channel.