Expert Advisor Specification — BOS Push Fibonacci Retracement Strategy (Universal)

Tarea técnica

1. Overview

This Expert Advisor (EA) automatically detects Break of Structure (BOS) followed by a price push of a configurable minimum size (in pips), and places pending orders at a specified Fibonacci retracement level.
The EA supports both bullish and bearish market conditions, works on any instrument and timeframe, and includes configurable risk management, trade management, and day restrictions.
It is designed to be rented via a subscription system using Magic Numbers for account control.

2. Entry Logic

2.1 Break of Structure Detection
The EA must detect a BOS before initiating a “push” measurement.
BOS is defined as the price closing beyond the most recent swing high (for bullish BOS) or swing low (for bearish BOS).
BOS detection must be swing-based, not tick-based.
Swing sensitivity should be configurable via input:
SwingPointsLookback (default = 3 bars to each side for high/low confirmation).

2.2 Push Measurement
After a valid BOS, the EA measures the immediate directional price movement (the “push”).
Push size must meet or exceed MinPushPips (default = 100 pips for XAU/USD, adjustable).
For bullish setup:
BOS = close above previous swing high.
Push = highest high after BOS minus BOS breakout candle low.
For bearish setup:
BOS = close below previous swing low.
Push = BOS breakout candle high minus lowest low after BOS.

3. Fibonacci Retracement Entry

3.1 Pending Order Placement
After detecting BOS and push:
For bullish: place a Buy Limit at a configurable Fibonacci retracement level (e.g., 61.8%).
For bearish: place a Sell Limit at a configurable Fibonacci retracement level.
Retracement calculation:
Bullish: Fib drawn from swing low (start of push) to swing high (end of push).
Bearish: Fib drawn from swing high (start of push) to swing low (end of push).
Input: FibEntryLevel in %, default 61.8.

3.2 Risk & Lot Sizing
Input: RiskPerTradePercent (default = 1% of account balance).
Lot size auto-calculated based on SL distance and account equity.

4. Trade Management

4.1 Stop Loss / Take Profit
SL_Pips: Stop Loss distance in pips (default = 50).
TP_Pips: Take Profit distance in pips (default = 100).
TP/SL independent for bullish and bearish orders.

4.2 Lock Profit
Input: LockProfitPips — once price moves this many pips in profit, move SL to breakeven or lock a specified amount of profit.
LockProfitAmount — pips to lock after trigger.

4.3 Trailing Stop
Input: UseTrailingStop (true/false).
TrailingStartPips — start trailing after X pips in profit.
TrailingDistancePips — distance to trail behind price.

5. Trading Days Control

Boolean inputs for each day to enable or disable trading:
TradeMonday = true
TradeTuesday = true
TradeWednesday = true
TradeThursday = true
TradeFriday = true
TradeSaturday = false
TradeSunday = false

6. Additional Features

6.1 Subscription & Licensing
EA must only work on accounts authorized by the developer/vendor.
Use a MagicNumber system tied to the subscription key.
Subscription control should check:
Expiration date.
Account number(s).
Broker name (optional).
If subscription invalid, EA must disable all functionality and display “License Expired” in chart comment.

6.2 Order Management Rules
Only one active setup (pending + trade) per symbol at a time.
If SL or TP is hit, EA can rearm for new BOS if still within allowed trading days.
Optional: limit number of trades per day via MaxTradesPerDay (default = unlimited).

7. Inputs Summary

Market Detection & Entry:
SwingPointsLookback = 3
MinPushPips = 100
FibEntryLevel = 61.8

Risk & Trade Size:
RiskPerTradePercent = 1.0

Trade Management:
SL_Pips = 50
TP_Pips = 100
LockProfitPips = 30
LockProfitAmount = 10
UseTrailingStop = true
TrailingStartPips = 40
TrailingDistancePips = 20

Day Control:
TradeMonday … TradeSunday

Subscription Control:
MagicNumber (default per symbol)
LicenseKey (string)
ExpiryDate (YYYY-MM-DD)

8. Developer Notes

Must work on both 4-digit and 5-digit brokers, and metals/indices.
Code should be event-driven, not loop-heavy.
Backtestable on all timeframes.
Logging must indicate:
BOS detected
Push measured and valid
Pending order placed (level + fib %)
Trade modifications (lock, trail, SL move)
License validation success/fail
Day filter blocking/allowing trades
Use broker server time for all day filters.

Archivos adjuntos:

PNG
bullisch.png
106.2 Kb

Han respondido

