Multi-Timeframe Signal Alignment EA

MQL5 Experts

Tâche terminée

Temps d'exécution 49 minutes
Commentaires de l'employé
A very good communicator, patient and fully understands the process, I would love to work with you again and again
Commentaires du client
Great work! Developer handled a complex multi-strategy EA with patience and skill. Delivered as required and stayed supportive throughout. Highly recommended!

Spécifications


🧠 Overview

This EA uses 4 indicators × 3 timeframes — fully configurable. Each indicator (EMA, ADX, MACD, AO) can be independently turned ON/OFF per timeframe, allowing you to build custom strategies with single or combined filters.

1. HTF (Higher Timeframe 1) Settings:

Enable | Indicator / TF | Parameters

True | Timeframe_HTF | MN

True | EMA_HTF | Period: 9, Method: Exponential

False | ADX_HTF | Period: 14, Level: 20

False | MACD_HTF1 | Fast EMA:12, Slow EMA:26, Signal:9

False | AO_HTF1 | Green = Up, Purple = Down


2. ITF (Intermediate Timeframe 2) Settings:

Enable | Indicator / TF | Parameters

True | Timeframe_ITF | W1

True | EMA_ITF | Period: 9, Method: Exponential

False | ADX_ITF | Period: 14, Level: 20

False | MACD_ITF | Fast EMA:12, Slow EMA:26, Signal:9

False | AO_ITF | Green = Up, Purple = Down


3. ETF (Entry Timeframe 3) Settings:

Enable | Indicator / TF | Parameters

True | Timeframe_ETF | D1

True | EMA_ETF | Period: 9, Method: Exponential

False | ADX_ETF | Period: 14, Level: 20

False | MACD_ETF | Fast EMA:12, Slow EMA:26, Signal:9

False | AO_ETF | Green = Up, Purple = Down


Here's a clear and modular breakdown of the Entry Conditions based on HTF, ITF, and ETF settings — where each indicator contributes as a filter and can be used independently or in combination.


✅ Entry Conditions

A Buy Trade is opened when all selected (enabled = true) indicator conditions are met across all active timeframes (HTF, ITF, ETF).

A Sell Trade is opened when the opposite conditions are met.


🔹 1. EMA (Exponential Moving Average)

Buy Condition:

Candle closes above EMA on all enabled timeframes.

Sell Condition:

Candle closes below EMA on all enabled timeframes.

✅ EMA conditions must be met individually on HTF, ITF, and ETF if enabled.


🔹 ADX (Average Directional Index)

Buy Condition:

ADX value > selected level (e.g., 20) AND +DI > -DI on all enabled timeframes.

Sell Condition:

ADX value > selected level AND -DI > +DI on all enabled timeframes.

✅ If ADX is enabled on multiple timeframes, each must pass the condition.


🔹 MACD (Moving Average Convergence Divergence)

Buy Condition:

MACD line crosses above zero or is already above zero on all enabled timeframes.

Sell Condition:

MACD line crosses below zero or is already below zero on all enabled timeframes.

✅ Confirm that MACD condition matches across all enabled timeframes.


🔹 AO (Awesome Oscillator)

Buy Condition:

AO bar is green (positive momentum) on all enabled timeframes.

Sell Condition:

AO bar is purple (negative momentum) on all enabled timeframes.

✅ AO should show consistent color signal across all active frames.



Multi-Timeframe Entry Logic Core Scenarios (1–4) – Introduction

These scenarios describe how indicator conditions are evaluated across multiple timeframes (HTF, ITF, ETF) in different combinations. They help define the logic for when a trade should be allowed based on which indicators are enabled, on which timeframe, and how they interact (AND/OR logic, priority, etc.). Each scenario shows a unique configuration that the EA must support for flexible strategy building.

For more flexible configurations, see Strategy Examples (5–8) in the appendix section below.

✅ Scenario 1: Same Indicator Across Timeframes (Strict Match)

Logic: If an indicator is enabled on multiple timeframes (HTF, ITF, ETF), each timeframe must meet its condition independently.

Example: If EMA is enabled on HTF, ITF, and ETF → price must be above EMA on all three to allow a Buy.

Use case: Ensures full trend alignment across timeframes.


✅ Scenario 2: Multiple Indicators on Same Timeframes

Logic: If multiple indicators (e.g., MACD + ADX) are active on the same timeframes, each one must pass for that timeframe.

Use case: Strengthens signal confirmation on one or more timeframes.

Example: If MACD and ADX are enabled on ITF and ETF → both MACD and ADX must meet their conditions on ITF and ETF to allow a Buy.


✅ Scenario 3: Single Indicator Standalone, Single Timeframe

Logic: If only one indicator is enabled on a single timeframe, it alone controls the entry logic.

Use case: Light/simple filtering strategy.

Example: If only EMA on ETF is enabled → trade is allowed based on EMA on ETF alone.


✅ Scenario 4: Multiple Indicators Across Timeframes AND Logic

Logic: When several indicators are enabled across multiple timeframes, all must pass (strict AND logic across all conditions).

Use case: Very strong confirmation before trade entry.

Example: If EMA is active on HTF, ITF, ETF and AO is active on the ETF → price must be above EMA on all 3 timeframes and the AO bar must be green on the ETF.


🔧 Trade Execution & Management

This section defines how trades are opened, managed, and closed, with flexible options to suit both conservative and aggressive strategies across all indicators and timeframes.


🔁 Trade Execution Type

1. Standard (Single Trade Mode) — [Default]

Only one trade is allowed per signal.

If a trade is closed manually, the EA will wait for a new signal before opening another trade.

No stacking of trades under the same signal setup.

2. Multiple Orders (Candle2Candle Mode)

A new trade is opened on every candle close that confirms the existing signal, as long as the original setup remains valid.

Example: If a Buy signal is triggered (e.g., price > EMA9 on HTF, ITF, ETF), then new Buy orders continue to open on each new candle close unless a candle closes opposite to the signal (e.g., price falls below EMA9).

Once a signal is invalidated, all active trades under that signal are closed.

🎯 SL/TP Configuration Options

These apply to both execution types but behave slightly differently in Candle2Candle mode:

SL/TP Mode Options (Dropdown List):

Fixed

ATR-based

CandleWickRR


Fixed Settings:

Fixed StopLoss: 0.0

Fixed TakeProfit: 0.0


ATR Settings:

ATR Period: 14

ATR Multiplier SL: 1.5

ATR Multiplier TP: 3.0

ATR Timeframe: 1 Day

ATR Candle: 1


CandleWick RR Settings:

(SL is placed just beyond the wick of the signal candle)

SL for Buy Trade: 2 Pips below candle wick / low.

SL for Sell Trade: 2 Pips above candle wick / high.


(TP is based on a Risk:Reward ratio)

TP Reward Ratio: 1.0 Ratio (Configurable), Example: 1:1 (TP = SL distance), or 1:2 (TP = 2× SL).


🧠 Advanced Trade Controls

⚙️ Common Trade Settings

Trade Direction:

Options: Buy / Sell / Both


🔁 Trade Management:

Magic Number: Unique ID for the trade (e.g., 0)

Order Comment: Customizable text label

Close on Opposite Signal: True / False


📈 Risk Mode

Use Risk Management: True / False

Risk Model:

Risk % per Trade: (e.g., 0.5%)

Fixed Lot Size: (e.g., 0.01)

Example: Risk % = 0.5 OR Fixed Lot = 0.01


⏱️ Time-Based Trading

Use Time Filter: True / False

Start Time: 01:00

End Time: 23:59


📈 Trailing Stop (TSL)

Enable Trailing Stop: True / False

Fixed TSL Settings:

Trigger: 10.0

Distance: 7.0

Step: 1.0

Dynamic TSL Options: (Set individually to True / False)

ATR-Based: SL trails at 2× ATR (Configurable)

MA-Based: SL trails above/below EMA9 (Configurable)

Candle-Based: SL trails 2 pips beyond each candle’s wick


Break Even (BE) Settings

Fixed Break Even: True/False (Default: False).

Break Even (Trigger Pips): 50.0.


Dynamic Break Even: True/False (Default: False).

Options:

Break Even at 1:1 RR.

Break Even when the next bar opens.



Appendix: Strategy Examples (5–8)

These custom setups show how to mix indicators across timeframes, separate trend from trigger logic, use OR logic, or let ETF confirm final entries. They offer flexible, real-world applications for more dynamic strategy building.


