de marker (dem)
Info
The de marker (dem) is a Indicator for MetaTrader 5 that the demarker technical indicator (dem) is a tool for analyzing price trends and predicting potential reversals. it is calculated based on the comparison of period maxima and minima, providing insights into market momentum and potential turning points.
Usage
This tool is typically used for enhancing chart analysis and decision making.
Platform
This Indicator works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Indicators folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use de marker (dem)
1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.
2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.
3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.
4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.
Frequently Asked Questions
Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."
Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).
Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.
What this tool does
the demarker technical indicator (dem) is a tool for analyzing price trends and predicting potential reversals.
Typical Use Case
This Indicator excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Indicator works on MetaTrader 5. Place the file in the MQL5/Indicators folder and restart the terminal.
Description & Settings
Related: FVG Imbalance Marker Helper - another powerful indicator for MetaTrader 5 traders.
the demarker technical indicator (dem) is a tool for analyzing price trends and predicting potential reversals. it is calculated based on the comparison of period maxima and minima, providing insights into market momentum and potential turning points.Also recommended: clear view - price pointer, round number marker, period separator, and template - similar indicator with strong performance on MetaTrader 5.
the indicator's calculation involves registering the difference between the current period's maximum and the previous period's maximum. if the current maximum is higher, the difference is noted; otherwise, a zero value is recorded. similarly, the difference between price minima is considered, with zero values for cases where the current minimum is greater than the previous period's minimum.
the demarker value is then derived by dividing the sum of the maximum differences by the sum of both maximum and minimum differences. this calculation provides a normalized measure of price movement, indicating the strength of the trend.
when the demarker falls below 30, it suggests a potential bullish price reversal, indicating a possible shift from a downtrend to an uptrend. conversely, when the indicator rises above 70, it signals a potential bearish price reversal, suggesting a shift from an uptrend to a downtrend.
by adjusting the calculation period, traders can adapt the indicator to different timeframes. longer periods capture long-term market tendencies, while shorter periods facilitate precise entry points and transaction timing aligned with the major trend.
calculation:
- demax(i) is the difference between the highest price of the current bar (high(i)) and the highest price of the previous bar (high(i-1)). if high(i) is greater than high(i-1), demax(i) is the difference; otherwise, it is set to zero.
- demin(i) is the difference between the lowest price of the previous bar (low(i-1)) and the lowest price of the current bar (low(i)). if low(i-1) is less than low(i), demin(i) is the difference; otherwise, it is set to zero.
- the demarker value for the 'i' interval, dmark(i), is calculated as the ratio of the simple moving average (sma) of demax over the sum of sma of demax and sma of demin, both calculated over 'n' bars.
where:
- high(i) is the highest price of the current bar.
- low(i) is the lowest price of the current bar.
- high(i-1) is the highest price of the previous bar.
- low(i-1) is the lowest price of the previous bar.
- sma is the simple moving average.
- n is the number of bars used for calculation.
You may also like: XDE Marker BB Indicator - excellent alternative for indicator users on MetaTrader 5.
Source Code
#property copyright "robotfx"
#property link "https://robotfx.org"
#include <movingaverages.mqh>
#property indicator_separate_window
#property indicator_buffers 5
#property indicator_plots 1
#property indicator_type1 draw_line
#property indicator_color1 dodgerblue
#property indicator_level1 0.3
#property indicator_level2 0.7
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.