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

Lavoro terminato

Tempo di esecuzione 13 giorni
Feedback del cliente
i am pleased with the excellent work !
Feedback del dipendente
good customer, easy to communicate with.

Specifiche

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.


File:

PNG
ea_Breakout.png
274.7 Kb

Con risposta

1
Sviluppatore 1
Valutazioni
(7)
Progetti
7
86%
Arbitraggio
0
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(58)
Progetti
90
43%
Arbitraggio
4
0% / 100%
In ritardo
3
3%
In elaborazione
3
Sviluppatore 3
Valutazioni
(296)
Progetti
475
40%
Arbitraggio
105
40% / 24%
In ritardo
80
17%
Occupato
Pubblicati: 2 codici
Ordini simili
Нужно создать торговый советник для МТ5 для автоматической торговли золотом, серебром и нефти, газа. Торговля будет происходить на основании данных индикаторов, корреляции данных инструментов. Должна быть панель управления с настройками на английском языке
AO - при пересечении уровня 0 в какую-либо сторону открывать соответствующий ордер. RSI - при пересечении отметки 30 пунктов снизу открывать ордер на покупку, при пересечении отметки 70 пунктов сверху открывать ордер на продажу. Стратегии не зависят друг от друга. Предустановка размеров ТП и СЛ, предустановка уровней ТС
Требуется создать советник на основе разворотных паттернов, используя дополнительные индикаторы такие как скользящее среднее, отклонение от скользящей средней, угол наклона скользящей средней. Возможно будет добавлено что то еще по ходу работы

Informazioni sul progetto

Budget
100+ USD
Scadenze
da 3 a 5 giorno(i)