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

仕事が完了した

実行時間13 日
依頼者からのフィードバック
i am pleased with the excellent work !
開発者からのフィードバック
good customer, easy to communicate with.

指定

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.


ファイル:

PNG
ea_Breakout.png
274.7 Kb

応答済み

1
開発者 1
評価
(7)
プロジェクト
7
86%
仲裁
0
期限切れ
0
2
開発者 2
評価
(56)
プロジェクト
88
42%
仲裁
4
0% / 100%
期限切れ
3
3%
仕事中
3
開発者 3
評価
(294)
プロジェクト
469
39%
仲裁
102
40% / 24%
期限切れ
77
16%
取り込み中
パブリッシュした人: 2 codes
類似した注文
Ищу опытного разработчика для работы с торговыми роботами в MetaTrader 5 и сопутствующими инструментами на Python. Основные задачи: Реализация/модификация советника MT5 на MQL5 по стратегиям (с сеткой, динамическим лотом, TP/SL, частичной фиксацией прибыли); Внедрение или адаптация готового MQL5-модуля в существующий советник без нарушения логики; Написание вспомогательных скриптов на Python для: • сбора и анализа
Доброго дня. Нужен советник на основе индикатора, либо скрипт Trading View. Лучше это оформит в качестве программы на Python. Но если код легче будет через PineScript, то можно и скриптом. Главное чтобы последовательность соблюдалась с первого по четвертый пункты из ТЗ (во вложении). Индикатор есть, предоставлю, хотелось бы понять примерную стоимость, создания советника. Спасибо. В индикаторе много параметров, но
Нужен специалист с большим практическим опытом в работе с WFA оптимизацией советников. Вы должны понимать все базовые ошибки которые можно допустить и их не допустить. Важна поочередность действий, выделение "плато", валидация и так далее. Задача: WFA оптимизация советника на двух брокерах , третий брокер будет этапом двойной валидации. При правильном подходе мы должны получить устойчивые +- одинаковые результаты на

プロジェクト情報

予算
100+ USD
締め切り
最低 3 最高 5 日