An Expert Adviser based on Fibonacci Retracement

Tarea técnica

I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.)

The EA should be able to determine a Fibonacci retracement from a support and the  next resistance point in an uptrend and vice versa (i.e

the EA should be able to determine a Fibonacci retracement from a resistance and the next support point in a down trend.)

When the market reaches the Fibonacci 50.0 - 61.8 zone and unable to break beyond this zone after say three candles close within the zone then the EA should execute even If any of these three candles breaks beyond this zone and still refuses to close beyond the zone, the EA should execute as long as three candles consecutively are unable to close beyond the 61.8 line and closes within the 50.0 - 61.8 zone. The execution in an uptrend will be a buy and in a downtrend will be a sell.

In a case where 1 or 2 candles close within and the third one closes within the 38.2-50.0 zone, wait until the market has another 3 consecutive candles close within the Fibo 50.0-61.8 zone before execution.

The moment any candle closes beyond the 61.8 line, ignore this retracement and wait for another set up entirely. 

In an uptrend market the Fibonacci should take reading from the highest point in the body of the topmost candle in the resistance point and the lowest point in the downmost candle in the support point  and vice versa in a downtrend. The wicks should be ignored.

When there is current open trade and the set up aligns in an opposite direction, EA should close the current open trade and open a new trade in the opposite direction.

I want to be able to set my stop loss to a fixed value and take profit at Fibo 0,0 level. I should be able to set a fixed lot size and maximum daily risk daily (i.e once maximum daily risk or drawdown has reached, EA should stop for the day).

I should be able to set a time in which EA will run, for example  06:00 hours to 18:00 hours broker time everyday. At the set time for EA to close, EA should close running trade either in profit or loss. For this example once it's 18:00 hours broker time, EA should close any running trade.

I should be able to set minimum pips for the fibonacci retracement for the EA before execution is allowed. For example, if Fibonacci retracement from 0.0 to 61.8 is less than 100 pips on XAUUSD then EA should not execute even though all parameters align. I want this to avoid overtrading that can occur due to every small Fibo retracement.

If there is an open trade and another set up occurs in the same direction, the EA should ignore this set up to also avoid overtrading. No two trades should run at the same time. EA can only open another trade if the set up occurs in an opposite direction and the current open position should be closed before opening the new trade.

Lastly if it is possible for this to work is such a way that no other trade can be placed except the one executed by the EA, evey manual trade executed should be disallowed. I will strictly be using this for gold.

SUMMARY OF WHAT THE EA SHOULD DO WITH EXAMPLE INPUTS

Automatic swing detection (ZigZag-style logic)
- Proper Trend identification/detection
- Fibonacci calculation from candle bodies only

-  Accurate Fibonacci drawing on chart

- 3-candle confirmation logic
- 38.2–50 reset rule
- Minimum Fibonacci size filter
- Fixed lot size - I should be able to input this
-250-pip stop loss -   I should be able to input this also
- Take profit at Fibo 0.0
-Opposite signal reversal
- Only one trade at a time
- Manual trade blocking option
- Daily drawdown limit
- Spread protection
- Slippage control   
- Runs on M1, M5, M15, H1 

This EA should Include 

1. Automatic Support / Resistance

Using body highs and lows from recent candles.

 Wicks ignored
 Dynamic swing detection


2. Fibonacci Levels

Automatically calculates:

0.0 38.2 50.0 61.8 100

Trade zone:

50 – 61.8

3. Candle Confirmation

Entry only after:

3 consecutive closes inside 50 – 61.8

Invalid if:

Close above 61.8

4. Minimum Fibonacci Size

Example:

MinFiboPips = 100

Prevents micro pullbacks.


5. Trade Management

Rules enforced:

Only 1 trade allowed

If opposite setup appears:

Close trade Open opposite trade


6. Stop Loss

Fixed: I should be able to set this in pips

250 pips

7. Take Profit

Always:

Fibonacci 0.0


8. Trading Time

Example:

06:00 → 18:00

At 18:00

All trades closed automatically


9. Daily Risk Control

Example:

MaxDailyLoss = $500

Once reached:

EA stops trading until next day


10. Manual Trading Protection

If enabled:

CloseManualTrades = true

Any manual trade is closed instantly.


I should be able to set these manually in my inputs.

For XAUUSD:

LotSize = 0.10 StopLossPips = 250 MinFiboPips = 100 MaxDailyLoss = 500 StartHour = 6 EndHour = 18 MaxSpread = 50























































Han respondido

1
Desarrollador 1
Evaluación
(18)
Proyectos
22
9%
Arbitraje
6
33% / 50%
Caducado
1
5%
Trabaja
2
Desarrollador 2
Evaluación
(505)
Proyectos
972
74%
Arbitraje
27
19% / 67%
Caducado
100
10%
Trabajando
Ha publicado: 1 artículo, 6 ejemplos
3
Desarrollador 3
Evaluación
(9)
Proyectos
13
8%
Arbitraje
3
33% / 67%
Caducado
1
8%
Libre
4
Desarrollador 4
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(2)
Proyectos
2
100%
Arbitraje
1
0% / 0%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(104)
Proyectos
167
25%
Arbitraje
23
9% / 78%
Caducado
16
10%
Trabaja
8
Desarrollador 8
Evaluación
(60)
Proyectos
87
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
9
Desarrollador 9
Evaluación
(73)
Proyectos
257
53%
Arbitraje
16
50% / 38%
Caducado
83
32%
Libre
10
Desarrollador 10
Evaluación
(3)
Proyectos
4
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(309)
Proyectos
555
35%
Arbitraje
79
32% / 42%
Caducado
201
36%
Trabaja
12
Desarrollador 12
Evaluación
(12)
Proyectos
16
13%
Arbitraje
4
50% / 25%
Caducado
4
25%
Trabaja
13
Desarrollador 13
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(32)
Proyectos
32
63%
Arbitraje
1
0% / 0%
Caducado
1
3%
Trabaja
Ha publicado: 5 ejemplos
15
Desarrollador 15
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(8)
Proyectos
17
41%
Arbitraje
2
0% / 100%
Caducado
4
24%
Trabaja
17
Desarrollador 17
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(270)
Proyectos
552
49%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
20
Desarrollador 20
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(72)
Proyectos
147
67%
Arbitraje
21
10% / 71%
Caducado
44
30%
Libre
22
Desarrollador 22
Evaluación
(39)
Proyectos
44
25%
Arbitraje
13
8% / 69%
Caducado
1
2%
Ocupado
Solicitudes similares
XAU/USD Alert Bot MT4 30 - 120 USD
Project Summary: Create an alert-only MT4 EA for XAU/USD (5-minute chart) that detects a specific sequence of price action events and sends push notifications and optional sound/Telegram alerts when all conditions are met. ⸻ 1. Inputs / Settings • Enable/Disable Alerts → Boolean (true/false) • FVG minimum width (pips) → Default 2 • Order Block maximum width (pips) → Default 30 • Optional time filter → Default
We are looking for a professional developer or trader who already has a proven profitable EA or strategy based mainly on price action logic. Important requirements: No Martingale No Grid No Micro-scalping Avoid heavy indicator-based strategies Strategy should be based mainly on price behavior / market structure We are not looking for aggressive systems that promise unrealistic returns. Our focus is on stable
I am looking for an expert MQL5 developer to build a high-precision Hedging System between two different MT5 brokers running on the same local PC. Core Objective: Execute opposite (inverse) trades between a Master and Slave account (e.g., Master BUY = Slave SELL, Master SELL = Slave BUY). The Challenge: Standard "Trade Copiers" are insufficient as they cannot prevent single-legged exposure when using manual trading
I want robot that can help me trade and make some money so that I can be able to learn from it while I'm still in depot account now.Is how it gonna help me with some money
Hello, I have two requests: First: Feature Modification Request Currently, the EA places only one pending order at a time. I want to modify this to place two opposite pending orders (Buy Stop and Sell Stop) simultaneously, with the distance between them aligned with the existing Breakeven and Trailing Stop settings in the bot. How it should work: The EA places a Buy Stop above current price and a Sell Stop
Hello, I need a professional MT5 Expert Advisor for currency trading. PAIRS: EURUSD, GBPUSD, USDJPY, USDCHF TIMEFRAME: M15 STRATEGY: - EMA 8 cross EMA 21 (entry signal) - EMA 50 for trend filter - RSI 14 confirmation (Buy > 52, Sell < 48) - No trade if RSI > 75 or < 25 SESSION: London + New York only 07:00 to 17:00 GMT No weekend trading TRADE MANAGEMENT: - Lot size: 0.06 - Take Profit: $15 per trade - Stop Loss: $8
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
Looking for a good EA 30 - 100 USD
Hello guys,i am looking for a good already established ea,that doesnt blow account,only give 5 percent per month with maximum 10 percent drowdown,I need prove,i need to backtest by myself,after that i select the developer
Hi, I need a custom MT5 indicator based on a multi-timeframe fractal break reversal. 1️⃣ The indicator should use two timeframes: Higher Timeframe (HTF) Lower Timeframe (LTF) (Timeframes should be adjustable in inputs, e.g., HTF = H1 and LTF = M5) 2️⃣ Use standard fractals to detect fractal highs and fractal lows. 3️⃣ Primary signal (HTF): When a Lower High fractal is formed and price breaks that Lower High in one
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy

Información sobre el proyecto

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

Cliente

Encargos realizados1
Número de arbitrajes0