Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

HullTrend_HTF_Signal - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 2 reads | 0 comments |

HullTrend_HTF_Signal - indicator for MetaTrader 5

HullTrend_HTF_Signal - indicator for MetaTrader 5

If the trend continues on the selected bar, the indicator will show a right arrow. Its color corresponds to the trend direction. 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:

 Enter string symbol_= ”” ; // Financial assets
Input ENUM_TIMEFRAMES time range = PERIOD_H6 ; // Calculate indicator time range

Input unit X length = 20 ; // indicator period
Input application_price_IPC= PRICE_CLOSE ; // indicator price
Input Smooth_Method XMA_Method= Mode_LWMA ; //Method for averaging
Input integer X phase = 15 ; // average parameter
//--- XPhase: For JJMA, it varies in the range -100 ... +100 and affects the quality of the transient period;
Input unit X length 1= 5 ; // Smoothing period
Enter Smooth_Method XMA_Method1=MODE_JJMA; // Smoothing method
Input integer X stage 1 = 100 ; // smoothing parameter
//--- XPhase: For JJMA, it varies in the range -100 ... +100 and affects the quality of the transient period;
  • HullTrend_HTF_Signal indicator input parameters required for indicator visualization:
    //----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 blue-purple ; // Uptrend symbol color
    Input color Dnsymbol_Color= magenta ; // 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 display name = true ; // indicator name display
    Input ENUM_BASE_CORNER what corner = CORNER_RIGHT_UPPER ; // Display corner points
    Input unit X_= 0 ; // Horizontal offset
    Input unit Y_= 20 ; // vertical offset
    
  • HullTrend_HTF_Signal indicator input parameters required to trigger alarms and audio signals:
     //---- Alarm settings
    Enter ENUM_ALERT_MODEalert_mode=OnlySound; // Indicate trigger options
    Input unit alarm count = 0 ; // number of alarms
  • If you want to use multiple HullTrend_HTF_Signal indicators on one chart, each indicator should have its own Symbols_Sirname (indicator label name) string variable value.

    This indicator requires the compiled indicator file HullTrendSign.mq5. Place it in <terminal data folder>\MQL5\Indicators\.

    HullTrend_HTF_Signal - indicator for MetaTrader 5

    Figure 1. HullTrend_HTF_Signal. Trend continuation signal

    HullTrend_HTF_Signal - indicator for MetaTrader 5

    Figure 2. HullTrend_HTF_Signal indicator. signal to close a deal


    Attachment download

    📎 hulltrendesign.mq5 (10.02 KB)

    📎 hulltrend_htf_signal.mq5 (16.59 KB)

    📎 smoothalgorithms.mqh (130.19 KB)

    Source: MQL5 #12831

    Verification code Refresh