Code Volatility Bot utilizing MA & RSI strategy

Trabajo finalizado

Plazo de ejecución 3 días
Comentario del Cliente
Job well done, implemented my strategy exactly as expected. Highly recommended.

Tarea técnica

Please provide me with a fully coded Expert Advisor (EA) that will execute automated trading on MT5, utilizing Deriv as broker and for the Volatility 75 index. Name of the EA should be Volatility Bot.

Please watch the video in this link which provides the basic strategy to be followed. Please note that this document takes preference over the video content as minor changes are proposed to that in the video in order to achieve a better strategy. However, the video should be able to explain the core strategy for better clarification.

Video Link: https://x.com/bkartnam/status/1991124911490805944?s=19

Components of the Strategy

  • Asset and Timeframe:
    • Volatility 75 index.
    • Uses the M5 candlestick chart for analysis and entries for all trades.
  • Inputs:

o   Lot size (LS) – Percentage input for lot size, lot size should adapt percentage-wise to equity available as account increase or decrease. If the equity decrease to such an extent that it affects lot size to reach minimum lot size required Volatility 75 index by Deriv, it will continue entering trades at the minimum lot size until it reaches a point where potentially the equity increase again to be able to increase lot size as a percentage of equity.

 

o   Points for calculating imaginary Trailing Stop (TS) – The imaginary trailing stop condition will activate with this input amount once the trade position reaches these points in profitable position from trade entry position. The imaginary trailing stop will not be an actual trailing stop in the trade, EA should calculate and follow open trade price action with this amount which will act as a trailing stop, if this following stop is triggered, close the trade.

 

o   RSI Lower input margin (RSILow) – input for the lower margin on RSI with Period = 1, margin line to show in indicator window.

 

o   RSI Higher input margin (RSIHigh) - input for the higher margin on RSI with Period = 1, margin line to show in indicator window.

  • Indicators to be used (all indicators to be presented as per the attached diagram):
    • Relative Strength Index (RSI) – added in Indicator Window 1 below main chart window:
      • Period: 1.
      • Apply to: Close prices.
      • Levels as per inputs: oversold threshold = RSI Lower input margin and overbought threshold = RSI Higher input margin
    • Moving Average (MA) – added in Main Chart window:
      • Period: 35.
      • Shift: 0.
      • Method: Exponential.
      • Apply to: Close prices.
      • Style: Red
      • This is added to the main chart window, use for trend confirmation.
    • Envelope 1 – added to the RSI Indicator Window 1 below main chart window to envelope RSI movement:
      • Period: 1.
      • Shift: 0.
      • Deviation: 6.000.
      • Method: Smoothed.
      • Apply to: Close prices.
      • Levels: Upper band = OrangeRed and Lower band = Lime
      • This creates bands around the RSI line or price, helping to identify extremes or volatility squeezes.
    • Envelope 2 – added to the RSI Indicator Window 1 below main chart window to envelope RSI movement:
      • Period: 1.
      • Shift: 0.
      • Deviation: 0.010.
      • Method: Smoothed.
      • Apply to: Close prices.
      • Levels: Upper band = Lime and Lower band = OrangeRed
      • This creates bands around the RSI line or price, helping to identify extremes or volatility squeezes.
  • Entry Rules:

o   Trading Condition Identified: Once the Envelope 2 / RSI (Period: 1) indicator come in close proximity (i.e. 5 units on RSI levels between the 2 envelopes) of the Envelope 1 / RSI (Period: 1) upper band (for Sell confirmation) or lower band (for Buy confirmation), a trade condition is identified, though not activated yet. Thus, If the 2 envelopes / RSI (Period: 1) come in close proximity (i.e. 5 units on RSI levels between the 2 envelopes) of the upper band, a Sell condition is identified. If the envelopes / RSI (Period: 1) come in close proximity (i.e. 5 units on RSI levels between the 2 envelopes) of the lower band, a Buy condition is identified.

    • Buy Signal: After a Buy trading condition has been identified, wait until a M5 candle crosses and close above the MA line, then open a trade with the start of the next M5 candle. Open trade with Lot Size (LS) input.
    • Sell Signal: After a Sell trading condition has been identified, wait until a M5 candle crosses and close below the MA line, then open a trade with the start of the next M5 candle. Open trade with Lot Size (LS) input.
    • Stop Loss (SL) condition for Sell trades: For all Sell trades the stop loss condition is set at the highest price position reached between the time of the trade condition confirmation until the time that the price position crossed the MA line (i.e. when sell signal was activated). The EA should not create an actual stop loss on the chart, it should only terminate the trade when the Stop Loss (LS) condition is met.
    • Stop Loss (SL) condition for Buy trades: For all Buy trades the stop loss condition is set at the lowest price position reached between the time of the trade condition confirmation until the time that the price position crossed the MA line (i.e. when buy signal was activated). The EA should not create an actual stop loss on the chart, it should only terminate the trade when the Stop Loss (LS) condition is met.
    • Imaginary Trailing Stop condition (TS) for Sell trades: Once price reaches the point where the Envelope 2 / RSI (Period: 1) indicator cross the RSI lower input margin(RSILow), the trailing stop condition will be activated, the EA will track the trailing with the input points behind trade position, i.e. if RSI lower input (RSILow) margin was set at 32, TS condition will be activated once Envelope 2 / RSI (Period: 1) indicator crosses the 32 RSI margin. Trade will terminate when imaginary TS position is triggered. If the amount of points between trade entry point and trade position where Envelope 2 / RSI (Period: 1) level is crossing the RSI lower input margin (RSILow) is < than Points for imaginary Trailing Stop (TS) input, then terminate the trade.
    • Imaginary Trailing Stop (TS) condition for Buy trades: Once price reaches the point where the Envelope 2 /RSI (Period: 1) indicator cross the RSI upper input margin (RSIHigh), the trailing stop condition will be activated, the EA will track the trailing with the input points behind trade position, i.e. if RSI upper input (RSIHigh) margin was set at 68, TS condition will be activated once Envelope 2 / RSI (Period: 1) indicator crosses the 68 RSI margin. Trade will terminate when imaginary TS position is triggered. If the amount of points between trade entry point and trade position where Envelope 2 / RSI (Period: 1) level is crossing the RSI upper input margin (RSIHigh) is < than Points for imaginary Trailing Stop (TS) input, then terminate the trade.
    • Next Trade: Once a trade terminates, the next trade will only open once a new trading condition has been identified when the Envelope 2 / RSI (Period: 1) come in close proximity (i.e. 5 units on RSI levels between the 2 envelopes) of the Envelope 1 upper band (for Sell confirmation) or lower band (for Buy confirmation).

Please code the indicators directly into the EA. Visualization of indicators to match exactly as illustrated in the attached diagram named “Diagram” and in video link provided. The indicator windows with indicators should also be visible / load in the MT5 Strategy Tester to be able to track and verify trading identification conditions.

Diagram

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(456)
Proyectos
794
49%
Arbitraje
71
17% / 54%
Caducado
139
18%
Trabaja
1
Desarrollador 1
Evaluación
(4)
Proyectos
3
33%
Arbitraje
2
0% / 100%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(60)
Proyectos
87
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
2
Desarrollador 2
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
3
Desarrollador 3
Evaluación
(32)
Proyectos
35
34%
Arbitraje
5
0% / 80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
3
Desarrollador 3
Evaluación
(3)
Proyectos
4
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
4
Desarrollador 4
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(43)
Proyectos
62
23%
Arbitraje
8
25% / 25%
Caducado
10
16%
Trabajando
5
Desarrollador 5
Evaluación
(12)
Proyectos
47
85%
Arbitraje
1
0% / 100%
Caducado
9
19%
Libre
6
Desarrollador 6
Evaluación
(253)
Proyectos
259
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
7
Desarrollador 7
Evaluación
(8)
Proyectos
9
11%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(28)
Proyectos
39
23%
Arbitraje
14
0% / 93%
Caducado
4
10%
Trabaja
9
Desarrollador 9
Evaluación
(2642)
Proyectos
3357
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
10
Desarrollador 10
Evaluación
(140)
Proyectos
149
41%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabaja
Solicitudes similares
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
I have a working MT5 Expert Advisor. I am NOT looking to change the strategy logic. I only need professional optimization and performance improvement. Requirements: • Parameter optimization • Risk adjustment • Max drawdown reduction • Forward testing report • Optimization for Gold (XAUUSD) Please provide previous optimization reports
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
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
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) ​ Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. ​ 1. Core Logic: Triple-Layer Confluence ​The signal (Call/Put)
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

Información sobre el proyecto

Presupuesto
100 - 200 USD
Plazo límite de ejecución
de 2 a 3 día(s)