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

MQL5 Indicators Experts

Job finished

Execution time 7 days
Feedback from customer
Great job, development meets all my requirements.
Feedback from employee
Thank you for the order! Everything is great!

Specification

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


Responded

1
Developer 1
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
2
Developer 2
Rating
(12)
Projects
9
33%
Arbitration
11
0% / 100%
Overdue
2
22%
Free
3
Developer 3
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
4
Developer 4
Rating
(6)
Projects
8
0%
Arbitration
8
13% / 88%
Overdue
0
Free
5
Developer 5
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
6
Developer 6
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
7
Developer 7
Rating
(59)
Projects
92
42%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
8
Developer 8
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
Hi, I am looking for a marketer or affiliate to promote my Expert Advisor (EA). Offer Details: Partnership Model: Revenue Sharing / Performance-Based Commission. Duration: 6 Months of continuous profit-sharing from all generated sales/subscriptions. Profit Ratio: Flexible and open for negotiation depending on your marketing reach and experience (Details will be discussed via Private Message / DM). If you have a solid
Straddle bot v1.1.38 30 - 100 USD
any one can make straddle bot v1.1.38 its original made by yoforex.com Manual gold trading on the M15 chart demands constant attention. Price can break sharply in either direction or chop for hours. Many traders miss the move, enter late, or over-react when volatility spikes. Straddle EA V1.1.38 MT5 is built to handle that specific problem on XAUUSD by placing a multi-level pending-order grid on both sides of price
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Subject: Custom MT5 Multi-Currency EA Request - Multi-Timeframe Strategy with Trailing Stop Hi, I am looking for a developer to create a custom Expert Advisor (EA) for MetaTrader 5 (MT5) . The EA must be optimized for multi-currency testing and trading , allowing me to run it across multiple currency pairs simultaneously. The trading logic should be based on a multi-timeframe approach using the following indicators
Hi All, Looking for a ready to TEST and USE EA which makes $20 per day with initial deposit of $200 only with controlled drawdown and no trades during news time. Please note: Budget is fixed and no trial and hit error for testing and developing EA as I do not have time. I will select the developer only after the TEST is successful only, do not force to select and make the payment and payment will be done once I am
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I need to build one from scratch . Experience with Sierra Chart, ACSIL
This is SCAMMER! Need Good Programmer to UPDATE Current Expert Advisor To Use VirtualPendingOrders and UPDATE UI Dashboard 7 minutes ago MQL4 Experts Specification EN Good working version of an expert advisor needs update in the SOURCE CODE implement VirtualPendingOrders and UPDATE UI Dashboard. I will upload the Source code and approach to VirtualPendingOrders for selected programmer to update expert advisor
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move

Project information

Budget
100+ USD
Deadline
to 3 day(s)