Exponential moving averages for different time periods

MQL5 Experts Forex

Job finished

Execution time 21 hours
Feedback from customer
Oleksandr provided exactly what I asked for in a time much shorter than expected. And he was very patient with me as I worked through the testing. Thank you Oleksandr, well done!
Feedback from employee
Very nice customer! Hope to make more jobs for you!

Specification


Summary:  This request is to generate an mt5 expert advisor which will generate a buy or sell signal based on the separation of the 5 and 21 exponential moving averages for multiple time periods.   The amount of separation is compared to a table of values which can be manually updated as the optimization process indicates.   The application will be able to run for multiple currencies with applicable tables adjusted accordingly.   I want the source code for this expert advisor so I can copy a unique expert advisor for each currency pair.   I also want to be able to specify a time period to run the application – initially from 12:00 AM GMT to 6:00 PM GMT.   Finally, I want the ability to turn off the live trade aspect and use the same triggers to generate an alert on the computer and a text message.

 

Once this first application is fully operational, I will want to take the trigger data and reflect it in a separate chart.   This will be a separate programming request.

 

Here is the application detail:

 

Allow for various Symbols

               Initial Symbol:   USD/JPY

               Allow for a change in the code, then recompile for a separate EA for each currency pair

Allow for selected time periods

               Start with time beginning at 12:00 AM GMT

               End at 6 PM GMT

               The time periods can e changed in the code and recompiled

Allow for modification of the following initial values.   Modification can be completed within the code and then recompiled:

               Initial Table Values: 

                              diff15up = .02

                              diff15down= -.02

                              diff5up = .02

                              diff5down = -.02

                              diff1up = .02

                              diff1down = -.02

Set 1 Hour value   (The reason I suggest a negative value for the down signals is because eventually I want to develop a chart which reflects the actual data for the currency pair.  ie.  if the trigger for the 15 minute cycle is triggered, a value of 1 or -1 is displayed, if the trigger for the 5 minute cycle is triggered a value of 1.5 or -1.5 is displayed, etc.)

               Trigger1hup = if EMA for 5 periods > EMA for 21 periods then 1 else 0

               Trigger1hdown= if EMA for 5 periods < EMA for 21 periods then -1 else 0

Set 15 Minute Values

               Moving Average, Exponential, 5 periods, most recent close   = x15

               Moving Average, Exponential, 21 periods, most recent close     = y15

               z15 = x15-y15

               Trigger15up = If z15 > diff15up then 1 else 0

               Trigger15down = if z15 < diff15down the -1 else 0

Set 5 Minute Values

               Moving Average, Exponential, 5 periods, most recent close   = x5

               Moving Average, Exponential, 21 periods, most recent close     = y5

               z5 = x5-y5

               Trigger5up = If z5 > diff5up then 1 else 0

               Trigger5down = if z5 < diff5down the -1 else 0

Set 1 Minute Value

Moving Average, Exponential, 5 periods, most recent close   = x1

               Moving Average, Exponential, 21 periods, most recent close     = y1

               Z1 = x1-y1

               Trigger1up = If z1 > diff1up then 1 else 0

               Trigger1down = if z1 < diff1down the -1 else 0

Signal “Buy” or “Sell” for an actual buy/sell or alert only options

               Buy/Sell only option (This will be used for strategy testing)

                              If (Trigger1hup + Trigger15up + Trigger5up + Trigger1up) > 3 then “Buy”

                              If(Trigger1hdown + Trigger15down + Trigger5down + Trigger1down) < -3 the “Sell”

               Alert to Text message only option (this will be used for live trading without   text)

                              If (Trigger1hup + Trigger15up + Trigger5up + Trigger1up) > 3 then send a “Buy” text

                              If(Trigger1hdown + Trigger15down + Trigger5down + Trigger1down) < -3 the send a “Sell” text

               Alert & Buy Sell – both option (this is used for live trading)


Responded

1
Developer 1
Rating
(2)
Projects
5
0%
Arbitration
2
0% / 50%
Overdue
1
20%
Free
2
Developer 2
Rating
(1853)
Projects
3455
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Free
3
Developer 3
Rating
(45)
Projects
59
14%
Arbitration
31
26% / 52%
Overdue
35
59%
Free
4
Developer 4
Rating
(90)
Projects
118
17%
Arbitration
44
23% / 39%
Overdue
20
17%
Free
5
Developer 5
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
6
Developer 6
Rating
(449)
Projects
508
33%
Arbitration
25
40% / 48%
Overdue
7
1%
Loaded
7
Developer 7
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
8
Developer 8
Rating
(253)
Projects
406
38%
Arbitration
84
43% / 19%
Overdue
70
17%
Working
9
Developer 9
Rating
(24)
Projects
27
33%
Arbitration
2
100% / 0%
Overdue
1
4%
Free
Similar orders
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Busco um desenvolvedor que faça um EA do Larry Williams 9.1, que execute com um parametro, um filtro que será uma média. Qualquer coisa me chame no email: thalyssontrader@gmail.com Interessados no propjeto, é só me contactar
Tradingview developer 30 - 35 USD
Hey greetings. I am in need of tradingview developer that can modify an open source PineScript indicator code to add additional features. Kindly bid for this project if it is what you handle and let proceed with the project
Hello, I am looking for someone to convert my well defined MQL4 code project to MQL5 (EAs) A brief description of my current strategy: MT4 'Spreadsheet' EA collects data from 28 FX currency pairs -> sends it to Excel, then Excel calculates and makes a decision -> Excel sends a signal to MT4 'Trading' EA and manages trades I want the MT4 EA to be converted into MT5. For Back testing purposes, I want to withdraw from
I want my own bot for trading, an effective bot that I do not want to lose, and if it has artificial intelligence, it will be better for trading on a platform
Hello expert developer, I am looking for a skilled and experienced developer to help me create an auto trading bot that integrates signals from three Telegram channels and automatically transcribes them onto MetaTrader 4 (MT4). The bot must be able to receive and process trading signals (opening/closing positions) from three specified Telegram channels. If you have expertise in developing such integrations and
HFT 100 - 200 USD
As soon as possible URGENTLY HFT the most profitable without any losses can make 50 to 100% daily that can work on XAUUSD GBPUSD XAGUSD EURUSD works on mt4 mt5 Demo and live account
Are you a skilled MQL4/MQL5 developer with a passion for creating cutting-edge Forex Trading EAs? We are looking for an experienced freelancer to join our team and help us build a powerful and efficient trading bot. Responsibilities: Develop, test, and optimize automated trading strategies in MQL4/MQL5. Collaborate with our team to refine requirements and implement advanced trading logic. Ensure the EA/bot operates
I need a AI signal generating and executing bot for forex trading. The bot should operate such that when i put it in a chart it will analyze the market, after several minutes it will display whether the trade is buying or selling and then execute a trade. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame whether they are buying or selling. If it is buying the
I have an EA or would create a new one if necessary, but the overall goal is to extract data=,cum delta, delta bar, volume data from Orderflow Kinetick provider I use via Ninjatrader. I want that data to be used to decide what trades to take and when to close or reverse

Project information

Budget
50 - 200 USD
For the developer
45 - 180 USD
Deadline
from 2 to 10 day(s)