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


If the trend continues on the selected bar, the indicator will alert via a graphical object in the form of a right arrow, the color of which corresponds to the direction of the trend. If the trend of the selected bar has changed, the indicator displays diagonal arrows. Its color and direction correspond to the trading direction.
All input parameters can be divided into three major groups:
//+------------------------------------------------+ //| Indicator input parameters | //+------------------------------------------------+ Enter string symbol_= ”” ; // Financial assets Input ENUM_TIMEFRAMES time range = PERIOD_H6 ; // Calculate indicator time range Input Smooth_Method MA_Method1=MODE_SMA_; // Price smoothing method Input integer length 1= 12 ; // price smoothing depth Input integer stage 1= 15 ; // price smoothing parameter, //---- For JJMA in the range of -100 ... +100, it will affect the quality of the transition process; //----For VIDIA, it is the CMO cycle, for AMA, it is the slow average cycle Input Smooth_Method MA_Method2=MODE_JJMA; // Smoothing method Input integer length 2= 5 ; // smoothing depth Input integer stage 2 = 15 ; // smoothing parameter, //---- For JJMA in the range of -100 ... +100, it will affect the quality of the transition process; //----For VIDIA, it is the CMO cycle, for AMA, it is the slow average cycle Enter Applied_price_IPC=PRICE_CLOSE_; // Apply price
//----Indicator display settings Enter the unit signal column = 0 ; // Number of bars to get the signal from (0 - current bar) Input stringSymbols_Sirname =INDICATOR_NAME "_label_" ; // Indicator label name Input color Upsymbol_Color= clr Dodge Blue ; // Uptrend symbol color Input color Dnsymbol_Color= clr dark pink ; // Downtrend symbol color Input color IndName_color = clr dark orchid ; // indicator name color Input unit symbol_size = 60 ; // signal symbol size Input unit font size = 10 ; // Indicator name font size Input integer X_1= 5 ; // Horizontal name offset Input integer Y_1=- 15 ; // Vertical name offset input boolean displayname = true ; // display indicator name Input ENUM_BASE_CORNER what corner = CORNER_RIGHT_UPPER ; // Display corner points Input unit X_= 0 ; // Horizontal offset Input unit Y_= 20 ; // vertical offset
//---- Alarm settings Enter ENUM_ALERT_MODEalert_mode=OnlySound; // indicator trigger options Input unit alarm count = 0 ; //Number of alarms generated
If you want to use multiple XDPO_HTF_Signal indicators on one chart, each indicator should have its own Symbols_Sirname (indicator label name) string variable value.
Place the indicator compiled file XDPO_Sign.mq5 into terminal_data_folder\MQL5\Indicators\ of the client.

Figure 1. XDPO_HTF_ signal. Trend continuation signal

Figure 2. XDPO_HTF_ signal. signal to close a deal
Attachment download
📎 SmoothAlgorithms.mqh (130.2 KB)
📎 XDPO_HTF_Signal.mq5 (16.89 KB)
📎 XDPO_Sign.mq5 (10.22 KB)
Source: MQL5 #15339
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •