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

SilverTrend_HTF_Signal - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 2 reads | 0 comments |

SilverTrend_HTF_Signal - indicator for MetaTrader 5

SilverTrend_HTF_Signal - indicator for MetaTrader 5

SilverTrend_HTF_Signal Displays the trend direction or a signal for executing trades generated by the Silver Trend indicator on the selected bar as a graphical object with a colored trend indication or trade direction and sends an alert or audio signal in case of the moment of market entry.

If the trend continues on the selected bar, the indicator issues an alert. It consists of a star-shaped graphical object, the color of which corresponds to a trend direction. If the trend changes on the selected bar, the indicator alerts 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 instrument
Input ENUM_TIMEFRAMES time range = PERIOD_H6 ; // Indicator time range for indicator calculation
Input integer risk = 3 ;
  • Indicator input parameters required for SilverTrend_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 UpSymbol_Color=lime; // Growth symbol color
    Input color DnSymbol_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
  • SilverTrend_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 SilverTrend_HTF_Signal indicators on one chart, each chart should have its own Symbols_Sirname (indicator label name) string variable value.

    Place the SilverTrend indicator compiled file into terminal_data_folder\MQL5\Indicators\.

    SilverTrend_HTF_Signal - indicator for MetaTrader 5

    SilverTrend_HTF_Signal - indicator for MetaTrader 5


    Attachment download

    📎 silvertrend_signal.mq5 (7.05 KB)

    📎 silvertrend_htf_signal.mq5 (14.03 KB)

    Source: MQL5 #683

    Verification code Refresh