JMACandleTrend – indicator MetaTrader 5

Semaphore signal indicator triggering when the JMACandle candles change their direction.

//+----------------------------------------------+
//|  INDICATOR INPUTS                            |
//+----------------------------------------------+
input Smooth_Method MA_Method1=MODE_JJMA;              //smoothing method
input int Length1=30;                                  //smoothing depth                    
input int Phase1=15;                                   //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 uint Gap=10;                                     //not considered gap in points
input uint BuySymb=171;                                //Buy symbol
input uint SellSymb=171;                               //Sell symbol

To replace the values of the two last inputs, use the Wingdings font symbols table.

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

Alternative:   Astro Indicators - indicator MetaTrader 5


Fig. 1. JMACandleTrend indicator


https://www.mql5.com/ru/code/22560

📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks