Are you looking for an edge in your trading? Meet the ForexProfitBoost_2nb_HTF_Signal indicator, designed to show you the trend direction or signals generated by the ForexProfitBoost_2nbSign indicator right at the selected bar. This handy tool not only visualizes market trends with colored arrows but also alerts you with audio signals when it’s time to act.
When the trend continues at your chosen bar, you'll see a right arrow pop up, colored to match the trend direction. If there’s a shift in the trend, the indicator will display a diagonal arrow, indicating both the color and direction of the trade you should consider.
Let’s break down the input parameters you need to know:
- ForexProfitBoost_2nb Input Parameters:
input string Symbol_=""; // Financial asset input ENUM_TIMEFRAMES Timeframe=PERIOD_H6; // Indicator timeframe for calculation //---- Moving Average 1 parameters input uint MAPeriod1=7; input ENUM_MA_METHOD MAType1=MODE_EMA; input ENUM_APPLIED_PRICE MAPrice1=PRICE_CLOSE; //---- Moving Average 2 parameters input uint MAPeriod2=21; input ENUM_MA_METHOD MAType2=MODE_SMA; input ENUM_APPLIED_PRICE MAPrice2=PRICE_CLOSE;
- Visualization Settings:
//---- 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 label names input color Upsymbol_Color=clrBlueViolet; // 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; // Displaying the indicator name input ENUM_BASE_CORNER WhatCorner=CORNER_RIGHT_UPPER; // Corner for symbol display input uint X_=0; // Horizontal offset input uint Y_=20; // Vertical offset
- Alert Settings:
//---- Alert settings input ENUM_ALERT_MODE alert_mode=OnlySound; // Indication trigger options input uint AlertCount=0; // Number of alerts
If you want to use multiple instances of the ForexProfitBoost_2nb_HTF_Signal on the same chart, make sure each has its own unique Symbols_Sirname (indicator label name) to avoid any confusion.
Before you dive in, ensure that you have the compiled indicator file ForexProfitBoost_2nbSign.mq5 placed in your <terminal_data_folder>\MQL5\Indicators\ directory.

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

Fig. 2. The ForexProfitBoost_2nb_HTF_Signal indicator. A signal for a deal
Comments 0