Home Technical Indicator Post

Master the Market with Trend Arrows HTF Signal for MetaTrader 5

Attachments
15558.zip (6.84 KB, Download 0 times)

If you’re looking for a reliable way to gauge market trends, the Trend Arrows HTF Signal indicator for MetaTrader 5 might just be your new best friend. This nifty tool shows you the direction of the trend or gives you a signal to enter a trade, based on the Trend Arrows indicator, all displayed as a graphic object with color-coded trend indications and trade direction.

When the trend continues at your selected bar, you’ll see a right arrow appear, colored to reflect the current trend. Conversely, if the trend shifts at that bar, the indicator will display a diagonal arrow, with its color and direction signaling the new trade direction.

Here’s a quick breakdown of the input parameters you’ll want to know:

  1. Trend Arrows Indicator Input Parameters:
    //+------------------------------------------------+
    //|  Indicator input parameters                    |
    //+------------------------------------------------+
    input string Symbol_="";                               // Financial asset
    input ENUM_TIMEFRAMES Timeframe=PERIOD_H6;             // Indicator timeframe for calculation
    input uint iPeriod=15;                                 // Indicator period
    input uint iFullPeriods=1;
  2. Visualization Input Parameters:
    //---- indicator display settings
    input uint SignalBar=0;                                // Bar number for getting a signal (0 - current bar)
    input string Symbols_Sirname=INDICATOR_NAME"_Label_";  // Indicator labels names
    input color Upsymbol_Color=clrBlue;                    // Uptrend symbol color
    input color Dnsymbol_Color=clrRed;                     // Downtrend symbol color
    input color IndName_Color=clrDarkOrchid;               // Indicator name color
    input uint Symbols_Size=60;                            // Signal symbols size
    input uint Font_Size=10;                               // Indicator name font size
    input int X_1=5;                                       // Horizontal name offset
    input int Y_1=-15;                                     // Vertical name offset
    input bool ShowIndName=true;                           // Display the indicator name
    input ENUM_BASE_CORNER  WhatCorner=CORNER_RIGHT_UPPER; // Display corner
    input uint X_=0;                                       // Horizontal offset
    input uint Y_=20;
  3. Alert and Audio Signal Parameters:
    //---- alerts settings
    input ENUM_ALERT_MODE alert_mode=OnlySound;  // Indicator triggering option
    input uint AlertCount=0;                     // Number of generated alerts
    

If you’re planning to use multiple Trend Arrows HTF Signal indicators on one chart, be sure to assign a unique Symbols_Sirname (indicator label name) for each one to avoid any confusion.

To get started, simply place the compiled file trend_arrows.mq5 into the terminal_data_folder/MQL5/Indicators/ directory of your client terminal.

Fig.1. trend_arrows_HTF_Signal. Signal of trend continuation

Fig.1. trend_arrows_HTF_Signal. Signal of trend continuation

Fig.2. trend_arrows_HTF_Signal. Signal for a deal

Fig.2. trend_arrows_HTF_Signal. Signal for a deal

Related Posts

Comments (0)