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

XMA_Range_Bands_HTF - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

XMA_Range_Bands_HTF - indicator for MetaTrader 5

The XMA_Range_Bands can be used to place indicator variants by fixing the indicator's time range to a different value than the chart's time range.

The indicator uses the SmoothAlgorithms.mqh library class (must be copied 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.

Place the XMA_Range_Bands.mq5 compiled file into terminal_data_folder\MQL5\Indicators.

XMA_Range_Bands_HTF - indicator for MetaTrader 5

Figure 1 XMA_Range_Bands_HTF indicator


Attachment download

📎 smoothalgorithms.mqh (134.03 KB)

📎 xma_range_bands.mq5 (8.99 KB)

📎xma_range_bands_htf.mq5 (11.34 KB)

Source: MQL5 #1274

Verification code Refresh