Code Volatility Bot utilizing MA & RSI strategy

Job finished

Execution time 3 days
Feedback from customer
Job well done, implemented my strategy exactly as expected. Highly recommended.

Specification

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

Files:

Responded

1
Developer 1
Rating
(465)
Projects
815
49%
Arbitration
76
21% / 50%
Overdue
142
17%
Working
1
Developer 1
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
2
Developer 2
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
2
Developer 2
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
3
Developer 3
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
3
Developer 3
Rating
(3)
Projects
4
0%
Arbitration
1
0% / 0%
Overdue
0
Free
4
Developer 4
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
4
Developer 4
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(43)
Projects
63
24%
Arbitration
10
30% / 50%
Overdue
10
16%
Free
5
Developer 5
Rating
(12)
Projects
47
85%
Arbitration
1
0% / 100%
Overdue
9
19%
Free
6
Developer 6
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
7
Developer 7
Rating
(9)
Projects
10
10%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(28)
Projects
39
23%
Arbitration
14
0% / 93%
Overdue
4
10%
Free
9
Developer 9
Rating
(2678)
Projects
3422
68%
Arbitration
78
47% / 14%
Overdue
343
10%
Working
Published: 1 code
10
Developer 10
Rating
(185)
Projects
199
47%
Arbitration
4
50% / 25%
Overdue
1
1%
Working
Similar orders
Trading 35+ USD
Project: XAUUSD Gold Trading Robot for MetaTrader 5 I want to develop a fully automated Expert Advisor (EA) for MetaTrader 5, designed exclusively for Gold (XAUUSD) and compatible with the Exness broker. Trading Strategy: Liquidity + CHOCH + Retest Identify important buy-side and sell-side liquidity zones using previous highs and lows, equal highs/lows, and confirmed swing points. Wait for a clear liquidity sweep
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth
Expert advisor 150+ USD
Hiring: Forex Strategist & MQL5 Developer for Long-Term EA Development I am looking for an experienced Forex Strategist and MT5 (MQL5) Developer to work with me on an ongoing project to develop, test, improve, and optimize a profitable Forex Expert Advisor (EA). My Message to the Developer My budget is $150 . However, this is not intended to be a one-time payment for a finished product. I want an ongoing working
Hello developers,I am looking for an experienced MQL5 developer to create an EA based on Moving Average retest strategy with advanced recovery system.The concept is simple: Entry is based on MA close and retest. Initial trade has small TP and no SL.If price goes against the initial position, the EA should manage it using:Opposite hedge tradePending limit grid systemBasket take profitMartingale lot multiplier after
Hi gentlemen, I want MT5 market orders placed (open and close orders) on MEXC trading through web browser. MEXC doesnt allow algo trading. - Need source code budget: USD 50 (quote me your price and delivery time) I need this at the earliest and this job is only for mexc.com, not binance or any other exchange I look forward to your price offer and your suggestions. Appreciate

Project information

Budget
100 - 200 USD
Deadline
from 2 to 3 day(s)