The AroonHorn_HTF_Signal is a powerful tool for traders using MetaTrader 5, helping you identify trend directions and making informed trading decisions. This indicator works by generating signals based on the AroonHornSign and visually represents these signals on your chart, complete with alerts and audio notifications when it’s time to make a move in the market.
When a trend is ongoing at the selected bar, the indicator displays a right arrow, with its color indicating the trend direction. If the trend shifts, you’ll see a diagonal arrow that reflects the new trading direction.
Key Input Parameters
All input parameters for the AroonHorn_HTF_Signal can be categorized into three main groups:
- AroonHornSign Input Parameters:
//+------------------------------------------------+ //| Indicator Input Parameters | //+------------------------------------------------+ input string Symbol_=""; // Financial asset input ENUM_TIMEFRAMES Timeframe=PERIOD_H6; // Indicator timeframe for calculation input uint AroonPeriod= 9; // Indicator period
- Visualization 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 label names input color Upsymbol_Color=clrLimeGreen; // Uptrend symbol color input color Dnsymbol_Color=clrCrimson; // 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; // Vertical offset
- Alert and Notification Settings:
//---- Alerts Settings input ENUM_ALERT_MODE alert_mode=OnlySound; // Indicator triggering option input uint AlertCount=0; // Number of generated alerts
If you’re using multiple AroonHorn_HTF_Signal indicators on one chart, make sure each has its own Symbols_Sirname (indicator label name) to avoid any mix-ups.
To get started, you’ll need to place the compiled file AroonHornSign.mq5 into the terminal_data_folder/MQL5/Indicators/ directory of your trading platform.

Fig.1. AroonHorn_HTF_Signal. Signal of trend continuation

Fig.2. AroonHorn_HTF_Signal. Signal for a deal
Comments 0