Simple Expert Advisor that places pending orders before news release

Trabajo finalizado

Plazo de ejecución 2 minutos
Comentario del Ejecutor
Thank you
Comentario del Cliente
Top developer. Very quick and supportive. There was always a constructive reply to every question. At the end the product I got reflects more than I was expecting.

Tarea técnica

The EA should run:

-        In the moment it is attached to chart OR

-        When programmable dates and times are triggered

Dates (5 max), can be inserted as extern string in this format:  dd.mm.yyyy hh.mm.ss, dd.mm.yyyy hh.mm.ss, dd.mm.yyyy hh.mm.ss, ….).

The EA will trade news release; receival of news data feed from sources is not needed though: it’s a semi manual approach. EA will be activated (manually or programming as said above) some time before the news release.

Once the EA is activated, it has to place - at the same time – a pending buy and a sell order 'X' points away from the activation price. SL and TP can be also set, as well as a trailing stop loss.

The feature OCO (one-Cancels-the-Other Order) can also be selected: once one pending order is filled, cancel the other one.

You can select is just trade “buy” and/or just trade “sell”.


Input parameters (more details below):

-        Buy Stop Distance pts

-        Buy Stop Stop Loss

-        Buy Stop Take Profit

 

-        Buy Stop TSL STARTING pts

-        Buy Stop TSL STEP pts

 

-        Sell Stop Distance pts

-        Sell Stop Stop Loss

-        Sell Stop Take Profit

 

-        Sell Stop TSL STARTING pts

-        Sell Stop TSL STEP pts

 

The below parameters are visualized in the chart once the EA is active, with:

-         Buy/Sell Stop Entry points: in black color line

-         Buy/Sell Stop SL: in red dotted line

-         Buy/Sell Stop TP: in dark green dotted line

 

Variables

 

+--- General Settings ---+

Trade Buy        True/False

Trade Sell        True/False

 

+--- Trade Settings ---+

Trade Fixed Lots

Buy Stop Distance pts à The distance from the open price to the entry order price (buy stop)

Buy Stop Stop Loss (0 = no SL) à The distance from the entry order price to the SL.

Buy Stop Take Profit (0 = no TP)à The distance from the entry order price to the TP.

Buy Stop TSL starting pts (0 = no TSL) à the distance from entry order price at which the TSL starts

Buy Stop TSL step pts à The Trailing Stop will be trailed in this set distance behind the current market price.

 

Sell Stop Distance pts à The distance from the open price to the entry order price (sell stop)

Sell Stop Stop Loss (0 = no SL) à The distance from the entry order price to the SL.

Sell Stop Take Profit (0 = no TP) à The distance from the entry order price to the TP.

Sell Stop TSL starting pts (0 = no TSL) à the distance from entry order price at which the TSL starts

Sell Stop TSL pts à The Trailing Stop will be trailed in this set distance behind the current market price.

 

+--- Position Management ---+

Fixed Lots: the lot size used

 

+--- Visualization ---+

ShowInfoPanel: enable the information panel on the chart (on/off), about profit/loss during the trade.e trade. 

-          

  I need EA’s source code of the program.



Han respondido

1
Desarrollador 1
Evaluación
(15)
Proyectos
23
9%
Arbitraje
7
29% / 57%
Caducado
2
9%
Libre
2
Desarrollador 2
Evaluación
(252)
Proyectos
258
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
3
Desarrollador 3
Evaluación
(7)
Proyectos
14
21%
Arbitraje
1
0% / 100%
Caducado
3
21%
Libre
4
Desarrollador 4
Evaluación
(36)
Proyectos
45
2%
Arbitraje
6
33% / 17%
Caducado
1
2%
Libre
5
Desarrollador 5
Evaluación
(55)
Proyectos
66
58%
Arbitraje
1
0% / 0%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
7
Desarrollador 7
Evaluación
(116)
Proyectos
137
36%
Arbitraje
16
13% / 69%
Caducado
9
7%
Libre
Solicitudes similares
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
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
simple automated trading system with adaptive risk management and trend-based execution. The EA manages trades with dynamic position handling and built-in stability filters. Designed for single-position trading and disciplined execution 30 usd budget
PROJECT DESCRIPTION Looking for 1 experienced MQL5 developer to build 2 Expert Advisors for MetaTrader 5, targeting XAUUSD and major currency pairs. Strong preference for a single developer handling both EAs to maximize code reuse, reduce cost, and ensure consistency. EA1 — Grid Martingale Pro · Buy/Sell grid with Fixed or ATR Dynamic distance (ATR read once per fill, stored in grid_step_at_open[]) · Gap

Información sobre el proyecto

Presupuesto
30 - 50 USD
Plazo límite de ejecución
de 2 a 8 día(s)