EMAs & DPO CROSSING STRATEGY EA

Tâche terminée

Temps d'exécution 1 minute
Commentaires de l'employé
Thank You for your order! Great customer, hope for further cooperation!
Commentaires du client
My order was well executed and understood. Delivered faster than expected, 5 stars are well deserved. See you next time for sure!

Spécifications

Strategy is based on crosses of exponential moving averages 12 and 40 with confluence based on DPO.


INDICATORS

  • EMA 40 (White, length 40, source close, TF chart)

  • EMA 12 (Yellow, length 12, source close, TF chart)

  • DPO (UNTREND PRICE DPO INDICATOR) - mq4 source code available.


- BUY TRADE : 12 Period EMA crosses the 40 period EMA from the bottom & 2 or more green candles on DPO hist. going in the trade direction (smaller candles under DPO 0 level or bigger candles above DPO 0 level)

- SELL TRADE : 12 Period EMA crosses the 40 period EMA from the top & 2 or more red candles on DPO hist. in the trade direction (bigger candles under DPO 0 level or smaller candles above DPO 0 level)

INPUTS & FEATURES

  • MA_1 (default = 12) — the period for the first moving average.

  • MA_2 (default = 40) — the period for the second moving average.

  • MA_Method (default = MODE_EMA) — the method of moving average calculation.

  • MinDiff (default = 1) — the minimum difference between the MAs for a crossover to count.

  • DPO Period (default = 21) - the period of the Untrend Price DPO indicator

  • StopLoss (default = 0) — the stop-loss distance in pips. Set to zero to disable.

  • TakeProfit (default = 0) — the take-profit distance in pips. Set to zero to disable.

  • TrailingStop (default = 0) — the trailing stop value in pips. Set to zero to disable.

  • Lots (default = 0.1) — the volume for trades. 

  • Direction (default = Both) — the direction of the position opened to trade. Can be of the following 3 types:

    • Buy — a buy position.

    • Sell — a sell position.

    • Both — both buy and sell positions.

  • Reverse Mode — Set trade at the opposite direction

  • Limit Trading Hours (default = Yes) — activate trading hours or not

  • Trading Start Hours (default = 6) — from 0 to 24 Broker time

  • Trading End Hours (default = 20) — from 0 to 24 Broker time

  • Equity Profit Target — Equity maximum to stop the EA

  • Equity Protection — Equity limit to stop the EA

  • Magic Number (default = 97191)

  • Slippage (default = 5)

  • Max Spread (default = 100)


EXPECTED PERFORMANCE

The expected operation in a buy trade is as follows.

  • When a candle closing : 

  1. If closing time is within trading days/hours, then next.

  2. If 12 Period EMA crosses the 40 period EMA from the bottom, then next.

  3. If 2 or more green candles are on DPO and going in the trade direction (buy), then place trade.

    1. TP & SL = User inputs in EA settings

  4. If no 2 or more green candles are on DPO and going in the trade direction (buy), then End.


Nota : The procedure for SELL trades is the reverse of that for BUY trades.


COMMENTS

Extra confluence : crossing of DPO value (from negative to positive after crossing of EMAs).

Strategy can be applied on every timeframes

Based on : https://youtu.be/npABM6cwV70 

Revisions can be requested to add features or changes in case of improvements/evolutions.




Répondu

1
Développeur 1
Évaluation
(389)
Projets
502
23%
Arbitrage
60
55% / 25%
En retard
59
12%
Travail
2
Développeur 2
Évaluation
(5)
Projets
1
100%
Arbitrage
4
0% / 75%
En retard
0
Travail
3
Développeur 3
Évaluation
(33)
Projets
38
21%
Arbitrage
5
0% / 60%
En retard
0
Gratuit
4
Développeur 4
Évaluation
(54)
Projets
102
23%
Arbitrage
12
25% / 17%
En retard
13
13%
Gratuit
5
Développeur 5
Évaluation
(279)
Projets
341
37%
Arbitrage
6
50% / 17%
En retard
7
2%
Gratuit
Publié : 5 codes
6
Développeur 6
Évaluation
(45)
Projets
46
24%
Arbitrage
34
9% / 85%
En retard
10
22%
Gratuit
7
Développeur 7
Évaluation
(144)
Projets
186
41%
Arbitrage
24
58% / 21%
En retard
13
7%
Gratuit
8
Développeur 8
Évaluation
(37)
Projets
59
27%
Arbitrage
26
19% / 54%
En retard
10
17%
Travail
Publié : 1 code
9
Développeur 9
Évaluation
(78)
Projets
246
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
Commandes similaires
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm

Informations sur le projet

Budget
30 - 50 USD
Délais
de 3 à 5 jour(s)