New Expert Advisor algorithm required

MQL4 Indicators Experts

Job finished

Execution time 6 days
Feedback from customer
Terrific. Arkadii is a pleasure to work with.

Specification

Expert Advisor needed for MetaTrader4

System essentially looks for a large price movement, followed by a retracement to an EMA(x) line where a Limit Order has now been placed. The order direction – long or short – follows the direction of the original large movement.

Following use of the EA for backtesting, it will be necessary to finalize the EA to work on a real account, placing all of the necessary checks, standard handling of simple errors (requotes, invalid stops, etc).


EMA(x) and EMA(y) shown on 1hr candlestick chart.

 

Rules of trade entry:

1.       When price diverges from EMA(x) by + or – PIPS(xx) on a 1hr chart, judged at the opening of the following 1hr bar (in order to prevent EMA(x) movement in real-time).

AND

When on the following 1hr candle there is at least PIPS(yy) gap between EMA(x) and the Low (for going Long) or the High (for going Short) of the new candle…

Then place a Limit Order on EMA(x) in same direction as original PIPS(xx) + or – movement. This Limit Order position will need to move as the EMA(x) is re-drawn (re-accessed perhaps every 15 mins).

2.       Once that Limit Order trade is enacted by the price touching EMA(x), immediately place a StopLoss at PIPS(sl) and TakeProfit at PIPS(tp).

3.       Cancelling Limit Order: If the price/EMA(x) touch has not occurred within further HOURS(z) candles then cancel Limit Order without placing the trade. 

4.       Possible further order after initial EMA(x) trade. Ordinarily only one trade placed at a time. However, a second trade may be entered if the first trade is live AND price touches EMA(y). The same rules as above apply and this trade can only happen if there is a live EMA(x) initiated order in place

 

Rules of trade exit:

1.       StopLoss hit.

2.       TakeProfit hit.

3.       Time/date (if end of trading period if specified) is reached.

 


 

Interface for backtest

When you run the Expert Advisor, it should attach the used indicators with the specified parameters.  So for example, in order to assess the EA performance, indicators like arrows should appear on the chart showing where the PIPS(yy) decision was made, where the Limit Order is placed and where the StopLoss & TakeProfit are located.

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.

 


IMPORTANT NOTE: I want to use this algorithm both to backtest and trade and so the backtest must work as accurately to trading reality as possible. In particular judgements over the gap between the EMA(x) and price are to be made looking at the 1hr chart. However, the actual execution including StopLoss  and TakeProfit must be judged in real-time (1 minute is probably ok) in order to match reality.

For testing Lot Size will be 1, but the EA should contain logic to increase Lot Size depending on retained profit from the strategy for use when actually trading.

For reference the system will run with an IG Index Spread MT4 account.

I hope to work with you for a long time, but either way I will want the source code and will own the rights.

 

Adjustable Testing Parameters:

1hr chart could be another time frame, but calculations must always be real-time tick by tick.

EMA(x) and EMA(y)

PIPS(xx)

HOURS(z)

PIPS(sl)

PIPS(tp)

Market open times (open & close time/date)

Market indicator being tested obviously

 

Responded

