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

XDeMarker_Histogram_Vol - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 2 reads | 0 comments |

XDeMarker_Histogram_Vol - indicator for MetaTrader 5

DeMarker_Histogram_Vol indicator and additional average value of the resulting histogram. Similar averaging also applies to dynamic overbought/oversold levels.

 //+--------------------------------------------------------+
//| Indicator input parameters |
//+--------------------------------------------------------+
Input unit to mark period = 14 ; // indicator period
input ENUM_APPLIED_VOLUME volume type = volume_scale ; // volume
Enter an integer High level 2 = + 20 ; // Overbought level 2
Enter an integer High level 1 = + 15 ; // Overbought level 1
Enter an integer low level 1 = - 15 ; // oversold level 1
Enter an integer low level 2 = - 20 ; // Oversold level 2
Enter Smooth_Method MA_SMethod=MODE_SMA_; // Average method
Input unit MA_length = 12 ; // Smoothing depth
Input integer MA_phase = 15 ; // Parameters for the first smoothing,
//---- For JJMA in the range of -100 ... +100, it affects the quality of the transition process;
//----For VIDIA, it is the CMO cycle, for AMA, it is the slow average cycle
Input integer shift = 0 ; // indicator moves horizontally (in bars)

The indicator uses SmoothAlgorithms.mqh library class (copy it to \MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

XDeMarker_Histogram_Vol - indicator for MetaTrader 5

Figure 1.XDeMarker_Histogram_Vol


Attachment download

📎 SmoothAlgorithms.mqh (130.2 KB)

📎 XDeMarker_Histogram_Vol.mq5 (28.03 KB)

Source: MQL5 #22002

XDeMarker_Histogram_Vol - Important points before using the MetaTrader 5 script

This page has been supplemented with structured instructions, focusing on the purpose of trading scripts, MT4/MT5 platform compatibility, testing procedures and risk control. Before downloading or deploying, it is recommended to first determine whether it is consistent with your own variety, cycle and account environment.

Suitable for who to use

  • Users who want to quickly screen trading scripts and are willing to do simulation verification first.
  • People who need to compare MT4/MT5 EAs, indicators, scripts or source code projects.
  • Traders who wish to record backtests, parameters and risk boundaries before placing a trade.

Testing and risk control suggestions

  • First verify the default parameters in the strategy tester or demo account, and then adjust the symbol, period, spread and trading period one by one.
  • Scalping, grid, martin, and high-frequency strategies should focus on observing maximum drawdowns, consecutive losses, slippage, and trading frequency.
  • It is not recommended to run any document directly on the real disk. At least observe the simulated disk performance for 2-4 weeks first.

FAQ

Can MT4 and MT5 be used interchangeably?
Usually cannot be used directly. EX4/MQ4 corresponds to MT4, EX5/MQ5 corresponds to MT5, and the source code needs to be compiled in the corresponding MetaEditor.

Is this resource guaranteed to be profitable?
cannot. EAs, indicators and scripts can only be used as trading tools, and the results depend on parameters, market environment, spreads, slippage and risk control.

What else can I continue to watch?
Forex EA download , foreign exchange indicator download , EA evaluation , MQL5 CodeBase .

English Search Notes

This page is also optimized for English search intent around XDeMarker_Histogram_Vol - MetaTrader 5 script . Related search terms include: trading script, MT4 script, MT5 script. Test any Forex EA, Expert Advisor, MT4/MT5 indicator, script or MQL source code with historical data and a demo account before live trading.

Verification code Refresh