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

BykovTrend_HTF_Signal - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

BykovTrend_HTF_Signal - indicator for MetaTrader 5

BykovTrend_HTF_Signal - indicator for MetaTrader 5

BykovTrend_HTF_Signal displays the trend direction or a signal for executing trades generated by the BykovTrend indicator on the selected bar as a graphical object with a colored trend indication or trade direction and sends an alert or audio signal at the moment of entry.

If the trend continues on the selected bar, the indicator will alert via a graphical object in the form of a right arrow, the color of which corresponds to the direction of the trend. If the trend on the selected bar changes, the indicator will alert with an arrow, color and direction corresponding to the direction of the executed trade.

All input parameters can be divided into three major groups:

 //+------------------------------------------------+
//| Indicator input parameters |
//+------------------------------------------------+
Enter string symbol_= ”” ; // Financial assets
Input ENUM_TIMEFRAMES time range = PERIOD_H6 ; // Indicator time range for indicator calculation
Enter integer Risk = 3 ; Enter Integer SSP = 9 ;
  • Indicator input parameters required for BykovTrend_HTF_Signal indicator visualization:

     //----Indicator display settings
    Input unit signal column = 0 ; // Signal bar index, 0 is the current bar
    Input stringSymbols_Sirname =INDICATOR_NAME "_label_" ; // Indicator label name
    Input color UpSymol_Color=lime; // Growth symbol color
    Input color DnSymol_Color=Magenta; // Downfall symbol color
    Input color IndName_Color=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 movement of name
    Input integer Y_1=- 15 ; // Name moves vertically
    Input boolean display name = true ; // indicator name display
    Input ENUM_BASE_CORNER what corner = CORNER_RIGHT_UPPER ; // position angle
    Input unit X_= 0 ; // horizontal movement
    Input unit Y_= 20 ; // vertical translation
    
  • BykovTrend_HTF_Signal Indicator input parameters required to trigger alerts and audio signals:

     //---- Alarm settings
    Input ENUM_ALERT_MODEalert_mode=OnlySound; // Action indication version
    Input unit alert count = 0 ; //Number of alerts submitted
  • If you want to use multiple BykovTrend_HTF_Signal indicators on one chart, each indicator should have its own Symbols_Sirname (indicator label name) string variable value.

    Place the BykovTrend.mq5 indicator compiled file into terminal_data_folder\MQL5\Indicators\.

    BykovTrend_HTF_Signal - indicator for MetaTrader 5

    BykovTrend_HTF_Signal - indicator for MetaTrader 5


    Attachment download

    📎 bykovtrend.mq5 (6.83 KB)

    📎 bykovtrend_htf_signal.mq5 (13.99 KB)

    Source: MQL5 #681

    Verification code Refresh