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

仕事が完了した

実行時間15 日
依頼者からのフィードバック
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.
開発者からのフィードバック
His a good boss and always straight to the point. I will like to work with him again

指定

==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.



ファイル:

応答済み

1
開発者 1
評価
(51)
プロジェクト
69
35%
仲裁
4
25% / 75%
期限切れ
0
2
開発者 2
評価
(83)
プロジェクト
142
51%
仲裁
8
13% / 75%
期限切れ
21
15%
仕事中
3
開発者 3
評価
(3)
プロジェクト
4
25%
仲裁
0
期限切れ
0
4
開発者 4
評価
(4)
プロジェクト
4
0%
仲裁
1
0% / 0%
期限切れ
0
5
開発者 5
評価
(60)
プロジェクト
87
29%
仲裁
24
13% / 58%
期限切れ
7
8%
仕事中
6
開発者 6
評価
(253)
プロジェクト
259
30%
仲裁
0
期限切れ
3
1%
パブリッシュした人: 2 codes
7
開発者 7
評価
(308)
プロジェクト
553
35%
仲裁
79
32% / 42%
期限切れ
200
36%
取り込み中
8
開発者 8
評価
(549)
プロジェクト
635
33%
仲裁
41
39% / 46%
期限切れ
11
2%
取り込み中
9
開発者 9
評価
(2)
プロジェクト
1
0%
仲裁
1
0% / 100%
期限切れ
0
10
開発者 10
評価
(19)
プロジェクト
31
32%
仲裁
8
50% / 25%
期限切れ
3
10%
仕事中
11
開発者 11
評価
(7)
プロジェクト
8
13%
仲裁
6
33% / 33%
期限切れ
0
12
開発者 12
評価
(104)
プロジェクト
166
24%
仲裁
23
9% / 78%
期限切れ
16
10%
仕事中
13
開発者 13
評価
(9)
プロジェクト
12
25%
仲裁
0
期限切れ
1
8%
14
開発者 14
評価
(322)
プロジェクト
499
67%
仲裁
5
40% / 0%
期限切れ
4
1%
パブリッシュした人: 8 codes
15
開発者 15
評価
(2642)
プロジェクト
3357
68%
仲裁
77
48% / 14%
期限切れ
342
10%
パブリッシュした人: 1 code
16
開発者 16
評価
(44)
プロジェクト
53
38%
仲裁
8
13% / 38%
期限切れ
8
15%
仕事中
17
開発者 17
評価
(52)
プロジェクト
67
43%
仲裁
8
0% / 100%
期限切れ
3
4%
18
開発者 18
評価
(361)
プロジェクト
643
26%
仲裁
92
72% / 14%
期限切れ
12
2%
仕事中
パブリッシュした人: 1 code
19
開発者 19
評価
(72)
プロジェクト
80
10%
仲裁
38
8% / 58%
期限切れ
6
8%
20
開発者 20
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
21
開発者 21
評価
(6)
プロジェクト
6
33%
仲裁
4
0% / 100%
期限切れ
0
類似した注文
1. Idea systemu handlowego jest następująca : wejścia na rynek odbywają się, gdy główna linia MACD i linia sygnałowa przecinają się zgodnie z aktualnym kierunkiem trendu . 2. Trend jest określany na podstawie wykładniczej średniej kroczącej z określonym okresem (InpMATrendPeriod). Jeśli bieżąca wartość EMA jest większa od poprzedniej, trend uznaje się za rosnący (ema_current > ema_previous). Alternatywnie, jeśli
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Freeallfree 400 - 800 USD
Professional MT5 EA – XAUUSD I need a professional Expert Advisor for MT5 (MQL5) to trade XAUUSD only. This is not a random scalping bot. The EA must trade only high-probability liquidity breakouts during active sessions and avoid ranging or low-volatility markets. Symbol: XAUUSD Timeframe: M15 (optional H1 confirmation) Session filter (Dubai GMT+4): Trade only London and New York sessions Adjustable session times No
Modification of EA and Addition of New Trade Logic and Features Currently, the EA is opening trades correctly but in addition, there are times when it is opening the trades wrongly. The EA is based on an indicator (only the .ex5 file is available). A new trigger logic also needs to be added, along with new closing conditions. This project must NOT use any DLL and must be submitted in 1 day (max 2 days) The EA will be
Refine signal trigger execution . Optimize live chart performance . Ensure stable and clean code structure : Stable and clean code is important . Otherwise its a mess . Apply with as much accurate structure you foresee
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
All other Necessary filters already coded , Mostly it is referring to another expert copy pasting . Live Chart Optimization . Optimization from Signal Trigger Point . Apply to stay ahead . While applying please explain the correct trailing stop loss for value gap entries
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
I am looking for a professional MQL5 developer to build a structured MT5 Expert Advisor. This is NOT a martingale or high-risk grid bot. Platform: • MT5 only (MQL5 source code required) Symbols: • XAUUSD • GBPUSD • GBPJPY Timeframe: • M5 Risk Management: • Adjustable risk per trade (default 0.5% equity) • Daily drawdown protection (max 3%, auto-lock trading for the day) • Maximum 2 open trades • Minimum 120 seconds

プロジェクト情報

予算
50 - 120 USD