Create an Expert Advisor for strategy in BTCUSDm using MT4

Tarea técnica

Input parameter:

  • Timeframe = 5 mins
  • ATR length = 5
  • Multiplier = 1
  • RSI length = 14
  • RSI Value =50
  • Lot size = 0.01 lots.


Strategy Rules

Bullish Trade Entry:

If the price crosses above the supertrend value and the RSI >50, and the volume of the current candle is higher than the average volume of the last 3 candles.

  • Close(1) > SuperTrend(1)
  • Close(2) < SuperTrend(2)
  • RSI(1) > 50
  • Volume(1) > (Volume(2)+Volume(3)+Volume(1))/3


Bullish Trade Exit :

If the price crosses below the SuperTrend Value

  • Close(1) < SuperTrend(1)
  • Clsoe (2) > SuperTrend(2)


Bearish Trade Entry

If the price crosses below the supertrend value and the RSI <50, and the volume of the current candle is higher than the average volume of the last 3 candles.

  • Close(1) < SuperTrend(1)
  • Clsoe (2) > SuperTrend(2)
  • RSI(1) > 50
  • Volume(1) > (Volume(2)+Volume(3)+Volume(1))/3


Bearish Trade Exit :

If the price crosses above the SuperTrend Value

  • Close(1) > SuperTrend(1)
  • Close(2) < SuperTrend(2)


Crosses above the condition

  • Close(1) > SuperTrend(1)
  • Close(2) < SuperTrend(2)


Crosses below the condition

  • Close(1) > SuperTrend(1)
  • Clsoe (2) > SuperTrend(2)


Terms should be used in such a way

  • Close(1) = previous candle (just closed)
  • Close(2) = candle before that
  • SuperTrend(1) = SuperTrend Value of previous candle (just closed)
  • SuperTrend(2) = SuperTrend Value candle before that
  • Volume(1) = Tick volume of the previous (just closed) candle
  • Volume(2) = Tick volume of the candle before the previous one


RSI(1) RSI value of the previous (just closed) candle


Note


1. Make sure all the entries and exits will take place at the close price of the candle just closed

Only One Trade at a time, means once the bullish Trade is exited, then only we will look for a bearish trade and vice versa.


2. For Indicator

For SuperTren,d build a custom Indicator that can be plotted in any chart and use it with the help of iCustom() inside the EA

For RSI, use the default function iRSI() inside the EA

For Volum,e also use the default function iVolume() inside the EA


3. Maintain a tradelog of every trade and export it to a CSV file after every trade.

Format for the Trade log.

Symbol | Timestamp | Entry Time | Entry Price | Exit Time | Exit Price | PnL | Cumulative PnL

After every trade exit, the data should be appended into the tradelog CSV file.


4. For Debugging purposes. I need the following data for every iteration.

Timestamp | close Price| Super Trend Value | RSI Value| Volume | Entry Condition (True/False) |Exit Condition (True/False)