1
Desarrollador 1
Evaluación
(228)
Proyectos
284
27%
Arbitraje
14
50% / 36%
Caducado
9
3%
Ocupado
2
Desarrollador 2
Evaluación
(299)
Proyectos
461
18%
Arbitraje
29
45% / 24%
Caducado
28
6%
Ocupado
3
Desarrollador 3
Evaluación
(10)
Proyectos
12
0%
Arbitraje
1
0% / 0%
Caducado
1
8%
Trabaja
4
Desarrollador 4
Evaluación
(458)
Proyectos
902
77%
Arbitraje
25
16% / 68%
Caducado
100
11%
Libre
Ha publicado: 1 artículo, 6 ejemplos
5
Desarrollador 5
Evaluación
(26)
Proyectos
32
28%
Arbitraje
4
75% / 25%
Caducado
6
19%
Libre
6
Desarrollador 6
Evaluación
(15)
Proyectos
34
24%
Arbitraje
3
0% / 33%
Caducado
2
6%
Trabaja
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(258)
Proyectos
585
35%
Arbitraje
64
20% / 58%
Caducado
147
25%
Libre
Ha publicado: 1 artículo, 22 ejemplos
9
Desarrollador 9
Evaluación
(287)
Proyectos
517
36%
Arbitraje
62
34% / 35%
Caducado
187
36%
Trabaja
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(25)
Proyectos
28
7%
Arbitraje
2
50% / 50%
Caducado
2
7%
Trabajando
12
Desarrollador 12
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Trabaja
13
Desarrollador 13
Evaluación
(7)
Proyectos
11
18%
Arbitraje
6
17% / 0%
Caducado
3
27%
Trabaja
14
Desarrollador 14
Evaluación
(51)
Proyectos
82
43%
Arbitraje
3
0% / 100%
Caducado
2
2%
Trabajando
15
Desarrollador 15
Evaluación
(22)
Proyectos
29
14%
Arbitraje
3
67% / 0%
Caducado
3
10%
Libre
16
Desarrollador 16
Evaluación
(16)
Proyectos
20
0%
Arbitraje
9
0% / 78%
Caducado
6
30%
Libre
17
Desarrollador 17
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
18
Desarrollador 18
Evaluación
(11)
Proyectos
16
31%
Arbitraje
3
67% / 0%
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(270)
Proyectos
550
49%
Arbitraje
55
40% / 36%
Caducado
227
41%
Trabaja
20
Desarrollador 20
Evaluación
(75)
Proyectos
231
73%
Arbitraje
6
100% / 0%
Caducado
1
0%
Libre
21
Desarrollador 21
Evaluación
(4)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
1
50%
Trabaja
Solicitudes similares
Hello, I need an EA that will be a trend following with these features. Money management EA must use signal generator AI to automatically do a top down analysis on all time frames and then take trades in a smaller time frame based on generated signals. After analysis the bot must display all the trends on each time frame and then indicate whether its buying or selling. The bot should open signals on one side at a
Looking for an experienced MQL5 developer to create a professional-grade Expert Advisor for MT5, designed to comply with prop firm rules (IC Markets). The EA should include robust risk management, daily/weekly equity protection, dynamic position sizing, spread and news filters, and session controls. Strategy is trend-based with volatility filters and will be provided in detail privately. Must be fully adjustable
A Grid EA with a hedge that closes losing trades with current profits utilizes a grid trading strategy combined with hedging techniques to mitigate risk and potentially lock in profits. It involves placing buy and sell orders at predetermined price intervals, forming a grid. When a trade within the grid moves against the initial direction, a hedge (opposite position) is opened. If the market reverses, the losing
My budget is 30USD Maximum. Here I uploaded My EA of grid strategy. 1. Run the EA an get an idea about how it works. 2. Then you see if trend goes against the order type it make more open orders. 3. I want to add DCA method for certain opened orders without affecting normal sequence of the given EA. For example if 5 consecutive orders are open, from the 6th order the grid sequence should be occur. there might me 2
TEXTTT ME FOR MORE INFO. I need a fully automated Expert Advisor (EA) for MetaTrader 5 based on my sniper trading strategy. The EA must be precise, professional, and disciplined — capable of operating completely on its own in a real account, respecting strict risk parameters and entry rules. The EA must detect strong Support/Resistance zones on the H4 timeframe, refined/validated on H1. It must enter trades only with
This indicator detects ABCD structure-based trading setups using a custom pullback and breakout logic, as discussed below. It works for both bullish and bearish scenarios (mirror logic), with user control over direction selection on the chart. ─────────────── 🔹 1. Pullback Logic: - Pullback is confirmed only after at least 2 red candles (in bullish case) have formed. - The body of one of these red candles must close
Hello. I’m looking for a highly skilled MQL5 developer for a serious 50/50 partnership. My trading strategy is the result of 9 years of personal trading experience and has never been shared or taught publicly. Over the past 2+ years, we’ve worked on this strategy as a team to optimize it thoroughly. The strategy has a verified win rate of over 70%. If you’re capable of turning this into a clean, professional, and
Je veux un Robot qui doit pouvoir déclencher des positions sur un niveau prédéfini du retracement de fibonacci combiné à la théorie de Dow en considérant la ligne de tendance. Seulement des ordres allant dans le sens de la tendance défini par la ligne de tendance d'une unité de temps standard. Il doit respecter le calcul de risque d'un montant standard en fonction d'un niveau de Stop Loss intégré qui ne va pas
This Expert Advisor (EA) is based on a multi-confirmation Fair Value Gap (FVG) strategy that begins with aligning market trend across Daily, 4H, and 1H timeframes, allowing only Buy trades in a bullish trend and Sell trades in a bearish trend. It detects FVGs on the 4H and 1H charts and checks for Fibonacci confluence. Once price revisits and fills the FVG, the EA confirms a Break of Structure (BoS) on the M15 or M5
I need an Expert advisor (EA) for metatrader 5 (MT5), coded in MQL5. The EA should open and close trades based on the RSI indicator. A buy trade is triggered when RSI crosses below 30 and then moves back above it. A sell trade when RSI crosses above 70 and then drops below. The EA must include customizable input settings such as RSI period, lot size, stop loss, take profit, maximum number of trades, and trading time

Información sobre el proyecto

Presupuesto
100 - 200 USD
IVA (21%): 21 - 42 USD
Total: 121 - 242 USD
Para el ejecutor
90 - 180 USD