Advanced Engulfing EA based on RSI

Trabajo finalizado

Plazo de ejecución 6 días

Tarea técnica

Welcome dear fellow Traders/Developers,

I am asking for an experienced person, who may help me. I would like to create an Engulfing EA, that work together with an RSI indicator.


Task:

The Engulfing  EA opens and manages positions with two different types of openings based on the candlesticks. There may be one or more open positions at a time, but only in the same direction. An added indicator is also needed for the expert (RSI). I would like it, if the EA could be used on any timeframe.

Opening (Important)

The expert works with two types of openings, but for both, it looks for Engulfing candles on the chart. An opening can occur once or multiple times per candle. The ''normal'' opening is at the opening of the new candle after the Engulfing candle, that has been carefully filtered by the EA. The ''advanced'' opening is a bit more difficult: Some Engulfing bars are being retested on different levels, this is why the EA divides the body of the Engulfing candle into multiple parts and on each part it places a pending order with the same direction as the Engulfing candle.

Example: There's a bullish Engulfing candle with the bodysize of 100 points, the EA opened a normal trade after the Engulfing candle closed and divides it into 1/2, so at the half of the body (at 50 points) the EA also places a BuyLimit order. If it's 1/3, then the EA places two pending orders at both third of the candle. With this we're minimalzing the SL distance and maximalizing the profit. The SL and RiskPercent are also based on the inputs. (I'm also happy to recive any advices or recommendations for this part)


Closing

The priority of the closing process is based on an RSI value. As soon as the value of the RSI reaches a certain amount, the EA closes the trade. Or you can select a specific RR ratio for the trades.


Input parameters:

  • MagicNumber (integer, default: 12345): The Magic value of open positions for later identification.
  • OpenType: (normal/advanced): Choosing wheter you're using a normal type of opening or advanced.
  • AdvancedType: (selectable, 1/2, 1/3, 1/4): Choosing the preffered advanced opening type.
  • UseTP : Close with a TP after each opening signal, not on an RSI value. I'm thinking about RR ratios, like 1:1, 1:2, 1:3 and so on, based on what you choose.
  • MinCandleSize (decimal, in point): The minimum candlestick size on which the EA opens a trade.
  • MaxCandleSize (decimal, in point): The maximum candle size on which the EA opens a trade.
  • BodySizeMultiplier (decimal): The Engulfing candle must be at least this many times the size of the previous candle. Example: If the parameter value is 1.5, the Engulfing candle must be at least one and a half times larger than the previous candle.
  • TailToBodySizeMultiplier (decimal): The minimum body-to-wick ratio of the Engulfing candle. Example: At 1, the body of the candle must be at least as large as the wick. At 5, the body of the candle should be at least 5 times larger than the candle wick. 
  • Lookback (integer, number of candles):  It determines how many candles need to be examined backwards to establish whether there is a local minimum or maximum. We use this value for the placement of the SL.
  • RSI Period (integer, default: 8): The parameter of the RSI period used.
  • MaxRSI Filter (decimal): Maximum RSI value where a Long position can still be opened.
  • MinRSI Filter (decimal): Minimum RSI value where a Short position can still be opened.
  • RSIexit Long (decimal): The RSI value at which the EA closes a Long trade.
  • RSIexit Short (decimal): The RSI value at which the EA closes a Short trade.
  • RSI Direction Exit (true/false): Whether the RSI-based trailing stop should be on or off.
  • RSI Direction Start Long (decimal): The RSI-based trailing stop starts at this point for Buy.
  • RSI Direction Start Short (decimal): The RSI-based trailing stop starts at this point for a Sell.
  • RSI Direction Distance (decimal, default 3): An RSI-based trailing stop follows the RSI value at this distance.
  • MaxSpread (integer, in point, default: 50): The maximum spread value for openings.
  • RiskPercent (decimal, percentage, default: 1): Risking this percentage of the capital to open a trade.
  • FixedLotSize (true/false, default: false): Opening a trade with a fixed lot size, instead of the percent of the capital.
  • UserLotSize (decimal, lot, default: 1): The default trade size with which you open a trade.
  • MoveSLtoBE (true/false, default: true): When reaching RR 1:0.5 or 1:1 the SL is being dragged to BE. (Advice and help is needed here.)
  • UseTrailingStop (true/false): Activating the trailing stop or not.
