MT4 EA Based on Multi-Timeframe Session High/Low Breakout Logic with Risk Management

Trabajo finalizado

Plazo de ejecución 13 días
Comentario del Cliente
i am pleased with the excellent work !
Comentario del Ejecutor
good customer, easy to communicate with.

Tarea técnica

I want a professional Expert Advisor (EA) for MetaTrader 4, designed to work on any currency pair and based on a multi-timeframe breakout and retest strategy using session high/low levels.


🔧 EA Specifications:

✅ General Logic:

  • EA should operate based on two timeframes:

    • If I attach it on M1, it uses M1 and H1

    • If I attach it on M5, it uses M5 and H4


⏱️ 1. Session Detection and Level Drawing:

  • EA identifies a session window:

    • For example, from 13:00 to 14:00 on H1 chart

  • During this hour:

    • Place two vertical lines at the start and end of the session (13:00 and 14:00)

    • Detect the highest high and lowest low between 13:00 and 14:00

    • Draw horizontal lines for the high and low levels (on chart and for logic)


🔍 2. Signal Detection (during next session):

  • From 14:00 to 15:00, EA monitors price action.

  • A valid signal occurs if:

    1. Price breaks either the high or low level with candle body (wicks don't count)

    2. Then forms a trend by also breaking the opposite level with candle body

This confirms a directional breakout and retest.


📈 3. Trade Entry Rules:

After a valid breakout in both directions, EA places a Buy Limit or Sell Limit based on trend direction:


🟩 Buy Setup (Bullish Breakout):
  • First, price breaks the low, then moves up and breaks the high

  • Entry: Place Buy Limit at the lowest candle body close inside the move

  • Stop Loss (SL):

    • If the candle has a wick → place SL just below the wick

    • If no wick → calculate pip range of the longer of the two candles involved, divide by 4, and subtract from entry

  • Take Profit (TP): Use Risk-to-Reward = 1:5


🟥 Sell Setup (Bearish Breakout):
  • First, price breaks the high, then drops and breaks the low

  • Entry: Place Sell Limit at the highest candle body close

  • SL/TP logic same as in Buy setup


⚠️ 4. Trade Restrictions:

  • Only one or two trades per session:

    • If no signal → no trade

    • If a trade hits TP → do not enter another trade

    • If a trade hits SL → EA is allowed to enter one more trade if a new valid signal appears

    • If second trade also hits SL → no further trades


⏳ 5. Limit Order Expiration:

  • All Buy/Sell Limit orders are only valid during the next hour after the session

    • Misol: sessiya 13:00–14:00, keyin kirish/savdo 14:00–15:00 gacha bo'lishi kerak.

    • Agar narx soat 15:00 ga qadar buyurtma chegarasini qo'zg'atmasa → buyurtmani bekor qiling va chizilgan darajalarni o'chiring


⚙️ Kirishlar:

Faqat bitta kirish parametri talab qilinadi:

  • RiskPerTrade (%) : SL asosidagi savdo boshiga xavf. Misol uchun, agar ga o'rnatilgan bo'lsa 1 , har bir SL uchun hisob balansining 1% xavf ostida bo'ladi.


📊 Diagramma ko'rsatish:

EA diagrammada quyidagilarni ko'rsatishi kerak:

  • Yuqori/past darajalar uchun gorizontal chiziqlar

  • Seansning boshlanishi va tugashi uchun vertikal chiziqlar

  • Savdo faol bo'lganda kirish, SL va TP darajalari

  • aaa_4949 Grafikda EA nomini ko'rsating


Iltimos, EA to'g'ri risklarni boshqarishdan foydalanishiga va barcha standart MT4 brokerlariga mos kelishiga ishonch hosil qiling.


Archivos adjuntos:

PNG
ea_Breakout.png
274.7 Kb

Han respondido

1
Desarrollador 1
Evaluación
(7)
Proyectos
7
86%
Arbitraje
0
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(58)
Proyectos
90
43%
Arbitraje
4
0% / 100%
Caducado
3
3%
Trabaja
3
Desarrollador 3
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
Solicitudes similares
I need a simple semi-auto assistant for XAUUSD on MT5. Main functions: * BOS detection * CHOCH detection * Liquidity sweep detection * Buy/Sell arrows * London & New York session filter * Alert notifications * Simple dashboard No martingale. No grid. I need clean and optimized code with editable settings. Do you have experience with SMC/ICT concepts and XAUUSD? Can you build something like this
Язык платформы: MQL4 или MQL5 (уточним с выбранным исполнителем). Тип проекта: Информационный советник-сканер. БЕЗ автоматической торговли (без открытия ордеров). Краткое описание задачи Необходимо разработать высокооптимизированный многопоточный сканер рынков, который будет одновременно мониторить от 250 до 400 торговых инструментов (Forex, Crypto, Индексы, Акции). Система работает на базе 5 независимых виртуальных
Добрый день. Нужно написать советника: - Хеджирование ( открытия двух сделок одновременно buy, sell) - Buy например в плюсе, то СЛ в безубыток с тралом и пирамидингом (набор объема в buy) - Sell в минусе, то двигается стоп в безубыток buy с набором объема в sell -Трал ордера когда их как минимум 4 в одну сторону (Настраиваемое) -П ирамидинг ордеров через каждые 10 п, усреднение на том же уровне где и открытие ордера
Ищу для покупки исходный код адекватного торгового робота на долгосрок. Интересуют только прозрачные алгоритмы с понятным обоснованием входов и выходов. Рассматриваются работы которые торгуют от 1 года не менее имеют инвест пароль от счета + как дополнения сигнал на мкл просьба остальным не писать. ищу для себя реально рабочую вещь. Спасибо
Добрый день! 30 - 100 USD
Требуется адаптировать простенький индикатор для МТ5 под новые существующие сейчас билды. Раньше в 2015гг. индикатор работал. как обновились билды на мт5 , индикатор перестал прикрепляться к графику. Мой емейл: Eduardfoer@mail.ru Ребята с адаптацией индикатора ничего не выходит!!! Нет Mq файла. Тогда может кто нибудь сможет не за бесплатно восстановить сам терминал МТ5 под билды.13-13-15 года. Чтобы индикатор встал

Información sobre el proyecto

Presupuesto
100+ USD
Plazo límite de ejecución
de 3 a 5 día(s)