1
Developer 1
Rating
(879)
Projects
1393
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Working
2
Developer 2
Rating
(182)
Projects
342
42%
Arbitration
118
12% / 73%
Overdue
104
30%
Free
3
Developer 3
Rating
(13)
Projects
24
42%
Arbitration
3
33% / 0%
Overdue
4
17%
Free
4
Developer 4
Rating
(304)
Projects
509
47%
Arbitration
29
10% / 45%
Overdue
138
27%
Free
5
Developer 5
Rating
(103)
Projects
205
41%
Arbitration
17
29% / 71%
Overdue
45
22%
Free
6
Developer 6
Rating
(2441)
Projects
3076
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Free
7
Developer 7
Rating
(130)
Projects
210
40%
Arbitration
90
20% / 43%
Overdue
85
40%
Free
8
Developer 8
Rating
(1100)
Projects
1782
61%
Arbitration
14
64% / 7%
Overdue
84
5%
Free
9
Developer 9
Rating
(25)
Projects
36
17%
Arbitration
14
14% / 57%
Overdue
3
8%
Free
10
Developer 10
Rating
(118)
Projects
201
42%
Arbitration
44
9% / 68%
Overdue
47
23%
Free
11
Developer 11
Rating
(59)
Projects
182
55%
Arbitration
31
45% / 16%
Overdue
103
57%
Free
12
Developer 12
Rating
(34)
Projects
80
34%
Arbitration
13
31% / 54%
Overdue
19
24%
Free
13
Developer 13
Rating
(8)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
NRTR - indicator for MetaTrader 5 NRTR (Nick Rypock Trailing Reverse) - indicator for MetaTrader 4 NRTR WATR - indicator for MetaTrader 4 NRTR GATOR - indicator for MetaTrader 5 X2MA NRTR - indicator for MetaTrader 5 NRTR - indicator for MetaTrader 5 NRTR GATOR - indicator for MetaTrader 4 NRTR - indicator for MetaTrader 4 Stalin_NRTR - indicator for MetaTrader 5 NRTR Color Line - indicator for MetaTrader 5 NRTR Rosh
I need an EA edited to make TWO main changes to conditions for how it enters trades. The EA code is written with clean code and is well commented. Will provide more info on changes in a doc in the chat
BUY AND SELL 30+ USD
Create an Expert Advisor that collaborates between these indicators ETR, MEv2 and STLv3 with these features 1. SL and TP 2. TIME FILTER 3. ETR, MEv2 and STLv3 PARAMETERS BUY ENTRY STEP 1. FIRST candle OPEN above Symphonie Trend Line STEP 2. Check Symphonie Extreme must indicate color BLUE STEP 3. Check Symphonie Emotion must indicate color BLUE STEP 4. Open trade with money management STEP 5. Trade open MUST BE 1
Hello, I have a protected Ninja trader Order Flow indicator and I was wondering if you can reverse engineer it to replicate the functionality. H ere are the specifications and indicator: https://docs.google.com/document/d/1KyYwQ7iTL2KWGhnZzxS1gObccu9LPMrGuMc9Mdk_3KY/edit?usp=sharing
I have an EA that need some changes including integrating the indicator code directly into the Expert Advisor. I will give the detailed doc once we settle on the candidate for the job . Please bid if you can work with the stated amount. Thanks
Hello, Need to convert Tradingview Indicator to MQL4 indicator. or if you have this one converted already, let me buy a copy please. If we're good, then will definitely buy it and ask to convert into EA on new order. Supertrend by KivancOzbilgic
Fix bug or modify an existing Trading view indicator to display correct. The indicator is working but not displaying/plotting all the information i want. So i want it adjusted to plot all the info
Here's a brief requirement you can use: **Description:** I am seeking an experienced MQL5 developer to create a (EA). The EA should include features for placing pending orders (Buy Stop and Sell Stop) based on market spread, managing trades effectively at the opening of new candlesticks, and implementing take profit and stop loss strategies. Additionally, I would like the option to adjust parameters based on market
I have an EA which i need to do below modifications. Variable Inputs to be added Order Type : Market , Pending Trade Type : Buy, Sell , Buy & Sell Pending Pips Step : ( Pips Value can be negative or positive to decide on what type of Pending Order ) // If trade type Buy is selected Close Type : Close All ( Bulk Close Option in MT5 ) , Close Individually Close Option : %of Equity , %of Balance , Amount $ , %of No
Add multiplier to grid recovery system. For example: Grid Trade 2-3 Spacing; 1.0 Multiplier Grid Trade 4-6 Spacing; 2.0 Multiplier Grid Trade 7+ Spacing; 1.6 Multiplier Need quick turn around. Need it done ASAP

Project information

Budget
100 - 400 USD
For the developer
90 - 360 USD
Deadline
from 1 to 3 day(s)