As for the display/screen, A button that you can press to turn the EA on and off would be preferable. (Trading is ON/ Trading is OFF)
  • Button X (integer, pixels): The horizontal position of the switch button. 
  • Button Y (integer, pixel): The vertical position of the switch button.

Some more info:

  • The candle body is greater than or equal to MinCandleSize.
  • The candle body is less than or equal to MaxCandleSize.
  • The candle body covers the body of the previous candle (the top is greater than or equal and the bottom is less than or equal to the body), and is in the opposite direction (neither can be zero).
  • For a Buy opening, the candle must be bullish, for a Sell opening, the candle must be bearish.
  • The candle body is greater than or equal to the BodySizeMultiplicator times the body of the previous candle.
  • For a Buy opening, at the upper wick of the candle and for a Sell opening, at the lower wick, the body should be at least a TailToBodySizeMultiplicator times.
  • It also checks the current RSI value, according to the rule above, so in the case of Buy, the RSI value is lower or equal to MaxRSIFilter, for Sell, the value of the RSI is greater than or equal to MinRSIFilter.
  • The current spread is less than or equal to the MaxSpread
  • The expert has no open position, or at most it is only in the direction in which we would like to open now. 
  • With the button on the chart, opening is enabled
  • If the value of FixedLotsize is true, then the opening of a trade size corresponding to the UserLotSize parameter. If false, the expert determines the trade size by risking the RiskPercent percentage of the current capital, rounded down.
  • The stop management is the same for the two types of openings. At the start, the Buy stop is placed at the lowest point of the  Lookback signalled candle and the Sell stop is placed above the highest point of the signalled candle with the spread at the opening.

RSI based Trailing Stop:

For the opening, an RSI-based trailing stop also works, if the RSI Direction Exit is on true. This always works with the current RSI value. For Buy, it will turn on if the RSI value is greater than or equal to RSI Direction Start Long, and for Sell, if it is less than or equal to RSI Direction Start Short. Once engaged, it follows the RSI value with an RSI Direction Distance (moving only upwards for Buy, only downwards for Sell) to determine a closing RSI value. From this point on, if the RSI value is less than or equal to the value of the RSI in the case of a buy, and if it is greater than or equal to the  RSI value in the case of a sell, it closes the position.


Display

On the chart, it displays the same information interface as the expert, and it also displays a button that allows and prohibits opening. It marks the corresponding Engulfing candles with an arrow, for Buy it it shows an upward one below the low value of the candle, for Sell it shows a downward one above the high value.


Thank you for your time!












Han respondido

1
Desarrollador 1
Evaluación
(39)
Proyectos
59
20%
Arbitraje
6
33% / 17%
Caducado
1
2%
Trabaja
Ha publicado: 2 ejemplos
2
Desarrollador 2
Evaluación
(258)
Proyectos
269
29%
Arbitraje
2
50% / 0%
Caducado
3
1%
Trabaja
Ha publicado: 2 ejemplos
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(2676)
Proyectos
3414
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
6
Desarrollador 6
Evaluación
(47)
Proyectos
67
37%
Arbitraje
5
40% / 40%
Caducado
1
1%
Libre
7
Desarrollador 7
Evaluación
(329)
Proyectos
515
19%
Arbitraje
35
46% / 31%
Caducado
34
7%
Trabaja
8
Desarrollador 8
Evaluación
(25)
Proyectos
33
18%
Arbitraje
6
50% / 33%
Caducado
4
12%
Libre
9
Desarrollador 9
Evaluación
(435)
Proyectos
642
53%
Arbitraje
35
63% / 20%
Caducado
6
1%
Trabaja
10
Desarrollador 10
Evaluación
(323)
Proyectos
328
71%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
11
Desarrollador 11
Evaluación
(9)
Proyectos
11
18%
Arbitraje
4
0% / 100%
Caducado
4
36%
Libre
12
Desarrollador 12
Evaluación
(2346)
Proyectos
2952
63%
Arbitraje
125
44% / 26%
Caducado
429
15%
Libre
13
Desarrollador 13
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
14
Desarrollador 14
Evaluación
(87)
Proyectos
121
68%
Arbitraje
5
80% / 0%
Caducado
12
10%
Trabaja
15
Desarrollador 15
Evaluación
(33)
Proyectos
35
20%
Arbitraje
5
40% / 40%
Caducado
0
Libre
Ha publicado: 1 ejemplo
16
Desarrollador 16
Evaluación
(102)
Proyectos
105
60%
Arbitraje
0
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(619)
Proyectos
722
33%
Arbitraje
46
48% / 41%
Caducado
14
2%
Trabajando
18
Desarrollador 18
Evaluación
(13)
Proyectos
20
40%
Arbitraje
3
0% / 67%
Caducado
3
15%
Libre
19
Desarrollador 19
Evaluación
(21)
Proyectos
28
36%
Arbitraje
7
14% / 71%
Caducado
2
7%
Libre
20
Desarrollador 20
Evaluación
(19)
Proyectos
31
32%
Arbitraje
8
50% / 25%
Caducado
3
10%
Trabaja
Solicitudes similares
Wanna Create A Trading Robot That Uses Liquidity Sweep And Smart Money Concept EA That Works On PC. I want A Developer Who Can Program Exactly My Strategy That Will Be Shared on A Video Upon The Selection. it Should Follow My Rules .It has To be able To Read Price Action, followed By Liquidity Sweep Areas And Combine with Smart Money Concept Knowledge. We Will Talk about Parameters later on . The robot should be able
1. Overview: I need an Expert Advisor (EA) for MT5 called "Gold Sniper" specifically optimized for XAUUSD (Gold). The EA should be a sniper scalper that takes high-probability trades on M5 and M15. It must work on any broker with low spread. 2. Strategy Logic: The EA should combine 3 confirmations: a) Trend Filter: EMA 50 & EMA 200. Only Buy if EMA 50 > EMA 200, only Sell if EMA 50 < EMA 200. Sniper Entry: Use RSI
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
I am looking for an experienced MQL5 developer to develop a custom Expert Advisor (EA) for MetaTrader 5, primarily for XAUUSD (Gold) . The EA will be based on a proprietary price-action trading strategy that I have already defined. The objective is to translate this strategy into a fully automated, precise and reliable trading system without modifying its underlying logic. The strategy involves specific
Need aggressive M1 gold scalper rewrite of Dev3 + 8 strategies. INPUTS: RiskPercent=3, TP=400, SL=300, MaxTrades=6, Mode=BOTH, DailyProfit 15%, DailyLoss -10% LOT = Balance * RiskPercent / 1000 - works for Cent R350 and $1000. 8 STRATEGIES any true = open instantly, check 1 sec: 1 EMA8/21 cross 2 RSI14 30/70 + engulf 3 Engulfing candle 4 BB 20,2 breakout 5 FVG grab M1 6 M5 trend + M1 entry 7 Wick rejection >2 8
I need an experienced MQL5 developer to build a prototype MT5 Expert Advisor called RiskLock. The software should enforce user-defined trading risk rules before trades are executed. It should support risk percentage or fixed monetary risk, calculate position size using account equity, entry price, stop loss, tick value and contract specifications, block or reduce oversized trades, and include daily loss limits
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it

Información sobre el proyecto

Presupuesto
300 - 400 USD