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

Работа завершена

Время выполнения 7 дней
Отзыв от исполнителя
Thank you for the order! Everything is great!
Отзыв от заказчика
Great job, development meets all my requirements.

Техническое задание

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


Откликнулись

1
Разработчик 1
Оценка
(16)
Проекты
35
23%
Арбитраж
4
0% / 50%
Просрочено
2
6%
Работает
2
Разработчик 2
Оценка
(12)
Проекты
9
33%
Арбитраж
11
0% / 100%
Просрочено
2
22%
Свободен
3
Разработчик 3
Оценка
(298)
Проекты
478
40%
Арбитраж
105
40% / 24%
Просрочено
82
17%
Загружен
Опубликовал: 2 примера
4
Разработчик 4
Оценка
(6)
Проекты
8
0%
Арбитраж
8
13% / 88%
Просрочено
0
Свободен
5
Разработчик 5
Оценка
(62)
Проекты
90
29%
Арбитраж
24
13% / 58%
Просрочено
7
8%
Работает
6
Разработчик 6
Оценка
(45)
Проекты
91
13%
Арбитраж
34
26% / 59%
Просрочено
37
41%
Свободен
7
Разработчик 7
Оценка
(60)
Проекты
95
42%
Арбитраж
4
0% / 100%
Просрочено
4
4%
Свободен
8
Разработчик 8
Оценка
(574)
Проекты
945
47%
Арбитраж
309
58% / 27%
Просрочено
125
13%
Свободен
Похожие заказы
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
FOR MT5. BROKERS - XM,TICKMILL. looking for an EA which can generate reasonable profits like 100% monthly, SEND ME SOUCE CODE AND UPON TESTING I SHALL PAY AND WE CAN MAKE NECESSARY MODIFICATIONS
I need a robot that will grow small accounts to bigger amounts, I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $200 profit for the day, it must close
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Your XAUUSD Buy Stop / Sell Stop Grid EA Strategy 1. Initial order placement Buy Stop orders — 5 orders Place 5 Buy Stop pending orders above the current market price. Each order is spaced 1.00 XAUUSD price unit apart. Initial lot sizes range from 0.01 to 0.05 lots . Sell Stop orders — 5 orders Place 5 Sell Stop pending orders below the current market price. Each order is spaced 1.00 XAUUSD price unit apart. Initial
I am looking for an experienced and highly competent MQL5 developer to create a bespoke, fully automated Forex Expert Advisor for Meta Trader 5 for my Apple iMac. The EA will incorporate a proprietary trading strategy involving multiple position management, dynamic trade execution, advanced profit management and sophisticated risk controls. Key technical requirements: Automated trade execution and management
Hello developers and quantitative traders, I am looking to purchase a license for an EXISTING, professionally developed MT5 quantitative portfolio Expert Advisor with a long-term, independently verifiable trading history. Purchase budget: $5,000–$15,000 USD Additional annual maintenance fee: $1,000 USD I am willing to establish a long-term commercial relationship with the developer. IMPORTANT: I am NOT looking for
SIERRA CHART 40+ USD
Hello. I have some custom chartbooks/studies that run on ACSIL C++ in Sierra Charts trading platform. I need them put into pinescript to be able to be used in trading view and look similar to the charts we are giving you. also need it to be able to work on ninja trader NinjaScript (C#)/java, and MQL4 and MQL5 for metatrader 4 and 5. You would have to assist with testing. Let me know if you can help with this task
Trading 35+ USD
Project: XAUUSD Gold Trading Robot for MetaTrader 5 I want to develop a fully automated Expert Advisor (EA) for MetaTrader 5, designed exclusively for Gold (XAUUSD) and compatible with the Exness broker. Trading Strategy: Liquidity + CHOCH + Retest Identify important buy-side and sell-side liquidity zones using previous highs and lows, equal highs/lows, and confirmed swing points. Wait for a clear liquidity sweep
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following

Информация о проекте

Бюджет
100+ USD
Сроки выполнения
до 3 дн.