Fully automated EA using Donchain , sma and mac D

Specification

this ea will run on a  1 day graph.

I want the EA to be fully automated . it must run on all chats but only trade on 3 charts at a time.

basically i want a ea that trades using :

donchain ( 20 day )

The sma (14) .

Mac D (14 , 26 ,9).

 

when the pips break through the donchain resistance line 2 times ,when the sma 14 line passes through a rising pip and when the mac D 14 is above the mac D 26 , then only must a buy trade be started. 

 

the sell trade will be activated when the 3 conditions are met but in reverse ( donchain support line is broken through 2 times, sma 14 passes through a falling pip and the mac D 14 is below the macd 26.)

 

a trailing stop and a stop loss will also be needed.

the trailing stop will only activate when the 2 mac D crosses , sma crosses the pips , and will be 50% of the ATR ( average true range )

the stop loss will be the buying price - Atr.  "" entering price - Average true range "" { buying market }

&&

"" entering price + Average true range "" { selling market }

the position sizing will be 3% of current account value per trade. There will be a maximum of 3 trades taken, all of which would total to no more than 9%

please leave comments throughout the code so that I can understand what I must check when I do back testing on the program.

 

 


 

Conditions for entering a trade

(see attachment for graph explanation) 

This is a mac D that uses the same values as the other mac D.

When the histogram shape at the bottom is above proves to be the highest compared to the other charts , it must enter a trade but only if the histogram value is above 0.7.

The chart with the highest gradient must also be chosen

 

So the top 3 charts must be the charts with the highest gradient of the 14 day ema of the MacD and with a histogram value above 0.7.

Also !!!!!!!!!

 

I want the EA to be fully automated . it must run on all chats but only trade on 3 at a time. This is important ! if this is not possible , pleas let me know , so that I can change the conditions a bit

Responded

1
Developer 1
Rating
(2675)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
2
Developer 2
Rating
(351)
Projects
679
56%
Arbitration
33
15% / 39%
Overdue
63
9%
Free
3
Developer 3
Rating
(333)
Projects
543
66%
Arbitration
53
21% / 40%
Overdue
169
31%
Free
Published: 1 code
4
Developer 4
Rating
(365)
Projects
507
40%
Arbitration
159
17% / 74%
Overdue
99
20%
Loaded
5
Developer 5
Rating
(229)
Projects
339
49%
Arbitration
21
5% / 33%
Overdue
24
7%
Free
6
Developer 6
Rating
(2344)
Projects
2949
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
7
Developer 7
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
8
Developer 8
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
9
Developer 9
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
10
Developer 10
Rating
(493)
Projects
1022
58%
Arbitration
30
27% / 23%
Overdue
133
13%
Working
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(3)
Projects
8
13%
Arbitration
10
10% / 70%
Overdue
2
25%
Free
13
Developer 13
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
14
Developer 14
Rating
(14)
Projects
22
59%
Arbitration
2
0% / 50%
Overdue
2
9%
Free
Published: 1 code
Similar orders
Senior MQL5 Developer Required — XAUUSD & BTCUSD Algorithmic EA I am looking for an experienced MQL5 developer to design and build a robust MT5 Expert Advisor for XAUUSD (Gold) and BTCUSD . This is not a request for a basic RSI/EMA EA, martingale, grid, or recovery system . I want a properly engineered algorithmic trading system with a demonstrable trading rationale, robust risk management, reliable execution and
Project: Forex EA — EURUSD, Automating My Own Strategy Summary I currently trade EURUSD manually using my own tested strategy and am looking for an experienced MQL5 developer to automate it as an Expert Advisor (EA) for MetaTrader 5. What the bot should do Instrument: EURUSD Determine entry signals using multiple timeframes (higher timeframe for direction/trend, lower timeframe for precise entry timing) Place orders
Ai sadick 30+ USD
Fully automated entry and exit of trades. Identify market trends using price action and reliable technical indicators. Trade major Forex pairs and XAU/USD (Gold). Automatic Stop Loss and Take Profit on every trade. Adjustable risk management, with default risk of 1% per trade. Maximum daily loss protection to stop trading after a specified loss. Break-even and trailing-stop functions. Adjustable lot size, risk %
Hello there, I am looking for a automated strategy for ninjatrader 5 Looking for a proven profit factor of 1.5 ( minimum ) on 15 mins time frame . I do MNQ futures I do not have the logic, but I like mean reverssion variable , plus RSI etc . that could make the automated tool robust and long lasting. i need fast response if you have
profitable EAs wanted with at least 3 to 5 years backtest. you be submit your proofs such as graphic results, backtesting results, and your demo or weekly the eas has traded
Date:29.08.2026 **TECHNICAL SPECIFICATIONS** PDF Attached for reference rest all details given below. Required: Creation, Integration and successful execution of trading algo/robot in MT5 using MT5 VPS. Brokers: Trades to be executed in both brokers Swissquote and Pepperstone. Symbols: All available in MT5. ** Common parameters for all executions: · Manual Start/Stop. · Session time (defined / always
ZONDII Scalpers 30+ USD
I need an Expert Advisor called ZONDII Scalpers for MT5 (MQL5). Timeframe: M5 Pairs: XAUUSD / EURUSD BUY when: Price > EMA200 and EMA50 crosses above EMA200 and RSI(14) > 50 SELL when: Price < EMA200 and EMA50 crosses below EMA200 and RSI(14) < 50 Risk: Fixed lot 0.01, SL 300 points, TP 600 points, Trailing start 200 points / step 100 points. Filter: Max spread 30 points. Only 1 trade at a time. Inputs must be
I am looking for a professional MT5 EA developer to build a high-performance trading bot specifically for XAUUSD (Gold). My target is approximately 200% return within 3 months, while keeping the drawdown and risk as controlled as reasonably possible. Requirements: MT5 Expert Advisor (EA) XAUUSD only Fully automated trading Clear risk management Stop Loss and Take Profit on trades No martingale or grid strategy unless
Hello, I’m looking for an experienced MT5 developer to build a professional Expert Advisor (EA) for trading Gold (XAUUSD). My requirements: Platform: MT5 Instrument: XAUUSD (Gold) Fully automatic trading Both BUY and SELL trades Adjustable lot size Stop Loss and Take Profit Trailing Stop / Break Even Daily maximum loss limit Maximum drawdown protection Maximum number of open trades Trading hours/session filter Spread
B6 EA 30 - 50 USD
Develop an Expert Advisor trading trend reversals. Reversal signals will be generated based on Price Action patterns. Trend will be determined based on ADX, Alligator and MACD, while the indicator selection should be available in the EA's input parameters

Project information

Budget
100 - 150 USD