DeMarker Martingale EA
Info
The DeMarker Martingale EA is a Expert Advisor for MetaTrader 4 that this martingale ea utilizes the demarker indicator for trading, offering a relatively safe approach by managing a single trade at a time (when 'max trades' is set to 1). The EA incorporates a trailing stop loss and take profit functionality, adaptable to various time frames, major forex pairs, and NASDAQ stocks.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 4 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL4/Experts folder via File ? Open Data Folder in MetaTrader 4.
How to Install and Use DeMarker Martingale EA
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
This Martingale EA utilizes the DeMarker indicator for trading, offering a relatively safe approach by managing a single trade at a time (when 'max trades' is set to 1).
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 4.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 4. Place the file in the MQL4/Experts folder and restart the terminal.
Description & Settings
Related: Semi-HFT Grid Bot: Two-Sided Martingale Grid with Basket Take Profit - another powerful expert for MetaTrader 4 traders.
This Martingale EA utilizes the DeMarker indicator for trading, offering a relatively safe approach by managing a single trade at a time (when 'max trades' is set to 1).Also recommended: Martingale System with Random Entry - similar expert with strong performance on MetaTrader 4.
The EA incorporates a trailing stop loss and take profit functionality, adaptable to various time frames, major forex pairs, and NASDAQ stocks.
After a losing trade, the EA initiates a new trade with a multiplied lot size, employing a unique formula for lot size calculation.
It is recommended to test the EA on a demo account first.
The EA operates based on the price of the open candle and adjusts trade volume based on previous trading outcomes.
Users can limit the maximum risk as a percentage of their deposit for each trade.
For trading with a constant lot size, set 'maximumrisk' to 0 and 'decreasefactor' to 0; otherwise, the EA will calculate the percentage of the deposit and maximum risk.
Inputs:
- use_tp_in_money: Enable take profit in money (true/false).
- tp_in_money: Take profit in money (10-100).
- use_tp_in_percent: Enable take profit in percent (true/false).
- tp_in_percent: Take profit in percent (10-100).
----------[Money Trailing Stop for Multiple Trades]----------
- enable_trailing: Enable trailing stop with money (true/false).
- take profit in money (25-200).
- stop loss in money (1-20).
------------------------------------------------------------
- exit: Close trades if the trend is against you and manage drawdown (true/false).
- multiply: Martingale multiplier (1-4).
- lots: Lot size (0.01-1).
- double_lotsize: Double lot size for each new trade (true/false).
- lot_size_increment: Lot size increase for additional orders.
- stop_loss: Stop loss in pips.
- take_profit: Take profit in pips.
- period: DeMarker period (1-50).
- magicnumber: Magic number (1-100000).
----------[Time Settings]----------
- start: Start hour (0-24).
- end: End hour (0-24).
------------------------------------------------------------
- maximum_loss: Maximum allowed loss (1-500).
- waittime: Wait time for loss in minutes (1-360).
- max_trades: Maximum number of trades (1-10).
For single trade:
- trailingstop: Activate trailing stop loss and take profit (40-100).
- enable 'break even': Enable break-even feature (true/false).
- when move 'break even': Break-even activation point (5-30).
- how much pips move: Break-even pips movement (5-30).
It is advisable to optimize the EA periodically and use the same inputs for backtesting.
You may also like: VR Overturn: Martingale and Anti-Martingale Expert Advisor - excellent alternative for expert users on MetaTrader 4.
Source Code
/
.......
⚠ 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.