JMACandleTrend - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

The JMAC candle changes direction when the semaphore signal indicator triggers.
//+------------------------------------------------------------------------+ //| Indicator input | //+------------------------------------------------------------------------+ Enter Smooth_Method MA_Method1=MODE_JJMA; //Smoothing method Input integer length 1= 30 ; //Smoothing depth Input integer stage 1= 15 ; //smoothing parameter, //---- For JJMA, it changes within the range of -100...+100, which affects the quality of the transient process; //---- For VIDIA this is the CMO period, for AMA this is a slow average Input unit gap = 10 ; //Do not consider integral gap Enter unit purchase symbol = 171 ; //Buy symbol Enter Unit Sales Symbol = 171 ; //Sell Symbol
To replace the last two entered values, use the Wingdings font symbol table.
The indicator uses SmoothAlgorithms.mqh library class (copy it to

Figure 1. JMACandleTrend indicator
Attachment download
📎 JMACandleTrend.mq5 (18.63 KB)
📎 SmoothAlgorithms.mqh (130.2 KB)
Source: MQL5 #22560
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •