Simple Expert Advisor that places pending orders before news release

Tâche terminée

Temps d'exécution 2 minutes
Commentaires de l'employé
Thank you
Commentaires du client
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.

Spécifications

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.



Répondu

1
Développeur 1
Évaluation
(15)
Projets
23
9%
Arbitrage
7
29% / 57%
En retard
2
9%
Gratuit
2
Développeur 2
Évaluation
(204)
Projets
209
28%
Arbitrage
0
En retard
3
1%
Gratuit
3
Développeur 3
Évaluation
(7)
Projets
14
21%
Arbitrage
1
0% / 100%
En retard
3
21%
Gratuit
4
Développeur 4
Évaluation
(36)
Projets
45
2%
Arbitrage
6
33% / 17%
En retard
1
2%
Gratuit
5
Développeur 5
Évaluation
(52)
Projets
59
53%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
6
Développeur 6
Évaluation
(378)
Projets
401
31%
Arbitrage
63
19% / 70%
En retard
51
13%
Chargé
7
Développeur 7
Évaluation
(116)
Projets
137
36%
Arbitrage
15
13% / 67%
En retard
9
7%
Gratuit
Commandes similaires
"Hello, I am new to MT5 and ALGO TRADING. I am seeking a skilled and experienced trader to professionally manage and optimize my MT5 account together with me. I am using QUANTUM EMPEROR MR5 and Gallileo FX with 6 Premium Settings and seek help to get started and make this profitable. I will also share my profits with you. Please reach out to discuss potential collaboration."
I am looking for help to code an Expert Advisor (EA) for MetaTrader 4 (MT4). The EA should automate trading based on specific strategies and market conditions. I'm familiar with the basics of MQL4 but need assistance with more advanced features, like managing multiple indicators, optimizing risk management, and implementing trailing stops. I aim to create a reliable, efficient EA that can monitor the market and
I’m looking to turn into code. Trading Instrument - Crude Oil Futures (CL) Chart and Timeframe - 30-second chart Entry Setup 1. Time Focus on the first 30-second candle after 11:00:00 AM New York time. (11:00:00 candle) 2. Candle Size Limit : Skip the trade if the first candle is greater than 10 points. 3. Entry Orders - Place stop orders at the high and low of the first 30-second candle after 11:00:00. - Long Entry
EA gold HB king5 100+ USD
// เริ่มต้นโปรแกรม EA input double LotSize = 0.1; // ขนาดของล็อต input double TakeProfit = 50; // จุดกำไร input double StopLoss = 50; // จุดขาดทุน // ฟังก์ชันที่เรียกเมื่อมีการสั่งซื้อ void OnTick() { double MA = iMA(NULL, 0, 14, 0, MODE_SMA, PRICE_CLOSE, 0); // Simple Moving Average (SMA) 14 double Price = Bid; if(Price > MA) // เงื่อนไขสำหรับการซื้อ { if(OrderSelect(0, SELECT_BY_POS) == false) //
I’m looking to turn into code. Trading Instrument - Crude Oil Futures (CL) Chart and Timeframe - 30-second chart Entry Setup 1. Time Focus on the first 30-second candle after 11:00:00 AM New York time. (11:00:00 candle) 2. Candle Size Limit : Skip the trade if the first candle is greater than 10 points. 3. Entry Orders - Place stop orders at the high and low of the first 30-second candle after 11:00:00. - Long Entry
hello there I need a copy trade for mt4 can ANYONE help me with and let discuss on how to go about it kindly send me message to signify and let discuss mind you i need this urgently let connect to discuss and conclude
I would like the better volume indicator 1.6 in a scanner format. Scanning multiple timeframe and pairs of which can be picked. Would like it to provide all standard notifications and also if pressed to go to the a template timeframe and pair. *To be placed in a table format as the one added. To be able to add which time frame you want to see. *To advise me of the following Climax High - turn the text green High
i have a JavaScript of a code which is a indicator of trading view, i want to convert into python script and make a mql5 automated trading bot which can take automatic trade and also exit when the signals come by the indicator
I need to build EA MT4 that able to connect as copy trading between demo account to real account with partial of positions not all Example: If the demo account open position so the real account will be opened same position with ability to place different volume size based on real account equity and demo equity, and ability to choose which position should be copied, position one, two, three, four, five, six, seven
I would like an existing, older MT4 EA I had developed converted into an MT5 EA and debugged where necessary. The EA is attached and should be fairly self-explanatory. It is a breakout order entry EA with customisable parameters

Informations sur le projet

Budget
30 - 50 USD
TVA (22%): 6.6 - 11 USD
Total: 36.6 - 61 USD
Pour le développeur
27 - 45 USD
Délais
de 2 à 8 jour(s)