Lets create an MT5 EA that uses three simple moving averages

Job finished

Execution time 6 hours
Feedback from customer
Very prompt! Work was done in less than a day, code is beautiful and easy to read, Did everything i asked.
Feedback from employee
I had a remarkable experience with someone who was incredibly responsive, patient and great at communication.

Specification

1. Lets create an MT5 Expert Advisor which uses three simple moving averages:

The values of the Moving averages are as follows: 10, 15 and 50


2. Buy when price crosses up beyond the 10, 15 and 50 MA and trades short when price crosses down 10, 15 and 50 MA. **Notice, price must close before a buy or sell signal is generated.**


3. Along with price closing, let's set a rule that price must also continue moving 5 points in the favorable direction before the trade signal is valid.


4. Stop Loss will be set as the 15 Moving average value and the trade will automatically close once the candlestick touches the 15 Moving average. 


5. Once the signal has been generated and a trade has opened, we must wait for price to cross all 3 before a new signal can be generated.


6. I would also like a time filter enabled and for the lot size, stop loss and take profit to be edited.


Parameters: 

Take profit will be 20 points in the favorable direction

The Stop Loss will be the 15 moving average. 

Price cross all 3 before entering and can only have one trade per cross and price must close before entering.

Price has to also continue for 5 points before the signal is generated.


I would like to source code for this project please and thank you.


Also see the attached screenshots for references and pointers.


Files:

PNG
Bot_example.png
128.8 Kb

Responded

1
Developer 1
Rating
(433)
Projects
686
34%
Arbitration
32
72% / 9%
Overdue
22
3%
Free
2
Developer 2
Rating
(373)
Projects
479
23%
Arbitration
57
56% / 25%
Overdue
55
11%
Loaded
3
Developer 3
Rating
(426)
Projects
620
54%
Arbitration
29
55% / 24%
Overdue
6
1%
Working
4
Developer 4
Rating
(2279)
Projects
2873
63%
Arbitration
121
45% / 26%
Overdue
429
15%
Free
5
Developer 5
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
6
Developer 6
Rating
(151)
Projects
188
57%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
7
Developer 7
Rating
(3)
Projects
4
25%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(84)
Projects
162
43%
Arbitration
3
67% / 0%
Overdue
5
3%
Working
Published: 1 code
9
Developer 9
Rating
(1264)
Projects
1684
49%
Arbitration
52
71% / 12%
Overdue
37
2%
Free
10
Developer 10
Rating
(22)
Projects
21
10%
Arbitration
4
25% / 75%
Overdue
0
Free
11
Developer 11
Rating
(14)
Projects
18
17%
Arbitration
5
40% / 40%
Overdue
0
Free
12
Developer 12
Rating
Projects
0
0%
Arbitration
4
0% / 75%
Overdue
0
Free
13
Developer 13
Rating
(77)
Projects
240
73%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
14
Developer 14
Rating
(36)
Projects
45
2%
Arbitration
6
33% / 17%
Overdue
1
2%
Free
15
Developer 15
Rating
(2622)
Projects
3327
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
16
Developer 16
Rating
(21)
Projects
28
36%
Arbitration
7
14% / 71%
Overdue
2
7%
Free
17
Developer 17
Rating
(3)
Projects
1
0%
Arbitration
5
0% / 100%
Overdue
0
Free
18
Developer 18
Rating
(20)
Projects
28
29%
Arbitration
2
0% / 50%
Overdue
1
4%
Free
19
Developer 19
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
20
Developer 20
Rating
(451)
Projects
563
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Working
Published: 6 codes
21
Developer 21
Rating
(617)
Projects
1427
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
22
Developer 22
Rating
(3)
Projects
4
25%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(27)
Projects
27
26%
Arbitration
2
0% / 50%
Overdue
1
4%
Free
24
Developer 24
Rating
(48)
Projects
49
8%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(55)
Projects
80
23%
Arbitration
24
13% / 58%
Overdue
7
9%
Working
26
Developer 26
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(7)
Projects
8
50%
Arbitration
0
Overdue
0
Free
Published: 1 code
28
Developer 28
Rating
(11)
Projects
16
25%
Arbitration
1
0% / 100%
Overdue
1
6%
Free
Similar orders
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
MT5 30 - 50 USD
I'm looking for an experienced MQL5 developer to help with backtesting, optimization, and VPS setup for a prop firm EA on XAUUSD (Gold). Scope of work - Backtest and optimize using high-quality tick data from Dukascopy or Polygon (2020–2025) - Perform Monte Carlo and Walk-Forward testing to optimize parameters like ATR multipliers and risk % - VPS installation and configuration for continuous MT5 operation - Apply
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
I want to create an SMC bot base on ICT and Market structure,the bot must be able to keep adding on more positions while started.The bot must have a perfect risk management
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4‑year backtest (2022‑2025) report, equity curve, trade list, strategy description, and 1‑month demo access. Please without concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you

Project information

Budget
50+ USD