Fix EA that reads signals from email and automatically executes trade in MT4

MQL4 Indicators Experts

Job finished

Execution time 9 days
Feedback from customer
Great developer with years of experience. Fantastic job and would recommend for any needs in the future.

Specification

I had an EA created to read signals as they come into my gmail account but the python script created is not reading the information correctly.  I have included the files for the email script in python and the EA in MQL4.  


Basic Trading Requirements/Specs:

 

The basic premise of this trading system is based off signals that are sent to my email. Once a signal is received the EA will execute trades from the criteria on the signals in the email. I will be running this EA on MT4.

 

My email address that is receiving these signals is a Yahoo account.

 

Here is an example of how the signal will be formatted every time. 

 


 

As you can see it outlines the following information which will be very important for this system:

 

1.     Pair being traded

2.     BUY or SELL order

3.     Timeframe of the trade (ie M15 in this instance)

4.     STOP level & TP level

5.     Last spotted price level

 

Sometimes there are multiple signals sent in one email and I would like to have this EA be able to process all the signals successfully as shown below. This happens very seldom but does occur occasionally.

 


 

These signals will all come from the following email address:alerts@ragingfx.com

 

There will be two different subject lines depending on which system is sending the signals, but these are the only two subject lines that will be associated with a signal and this is how I would like to be able to have the script determine this is a valid signal to input into the MT4:

 

1.     HP3-RagingFX Alert!!!

2.     MNR-RagingFX Alert!!!

 

Once a signal is received, I would like the following to happen:

 

1.     A market order based on the price point mentioned in the LAST column is entered for the pair specified in either a BUY or SELL which will be outlined on the signal. I would like this to be an “if then” function around the LAST price as follows:

a.     If the signal is a BUY and the current price is below the LAST price, then a market entry is to be taken otherwise a limit is to be entered at the LAST price mentioned in the signal.

b.     If the signal is a SELL and the current price is above the LAST price, then a market entry is to be taken otherwise a limit is to be entered at the LAST price mentioned in the signal.

2.     A limit entry is to be entered at the 10-day Exponential Moving Average on PRD specified with the signal - CURRENTLY THIS IS NOT FUNCTIONING PROPERLY

3.     The STOP and TP levels are entered based on the criteria specified in the signal.

4.     Sizing for each position is to be based upon a max risk of 0.5% from the STOP level of the total account balance – I would also like to be able to adjust this percentage as well depending on market conditions. Can we make this is a variable box which can be adjusted in the EA?

5.     In the event a limit order is not triggered due to price action not pulling back enough, I would like the limit order to delete upon the TP level being breached and the market order being closed out as the signal is no longer valid - CURRENTLY THIS IS NOT FUNCTIONING PROPERLY

 

No trades are to be held over the weekend with this trading model. If a trade is still open on Friday I would like them all to be closed out 1 hour prior to the close of the market at 23:00 GMT-5 on Fridays only. Otherwise, it is okay for trades to run their course as the only means of exiting a trade is either through the TP or STOP being executed or the markets being closed for the weekend. 

 

This company also sends out a daily dashboard at the close of the trading day recapping all the signals and the outcome of each and want to ensure that this EA does not interpret this as new signals. The subject line on the email from them for the dashboard results will read “RagingFX Daily Dashboard”. Anytime a new signal is issued the email will always read “RagingFX Alert!!!”.


Files:

PY
testMail_2.py
2.1 Kb

Responded

1
Developer 1
Rating
(373)
Projects
395
31%
Arbitration
61
20% / 67%
Overdue
48
12%
Loaded
2
Developer 2
Rating
(87)
Projects
134
14%
Arbitration
41
22% / 29%
Overdue
14
10%
Free
3
Developer 3
Rating
(74)
Projects
121
43%
Arbitration
12
33% / 50%
Overdue
17
14%
Free
4
Developer 4
Rating
(10)
Projects
14
14%
Arbitration
6
33% / 50%
Overdue
2
14%
Free
5
Developer 5
Rating
(27)
Projects
43
7%
Arbitration
18
6% / 78%
Overdue
26
60%
Free
Similar orders
Hello, I am looking for someone that can build me an EA preferably expanding on an existing code you probably know as the xBest Ea series. I have the source code and detailed list of everything that needs to be coded in ready to go. please let's discuss more better on my strategy
Hi, I need someone who can code an indicator that calculate the angles of Bollinger Bands and works like this: The indicator will calculate the angle of upper and lower bollinger bands, middle band should be ignored. The angles will be calculated taken from last closed candle, to "X" candles back indicator will have 2 pairs of MA's, that will act as a filter. indicator should have Multi TF function. Indicator must be
I'm looking for someone who has experience in takepropips management and Donchian Indiciator, I need settings that automatically take over signals trading It is important that someone already uses the software, as it is very complex
Range_Filter_Arrows_V8 - someone had corrected the indicator but he left please contact - he modified the indicator and concealed the job he took a lot of time but managed to modify it correctly
I need a very good programer a developer that's perfect in building a Telegram signal copy trade Bot very well, that has done about 100 project successfully, please if you don't know how to build this telegram signal copy trade bot don't apply for this project, if you know that you will not start quickly don't apply. I want you to build me a smart Telegram signal copy trade Bot that has subscriber dashboard, that
Hello i need to be able to create an EA / Indicator that when a trade reaches TP a screenshot is taken of the history of that trade showing the open price, TP and the profit amount, i then need this screenshot to be sent to Telegram
.Basically this Ninja Trader indicator works exactly like in Ninja on Mt4. Also, there should be an option in the mt4 version so that when the indicator touches/resets a newly created zone, an alert/notification is sent. Note: It must be exactly the same and have the same configuration options and everything that is in Ninja
I have a script completely up and running on MT5 and I want to convert it to work in NINJATRADER 8 LEAVE JOB PRICE, JOB RUN TIME, YEARS OF EXPERIENCE- tengo un script completamente listo y funcionando en mt5 y deseo convertilo para que funcione en NINJATRADER 8 DEJAR PRECIO DEL TRABAJO, TIEMPO DE EJECUCION DEL TRABAJO, AÑOS DE EXPERIENCIA-
Hello there, I need a developer that can help me convert 2 TradingView Indicators into MT4 in 2 days. I need this to be perfectly converted and as soon as possible. Thanks
i am currently in need of a multi currency EA.i want the EA to be able to read data from different symbols whenever a trade occur on that symbol,the EA will be able to read the direction of the trade and the profit or loss of that particular pair and display it on my panel.the EA must be able to to combine all the trades that were taken from different symbols and display it on the panel,if you are capable of such it

Project information

Budget
100+ USD
For the developer
90 USD