Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 3235
- Rating:
- Published:
- 2018.06.16 10:59
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author: Stanislav Bulashev
Exponential moving average with a variable smoothing factor.
//+-----------------------------------+ //| INDICATOR INPUT PARAMETERS | //+-----------------------------------+ input double Wmin=0; // minimum sensitivity input double Wmax=5; // maximum sensitivity input double Efactor=1.01; // factor E (change the value near one for the tenth and hundredth shares) input double Afactor=1.001; // degree A (change the value near one for the tenth and hundredth shares) input Applied_price_ IPC=PRICE_CLOSE_; // price constant input int Shift=0; // horizontal shift of the indicator in bars input int PriceShift=0; // vertical shift of the indicator in points //+-----------------------------------+
This indicator is compiled as both an MQL5 indicator and an MQL4 indicator, for which the extension of the indicator code should be changed for mq4, place the code in <terminal_data_directory MetaTrader4>\MQL4\Indicators, and compile it using the relevant code editor.
Fig.1. Indicator EMAVFS
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20697

The Coppock Indicator of Bullish Signals.

Average Modified Moving Average.