Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

EMAVFS - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

EMAVFS - indicator for MetaTrader 5

Real author : Stanislav Brashev

Exponential moving average with variable smoothing factor.

 //+------------------------------------------------+
//| Indicator input parameters
//+------------------------------------------------+
Enter double the minimum power = 0 ; // minimum sensitivity
Enter double the maximum power = 5 ; // maximum sensitivity
Enter double factor = 1.01 ; // Factor E (changes the values ​​of the tenth and hundredth shares to be closer to 1)
Enter factor of double = 1.001 ; // Degree A (changes the values ​​of the tenth and hundredth strands to be closer to 1)
Enter Applied_price_IPC=PRICE_CLOSE_; // price constant
Enter integer shift = 0 ; // horizontal movement of the indicator in bars
Input integer price movement = 0 ; // vertical movement of the indicator in points
//+------------------------------------------------+

This indicator is compiled into both an MQL5 indicator and an MQL4 indicator, so the extension of the indicator code should be changed to mq4, placing the code in \MQL4\Indicators and compile using the relevant code editor.

EMAVFS - indicator for MetaTrader 5

Figure 1. Indicator EMAVFS


Attachment download

📎 emavfs.mq5 (17.37 KB)

Source: MQL5 #20697

Verification code Refresh