JMACandleTrend_x10 - MetaTrader 5 Script - MT4/MT5 Resources

JMACandleTrend_x10 Displays directional JMAC candles indicator signals from ten different timeframes of the bars defined in the indicator input parameters. Trend continuation is shown by the right arrow, while reversal is shown by the diagonal up or down arrow.
//+------------------------------------------------------------------------+ //|Indicator input | //+------------------------------------------------------------------------+ Input ENUM_TIMEFRAMES time range 0= PERIOD_H1 ; //Chart 1 period Input ENUM_TIMEFRAMES time range 1= PERIOD_H2 ; //Figure 2 period Input ENUM_TIMEFRAMES time range 2= PERIOD_H3 ; //Figure 3 period Input ENUM_TIMEFRAMES time range 3= PERIOD_H4 ; //Figure 4 period Input ENUM_TIMEFRAMES time range 4= PERIOD_H6 ; //Figure 5 period Input ENUM_TIMEFRAMES time range 5= PERIOD_H8 ; //Figure 6 period Input ENUM_TIMEFRAMES time range 6= PERIOD_H12 ; //Figure 7 period Input ENUM_TIMEFRAMES time range 7= PERIOD_D1 ; //Figure 8 period Input ENUM_TIMEFRAMES time range 8= PERIOD_W1 ; //Figure 9 period Input ENUM_TIMEFRAMES time range 9= PERIOD_MN1 ; //Chart 10 periods Input unit signal column = 1 ; //Bar index to receive signal (0 - current bar) //---- JMACandleTrend parameters Input integer J length = 30 ; //smoothing depth Input integer J phase = 15 ; // average 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 //----Indicator display parameters Input color CP color = clr blue-violet ; //Indicator name color Input color buy color = clr dodge blue ; // buy signal color Input color color = clr medium blue ; //Uptrend continuation color Input color Nn color = gray gray ; //Plane color Input color DN color = clr purple ; //Downtrend continuation color Input color sales color = magenta ; // sell signal color Input integer font size = 15 ; //font size Input type_font FontType=Font14; //Font type Input ENUM_BASE_CORNER what corner = corner lower left corner ; // corner Input unit Y_= 20 ; //Vertical position Input unit X_= 5 ; //Horizontal position
This indicator requires JMA.ex5 androng>JMACandle.ex5 operating indicator. place them in

Figure 1. JMACandleTrend_x10 indicator
Attachment download
📎 jma.mq5 (23.63 KB)
📎 jmacandle.mq5 (14.58 KB)
📎 jmacandletrend_x10.mq5 (25.34 KB)
📎 getfontname.mqh (5.18 KB)
Source: MQL5 #22567
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •