Create an Expert Advisor for strategy in BTCUSDm using MT4

Termos de Referência

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


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(68)
Projetos
125
40%
Arbitragem
17
47% / 53%
Expirado
32
26%
Trabalhando
2
Desenvolvedor 2
Classificação
(627)
Projetos
989
47%
Arbitragem
33
36% / 36%
Expirado
98
10%
Trabalhando
Publicou: 6 códigos
3
Desenvolvedor 3
Classificação
(273)
Projetos
401
27%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
4
Desenvolvedor 4
Classificação
(60)
Projetos
87
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
5
Desenvolvedor 5
Classificação
(47)
Projetos
67
37%
Arbitragem
5
40% / 40%
Expirado
1
1%
Livre
6
Desenvolvedor 6
Classificação
(12)
Projetos
13
23%
Arbitragem
7
0% / 71%
Expirado
3
23%
Trabalhando
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(266)
Projetos
598
35%
Arbitragem
64
20% / 58%
Expirado
147
25%
Livre
Publicou: 1 artigo, 22 códigos
9
Desenvolvedor 9
Classificação
(23)
Projetos
45
20%
Arbitragem
25
28% / 48%
Expirado
12
27%
Livre
10
Desenvolvedor 10
Classificação
(2)
Projetos
2
0%
Arbitragem
3
0% / 100%
Expirado
1
50%
Livre
11
Desenvolvedor 11
Classificação
(378)
Projetos
486
24%
Arbitragem
59
54% / 25%
Expirado
55
11%
Carregado
12
Desenvolvedor 12
Classificação
(104)
Projetos
169
24%
Arbitragem
23
9% / 78%
Expirado
16
9%
Trabalhando
13
Desenvolvedor 13
Classificação
(7)
Projetos
13
15%
Arbitragem
13
23% / 46%
Expirado
3
23%
Livre
Publicou: 24 artigos
14
Desenvolvedor 14
Classificação
(311)
Projetos
557
35%
Arbitragem
79
32% / 43%
Expirado
202
36%
Trabalhando
15
Desenvolvedor 15
Classificação
(77)
Projetos
243
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
16
Desenvolvedor 16
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
17
Desenvolvedor 17
Classificação
(255)
Projetos
262
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
18
Desenvolvedor 18
Classificação
(43)
Projetos
66
12%
Arbitragem
12
58% / 42%
Expirado
1
2%
Livre
19
Desenvolvedor 19
Classificação
(59)
Projetos
90
39%
Arbitragem
26
4% / 77%
Expirado
40
44%
Livre
20
Desenvolvedor 20
Classificação
(11)
Projetos
18
28%
Arbitragem
4
50% / 50%
Expirado
1
6%
Livre
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
22
Desenvolvedor 22
Classificação
(64)
Projetos
144
46%
Arbitragem
19
42% / 16%
Expirado
32
22%
Livre
23
Desenvolvedor 23
Classificação
(5)
Projetos
5
60%
Arbitragem
1
0% / 0%
Expirado
2
40%
Livre
Publicou: 1 código
24
Desenvolvedor 24
Classificação
(2653)
Projetos
3370
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
25
Desenvolvedor 25
Classificação
(4)
Projetos
5
0%
Arbitragem
3
0% / 33%
Expirado
1
20%
Livre
26
Desenvolvedor 26
Classificação
(44)
Projetos
53
38%
Arbitragem
8
13% / 38%
Expirado
8
15%
Trabalhando
27
Desenvolvedor 27
Classificação
(22)
Projetos
29
3%
Arbitragem
4
25% / 0%
Expirado
3
10%
Trabalhando
28
Desenvolvedor 28
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
30
Desenvolvedor 30
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
I need any highly profitable MT5 robot which trades any sythetic indices on deriv very profitably. It should have good risk management and any good strategy The EA should have good risk management and can trade small accounts like 50 - 100USD Developers who have already made robots have higher chance
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
Title: MT5 EA Needed – Prop‑Firm Compliance Tool (SL/TP at Entry, 60‑Second Hold, Daily Profit Cap, 0.5% XAUUSD Risk) Description: I need an MT5 Expert Advisor that enforces prop‑firm compliance rules for Instant Funding accounts. The EA must NOT trade automatically — it should only monitor and control my manual XAUUSD trading. I trade all sessions, so there should be no time restrictions. MY TRADING STYLE (Important
Simple MA indicator with buy and sell arrow with a push notification. Conditions for buy or sell should be when price breaks above or below the MA and then retraced back to the MA creating a HH/HL or LH/LL then the buy/sell signal arrow should be at the reversal candle that forms the HL/HH. And on indicator window1 RSI cross over MA and the RSI line
Hi, I hope you doing Greate, Let me share details , so the original EA already working but you can check and verify everything fine.First you verify that all original EA features are working correctly then add a user dashboard showing the number of detected zones, buy sell both none status, and an on off button. also ensure mitigated zones disappear properly and that trades follow the zone rules, and integrate the
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
Hi, I am looking for an Quant/MQL5 developer to build a pure mathematical, Delta-Neutral Statistical Arbitrage (spot vs future ) Expert Advisor. ​ No retail indicator logic (No RSI, MACD, etc.). This is a high-speed, spread-based execution model trading the pricing inefficiency between two correlated assets (e.g., Gold Spot XAUUSD vs Gold Futures). ​ Core Requirements at a Glance: ​Real-time Spread & Z-Score
Looking for a Proven Non-Repainting Gold Indicator (XAUUSD) – High Accuracy & Ready-Made Solutions Only 📌 Project Description: I am looking for a high-quality, non-repainting indicator specifically for XAUUSD (Gold) that is already developed and tested. ⚠️ Important: I am NOT looking for a new indicator to be built from scratch. I want an existing, proven system that you have already created and are confident in. 🎯
Fair Value Gap Expert , Optimize the core logic for live chart . [Filters are working] Lets ace the trailing stop . Change points to pip . Project will start from next week

Informações sobre o projeto

Orçamento
30 - 100 USD
Prazo
para 5 dias