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

Awesome_HTF_Signal - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

Awesome_HTF_Signal - indicator for MetaTrader 5

Awesome_HTF_Signal - indicator for MetaTrader 5

If the trend continues on the selected bar, the indicator will sound an alert through a graphical object in the form of a steering wheel, 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
Enter Smooth_Method XMA_Method= mode_SMA ; // Awesome histogram averaging method
Enter integer fast_XMA = 5 ; // fast moving average period
Input integer Slow_XMA = 34 ; // Slow moving average period
Input integer X phase = 100 ; // Average parameters of the moving average
3//---- 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 Smooth_Method Signal_Method= Mode_SMA ; // Signal line averaging method
Input integer signal _XMA= 5 ; // Period of signal line
Input integer signal phase = 100 ; // signal line parameters
//---- changes in the range of -100 ... +100,
//---- Affects the quality of the transition process;
Input application price_application price = PRICE_CLOSE ; // price constant

  • Indicator input parameters required for Awesome_HTF_Signal 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 Dodge Blue ; // 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
    
  • The input parameters of the Awesome_HTF_Signal indicator are necessary to generate alerts 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 Awesome_HTF_Signal indicators on a chart, each indicator should have its own Symbols_Sirname (indicator label name) string variable value.

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

    Awesome_HTF_Signal - indicator for MetaTrader 5

    Figure 1. Awesome_HTF_Signal indicator trend continuation signal

    Awesome_HTF_Signal - indicator for MetaTrader 5

    Figure 2. Awesome_HTF_Signal indicator trading signal


    Attachment download

    📎 awesome_htf_signal.mq5 (16.61 KB)

    📎 awesome_sign.mq5 (10.44 KB)

    📎 smoothalgorithms.mqh (130.19 KB)

    Source: MQL5 #14556

    Verification code Refresh