RSI Mean Reversion EA (Simple) with ATR based Risk Management (Trickier)

Job finished

Execution time 15 days
Feedback from customer
Joel was very responsive to issues in the first draft of the EA. I am BA myself so appreciate that there will be a certain amount of discussion during the build. I will be using his services again.
Feedback from employee
His a good boss and always straight to the point. I will like to work with him again

Specification

==Strategy Outline==

This strategy is a mean reversion strategy which uses 3 Indicators.

·         RSI with Overbought and Oversold Levels (Length 4, OB=10, OS=90)

o   The RSI gives us short term momentum signals against the trend

·         3 Exponential Moving Averages (Length 50, 90, 230)

o   The 3x EMA provide a clear view of the prevailing longer-term trend

·         Damiani Volatmeter (Standard settings)

o   The Damiani Volatmeter is used to detect when there is high volatility in the market and equally also show when the market is in a range in the short-term

·         ATR

o   (SL=4ATR/TP=1.33ATR) This strategy has a negative risk/reward ratio of 3:1 but has a win-rate of appx 80% - giving an approximate profit factor of 1.4 BEFORE SPREADS AND SLIPPAGE

==Long Entry Criteria==

RSI(4) crossed up above OB level (10) AND (50 EMA > 90 EMA > 230 EMA) AND DV white above green (flat market)


==Short Entry Criteria==

RSI(4) crossed up above OB level (90) AND (50 EMA < 90 EMA < 230 EMA) AND DV white above green (flat market)


==Specific Requirements for the EA==

Indicators

RSI used should be the standard RSI in MT5 – as such all its parameters should be accessible as strategy variables.

The EMA’s used should be the standard EMA available in MT5 – as such all its parameters should be accessible as strategy variables.

The Damiani Volameter is available here (https://www.mql5.com/en/code/21700) and I would like all its parameters available.

As per screenshots above we can have the EMAs on the main chart and RSI and DV underneath.


Risk Management

While this is a somewhat functional strategy, I will require some other features related to risk management to mitigate the difficulty of it being on low timeframe.

Position Sizing

o   Fixed Lot Size (float)

o   Percent of Equity (float)

Order Type

·         Market

·         Limit

o   I would like to configure limit orders with a number of pips behind price so that I can get a fractionally better entry

3 Styles of ATR  Stop Loss

·         Static TP/SL – these are each multiplier of ATR but would like this to 2 dp please with a max of 10 each (something large)

·         Static TP/Trailing SL – same as above but the SL immediately trails rather than remains static.

·         Partial TP with Breakeven/Trailing SL – The trade’s stop loss trails immediately but once TP is hit a fixed percentage of the trade is closed and the rest of the trade is left to run.

o   Breakeven + X pips – I’d like to add a pip to break even to bring the order into slight profit this can be configured as a pips integer

Addition of spread to ATR profit target

This would be a Boolean which allows the spread at entry to be tacked on to the profit target so that (SL=4ATR/TP=1.33ATR) becomes (SL=4ATR/TP=1.33ATR+<SpreadAtEntry) when invoked.

Adverse Spread Filter

If the spread is too high the strategy should NOT trade - this should be configurable in points as seen in the Market Watch pane.


Martingale Option

Due to high win-rates of this strategy I would like to incorporate martingale as an option when ‘Static TP/SL’ or ‘Static TP/Trailing SL’ is selected to analyze it’s effects.

I would like the multiplication factor to be a float rather than the standard 2 here if possible i.e. I can increase position size by 1.4 or 2.5 if necessary.

 

Code Availability

I would like the EA source code to be made available as I am trying to use this project as a learning resource as I am only proficient in pinescript but will use this a reference.



Responded

1
Developer 1
Rating
(51)
Projects
71
37%
Arbitration
4
25% / 75%
Overdue
1
1%
Free
Published: 1 code
2
Developer 2
Rating
(83)
Projects
143
52%
Arbitration
8
13% / 75%
Overdue
22
15%
Free
3
Developer 3
Rating
(3)
Projects
4
25%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(4)
Projects
4
0%
Arbitration
1
0% / 0%
Overdue
0
Free
5
Developer 5
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
6
Developer 6
Rating
(258)
Projects
269
29%
Arbitration
1
100% / 0%
Overdue
3
1%
Working
Published: 2 codes
7
Developer 7
Rating
(319)
Projects
568
35%
Arbitration
82
30% / 45%
Overdue
206
36%
Loaded
8
Developer 8
Rating
(617)
Projects
721
33%
Arbitration
46
48% / 41%
Overdue
14
2%
Loaded
9
Developer 9
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(19)
Projects
31
32%
Arbitration
8
50% / 25%
Overdue
3
10%
Working
11
Developer 11
Rating
(7)
Projects
8
13%
Arbitration
6
33% / 33%
Overdue
0
Free
12
Developer 12
Rating
(111)
Projects
183
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Free
13
Developer 13
Rating
(9)
Projects
12
25%
Arbitration
0
Overdue
1
8%
Free
14
Developer 14
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
15
Developer 15
Rating
(2675)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
16
Developer 16
Rating
(44)
Projects
53
38%
Arbitration
8
13% / 38%
Overdue
8
15%
Free
17
Developer 17
Rating
(52)
Projects
67
43%
Arbitration
8
0% / 100%
Overdue
3
4%
Free
18
Developer 18
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
19
Developer 19
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(6)
Projects
6
33%
Arbitration
4
0% / 100%
Overdue
0
Free
Similar orders
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
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 () {

Project information

Budget
50 - 120 USD