SSH Multiple Timeframes - MetaTrader 4 Script | Forex Indicators Download - MT4/MT5 Resources


SSH is a well-known indicator that uses the moving average high and low of candles to draw two lines. The intersection of these two lines is considered a buy or sell signal.
Illustrating higher TF (time frames) in lower time frames is the preferred way of technical tracking of the market. SSH Multi-TF prepares the higher TF of the metric in the lower TF.
Additionally, users can select higher TF from a small panel inside the chart without opening the indicator input. Additionally, changing TF will change the type of time range button since we don't need to select a lower time range button.
SSH multi timeframe with panel for selecting TF from chart
The code prepares a panel for any indicator for which you want to make a Multi-TF form. You need to copy the panel graphics function and its required input and OnInit() functions from. In order to calculate the current TF candle index on a higher time frame, we can use the iBarShift built-in function, but I prefer to use my own function to find the candle index that is very close to the higher TF candle time. This feature is also useful for other uses with the same purpose and I totally recommend it over the original built-in feature.
Attachment download
📎 ssh_multitf_v0.mq4 (11.55 KB)
Source: MQL5 #47842
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •