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

XMA-XN_HTF - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

XMA-XN_HTF - indicator for MetaTrader 5

This XMA-XN indicator has timeframe selection options available in the input parameters.

 Input ENUM_TIMEFRAMES time range = PERIOD_H4 ; // Indicator chart period (time range)

The XMA-XN_HTF repeater indicator requires the compiled custom indicator file XMA-XN.mq5 for compilation. Place it in <Terminal Data Folder>\MQL5\Indicators .

After compilation, the XMA-XN_HTF.ex5 indicator file contains the XMA-XN.ex5 indicator as a resource , therefore the compiled indicator does not need to be present in the terminal folder to work! To do this, code has been added to the indicator code to include the XMA-XN indicator in the executable file.

Metrics executable has been added as a global scope resource

Change the string path to the indicator used as a resource in the OnInit() function block

Therefore, the compiled executable of the Repeater indicator can be used independently on other trading terminals without the original indicator.

XMA-XN_HTF - indicator for MetaTrader 5

Figure 1. XMA-XN_HTF indicator


Attachment download

📎 SmoothAlgorithms.mqh (130.2 KB)

📎XMA-XN.mq5 (22.27 KB)

📎 XMA-XN_HTF.mq5 (27.85 KB)

Source: MQL5 #17376

Verification code Refresh