Convert Fibonacci retracement indicator to an EA with more options for timesettings, dynamic lotsize calculation and close all function.

MQL5 Indikatoren Experten

Auftrag beendet

Ausführungszeit 7 Tage
Bewertung des Kunden
Great job, development meets all my requirements.
Bewertung des Entwicklers
Thank you for the order! Everything is great!

Spezifikation

See attached autofib.mq5, note that the timesettings are not as needed, only whole hours can be entered, this must also be based on minutes as starting time for the Fibonacci retractement.

Usage is multiple EA’s (1xEA per Symbol) on one account!

The TP and SL can be hidden for the broker by true or false in the general settings.

Fibonacci retracement variation based on the current day and time, for example 04:45 (broker server time) start and watches from that time for highs and lows till the current time. There are 5 levels, 3 are customizable with the input settings, representing Entry, SL and TP. The EA places an position at the entry level (buy if the fibo is up (high of the fibo is later in time then low of the range) and sell if the fibo is down (low of the fibo is later in time then the high of the fibo.

The Fibonacci checks if there is a position for the symbol of the EA, if there is an position and it is in the direction of the fibonnacci no position is taken, if the position is the opposite of direction of the fibonnacci, the position will be closed and the fibonnacci places the trading position.

If the EA hits the target in money for the current symbol of the EA for the current day no further is allowed. The next day trading starts over again.

Inputs

Use Fibonacci retracement true or false; if true the Fibonacci levels are used for trading, if false no trading is allowed.

SL and TP hidden for broker, true or false, if true the SL and TP are hidden for the broker.

Timetrading start hour starthour for the trading

Timetrading start min start minutes for the trading

Time start hour start hours of the fibonacci range of the current day

Time start min start minutes of the fibonacci range of the current day

Positions close end hour time of the current day open positions should be closed

Positions delete end min time of the current day open positions should be closed

Level TP The fibolevel of the Take profit

Level Entry The fibolevel of the Entry

Level SL The fibolevel of the Stop Loss

Color Line Level 0  Sets the color of the line which marks level 0

LineType Level 0  Sets the type of the line which marks level 0

LineWidth Level 0   Sets the width of the line which marks the level 0

Color Line TP Sets the color of the line which marks the TP

LineType TP Sets the type of the line which marks the TP.

LineWidth TP Sets the width of the line which marks the TP.

Color Line Entry Sets the color of the line which marks the Entry

LineType Entry Sets the type of the line which marks the Entry.

LineWidth Entry Sets the width of the line which marks the Entry.

Color Line SL Sets the color of the line which marks the SL

LineType SL Sets the type of the line which marks the SL.

LineWidth SL Sets the width of the line which marks the SL.

Color Line Level 1  Sets the color of the line which marks level 1

LineType Level 1  Sets the type of the line which marks level 1

LineWidth Level 1   Sets the width of the line which marks the level 0

Visualization

The Fibonacci levels are visualized by lines and labels on the chart 

Dynamic Lotsize calculation (per Symbol) for the current day

Lotsize are dynamic being calculated, every position the lotsize is calculated until TP is reached also the profit in money is reached. Lotsize is calculated including commission per lot and spread. If previous deal of the current day of the pair/symbol is a loss then the new trade lot size (calculated by the function) should be based on the default profit (Profit in amount plus spread plus commission) + the loss of the previous deal ( loss + commission).

Example, the account runs two EA, EURUSD and USDJPY, 1st deal EURUSD for current day is a loss of 18,- commission 2, total today -20.-. USDJPY deal 1 was a profit of 20,- commission of 2,- total +18. For the new EURUSD position it is about making up that loss of -20 and the new profit of 40+commission+spread. It should leave the profit of USDJPY out of the lot size calculation.

If the EA hits the target in money for the current symbol no further trading is allowed.

Inputs

Target profit symbol in money: … 100 target amount of profit for the current symbol in the base currency

Commission: … /1 lot input of the commission per 1 lot.

Spread: … input for the common spread of the current symbol.

Close All function

If the set target profit of the account is reached then all orders should be deleted and all positions should be closed and further trading is for the current day no longer allowed.

For example:

The current position is at a profit of 100, target is 150,- so the position is not closed yet. However, the account target profit is reached then all orders should be deleted and all positions should be closed and further trading is for the current day no longer allowed. In this case for this symbol the position is closed at 100,- profit. The next day trading starts over again.

Inputs

Target profit account in money: … 1.000 target amount of profit for the account in the base currency

Delivery as an .mq5 and ex5. file


Bewerbungen

1
Entwickler 1
Bewertung
(16)
Projekte
35
23%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
2
6%
Arbeitet
2
Entwickler 2
Bewertung
(12)
Projekte
9
33%
Schlichtung
11
0% / 100%
Frist nicht eingehalten
2
22%
Frei
3
Entwickler 3
Bewertung
(298)
Projekte
478
40%
Schlichtung
105
40% / 24%
Frist nicht eingehalten
82
17%
Beschäftigt
Veröffentlicht: 2 Beispiele
4
Entwickler 4
Bewertung
(6)
Projekte
8
0%
Schlichtung
8
13% / 88%
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(62)
Projekte
90
29%
Schlichtung
24
13% / 58%
Frist nicht eingehalten
7
8%
Arbeitet
6
Entwickler 6
Bewertung
(45)
Projekte
91
13%
Schlichtung
34
26% / 59%
Frist nicht eingehalten
37
41%
Frei
7
Entwickler 7
Bewertung
(59)
Projekte
92
42%
Schlichtung
4
0% / 100%
Frist nicht eingehalten
3
3%
Arbeitet
8
Entwickler 8
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei
Ähnliche Aufträge
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
I want someone to check if the indicator is re-painting or drawing and modify it. When I refresh the chart sometimes it the buy and sell arrow change positions. I want the indicator draw and dot re-paint
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not
Hello there, I am looking for a automated strategy for ninjatrader 5 Looking for a proven profit factor of 1.5 ( minimum ) on 15 mins time frame . I do MNQ futures I do not have the logic, but I like mean reverssion variable , plus RSI etc . that could make the automated tool robust and long lasting. i need fast response if you have
Date:29.08.2026 **TECHNICAL SPECIFICATIONS** PDF Attached for reference rest all details given below. Required: Creation, Integration and successful execution of trading algo/robot in MT5 using MT5 VPS. Brokers: Trades to be executed in both brokers Swissquote and Pepperstone. Symbols: All available in MT5. ** Common parameters for all executions: · Manual Start/Stop. · Session time (defined / always

Projektdetails

Budget
100+ USD
Ausführungsfristen
bis 3 Tag(e)