Simple EA based on 2 Moving Average Crosses

Specification

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.


Files:

Responded

1
Developer 1
Rating
(39)
Projects
50
18%
Arbitration
6
33% / 50%
Overdue
0
Free
2
Developer 2
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
3
Developer 3
Rating
(19)
Projects
26
27%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
4
Developer 4
Rating
(454)
Projects
791
49%
Arbitration
71
17% / 54%
Overdue
139
18%
Working
5
Developer 5
Rating
(42)
Projects
52
50%
Arbitration
6
83% / 0%
Overdue
0
Working
6
Developer 6
Rating
(278)
Projects
340
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Published: 5 codes
7
Developer 7
Rating
(77)
Projects
242
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Working
Published: 1 article
8
Developer 8
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
9
Developer 9
Rating
(307)
Projects
551
35%
Arbitration
79
32% / 42%
Overdue
199
36%
Loaded
10
Developer 10
Rating
(159)
Projects
284
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Loaded
11
Developer 11
Rating
(30)
Projects
34
50%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
13
Developer 13
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
14
Developer 14
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
*I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 based on my proprietary trading strategy. The full strategy details will be shared privately with the selected developer after agreement. The EA must be designed for automated trade execution with a strong focus on accuracy, speed, and stability. It should support flexible input settings and allow for future
📋 Project Description I am looking for an experienced MT5 (MQL5) developer to code a fully automated Expert Advisor for NASDAQ (US100) based on a fixed, rule-based opening range breakout strategy. The strategy is mechanical, uses no discretionary logic, and must be coded exactly as specified below. 🕒 Time & Session Rules Market: NASDAQ (US100) Trading days: Monday–Friday Session open: 9:30 EST EA must convert
The mathephysics 250+ USD
7 Slots Remaining: The Blueprint to the Invisible Skeleton (And the Robot) My new friend, To every trader who has ever watched a chart and felt it was playing games with you, this is for you. Some look at me and underestimated me as just a disabled person. They lost a huge opportunity to be successful together with me. I am not just a trader, I am an Architect, a mathematician, a physics engineer, my brain is
I want to add and remove few things in ea need some modification needed in ea developer should have some trading knowledge also to understand the requirement better and have good experience in coding
hi every one i need to get the source code from this ea for modification in meta trader 4 or meta trader 5. because i need to put in settings the number of open trades , as this is now opening unlimited trades
hello great developer I need help developing an ICT 2022 model indicator and testing it thoroughly to ensure optimal performance and accuracy. Scope of work - Create an ICT 2022 model indicator with specified features. - Conduct repeated tests and strategy tests to refine the indicator. - Implement midnight to 9:30 box high and low range settings. - Include signal settings for major liquidity and structure break with
Floating bot 30+ USD
I need someone to build an easy bot for me. Whenever the candle closes outside a particular horizonal line I will put on my mt5 chart then immediately after the candle close there will be an instant execution trade after the close of the candle and the sl will be at the current last low or high below or above for buy or sell. I will have a place where I will input the amount to be risked by one pair. For instance in
Core Requirements: Two selectable timeframes - dropdown inputs to choose from M1, M5, M15, H1, H4, D1, W1, MN1 Timeframe 1 = Chart's own timeframe (if chart is M5, TF1 should be M5) Timeframe 2 = Higher timeframe for confluence All Ichimoku components displayed for both timeframes: Tenkan-sen Kijun-sen Senkou Span A Senkou Span B Chikou Span Cloud (bullish and bearish) Technical Settings: All buffers accessible for
Algo Trading Rebot/ EA 30 - 100 USD
I would like someone Who can design an EA for me. I will give him the Required Details and Trading Plan How it should Work. its going to be a Simple EA System Around Moving Averages Crossover. I will Provide Him the Moving Averages Settings and How It should execute trades and Exit them
No jokers copy pasters allowed. If you're proficient in MQL5, have a proven track record with EAs apply. Commissioning the development of a high-performance Expert Advisor (EA) engineered for the MetaTrader 5 (MT5) environment. The objective is to deploy an institutional-grade automated trading system capable of systematic market analysis, precision execution, and strict risk governance within the global forex

Project information

Budget
50+ USD
Deadline
to 3 day(s)