ColorPEMA_Digit_Trend_x10 - MetaTrader 5 Script - MT4/MT5 Resource

Indicator ColorPEMA_Digit_Trend_x10 shows the direction of the trend ColorPEMA_Digit indicator signals from ten different timeframes of the bar specified in the indicator input Trend continuation is shown by the right arrow, while reversal is shown by the diagonal upward or downward arrow.
//+------------------------------------------------------------------------+ //|Indicator input parameters | //+------------------------------------------------------------------------+ 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 field = 1 ; //Number of bars to receive signal (0 - current bar) //---- Parameters of ColorPEMA_Digit Enter double Emma length = 50.01 ; //smooth depth Enter Applied_price_IPC=PRICE_CLOSE_; //Price constant Enter unit number = 2 ; //Number of digits to round //----Indicator drawing 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 ; //No trend 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 ; // position corner Input unit Y_= 20 ; //Vertical position Input unit X_= 5 ; //Horizontal position
In order for this indicator to work, the colorPEMA_Number.ex5 indicator must be added toory>\MQL5\Indicators folder. To compile indicators, the file GetFontName.mqh must be available in the <Terminal Data Directory>\MQL5\Include folder.
The indicator uses classes of the library GetFontName.mqh (to be copied to terminal_data_directory\MQL5\Include).

Figure 1. Indicator ColorPEMA_Digit_Trend_x10
Attachment download
📎 ColorPEMA_Digit_Trend_x10.mq5 (26.61 KB)
📎 GetFontName.mqh (5.18 KB)
📎 SmoothAlgorithms.mqh (130.2 KB)
📎 ColorPEMA_Digit.mq5 (22.39 KB)
Source: MQL5 #23454
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •