Simple EA based on 2 Moving Average Crosses

Spécifications

When 100 candle/period exponential moving average (Source: Close) crosses under 50 candle/period exponential moving average (Source: Close), Open a Market Buy at the next candle open (depending on timeframe for the chosen chart) with 2% of Account Size, Set Stop Loss to 20 Pips under entry, and a Take Profit at 70 pips above entry.

Take 50% profit (close half the position) at 30 pips above entry and move stop loss to entry position.

Leave remaining of the trade open until it hits stop loss or take profit, or if the 100 day and 50 day ema cross again, close position and take opposite position (if original position was a Market Buy, with 100 day ema under the 50 day ema, and now it crosses and 100 day is above 50 day, close position and open a sell position with the same parameters).


Also add a feature where I can split up the position entry into 2 different entries. So if the ema’s cross, I enter 75% of the risk % (defined by a different parameter), and then a certain amount of pips later, enter the remaining 25%. There would have to be 2 additional parameters/variables for this: the % split of the two entries, and at which price/pip change.


For example, (with a default risk of 2% per trade), if this new feature is set to 75%/25% and -10 pips, and there’s an buy triggered at 1.0020, the bot enters a buy position of 75% of 2% at 1.0020, then at 1.0010 (10 pip drawdown), it enters the remaining 25% of the 2% risk.


To clarify: Initial entry (based on ema crossings) is done on the following candle of the timeframe the ea is in, all other entrys or exits are done immediately.


Please make sure the following are variables:

Entry size is % of account size

Original stop loss position in pips

Original take profit position in pips

Additional take profit at 50 % is a variable with percentage and the position above/below entry can be adjusted in pips

Both EMA values in days

% of entry (regarding last paragraph)

Price/pip change for second additional entry (regarding last paragraph)


Note: I have added the indicator from tradingview that this strategy is based on. It can help understand parts of my explanation.


Dossiers :

Répondu

1
Développeur 1
Évaluation
(39)
Projets
50
18%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(390)
Projets
416
30%
Arbitrage
74
19% / 72%
En retard
52
13%
Travail
3
Développeur 3
Évaluation
(19)
Projets
26
27%
Arbitrage
3
0% / 100%
En retard
2
8%
Gratuit
4
Développeur 4
Évaluation
(460)
Projets
801
48%
Arbitrage
73
19% / 52%
En retard
140
17%
Gratuit
5
Développeur 5
Évaluation
(46)
Projets
60
53%
Arbitrage
7
86% / 0%
En retard
2
3%
Gratuit
6
Développeur 6
Évaluation
(279)
Projets
341
37%
Arbitrage
6
50% / 17%
En retard
7
2%
Gratuit
Publié : 5 codes
7
Développeur 7
Évaluation
(77)
Projets
244
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
8
Développeur 8
Évaluation
(64)
Projets
83
28%
Arbitrage
9
33% / 56%
En retard
9
11%
Gratuit
Publié : 1 code
9
Développeur 9
Évaluation
(317)
Projets
564
35%
Arbitrage
81
31% / 44%
En retard
204
36%
Gratuit
10
Développeur 10
Évaluation
(162)
Projets
289
35%
Arbitrage
18
22% / 61%
En retard
43
15%
Gratuit
11
Développeur 11
Évaluation
(30)
Projets
34
50%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(298)
Projets
427
26%
Arbitrage
18
61% / 33%
En retard
26
6%
Gratuit
Publié : 8 codes
13
Développeur 13
Évaluation
(568)
Projets
641
41%
Arbitrage
25
48% / 36%
En retard
46
7%
Travail
14
Développeur 14
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
16
Développeur 16
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
Commandes similaires
I am looking for an expert MQL5 developer to build a robust, professional Expert Advisor for Gold (XAUUSD). The EA must be Event-Driven (OnTick) with no 'Sleep' functions, ensuring instant execution. ​ Core Logic: ​ Grid Strategy: Start with 0.02 Buy/Sell. Lot size sequence: 0.02, 0.03, 0.05, 0.09, 0.14, 0.26, 0.44, 0.75, 1.28, 2.18 (Max 10 steps). ​ Dynamic TP: Total basket TP must update instantly upon new order
SETJEO'S GOLD EA 30 - 200 USD
double GetTodayProfit() { double profit = 0; datetime today = StringToTime(TimeToString(TimeCurrent(), TIME_DATE)); HistorySelect(today, TimeCurrent()); for(int i = HistoryDealsTotal() - 1; i >= 0; i--) { ulong ticket = HistoryDealGetTicket(i); if(HistoryDealGetString(ticket, DEAL_SYMBOL) == _Symbol) { profit += HistoryDealGetDouble(ticket, DEAL_PROFIT); } } return profit; }
I have an expert advisor's investor login. I want you to study it and make me the exact same EA. There should be absolutely no differences or mistakes. You should have great observation skills for this aswell
I am looking for a developer to create an Expert Advisor (EA) for MetaTrader 5. Requirements: Trade XAUUSD (Gold) Automatically open and close trades Include Stop Loss and Take Profit settings Adjustable lot size and risk percentage Work on MT5 Allow me to change settings from the EA inputs Include backtesting support Source code preferred
I have build a trading view indicator which monitors trades. The strategy is based on OB, it buys and sells bullish and bearish OB. Also valid re enters on the retest of orderblocks only if TP is hit the first time. I’m looking for someone to develop me a EA which works on the same logic and buys and sells of the same logic as my Indicator. I currently have my indicator firing signals into a telegram channel so I
I am looking for an experienced MQL5 developer to code a simple grid trading strategy into an Expert Advisor. The strategy logic is already defined, and I am looking for someone with strong MQL5 development experience to implement it accurately and efficiently. If you are interested and have relevant experience, please get in touch so we can discuss the project details
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or
I am looking for an experienced MQL5 or MQL4 developer with a strong understanding of high-frequency trading (HFT) concepts who can explain how certain HFT-style strategies have historically been able to pass proprietary firm evaluations while also being profitable on demo accounts and capable of transitioning successfully to live trading. I am interested in understanding the legitimate trading logic, execution
السلام عليكم، مطلوب مطور محترف وخبير في لغة MQL5 لتطوير مستشار خبير (Expert Advisor) مخصص للتداول تلقائياً على معدن الذهب (XAUUSD) ليعمل على منصة MetaTrader 5. ​الشروط المطلوبة: ​الاعتماد على استراتيجية ذكية لإدارة المخاطر (تحتوي على Stop Loss و Take Profit تلقائي وديناميكي). ​إمكانية دمج خوارزميات تحليل ذكية (أو الربط مع بايثون إذا لزم الأمر لتنفيذ منطق الذكاء الاصطناعي). ​توفير خاصية الـ Trailing Stop (ملاحقة
I need an expert advisor for fast excursion of trades. So that I can up my skills, I need it to have a good balance and need you to at least to price the the bot below $50

Informations sur le projet

Budget
50+ USD
Délais
à 3 jour(s)