EA with three combined strategies based on RSI and MACD

Lavoro terminato

Tempo di esecuzione 10 giorni
Feedback del cliente
Excellent developer, with skills and knowledge. Fast and efficient delivery on project
Feedback del dipendente
He is great customer. Our communication was clear. Task was very interesting. I highly recommend to work with him and I will wait for another his order.

Specifiche

We would like to create an EA doing the following functions.

The EA needs to be based on MACD and RSI.

Major view should be in M3 view but should also be available in all other timeframes.

The EA shall execute 3 strategies however there are some concerns in terms of their implementation as the timeframes of the strategies are overlapping. Strategy A start from 2:00 am until 9:00, Strategy B from 6:00 am until 13:00 pm and Strategy C from 9:00 am to 15:00 pm.

The EA shall also include a parameter where we will be able to change the start and stop timeframe of each strategy.

 

For example:

Between 2:00 to 6:00 am if we get a signal for strategy A and trade will open.

Then at 6:00 am when strategy B overlaps with strategy A we get a signal with an opposite direction of the last signal then the existing trade shall close and a new trade shall open based on the new signals of strategy B.

 However, if strategy B generates signal with the same direction of the last signal we received from strategy A, then no new transactions shall be executed but continue with the existing one.

 In case we don’t get any signal from strategy A, but we get a signal from strategy B then the EA shall open a transaction based on strategy B.

This example applies to all three strategies, between strategy A to strategy B and strategy B to strategy C

Strategy A

Strategy implementation interval 2:00 to 9:00am platform time. It shall also include an adjustable parameter in the EA.

Combination of RSI & MACD

Strategy shall also include a disable/enable parameter.

BUY Condition

RSI:  = < 30*

MACD: Previous BAR > current BAR


SELL Condition

RSI:  > = 70 *

MACD: Previous BAR > current BAR


All the above positions should be closed when opposite signal appears and open a new position based on the new conditions of the signal.

 

***** The number of the RSI limits * (30 and 70) shall also include an adjustable parameter in the EA in case we wish to change the limits.

 

Strategy B

Strategy implementation interval 6:00am to 13:00pm platform time.

It shall also include an adjustable parameter in the EA.

Combination of RSI & MACD

Strategy shall also include a disable/enable parameter.

BUY Condition

RSI line cross upwards 30*

MACD: Previous BAR > current BAR

The above indication shall execute a trade only when it appears in two consecutive times. Therefore, when the above indication appears for the first time the EA shall ignore it and don’t execute any trade but count its occurrence. So, concluding, in case the above indication appears for the first time this will count its occurrence and not execute.

Execution will happen when we have the second signal as above.


SELL Condition

RSI line cross downwards 30*

MACD: Previous BAR > current BAR

The above indication shall execute a trade only when it appears in two consecutive times. Therefore, when the above indication appears for the first time the EA shall ignore it and don’t execute any trade but count its occurrence. So, concluding, in case the above indication appears for the first time this will count its occurrence and not execute.

Execution will happen when we have the second signal as above.


All the above positions should be closed when opposite signal appears and open a new position based on the new conditions of the signal.

 

***** The number of the RSI limits * (30 and 70) shall also include an adjustable parameter in the EA in case we wish to change the limits.

 

Strategy C

Strategy implementation interval 9:00am to 15:00pm platform time.

It shall also include an adjustable parameter in the EA.

Based in MACD and Price on Graph

Strategy shall also include a disable/enable parameter.

BUY Condition

MACD bars fell – 0 limit and we have a bar which shortens from previous one towards 0 then is considered as signal 1 but do not execute. In the second time we execute but the price should be (= < 400 pips). For example, as in the below screenshot, signal 2 must be closer to 0 limit of MACD in comparison to signal 1. Also, the price of the instrument shall not be higher than *400pips.


 

SELL Condition

MACD bars goes + 0 and we have a bar which shortens from previous one towards 0 then is consider as signal 1 but do not execute. In the second time we execute but the price should be (= < 400 pips).

MACD bars goes above +0 limit and we have a bar which goes long  from previous one above 0 then it shall be considered as signal 1 but it should not be executed. In the second  consecutive time the signal occurs then it shall  execute but the price should be (= < 400 pips). For example, as in the below screenshot, signal 2 must be closer to 0 limit of MACD in comparison to signal 1. Also, the price of the instrument shall not be higher than *400pips.

 

***The EA shall also contain a function where we can manually change the price set up of 400 pips.

 

Positions should be closed when the opposite signal appears and shall open on the opposite direction.

 

We do acknowledge that these strategies are three different ones and the one mixes with other, but we look into a combine strategy. These strategies do not overwrite the other but are combined at the moment which another strategy starts run.

 

 

IMPORTANT NOTICE

In general, the EA needs to have a parameter where we can add or reduce the number of transactions which can occur at the same time.

 

Other basic functions

Money management with fixed lots and % of balance and % of equity

Take profit – Stop loss

Trailing stop

All timeframe periods

Timeframe of activation of EA as an example to change anytime the timeframe periods

All symbols


Con risposta

1
Sviluppatore 1
Valutazioni
(174)
Progetti
199
12%
Arbitraggio
38
37% / 34%
In ritardo
5
3%
In elaborazione
Pubblicati: 2 codici
2
Sviluppatore 2
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(116)
Progetti
137
36%
Arbitraggio
16
13% / 69%
In ritardo
9
7%
Gratuito
4
Sviluppatore 4
Valutazioni
(98)
Progetti
137
52%
Arbitraggio
5
40% / 60%
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(568)
Progetti
641
41%
Arbitraggio
25
48% / 36%
In ritardo
46
7%
In elaborazione
Ordini simili
Attached Files Can be used for reference. Please thoroughly understand the requirements and mql5 & set files before accepting the request. 1. Only Accept the job request if you are able to complete on time 2. I want you to show me demo of the Bot created and tested in Demo account for at least 3 days 3. I want you to show me the back tested results for last 5 years 4. 2 bots Need to be created Bot 1 with attached
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Hello! I am looking for an experienced, top-rated developer to build highly profitable strategy software that provides accurate signals for both long-term and short-term trades. The software must analyse the market correctly, indicating when to enter and where to set Take Profit (TP) and Stop Loss (SL) levels. It must deliver accurate results across all markets, including Forex, cryptocurrencies, metals, indices, and
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Hello. I am finding an experienced python developer who can implement my trading strategies into robots. I like trend-following swing trading strategies and am going to automate my idea. More details can be discussed by chatting. If you have similar working experience it can be a plus. Thanks
I have created a bot based on my logic and requirements. But some of the logics are not working as not expected I want you to analyze the existing code and modify or create a new EA for MT5 as per my requirements I want you to modify MQL5 and Set files code for the Buy and Sell Consecutive orders in this way Symbol = XAUUSD, Time Frame = 1 min / 5 mins This is an example for placing the orders First Order should

Informazioni sul progetto

Budget
50 - 70 USD
Scadenze
da 1 a 3 giorno(i)