EA based on donchain , sma and mac d ( fully automated )

Tarea técnica

this ea will run on a  1 day graph.

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



Han respondido

1
Desarrollador 1
Evaluación
(590)
Proyectos
789
71%
Arbitraje
9
33% / 33%
Caducado
22
3%
Libre
Ha publicado: 8 ejemplos
2
Desarrollador 2
Evaluación
(130)
Proyectos
184
32%
Arbitraje
18
28% / 67%
Caducado
27
15%
Libre
Ha publicado: 1 ejemplo
3
Desarrollador 3
Evaluación
(136)
Proyectos
196
43%
Arbitraje
17
29% / 59%
Caducado
28
14%
Libre
4
Desarrollador 4
Evaluación
(330)
Proyectos
540
66%
Arbitraje
53
21% / 40%
Caducado
169
31%
Libre
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(145)
Proyectos
169
50%
Arbitraje
22
14% / 55%
Caducado
22
13%
Libre
6
Desarrollador 6
Evaluación
(2322)
Proyectos
2925
63%
Arbitraje
123
45% / 25%
Caducado
429
15%
Libre
7
Desarrollador 7
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
8
Desarrollador 8
Evaluación
(30)
Proyectos
93
49%
Arbitraje
18
56% / 17%
Caducado
38
41%
Libre
9
Desarrollador 9
Evaluación
(16)
Proyectos
27
52%
Arbitraje
4
50% / 50%
Caducado
5
19%
Libre
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(14)
Proyectos
22
59%
Arbitraje
2
0% / 50%
Caducado
2
9%
Libre
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
Articles How to create Requirements Specification for ordering a trading robot 28 MetaQuotes 225 780 Table of Contents Prerequisites for ordering a trading robot Why is it important to have a well-prepared Requirements Specification? Requirements Specification examples What is contained in the Requirements Specification? Where do I get Requirements Specification if I can't create it? Terms to use How to write an
Panda101 500+ USD
//+------------------------------------------------------------------+ //| Simple Moving Average Crossover EA | //+------------------------------------------------------------------+ #property strict input int ShortMA = 10; input int LongMA = 50; input double LotSize = 0.01; int shortMAHandle; int longMAHandle; //+------------------------------------------------------------------+ int OnInit() { shortMAHandle =
I am looking for an experienced developer in MQL5 to build a fully AI and automated trading bot (Expert Advisor) for MetaTrader 5. The EA will trade XAUUSD only and will be based purely on price action and Smart Money Concepts (SMC), specifically focusing on liquidity sweeps, market structure shifts (MSS/CHoCH), and wick rejection entries at key points of interest (POIs). The system must follow a strict rule: no
I’m looking for an experienced NinjaTrader developer to complete an existing custom indicator. The project is already partially built and is well organized, completely functional, and well documented. The former developer experienced some personal difficulties and unfortunately cannot continue. Key Requirement (Read Carefully): You MUST have direct, hands-on experience with NinjaTrader and NinjaScript (C#) . This is
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
أبحث عن خبير تداول آلي (EA) أرفقتُ فيديو له. يقوم هذا الخبير بوضع أوامر شراء معلقة وبيع معلقة على بُعد 250 نقطة أعلى وأسفل السعر الحالي كل دقيقة، مع تحديد مستوى وقف الخسارة (SL) عند 300 نقطة ومستوى جني الربح (TP) عند 500 نقطة. إذا تم تفعيل أيٍّ من هذين الأمرين خلال الدقيقة، يتم إلغاء الآخر. لا يقوم الخبير بوضع أي أوامر معلقة حتى يتم الوصول إلى مستوى وقف الخسارة أو جني الربح، ثم يضع مجموعة جديدة من الأوامر المعلقة في
Am looking for good programmer to help me to convert two Ex4 file into EA. The first indicator provide 9 tools signal and the second indicator is Candle stick strategy. Kindly see the attached file for proper explanation about the BOT. Below is discription 🔹 PART 1: Candle Structure Strategy (Daily / Weekly / Monthly) ✅ Core Idea You are trading alignment of higher timeframe direction with lower timeframe
Looking for experience profitable manual traders that will be willing to trade my live mt5 account for profit share. Requirements Must have at least 6 months of profitable months. Min 10 percent monthly Send me investor credentials for mt5 or mt4 account. Can be trading Any instruments. Must reply with mt5 credentials or will disregard

Información sobre el proyecto

Presupuesto
100 - 150 USD
Plazo límite de ejecución
de 1 a 7 día(s)