Heiken_Ashi_Smoothed_VolatilityStep_tmf_Alert - MetaTrader 5 script

The Heiken_Ashi_Smoothed_VolatilityStep_Alert indicator is able to highlight the trading time zone, selected in the indicator input parameters. These regions are shown in different histogram colors.
Input boolean timetrading= true ; //enable trading timezone highlighting Enter HOURS start H=ENUM_HOUR_4; //Transaction starts (hour) Enter the minute StartM=ENUM_MINUT_0; //Transaction starts (minutes) Enter the hour EndH=ENUM_HOUR_17; //End of transaction (hour) Enter minutes EndM=ENUM_MINUT_59; //End of transaction (minutes)
Bars outside the trading time frame are shown in light gray; bars with dimensions greater than the trigger level
Input unit alarm level = 150 ; // trigger level
In range is shown in yellow; below the trigger level the color is steel gray. Alerts, push notifications and emails are only sent during marked trading sessions.
The indicator uses the SmoothAlgorithms.mqh library class (copy it to terminal_data_folder\MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

Figure 1. Heiken_Ashi_Smoothed_VolatilityStep_tmf_Alert indicator
Attachment download
📎 Heiken_Ashi_Smoothed_VolatilityStep_tmf_Alert.mq5 (31.63 KB)
📎 SmoothAlgorithms.mqh (130.2 KB)
Source: MQL5 #23232
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •