An Expert Adviser based on Fibonacci Retracement

Spécifications

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























































Répondu

1
Développeur 1
Évaluation
(18)
Projets
22
9%
Arbitrage
6
33% / 50%
En retard
1
5%
Travail
2
Développeur 2
Évaluation
(505)
Projets
972
74%
Arbitrage
27
19% / 67%
En retard
100
10%
Chargé
Publié : 1 article, 6 codes
3
Développeur 3
Évaluation
(9)
Projets
13
8%
Arbitrage
3
33% / 67%
En retard
1
8%
Gratuit
4
Développeur 4
Évaluation
(16)
Projets
35
23%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(2)
Projets
2
100%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
7
Développeur 7
Évaluation
(104)
Projets
167
25%
Arbitrage
23
9% / 78%
En retard
16
10%
Travail
8
Développeur 8
Évaluation
(60)
Projets
87
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
9
Développeur 9
Évaluation
(73)
Projets
257
53%
Arbitrage
16
50% / 38%
En retard
83
32%
Gratuit
10
Développeur 10
Évaluation
(3)
Projets
4
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
11
Développeur 11
Évaluation
(309)
Projets
555
35%
Arbitrage
79
32% / 42%
En retard
201
36%
Travail
12
Développeur 12
Évaluation
(12)
Projets
16
13%
Arbitrage
4
50% / 25%
En retard
4
25%
Travail
13
Développeur 13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
(32)
Projets
32
63%
Arbitrage
1
0% / 0%
En retard
1
3%
Travail
Publié : 5 codes
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
16
Développeur 16
Évaluation
(8)
Projets
17
41%
Arbitrage
2
0% / 100%
En retard
4
24%
Travail
17
Développeur 17
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
18
Développeur 18
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(270)
Projets
552
49%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
20
Développeur 20
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
21
Développeur 21
Évaluation
(72)
Projets
147
67%
Arbitrage
21
10% / 71%
En retard
44
30%
Gratuit
22
Développeur 22
Évaluation
(39)
Projets
44
25%
Arbitrage
13
8% / 69%
En retard
1
2%
Occupé
Commandes similaires
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
Articles How to create Requirements Specification for ordering an indicator 76 MetaQuotes 51 380 Table of Contents How can algo trading make a trader's live easier? Supplement text with images and videos Useful programs for creating Requirements Specification Formulating the Requirements Specification as an algorithm Requirements Specification Examples What can I specify in the Requirements Specification? Indicator
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
I need a custom MT5 expert advisor (EA) designed to mirror trades between two different broker accounts (Master and Slave) running on the same local PC. My primary objective is Synchronous Execution to avoid being exposed to the market due to price mismatches. Core Requirements: Symbol-Agnostic: The EA must automatically copy trades for any symbol I trade (Forex, Gold, Indices, etc.) without needing to hardcode
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
Product Requirements Document (PRD) Project Title: Liquidity Sniper Semi-EA (Fibonacci & SMC Based) Platform: MetaTrader 5 (MQL5) Target Asset: XAUUSD (High Volatility) / M5 Timeframe 1. EA Operating Concept (Semi-Automated) Human-Machine Collaboration: The trader manually draws a standard Fibonacci Retracement object on the M15 chart to define the market structure (setting the 1.0 and 0.0 anchor points). EA's Role
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits
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
Title: Design and Development of an Automated Forex Trading Robot Using MQL5 and Machine Learning Techniques Abstract: This project focuses on the design and development of an automated Forex trading robot that integrates MQL5 programming and machine learning techniques. The system aims to predict market movements and execute trades automatically, minimizing human error and emotional trading. By leveraging historical

Informations sur le projet

Budget
30+ USD
Délais
à 5 jour(s)

Client

Commandes passées1
Nombre d'arbitrages0