5. There should be a separate function for calculating SuperTrend, RSI, Volume, and Entry and Exit. During the entry and exit condition check, the program should call the values ofthe above function and use them for condition checking


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(68)
Proyectos
126
40%
Arbitraje
18
44% / 56%
Caducado
33
26%
Trabaja
2
Desarrollador 2
Evaluación
(635)
Proyectos
1005
47%
Arbitraje
33
36% / 36%
Caducado
99
10%
Trabaja
Ha publicado: 6 ejemplos
3
Desarrollador 3
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
4
Desarrollador 4
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
5
Desarrollador 5
Evaluación
(47)
Proyectos
67
37%
Arbitraje
5
40% / 40%
Caducado
1
1%
Libre
6
Desarrollador 6
Evaluación
(12)
Proyectos
13
23%
Arbitraje
7
0% / 71%
Caducado
3
23%
Trabaja
7
Desarrollador 7
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(268)
Proyectos
602
34%
Arbitraje
64
20% / 58%
Caducado
147
24%
Trabaja
Ha publicado: 1 artículo, 22 ejemplos
9
Desarrollador 9
Evaluación
(23)
Proyectos
45
20%
Arbitraje
25
28% / 48%
Caducado
12
27%
Libre
10
Desarrollador 10
Evaluación
(2)
Proyectos
2
0%
Arbitraje
3
0% / 100%
Caducado
1
50%
Libre
11
Desarrollador 11
Evaluación
(387)
Proyectos
499
23%
Arbitraje
60
55% / 25%
Caducado
59
12%
Trabaja
12
Desarrollador 12
Evaluación
(108)
Proyectos
177
25%
Arbitraje
24
17% / 75%
Caducado
16
9%
Libre
13
Desarrollador 13
Evaluación
(7)
Proyectos
13
15%
Arbitraje
13
23% / 46%
Caducado
3
23%
Libre
Ha publicado: 34 artículos
14
Desarrollador 14
Evaluación
(318)
Proyectos
565
35%
Arbitraje
81
31% / 44%
Caducado
204
36%
Libre
15
Desarrollador 15
Evaluación
(77)
Proyectos
245
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Trabaja
Ha publicado: 1 artículo
16
Desarrollador 16
Evaluación
Proyectos
1
0%
Arbitraje
1
100% / 0%
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(258)
Proyectos
266
29%
Arbitraje
0
Caducado
3
1%
Trabaja
Ha publicado: 2 ejemplos
18
Desarrollador 18
Evaluación
(43)
Proyectos
66
12%
Arbitraje
12
58% / 42%
Caducado
1
2%
Libre
19
Desarrollador 19
Evaluación
(59)
Proyectos
90
39%
Arbitraje
26
4% / 77%
Caducado
40
44%
Libre
20
Desarrollador 20
Evaluación
(11)
Proyectos
18
28%
Arbitraje
4
50% / 50%
Caducado
1
6%
Libre
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
22
Desarrollador 22
Evaluación
(64)
Proyectos
144
46%
Arbitraje
20
40% / 20%
Caducado
32
22%
Libre
23
Desarrollador 23
Evaluación
(5)
Proyectos
5
60%
Arbitraje
1
0% / 0%
Caducado
2
40%
Libre
Ha publicado: 1 ejemplo
24
Desarrollador 24
Evaluación
(2672)
Proyectos
3406
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
25
Desarrollador 25
Evaluación
(4)
Proyectos
5
0%
Arbitraje
3
0% / 33%
Caducado
1
20%
Libre
26
Desarrollador 26
Evaluación
(44)
Proyectos
53
38%
Arbitraje
8
13% / 38%
Caducado
8
15%
Libre
27
Desarrollador 27
Evaluación
(22)
Proyectos
29
3%
Arbitraje
4
25% / 0%
Caducado
3
10%
Trabaja
28
Desarrollador 28
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
29
Desarrollador 29
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
30
Desarrollador 30
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
JOB TITLE: XAUUSD ONLY MQL5 Strategy Developer Needed To Improve Existing MT5 EA Winrate JOB DESCRIPTION: I already have a working MetaTrader 5 Expert Advisor with a fixed set file and existing trading logic. The strategy is based on Volume Profile / Delta bias, ATR-based TP/SL, ATR deviation filtering, ATR trade spacing, break-even after TP1, and TP lock management. I am looking for an experienced MQL5 / trading
Can you Build a custom NinjaTrader 8 ChartStyle or BarsType called Optimized Footprint Bars. This project is urgent and i need someone that's wiiling to do his project with me kinldy bid for this. Thanks
Hello, I am reopening this project with a fully updated and clarified specification. I am looking for a high‑level MQL5 developer who can deliver a clean, stable, and professional Phase 1 version of my: Institutional‑Grade Multi‑Currency MT5 EA (A2SR + SMC + Smart Recovery + Smart Grid + Liquidity + Volatility + Safety Filters) This EA is not a simple indicator conversion or a basic strategy. It is a structured
Hello, I'm interested in a quote to convert my manual trading strategy into an automated strategy for NinjaTrader. Please note, I would like the quote based on the work and not my available budget; therefore, I entered $5 for the budget. Additionally, I would appreciate knowing how long it would take to build/test. I would prefer to have it sooner rather than later but selected 7 days not knowing how long it takes to
Pine Script Integration Request (Experienced Coders Only) I am looking for a highly experienced Pine Script developer to integrate a Demand & Supply Zone module into my existing indicator. Requirements Keep my current indicator (Rudy) exactly as it is. Do NOT modify, remove, or alter any existing logic, calculations, signals, alerts, or visual elements. Add only the Demand & Supply Zone boxes from a second Pine

Información sobre el proyecto

Presupuesto
30 - 100 USD
Plazo límite de ejecución
a 5 día(s)