An Expert Adviser based on Fibonacci Retracement

指定

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























































反馈

1
开发者 1
等级
(18)
项目
22
9%
仲裁
6
33% / 50%
逾期
1
5%
工作中
2
开发者 2
等级
(505)
项目
972
74%
仲裁
27
19% / 67%
逾期
100
10%
已载入
发布者: 1 文章, 6 代码
3
开发者 3
等级
(9)
项目
13
8%
仲裁
3
33% / 67%
逾期
1
8%
空闲
4
开发者 4
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
5
开发者 5
等级
项目
0
0%
仲裁
0
逾期
0
空闲
6
开发者 6
等级
(2)
项目
2
100%
仲裁
1
0% / 0%
逾期
0
空闲
7
开发者 7
等级
(104)
项目
167
25%
仲裁
23
9% / 78%
逾期
16
10%
工作中
8
开发者 8
等级
(60)
项目
87
29%
仲裁
24
13% / 58%
逾期
7
8%
工作中
9
开发者 9
等级
(73)
项目
257
53%
仲裁
16
50% / 38%
逾期
83
32%
空闲
10
开发者 10
等级
(3)
项目
4
0%
仲裁
1
0% / 0%
逾期
0
空闲
11
开发者 11
等级
(309)
项目
555
35%
仲裁
79
32% / 42%
逾期
201
36%
工作中
12
开发者 12
等级
(12)
项目
16
13%
仲裁
4
50% / 25%
逾期
4
25%
工作中
13
开发者 13
等级
项目
0
0%
仲裁
0
逾期
0
空闲
14
开发者 14
等级
(32)
项目
32
63%
仲裁
1
0% / 0%
逾期
1
3%
工作中
发布者: 5 代码
15
开发者 15
等级
项目
0
0%
仲裁
0
逾期
0
空闲
16
开发者 16
等级
(8)
项目
17
41%
仲裁
2
0% / 100%
逾期
4
24%
工作中
17
开发者 17
等级
项目
0
0%
仲裁
0
逾期
0
空闲
18
开发者 18
等级
项目
0
0%
仲裁
0
逾期
0
空闲
19
开发者 19
等级
(270)
项目
552
49%
仲裁
57
40% / 37%
逾期
227
41%
工作中
20
开发者 20
等级
项目
0
0%
仲裁
0
逾期
0
空闲
21
开发者 21
等级
(72)
项目
147
67%
仲裁
21
10% / 71%
逾期
44
30%
空闲
22
开发者 22
等级
(39)
项目
44
25%
仲裁
13
8% / 69%
逾期
1
2%
繁忙
相似订单
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
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
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
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

项目信息

预算
30+ USD
截止日期
 5 天

客户

所下订单1
仲裁计数0