Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

BinaryWave_HTF_Signal - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 5 reads | 0 comments |

BinaryWave_HTF_Signal - indicator for MetaTrader 5

BinaryWave_HTF_Signal - indicator for MetaTrader 5

If the trend continues on the selected bar, the indicator will show a right arrow. Its color corresponds to the trend direction. If the trend of the selected bar has changed, the indicator displays diagonal arrows. Its color and orientation correspond to the direction of trade.

All input parameters can be divided into three major groups:

Enter string symbol_= ”” ; // Financial assets
Input ENUM_TIMEFRAMES time range = PERIOD_H6 ; // time range for indicator calculation
//--- indicator weight. If zero, the indicator does not participate in wave calculations
Enter double the weight MA = 1.0 ; Enter double the weight MACD = 1.0 ; Enter double the weight OsMA = 1.0 ; Enter double the weight CCI = 1.0 ; Enter double the weight MAMA = 1.0 ; Enter double the weight RSI = 1.0 ; Enter double the weight ADX = 1.0 ; //---- Moving average parameters
Input Integer MAP Period = 13 ; Input ENUM_MA_METHOD MA Type = Mode_EMA ; Input ENUM_APPLIED_PRICE Average Price = PRICE_CLOSE ; //---- MACD Parameters
Enter an integer fast MACD = 12 ; enter an integer slow MACD = 26 ; enter an integer signal MACD = 9 ; enter ENUM_APPLIED_PRICE price MACD = PRICE_CLOSE ; //---- OsMA parameters
Enter integer fast period = 12 ; enter integer slow period = 26 ; enter integer signal period = 9 ; enter ENUM_APPLIED_PRICE OsMA price = PRICE_CLOSE ; //---- CCI parameters
Enter integer CCIP period = 14 ; enter ENUM_APPLIED_PRICE CCI price = PRICE_MEDIAN ; //---- Momentum parameter
Input integer MOM period = 14 ; Input ENUM_APPLIED_PRICE MOM price = PRICE_CLOSE ; //---- RSI parameter
Enter integer RSIP period = 14 ; enter ENUM_APPLIED_PRICE RSI price = PRICE_CLOSE ; //---- ADX parameter
Input integer ADXP period = 14 ; //---- wave smoothing
Enter Smooth_Method bMA_Method=MODE_JJMA; // Average method
Input integer b length = 5 ; // smoothing depth
Input integer bPhase= 100 ; // Smoothing parameter // For JJMA, it changes in the range of -100 ... +100 and affects the quality of the transient process;
  • BinaryWave_HTF_Signal indicator input parameters required for indicator visualization:
     //----Indicator display settings
    Enter the unit signal column = 0 ; // Number of bars to get the signal from (0 - current bar)
    Input stringSymbols_Sirname =INDICATOR_NAME "_label_" ; // Indicator label name
    Input color Upsymbol_Color= lime green ; // Uptrend symbol color
    Input color Dnsymbol_Color= magenta ; // Downtrend symbol color
    Input color IndName_color = clr dark orchid ; // indicator name color
    Input unit symbol_size = 60 ; // signal symbol size
    Input unit font size = 10 ; // Indicator name font size
    Input integer X_1= 5 ; // Horizontal name offset
    Input integer Y_1=- 15 ; // Vertical name offset
    input boolean displayname = true ; // display indicator name
    Input ENUM_BASE_CORNER what corner = CORNER_RIGHT_UPPER ; // position angle
    Input unit X_= 0 ; // Horizontal offset
    Input unit Y_= 20 ; // vertical offset
    
  • BinaryWave_HTF_Signal indicator input parameter is required to trigger alerts and audio signals:
     //---- Alarm settings
    Enter ENUM_ALERT_MODEalert_mode=OnlySound; // Trigger options
    Input unit alarm count = 0 ; // number of alarms
    
  • If you want to use multiple BinaryWave_HTF_Signal indicators on one chart, each indicator should have its own Symbols_Sirname (indicator label name) string variable value.

    This indicator requires the compiled indicator file BinaryWaveSign.mq5. Place it in <terminal data folder>\MQL5\Indicators\.

    BinaryWave_HTF_Signal - indicator for MetaTrader 5

    Figure 1. BinaryWave_HTF_Signal. Trend continuation signal

    BinaryWave_HTF_Signal - indicator for MetaTrader 5

    Figure 2. BinaryWave_HTF_Signal indicator. trading signals


    Attachment download

    📎 binarywavesign.mq5 (16.74 KB)

    📎 binarywave_htf_signal.mq5 (16.65 KB)

    📎 smoothalgorithms.mqh (130.19 KB)

    Source: MQL5 #12997

    Verification code Refresh