The Heiken Ashi Smoothed HTF Signal is a fantastic tool for gauging trend directions in your trading. This indicator takes cues from the latest bars of the Heiken Ashi Smoothed to present a clear visual representation of market trends. The color coding makes it easy to spot opportunities: red signals a downward trend, while lime indicates an upward movement.
Indicator Input Parameters:
You can customize the timeframe and the financial asset for the indicator through its input parameters. If you leave the Symbol_ parameter blank, the indicator will default to the current chart symbol.
All input parameters can be categorized into two main groups:
- Heiken Ashi Smoothed Indicator Input Parameters:
//+-----------------------------------+ //| Indicator input parameters | //+-----------------------------------+ input string Symbol_=""; // Financial asset input ENUM_TIMEFRAMES Timeframe=PERIOD_H6; // Timeframe for the indicator calculation input Smooth_Method hMA_Method=MODE_JJMA; // Smoothing method input int hLength=30; // Smoothing depth input int hPhase=100; // Smoothing parameter
- Heiken Ashi Smoothed HTF Signal Indicator Input Parameters:
//---- indicator display settings input string Symbols_Sirname="Heiken_Ashi_Label_"; // Indicator labels names input uint BarTotal=4; // Number of displayed bars input color UpSymbol_Color=Lime; // Growth symbol color input color DnSymbol_Color=Red; // Downfall symbol color input color IndName_Color=DarkOrchid; // Indicator name color input uint Symbols_Size=34; // Signal symbols size input uint Font_Size=15 // Indicator name font size input int Xn=5 // Horizontal shift of the name input int Yn=-20 // Vertical shift of the name input bool ShowIndName=true // Indicator name display input ENUM_BASE_CORNER WhatCorner=CORNER_RIGHT_UPPER; // Location corner input uint X_=0; // Horizontal shift input uint Y_=30 // Vertical shift
If you're planning to use multiple Heiken Ashi Smoothed HTF Signal indicators on the same chart, make sure each has a unique Symbols_Sirname value to avoid any mix-ups.
To install the Heiken Ashi Smoothed indicator, simply place the compiled file into the terminal_data_folder\MQL5\Indicators directory.
Additionally, the indicators utilize the SmoothAlgorithms.mqh library classes, which you’ll need to copy into the terminal_data_folder\MQL5\Include. For a deeper understanding of these classes, check out the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Related Posts
- Mastering the Open Range Breakout Indicator for MetaTrader 5
- ID Lite Info MA: A Comprehensive Indicator for MetaTrader 5
- Unlocking Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
- Unlock Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
- Mastering OsMA with Ring Buffer: A Guide for MetaTrader 5 Traders