🔄 Scenario 5: Mixed Indicators per Timeframe

Logic: Different indicators can be assigned to specific timeframes. Each indicator must meet its condition on its assigned TF.

Use case: Build custom strategies like trend strength (HTF), direction (ITF), momentum (ETF).

Example Buy Conditions:

HTF: ADX > 20 and +DI > -DI

ITF: Price > EMA

ETF: AO bar is green


🧭 Scenario 6: Trend from HTF/ITF, Trigger from ETF

Logic: Use HTF/ITF indicators to confirm trend; only enter trade when ETF also confirms the trigger condition.

Use case: Avoids early entries by waiting for entry-level signal that agrees with higher trend.

Example Buy Conditions:

HTF: Price > EMA

ITF: MACD > 0

ETF: Candle closes above EMA and AO turns green


🔓 Scenario 7: OR Logic Within Same Timeframe (Optional)

Logic: In a single timeframe (e.g., ETF), allow any one of the enabled indicators to trigger (OR logic), rather than requiring all.

Use case: Flexible filtering; developer should provide toggle setting: Allow_OR_logic_same_TF = true/false.

Example on ETF:

Trade allowed if MACD > 0 or AO is green

Still combined with HTF/ITF via AND

Optional: Can be toggled using “Allow OR logic in same TF” setting.


🔧 Scenario 8: ETF is Final Decision Maker

Logic: Trade only executes if ETF conditions are met, even if HTF and ITF are aligned.

Use case: Reduces false positives by relying on the final trigger from the most responsive timeframe.

Example:

HTF and ITF show uptrend

But trade executes only if ETF confirms (e.g., green AO or breakout candle)




Répondu

1
Développeur 1
Évaluation
(21)
Projets
25
52%
Arbitrage
3
0% / 100%
En retard
2
8%
Gratuit
2
Développeur 2
Évaluation
(62)
Projets
90
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
3
Développeur 3
Évaluation
(329)
Projets
515
19%
Arbitrage
35
46% / 31%
En retard
34
7%
Travail
4
Développeur 4
Évaluation
(43)
Projets
63
24%
Arbitrage
10
30% / 50%
En retard
10
16%
Gratuit
5
Développeur 5
Évaluation
(24)
Projets
26
73%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
6
Développeur 6
Évaluation
(5)
Projets
5
60%
Arbitrage
1
0% / 0%
En retard
2
40%
Gratuit
Publié : 1 code
7
Développeur 7
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
8
Développeur 8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(319)
Projets
568
35%
Arbitrage
82
30% / 45%
En retard
206
36%
Chargé
10
Développeur 10
Évaluation
(10)
Projets
14
43%
Arbitrage
0
En retard
3
21%
Gratuit
Commandes similaires
EA for Gold 50+ USD
need a Gold robot? check out this EA for Gold. It specialises in bringing in big amounts of profit and is very consistent. It's very trustworthy and it trades the SMC strategy.Enjoy
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
I develop and customize automated trading systems for MetaTrader 5 using MQL5. My experience includes developing EAs based on price action, market structure, Moving Averages, ADX, Smart Money Concepts, supply and demand zones, Break of Structure, Fair Value Gaps, trailing stops, risk management, and multi-timeframe analysis . I can also modify existing MQL5 source code, fix errors, add new trading features, and help
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
Торговый робот XAUUSD AI/ML — MT5 + Python + MQL5 Ищу опытного разработчика с глубокими знаниями в следующих областях: MQL5 / MetaTrader 5 Python Машинное обучение / Искусственный интеллект Алгоритмическая торговля Проект Я хочу разработать торговую систему на основе ИИ/машинного обучения, предназначенную исключительно для XAUUSD (золото) . Архитектура: Данные рынка XAUUSD → Модель Python/ML → ПОКУПКА / ПРОДАЖА /
The EA needs to be upgraded according to the strategie built in and first the programer must specify the problems and how can correct and provide the video on how the bot works on different assets after correction
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
SPECIFICA TECNICA: Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo , in grado di adattare il comportamento proprio alle diverse condizioni di mercato di XAUUSD. Lo sviluppatore può utilizzare tecniche appropriate quali trend

Informations sur le projet

Budget
35+ USD
Délais
à 10 jour(s)