Home Technical Indicator Post

Unlocking Trend Insights with the ADXCrossing_HTF_Signal Indicator for MetaTrader 5

Attachments
13093.zip (5.86 KB, Download 0 times)

Hey traders! Today, we’re diving into the ADXCrossing_HTF_Signal indicator, a powerful tool for identifying trend directions. This nifty indicator visualizes signals generated by the ADXCrossing indicator on your MetaTrader 5 platform. It does this by displaying arrows that indicate the trend direction, along with alerts and audio signals to keep you in the loop.

When the trend is strong at your selected bar, you’ll see a right arrow pop up, colored to match the trend direction. On the flip side, if the trend shifts, you’ll notice a diagonal arrow, reflecting both the color and direction of the new trade signal.

Understanding the Input Parameters

All the input parameters for this indicator can be categorized into three main groups:

  1. ADXCrossing Indicator Input Parameters:
    input string Symbol_=""; // Financial asset
    input ENUM_TIMEFRAMES Timeframe=PERIOD_H6; // Timeframe for indicator calculation
    input uint ADXPeriod=50;
    
  2. 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 labels names
    input color Upsymbol_Color=clrLime; // Uptrend symbol color
    input color Dnsymbol_Color=clrMagenta; // 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; // Location corner
    input uint X_=0; // Horizontal offset
    input uint Y_=20; // Vertical offset
    
  3. Alert Settings:
    //---- alerts settings
    input ENUM_ALERT_MODE alert_mode=OnlySound; // Triggering option
    input uint AlertCount=0; // Number of alerts
    

If you’re planning to use multiple ADXCrossing_HTF_Signal indicators on a single chart, make sure each one has its distinct Symbols_Sirname value to avoid any confusion.

Don’t forget, you’ll need the compiled indicator file ADXCrossing.mq5 for this setup. Just place it in your <terminal_data_folder>\MQL5\Indicators\ directory.

Fig.1. ADXCrossing_HTF_Signal. Signal of trend continuation

Fig.1. ADXCrossing_HTF_Signal. Signal of trend continuation

Fig.2. The ADXCrossing_HTF_Signal indicator. Signal for trade

Fig.2. The ADXCrossing_HTF_Signal indicator. Signal for trade

Related Posts

Comments (0)