The MAMA_HTF_Signal indicator is a powerful tool that helps traders identify trend directions or signals generated by the MAMASign indicator. It presents this information visually with colored arrows that indicate the current trend or potential trade direction. Plus, it can alert you with sound notifications when conditions change.
When the trend continues at the selected bar, you'll see a right arrow appear, with its color reflecting the trend direction. Conversely, if the trend shifts, an arrow will show up, indicating the new direction of the trade.
Understanding the Input Parameters
There are three main categories of input parameters to get familiar with:
- MAMASign Input Parameters:
input string Symbol_=""; // Financial instrument input ENUM_TIMEFRAMES Timeframe=PERIOD_H6; // Indicator timeframe for calculation input double FastLimit = 0.5; input double SlowLimit = 0.05; input double Applied_price_ IPC=PRICE_CLOSE_; // Price constant
- Visualization Parameters for MAMA_HTF_Signal:
//---- Indicator visualization settings input uint SignalBar=0; // Bar number for getting a signal (0 is the current bar) input string Symbols_Sirname=INDICATOR_NAME"_Label_"; // Indicator labels names input color UpSymol_Color=Lime; // Uptrend symbol color input color DnSymol_Color=Magenta; // Downtrend symbol color input color IndName_Color=DarkOrchid; // 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;// The corner in which to display the symbol input uint X_=0; // Horizontal offset input uint Y_=20; // Vertical offset
- Alert and Audio Signal Settings:
//---- Alerts settings input ENUM_ALERT_MODE alert_mode=OnlySound; // Option of triggering the indication input uint AlertCount=0; // The number of alerts
If you plan on using multiple MAMA_HTF_Signal indicators on one chart, make sure each has a unique Symbols_Sirname (indicator label names) to avoid confusion.
To get started, simply place the compiled indicator file, MAMASign.mq5, into your <terminal_data_folder>\MQL5\Indicators\ directory.

Fig. 1. The MAMA_HTF_Signal indicator. A signal of trend continuation

Fig. 2. The MAMA_HTF_Signal indicator. A signal for a deal
Related Posts
- Unlocking MetaCOT 2: Your Ultimate CFTC Indicator Toolkit for MT4
- Unlocking the Power of Master Tools for MetaTrader 4
- Hourly Buffers for Data Collection in MetaTrader 5: A Simple Guide
- Unlock Trading Success with the iStochKomposter_HTF_Signal Indicator for MetaTrader 5
- Maximize Your Trading Strategy with the Stalin_HTF_Signal Indicator for MetaTrader 5