I need an Expert Advisor (EA) for MetaTrader 4

Job finished

Execution time 10 days
Feedback from customer
Mike does great coding and is very prompt in communicating. I will use him again.
Feedback from employee
Joe is the one of the best customers I have ever seen at MQL5 service. God bless you! :)

Specification

SCOPE OF WORK 

Create an EA designed to execute trades on a single currency (EURUSD) or Index (US30) rather than a basket of instruments.  It should be designed to execute trades on a single chart at a time or on multiple charts by changing the Magic Number.  The EA should be designed to run 24-hours/day, 5-days/week, unattended.  The EA will run on my dedicated VPS at BestFXVps in New York City.  My ECN Broker is ICMarkets and their Server is also located in New York City.  All charts will initially be M5. 

Entry signals are based on (4) indicators, source code provided, and (1) time condition.  Only (1) active order at a time.  Exits are by the SL, TP, and/or by a reverse signal. Option should be made available for a trailing stop. 

A long position is opened with a Market Order on the Open of the next candle if on the Close of the current candle the below conditions are present simultaneously: 

Time =>StartTime and Time =<EndTime 

Candle is Green (Close>Open) 

Indicator #1 dot color has changed from Red to Blue 

Indicator #2 has crossed over as indicated by ShowMe UP Blue arrow 

BollingerBand (UpperBand  LowerBand) => input value in pips 

Conditions on the current (uncompleted) candle are ignored, only completed candles at their Close are analyzed.  A chart showing several trades follows. 

---------------------------------------------------------------------------------------------------------- 

MONEY MANAGEMENT 

The order Lot Size is calculated as shown below where: 

Balance - $10,000.00 current account balance in USD; 

Lot% - 25% an input parameter (the % of the Balance to use for the trade); 

Leverage – 200 an input parameter; 

Current chart price – 1.17971 (EURUSD). 

Lots = ((Balance x Lot% x Leverage) / Current chart price) / 10,000,000 

((10,000 x 25 x 200) / 1.17971) / 10,000,000) = 4.23833 Lots to trade 

The calculated result must be rounded to 2-decimal places for Currencies = 4.24-lots 

For Indexes the calculated result must be truncated to integers = 4.0-lots 

 

StopLoss (SL) and TakeProfit (TP) - are initially fixed and are adjustable by the parameters StopLoss and TakeProfit.  The levels are specified in points of 5-digits for Currencies and 2-digits for Indexes.  The levels are calculated relative to the price of the opened position (the Ask price - for the long positions and the Bid price - for short positions).  If the value is too low, the stop should be set at a minimum allowed distance.  If 0 values specified, the stops are not used. 

---------------------------------------------------------------------------------------------------------- 

If selected, the open position is accompanied by a trailing stop by the iTrailingLine indicator (all indicator parameters should be adjustable): 

If a long-position is opened, and the indicator line is below the current price, the stop is moved to the level of the indicator line; 

If a short position is opened, and the indicator line is above the current price, the stop is moved to the level of the indicator line; 

The indicator values are taken from the completed (formed) bar, the current bar (uncompleted) is not used. That is, the modification should occur no more frequently than once in a bar; 

Moving the SL is permitted only in the direction of profit of the position - up for long position and down for short position; 

If you can not set the SL at the level of the line, it should be set at the minimum allowable distance (but only if it complied with the previous rule of moving in the direction of the profit); 

The trailing stop feature should be configurable (AllowTrailing = true/false parameter). 
---------------------------------------------------------------------------------------------------------- 

If there is an opened position, and there is a opposite signal, the opened position must be closed and a new one must be opened (in the opposite direction).  For a new position the calculation of the lot must be called after closing the opened position. 

-----------------------------------------------------------------------------------------------------------Miscellaneous: 

When you run the Expert Advisor, it should attach the used indicators with the specified parameters; 

The information on the opening/closing of positions and of modifications of the SL should be stored in the Journal; 

If there are any errors, it must print a message describing the error. 

 

The following is a discussion of the EA entrys plus other conditions but first some comments about the lines on my chart.  The vertical Green line is the Open of the NYSE.  The 2 vertical Grey dashed lines are 12:00 and 1:00 EST representing the Lunch hour in New York City.  The 2 horizontal Red lines are Yesterday’s High and Yesterday’s Close.  All of these lines are to be ignored by the EA. 

 

Area around the #1 – I use the distance between the Bollinger UpperBand and LowerBand to indicate price volitility and the bands are too close together here to place any trades. 

Up arrow near the #2 – No long trade can be taken here because the candle color is Red and the MA lines are also Red. 

Down arrow at #3 – A short entry can be taken here because all the indicators are Red. 

Up arrow near the #4 – A long entry can be taken here because all the indicators are Blue. 

 
 

 

 

 

Other requirements: 

(1) - Specify programmed actions for power loss, internet connection loss or Broker connection loss. 

(2) - No orders to be opened before StartTime and any Open orders to be Closed at EndTime. 

(3) - The EA must allow for manual interventions such as a new manually placed order or to manually close an existing order. 

(4) - Use ForexFactory or an equivalent News Service so that any Open Orders are closed 10-minutes before any HIGH Impact Economic Report release time AND no new orders can be placed 10-minutes after any such report.  This must include the monthly FOMC Report. 

(5) - Provide the source text (code) upon completion of the last working stage along with extended comments in the source text plus the error correction warranty period. 


Responded

1
Developer 1
Rating
(636)
Projects
1007
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
2
Developer 2
Rating
(414)
Projects
670
33%
Arbitration
60
17% / 32%
Overdue
113
17%
Working
3
Developer 3
Rating
(4)
Projects
4
0%
Arbitration
1
0% / 100%
Overdue
1
25%
Free
4
Developer 4
Rating
(174)
Projects
200
12%
Arbitration
39
38% / 33%
Overdue
5
3%
Free
Published: 2 codes
5
Developer 5
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
6
Developer 6
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
7
Developer 7
Rating
(279)
Projects
341
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Published: 5 codes
8
Developer 8
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
9
Developer 9
Rating
(4)
Projects
6
0%
Arbitration
5
0% / 80%
Overdue
2
33%
Free
Similar orders
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
Composite robot 30 - 200 USD
Title: Multi-Timeframe Pure Price Action & Elliott Wave Execution Bot for XAUUSD 1. Project Overview I need a robust, automated trading bot (Expert Advisor) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) exclusively. The strategy is built entirely on Top-Down Multi-Timeframe (MTF) market structure, pure price action, and Elliott Wave principles. It does not use traditional lagging technical indicators (like RSI or
Build a fully mechanical EA for XAUUSD on D1 timeframe. Trader spends 5-10 mins per day to run it. No discretion. EA calculates, places orders, and walks away. Timeframe Use the Daily (D1) timeframe . At the close of each completed daily candle, identify: Previous day's High (wick) Previous day's Low (wick) Previous day's Open

Project information

Budget
100+ USD
Deadline
from 1 to 5 day(s)