Fully automated EA using Donchain , sma and mac D

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(2672)
Projets
3406
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
2
Développeur 2
Évaluation
(351)
Projets
679
56%
Arbitrage
33
15% / 39%
En retard
63
9%
Gratuit
3
Développeur 3
Évaluation
(332)
Projets
542
66%
Arbitrage
53
21% / 40%
En retard
169
31%
Gratuit
Publié : 1 code
4
Développeur 4
Évaluation
(365)
Projets
507
40%
Arbitrage
159
17% / 74%
En retard
99
20%
Chargé
5
Développeur 5
Évaluation
(229)
Projets
339
49%
Arbitrage
21
5% / 33%
En retard
24
7%
Gratuit
6
Développeur 6
Évaluation
(2333)
Projets
2936
63%
Arbitrage
124
44% / 26%
En retard
429
15%
Travail
7
Développeur 7
Évaluation
(219)
Projets
370
42%
Arbitrage
145
17% / 41%
En retard
124
34%
Gratuit
Publié : 38 codes
8
Développeur 8
Évaluation
(221)
Projets
369
66%
Arbitrage
10
50% / 0%
En retard
46
12%
Gratuit
9
Développeur 9
Évaluation
(1931)
Projets
3552
88%
Arbitrage
73
40% / 15%
En retard
268
8%
Gratuit
10
Développeur 10
Évaluation
(493)
Projets
1022
58%
Arbitrage
30
27% / 23%
En retard
133
13%
Travail
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(3)
Projets
8
13%
Arbitrage
10
10% / 70%
En retard
2
25%
Gratuit
13
Développeur 13
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(14)
Projets
22
59%
Arbitrage
2
0% / 50%
En retard
2
9%
Gratuit
Publié : 1 code
Commandes similaires
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value
Specification : 1. Goal I am commissioning a mean-reversion grid Expert Advisor for XAUUSD on MT5. The deliverable is the complete, commented .mq5 source (strictly personal usel). Offers limited to compiled .ex5 will not be considered. 2. Required framework (non-negotiable) 2.1. Works natively on M5; signals evaluated on closed bars; symmetric long/short. 2.2. Entry logic built on Bollinger Bands + Moving Average
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
Bot 30 - 80 USD
I am looking for an experienced MQL5 developer to create a fully automated Expert Advisor (EA) for MetaTrader 5 based on a Price Action strategy. The bot needs to automatically identify specific candlestick formations and market structure levels, execute trades, and manage risk using a dynamic trailing stop.The EA should monitor the chart for the following price action setup:Market Structure / Trend Filter:The bot
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should
Master mind 30+ USD
Start ↓ Detect Trend (H4) ↓ Confirm Structure (H1) ↓ Wait for Pullback ↓ Check Indicators ↓ Calculate Confidence Score ↓ Score ≥ 80? ├── No → Wait └── Yes ↓ Calculate Lot Size ↓ Place Order ↓ Set Stop Loss ↓ Set Take Profit ↓ Manage Trade ↓ Move to Break-even ↓ Trail Stop ↓ Close Trade. IF Price > EMA200 (H4) AND EMA50 > EMA200 (H4) AND ADX > 25 AND RSI between 55 and 70 AND MACD Main > Signal AND Bullish engulfing
A robot 50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
*Need an MQL5 EA for MT5 to trade gold and forex automatically. Must include Stop Loss, Take Profit, and basic risk management. Budget is $30 to $50. Looking for clean, stable code that works on VPS.*

Informations sur le projet

Budget
100 - 150 USD