MetaTrader 5 (Expert Advisors) for opening new orders from JSON.

Trabajo finalizado

Plazo de ejecución 3 días
Comentario del Cliente
Awesome work! Clean and efficient code. Will definitely work with him again!
Comentario del Ejecutor
Thank you for the order. Hopefully you will enjoy your product :

Tarea técnica

I need a MetaTrader5 EA that will call a URL (WebRequest) every N seconds, and based on the JSON data it sees in the response, it should open a new order in MetaTrader.
(When doing the WebRequest, the url being connected to requires a key/value to be passed in the header of the WebRequest to successfully connect. The URL and key/value will be hardcoded in the code and won't be a setting.)

It will then follow a very simple set of rules of when to close the order. Those rules are pre-set in the settings of the EA along with 2 other global settings.


*************** EA Settings ***************

Pair: EURUSD
Lot Size (%): 5
Candle Period: H1
Close Rule: 3
Algorithm: 100258
_________________________

Pair: XAUUSD
Lot Size (%): 20
Candle Period: M30
Close Rule: 1
Algorithm: 504703
_________________________

Pair: XAUUSD
Lot Size (%): 10
Candle Period: M15
Close Rule: 2
Algorithm: 401062
_________________________

etc... there are 50+ entries that will be added here.


************ EA Global Settings *********

Don't open an order if older than (seconds): 25
WebRequest (seconds): 3

********************************************



"Lot Size" Definition:

Represents the order size as a percentage of the free margin available in the account.
For example, if the free margin in the account is $1000, and the "LotSize" of a pair is set to 20%, the order size for that pair should not be more than $200. (The "free margin" calculation must be done every time prior to opening a new order)



"Close Rule" Definition:

1 = Close order 3 seconds BEFORE the current candle period ends.
2 = Close order 3 seconds BEFORE the second candle period ends.
3 = Close order 3 seconds BEFORE the current candle period ends IF order profit is greater than $0.01. ELSE, close order 3 seconds BEFORE the second candle period ends regardless of profit.
4 = Close order 3 seconds BEFORE the third candle period ends.
5 = Close order 3 seconds BEFORE the current candle period ends IF order profit is greater than $0.01. ELSE, close order 3 seconds BEFORE the third candle period ends regardless of profit.



Global Settings Definition:

- For the "Don't open an order if older than" setting, in the JSON of an order there's a field called "HoldingPeriod". Before opening a new order, check that field and make sure it's "less than the amount of seconds" set in the settings. If the "HoldingPeriod" of the order is greater than the value in the settings, do NOT open the order.

- For the "WebRequest" setting, that's how often the EA should do a WebRequest to check and see if there are new orders to open.


You'll see a lot of entries/orders (see attachment) in the JSON response. Each entry is a separate order.

(The ONLY fields that you need to take into consideration from an entry/order in the JSON are: ActionType, CurrencyPair, HoldingPeriod, Algorithm --- You'll match the " Algorithm" and " CurrencyPair" of an order to what is found in the settings of the EA, and based on the setting that it got matched to, you then know what timeframe that order is using.)


Note: The JSON will NEVER display orders for the same pair in 'opposite' directions. Meaning, you'll never see an order for a BUY/long and another order for a SELL/short at the same time for the same pair!


All source code is required. (I do not test or accept compiled EA's).


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(144)
Proyectos
199
42%
Arbitraje
20
25% / 55%
Caducado
10
5%
Libre
Solicitudes similares
I need an mql5 EA which can be used with 100$ capital very low drawdown The EA should be high frequency trading special for XAUUSD and btcusd or binary options but also the EA should be testable via strategy tester and demo test for five days is needed NO SELECTION CAN BE DONE WITHOUT TESTING when applying make sure you send the backtester results with demo EA testable via strategy tester
I currently have a powerful and well-structured Expert Advisor available on the MT5 platform. This EA is designed with: ✅ Advanced entry and exit logic ✅ Smart risk management system ✅ Automatic lot sizing option ✅ Break-even and trailing stop protection ✅ Spread and session filters ✅ Drawdown control features ✅ Optimized for XAUUSD and scalping strategies ✅ Suitable for prop firm challenges like FTMO It is built for
Do you need a profitable and well-structured trading strategy converted into a fully automated Expert Advisor on the MT5 platform? I specialize in developing advanced, high-performance EAs with: ✅ Smart entry & exit logic ✅ Risk-based lot size calculation ✅ Break-even & trailing stop system ✅ Spread & session filters ✅ Daily drawdown protection ✅ Prop firm (FTMO-style) risk compliance ✅ Fully automated trade
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for

Información sobre el proyecto

Presupuesto
100 - 345 USD
Plazo límite de ejecución
a 3 día(s)