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

Şartname

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



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(590)
Projeler
789
71%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
22
3%
Serbest
Yayınlandı: 8 kod
2
Geliştirici 2
Derecelendirme
(130)
Projeler
184
32%
Arabuluculuk
18
28% / 67%
Süresi dolmuş
27
15%
Serbest
Yayınlandı: 1 kod
3
Geliştirici 3
Derecelendirme
(136)
Projeler
196
43%
Arabuluculuk
17
29% / 59%
Süresi dolmuş
27
14%
Serbest
4
Geliştirici 4
Derecelendirme
(333)
Projeler
543
66%
Arabuluculuk
53
21% / 40%
Süresi dolmuş
169
31%
Serbest
Yayınlandı: 1 kod
5
Geliştirici 5
Derecelendirme
(145)
Projeler
169
50%
Arabuluculuk
22
14% / 55%
Süresi dolmuş
22
13%
Serbest
6
Geliştirici 6
Derecelendirme
(2346)
Projeler
2951
63%
Arabuluculuk
125
44% / 26%
Süresi dolmuş
429
15%
Serbest
7
Geliştirici 7
Derecelendirme
(271)
Projeler
553
50%
Arabuluculuk
57
40% / 37%
Süresi dolmuş
227
41%
Çalışıyor
8
Geliştirici 8
Derecelendirme
(30)
Projeler
93
49%
Arabuluculuk
18
56% / 17%
Süresi dolmuş
38
41%
Serbest
9
Geliştirici 9
Derecelendirme
(16)
Projeler
27
52%
Arabuluculuk
4
50% / 50%
Süresi dolmuş
5
19%
Serbest
10
Geliştirici 10
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(14)
Projeler
22
59%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
2
9%
Serbest
Yayınlandı: 1 kod
12
Geliştirici 12
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
Benzer siparişler
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
Composite robot 30 - 200 USD
Title: Multi-Timeframe Pure Price Action & Elliott Wave Execution Bot for XAUUSD 1. Project Overview I need a robust, automated trading bot (Expert Advisor) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) exclusively. The strategy is built entirely on Top-Down Multi-Timeframe (MTF) market structure, pure price action, and Elliott Wave principles. It does not use traditional lagging technical indicators (like RSI or
Build a fully mechanical EA for XAUUSD on D1 timeframe. Trader spends 5-10 mins per day to run it. No discretion. EA calculates, places orders, and walks away. Timeframe Use the Daily (D1) timeframe . At the close of each completed daily candle, identify: Previous day's High (wick) Previous day's Low (wick) Previous day's Open
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough

Proje bilgisi

Bütçe
100 - 150 USD
Son teslim tarihi
from 1 to 7 gün