Adding 2 functions to existing EA ( limiting number of order ,partial close) price negotiable

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

Время выполнения 3 дня
Отзыв от исполнителя
Great customer !
Отзыв от заказчика
Very supportive and patient developer!

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

Hi, this should take very little of your time. price is negotiable depending on the finish of the EA

I would like to add the following 2 function to the EA.
1. the partial open/close
2. Limiting the number of open order

For your reference, following is the logic and how the current EA work. (refer to source code attached)

Long

open
- long when the low(1) is below the long-break-out line and low(0) is above the long-break-out line (the order is executed a the next bar or executed at the current bar if high(0) is apart from the break-out line for a certain distance
close
-take profit at certain pips
-close at short-break-out line

Short

Open
-Short when low(1) is above the short-break-out line and current price(bid) cross below the short-break-out line
close
-take profit at certain pips
-close at long-break-out line

Alert function
Email/Alert notification for error/open order.

The break out line/ take profit pips are being manually input as Extern variables


The problem I am having now is that the program seems to open multiples orders despite me trying to limit the number of open order to 1 or 2 at times per currency pair/chart.

The current EA seems to work fine with the system tester (only sending one order at time ) but once I attach it to the live trading chart, it starts sending multiple orders until the margin become in sufficient.

Followings are how I wish the EA to be modified into

Requirements

1. Limiting the open order function

2. Partial close/ open function as described (refer to illus)
3. Can be used by multiple charts ( same currency-pair /same or different time frames)

 

 

 

Long

open  (open whenever the condition is fuldilled and the number of open order is less than the predetermined number)
long when the low(1) is below the long-break-out line and low(0) is above the long-break-out line (the order is executed a the next bar or executed at the current bar if high(0) is apart from the break-out line for a certain distance

close condition 1 (close 1/3)
take profit at certain pips (lets say 20 pips)
close condition 2 (close 1/3)
take profit at certain pips (lets say 40 pips)

close condition 3 (close all)
close with the same condition as Short (crossing the short-break-out line)

 

Short

Open(open whenever the condition is fuldilled and the number of open order is less than the predetermined number)
Short when low(1) is above the short-break-out line and current price(bid) cross below the short-break-out line

close condition 1 (close 1/3)
take profit at certain pips (lets say 20 pips)

close condition 2 (close 1/3)
take profit at certain pips (lets say 40 pips)

close condition 3 (close all)
close with the same condition as Long (crossing the short-break-out line)

Alert function will also continue to work


example (refer to illustration)

Long order opened for 3 lots

closed with condition 1 for 1 lot
closed with condition 2 for 1 lot
closed with condition 3 for the rest

 


Файлы:

PNG
sys_re1.png
32.6 Kb

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

1
Разработчик 1
Оценка
(84)
Проекты
149
31%
Арбитраж
32
34% / 41%
Просрочено
43
29%
Свободен
Похожие заказы
I want a mobile bot to trade automatically on my behalf must have experience and be willing to verify your work. It must be profitable and user friendly be easy to use and connect. You'll be given a share of profits
Hi, I am looking to purchase an existing MT5 EA for Forex currency pairs . I am not looking to develop a new strategy from scratch , so please read carefully before applying. Requirements: Existing and working MT5 Forex EA Must trade on currency pairs Source code (.mq5) must be included Must have proven results I need to run my own backtest and demo testing before purchase Demo trial or testing access is required
Labouchere System has many series and can transfer the Units to any other Series when needed (this function is very important). The coders who really knows this cancellation sytem can apply. Also the coder should have practical usage of phyton language to translate this strategy into phyton to use it in crypto markets. No indicator or chart issues , but it has many mathematical functions and calculations . the code
Hello everyone, I’m looking for someone who can help me develop an Expert Advisor (EA) for Boom and Crash markets. I need a developer who has proven experience and has already developed at least 10–15 EAs for Boom and Crash. This will help save both your time and my time when filtering developers. The EA will include: EMA crossover strategy Different time filters Additional custom conditions and logic I’m also
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree with
Overview: I would like to create a robot in MT5 (what I use) that when the price or candle touches a moving average it auto- matically gets me into a trade. Details or features I need: 1 a way to tell it how much to trade 0.10 or ten cents per pip or more or do I set this in MT5? 2 a way to limit the number of trades per candle or set it to two or three trades (if the price crosses over the moving average ten times I
Candle bot 30+ USD
A dual-direction breakout stacking EA using previous candle highs/lows as triggers with rolling pending orders and fixed micro take profits. It is suitable for: automation EA development trend capture with repeated entries recovery-style trade management
Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w tworzeniu niezawodnych i profesjonalnych robotów handlowych będzie dodatkowym atutem. Proszę o kontakt, jeśli zrealizowałeś już podobne projekty. wszystkie szczeguły podam w
I am looking to buy a ready-made automated trading robot / EA that works on the Tradovate platform and is proven to pass prop firm challenges for Apex Trader Funding, Tradeify, and Lucid Trading.Key Requirements (must be ready-made or very close to plug-and-play):Fully functional on Tradovate (native or via stable bridge/copier/webhook/API integration – MT5 EA + Tradovate bridge is acceptable if it works reliably)
Alex 1000+ USD
Нужен бот для скальпинга именно на Python. Работа напрямую через API биржи (без привязки к TradingView и MetaTrader). Бот будет запускаться локально на ноутбуке / VPS. Критически важна скорость (использование асинхронности, WebSockets

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

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