HighsLows_HTF_Signal - MetaTrader 5 Script - MT4/MT5 Resources


HighsLows_HTF_Signal indicator shows the trend direction or execution of the indicator on the bar selected by the Highs and Lows signals as a graphical object with a colored indication of the trend or trading 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 used for indicator calculation Enter how many candles per unit = 3 ; // Number of candlesticks for directional price changes
//---- Settings for indicator visual display Enter the unit signal column = 0 ; // Get the number of bars for the signal (0 - current bar) Input stringSymbols_Sirname =INDICATOR_NAME "_label_" ; // Name of the indicator label Input color Upsymbol_Color= clr Dodge Blue ; // Color of the growth symbol Input color Dnsymbol_Color= magenta ; //Color of autumn symbol Input color IndName_color = clr dark orchid ; // Color of indicator name Input unit symbol_size = 60 ; // size of signal symbol Input unit font size = 10 ; // Font size of indicator name Input integer X_1= 5 ; // horizontal movement of name Input integer Y_1=- 15 ; // Name moves vertically input boolean displayname = true ; // display indicator name Input ENUM_BASE_CORNER what corner = CORNER_RIGHT_UPPER ; // corner Input unit X_= 0 ; // horizontal movement Input unit Y_= 20 ; // vertical translation
//---- Alarm settings Enter ENUM_ALERT_MODEalert_mode=OnlySound; // Options to trigger indication Input unit alarm count = 0 ; //Number of alarms generated
This indicator requires the compiled indicator file HighsLowsSignal.mq5 to run. Place it into terminal_data_folder\MQL5\Indicators\.

Figure 1. Indicator HighsLows_HTF_Signal. sell signal

Figure 2. Indicator HighsLows_HTF_Signal. Signal that the uptrend continues
Attachment download
📎 highslowssignal.mq5 (14.69 KB)
📎 highslows_htf_signal.mq5 (28.15 KB)
Source: MQL5 #2362
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •