EA that takes trade parameters from a control panel and holds them in a queue until a buy stop or sell stop can be placed. Must work with All forex pairs and gold.

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

READ THE ENTIRE DESCRIPTION FIRST - THIS IS MY 3RD ATTEMPT AT TRYING TO FIND SOMEONE WHO CAN ACTUALLY COMPLETE THE TASK.

This project is the creation of an EA that will assist in setting up a BUY/SELL STOP trade when when the price action on the chart would normally not allow for such a trade to be placed.


The problem: If price action is not already extended beyond the desired BUY/SELL stop level, a placement of a STOP order will immediately trigger the order.


The solution: An internal queue based set to place the order with user input levels when the correct setup occurs. 


Your skillset must include

An understanding of BUY and SELL stops

The ability to program and utilize an on screen menu in conjunction with input settings (F7).

How to program buttons to execute routines and trigger position management.

An understanding of what FIFO is and how it works “FIRST IN FIRST OUT.”

Support after release to revise into future versions (with additional compensation of couse).


The following is my best explanation of the product I would like to see.  The aesthetics were done in photoshop and made larger to better illustrate.  The final result is up to your interpretation and what is possible in Metatrader. 


Settings:

Trade Using - Fixed Lot/Balance %/Net Liquidity %/Overide

Overide Balance - Default 0

Move SL to BE After - TP ½, Default TP 1, TP 1 ½, TP 2, TP 2 ½

MOVE SL TO PREVIOUS TP? - Default True/False

Use Trail Stop - Default True/False

Activate After - TP ½, Default TP 1, TP 1 ½, TP 2, TP 2 ½

Trail By - 

Step - 

Trade Monday - True

Monday Time - 00:00:00 - 23:59:59

Trade Tuesday - True

Tuesday Time - 00:00:00 - 23:59:59

Trade Wednesday - True

Wednesday Time - 00:00:00 - 23:59:59

Trade Thursday - True

Thursday Time - 00:00:00 - 23:59:59

Trade Friday - True

Friday Time - 00:00:00 - 23:59:59

Trade Saturday - True

Saturday Time - 00:00:00 - 23:59:59

Trade Sunday - True

Sunday Time - 00:00:00 - 23:59:59

Magic Number: 20111

Comment: Forced Stop

Explanation


NOTE: We wil talk about BUYS for this example. Sells will need to have some of the math changed as is typical.  

NOTE 2: We will only ever have 1 BUY STOP and 1 SELL STOP QUEUED and running at a time.


Trade Using: We will auto calculate the lot size to use based on this setting.  Fixed lot obviously is field based on the control panel and Overide balance is whatever the in inputed into the Overide Balance field.  The purpose of the Overide Balance is so that you can trick the EA to think you only have $5000 available by inputting $5000 (when normally your balance might actually be $100,000) and so when you risk 1% from the control panel, the auto calculation will risk enough to get 1% of $5000 instead of 1% of $100,000.


Move SL to BE After: When this target is hit, move SL to BE including fees commissions and swap.


MOVE SL TO PREVIOUS TP? With this setting on True, when TP2 is hit, the stop loss is moved to TP1, for example. 


Use Trail Stop - Default True/False

Activate After - TP ½, Default TP 1, TP 1 ½, TP 2, TP 2 ½

Trail By - 

Step - 


This is generic Trailing Stop parameters. But I would like to be able to activate at half TP intervals.


Trade Monday - True

Monday Time - 00:00:00 - 23:59:59


These are typical time and date constraints.


—-



The Control Panel


Trading Using [Display based on settings] - This will display the option in the settings for reference such as “Balance %”

The white box next to it with the 1.0 represents how much risk we will take. The user should be able to input what % of risk they want to use.  This area should be dynamic based on the settings such that if the user inputs FIXED LOT in the settings, this area would have an input box for FIXED LOT instead.


Right below the 1.0 box is the “Risking 1.45 lots” text example. This should calculate the final lot size that will be risked based on the settings and the input the user has placed.  


Help with calculation: when not using fixed lot, the lot size to use is calculated like this:

Take the % risked against the balance. In this example, we’ll say the user has $100,000 balance.  1% of $100,000 is $1,000.  

This $1000 risk is the amount that is lost if we hit our stop loss.

It is also the amount we will win if we took all trades off the table at TP1.

The formula to find the lot size is 

((% risk * Balance ) / ((Entry Price - Stop Loss) * (1 / Entry Price)))/ Currency Multiplier*.

(($1000) / ((0.63665 - 0.62540) * (1 / 0.63665))) / 100000

(($1000) / ((0.01125) * (1.5707))) / 100000

($1000 / 0.01767) / 100000

56593.0956 / 100000 = 0.56593 or 0.57 Lots to Risk 


*Currency Multiplier - I know that 100,000 works for 5 decimal pairs like EURUSD but JPY pairs and Gold etc will need to be figured out and formulated based on the chart the EA is running on.  You may find it useful to simplify my formula. I tried my best! 😛 Make sure it works for XAU too.


Entry Price: The price the stop will enter at

Activation Price: This is the price that must be touched before the order is placed.

SL Price: The price of the SL(Required).


The TP1, TP2, TP3 fields.  

Each TP is calculated by this formula:

TP1: (Entry Price - SL Price) + Entry Price.

TP2: 2(Entry Price - SL Price) + Entry Price.

TP3: 3(Entry Price - SL Price) + Entry Price.


The white boxes next to the TP numbers are the percent of the play that is banked for profit when the TP is hit.  The TP 1, 2, and 3 must equal 100%.  If 100% is entered in TP1, then there will only be a TP1 and the numbers in TP 2 and 3 should be 0.  If not, A red error message should display next to the Enteries.


Submit Order Button: This button activates the trade by placing it into the appropriate QUEUE.  By looking at the if the SL is lower than the Entry price, it is a buy, and if the SL price is higher than the entry price, it is a sell. If there is an active  trade in the QUEUE (Lets say BUY) or it has already been triggered and is still open, reject any attempts to enter in another BUY trade until the the existing BUY closes. When the button is clicked and the Queue populates, the fields should return to default.


The Parameters of the trade should get placed into the BUY QUEUE and the EA should wait for the Activation Price before submitting the BUY STOP order.


If the Cancel button is hit, remove the trade from the QUEUE.

When a Trade is ACTIVE, the text data in the QUEUE display should change GREEN for BUY and RED for SELLS


Button Close Now:

If active trades are open on the appropriate side, a button should be available: A Close now button closes that side’s active trades.


I’m not sure how you plan to have the EA keep track of the trades, but you should plan on a method that allows for more than 1 chart of the same pair to be active with the EA. 


Make sure there is an editable magic number and editable comment.


Looking forward to working with you!


Файлы:

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

1
Разработчик 1
Оценка
(15)
Проекты
34
24%
Арбитраж
3
0% / 33%
Просрочено
2
6%
Работает
2
Разработчик 2
Оценка
(21)
Проекты
28
36%
Арбитраж
3
33% / 33%
Просрочено
2
7%
Работает
3
Разработчик 3
Оценка
(616)
Проекты
963
46%
Арбитраж
31
39% / 32%
Просрочено
96
10%
Свободен
Опубликовал: 6 примеров
4
Разработчик 4
Оценка
(75)
Проекты
123
43%
Арбитраж
12
33% / 50%
Просрочено
17
14%
Свободен
Похожие заказы
"I don’t just code bots – I engineer profit engines. Contact: quant.alpha@proton.me ✨ Why Traders Will Love It: ⚡ AI-Powered Decisions – Self-learning PPO model adapts to changing gold market conditions . ⚡ Military-Grade Risk Control – Auto position sizing, volatility filters, and instant circuit breakers . ⚡ Seamless MT5 Execution – Handles slippage, partial fills, and spread risks like a pro. ⚡ Proven Backtesting
I need a clean, simple EA for MT5 that consistently produces ~5% monthly return with moderate trade frequency (6–12 trades/week). - Must auto-compound or use risk-based lot sizing - Must include .mq5 source file , not just .ex5 - Must show backtest proof on 2 different pairs , preferably M30/H1 - Must be original or legally yours to transfer, this will be used in a broader structured trading setup I’m building I
Hi, I’m looking for an experienced MQL5 developer to replicate an Expert Advisor I currently use for Forex. I don’t have the source code, but I do have all the input settings, behavior structure, and detailed backtesting of how the system should operate. ✅ Basic features the EA should include: Entry logic based on simple technical indicators (e.g., moving average). Take Profit and Stop Loss system using ratios (e.g
I'm looking for an experienced MQL5 developer to create a custom non-repainting reversal indicator for MetaTrader 5 , optimized for major Forex pairs on lower timeframes (15M and below) . Requirements: Build a non-repainting indicator that plots buy/sell arrows directly on the chart Logic should be based on reversal detection , not standard moving average crossovers Indicator must be optimized for short-term intraday
Mql5 indicator 30+ USD
I'm looking for an indicator that gives buy sell signals by placing arrows on the chart Signals must not repaint or be placed with an offset I want it to be accurate enough so j can trade from signal to signal amd actually make profit Do anyone have a strategy and skill to create such an indicatore First priority is to mql5
Ola1704 30+ USD
Opracuj Expert Advisor handlujący odwróceniami trendów. Sygnały odwrócenia będą generowane na podstawie wzorców Price Action. Trend będzie określany na podstawie ADX, Alligator i MACD, podczas gdy wybór wskaźnika powinien być dostępny w parametrach wejściowych EA
Can anyone help me fix my thinkorswim indicator, the alert is not working well there are some delays before i get my messages The red arrow triggered at 7:00 am yesterday but did not send a notification alert in the TOS platforms message center till 7:28AM. The blue arrow triggered at 6:30AM but didnt send a message r alert till 6:48 AM. That needs to change so the arrow alerts are the same as the notification alerts
Please introduce yourself when applying . Please note the expert is already profitable . Proof of association with a firm will be required . Timing The Trade Entry with The Correct Threshold Input Value for live chart is one of the Primary Objective of this project , When The Trades are being placed 90 % of the time it reaches the take profit level of 10 pips (avg) . To Take from this project : ATR Threshold Levels
I'm looking for an advisor for copying an EA from one of my account and put on another of my account. Steps: Find out the EA from one of my MT4 Put the same EA (that has been found on step 1) to another account
I want an expert advisor based on SMC with 50% retracement strategy between last strong high and low after making new CHoch and placing pending limit orders. I am providing mq4 script Only those coders who are experienced and can do the job

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

Бюджет
30+ USD
Исполнителю
27 USD
Сроки выполнения
от 7 до 14 дн.