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

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

author blogger | 490 reads | 0 comments |

METRO_HTF_Signal - indicator for MetaTrader 5

METRO_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 circular steering wheel, the color of which corresponds to the direction of the trend. If the trend of the selected bar changes, the indicator will signal by displaying a diagonal arrow. Its color and orientation correspond to the direction of trade.

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 unit period RSI= 7 ; // indicator period
Enter unit step size fast = 5 ; // fast step
Input unit step size slow = 15 ; // slow step

  • METRO_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= clear 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 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
    
  • Input parameters of the METRO_HTF_Signal indicator required to generate alarms and audio signals:
     //---- Alarm settings
    Enter ENUM_ALERT_MODEalert_mode=OnlySound; // Trigger indication options
    Input unit alarm count = 0 ; //Number of alarms generated
    
  • If you want to use multiple METRO_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 METRO_Sign.mq5. Place it in <terminal data folder>\MQL5\Indicators\.

    METRO_HTF_Signal - indicator for MetaTrader 5

    Figure 1. METRO_HTF_Signal indicator trend continuation signal

    METRO_HTF_Signal - indicator for MetaTrader 5

    Figure 2. METRO_HTF_Signal indicator trading signal


    Attachment download

    📎 metro_sign.mq5 (9.04 KB)

    📎 metro_htf_signal.mq5 (14.33 KB)

    Source: MQL5 #14704

    Refresh