Create an Expert Advisor for strategy in BTCUSDm using MT4

Spécifications

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


Dossiers :

Répondu

1
Développeur 1
Évaluation
(68)
Projets
127
41%
Arbitrage
19
47% / 53%
En retard
33
26%
Gratuit
2
Développeur 2
Évaluation
(636)
Projets
1008
47%
Arbitrage
33
36% / 36%
En retard
99
10%
Travail
Publié : 6 codes
3
Développeur 3
Évaluation
(274)
Projets
403
28%
Arbitrage
40
40% / 50%
En retard
1
0%
Gratuit
4
Développeur 4
Évaluation
(62)
Projets
90
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
5
Développeur 5
Évaluation
(47)
Projets
67
37%
Arbitrage
5
40% / 40%
En retard
1
1%
Gratuit
6
Développeur 6
Évaluation
(12)
Projets
13
23%
Arbitrage
7
0% / 71%
En retard
3
23%
Travail
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(268)
Projets
603
34%
Arbitrage
65
22% / 57%
En retard
146
24%
Travail
Publié : 1 article, 22 codes
9
Développeur 9
Évaluation
(23)
Projets
45
20%
Arbitrage
25
28% / 48%
En retard
12
27%
Gratuit
10
Développeur 10
Évaluation
(2)
Projets
2
0%
Arbitrage
3
0% / 100%
En retard
1
50%
Gratuit
11
Développeur 11
Évaluation
(401)
Projets
519
24%
Arbitrage
61
57% / 25%
En retard
60
12%
Chargé
12
Développeur 12
Évaluation
(111)
Projets
184
25%
Arbitrage
25
16% / 76%
En retard
16
9%
Gratuit
13
Développeur 13
Évaluation
(7)
Projets
13
15%
Arbitrage
13
23% / 46%
En retard
3
23%
Gratuit
Publié : 40 articles
14
Développeur 14
Évaluation
(319)
Projets
574
35%
Arbitrage
83
31% / 45%
En retard
207
36%
Gratuit
15
Développeur 15
Évaluation
(78)
Projets
246
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article, 1 code
16
Développeur 16
Évaluation
Projets
1
0%
Arbitrage
1
100% / 0%
En retard
0
Gratuit
17
Développeur 17
Évaluation
(258)
Projets
269
29%
Arbitrage
2
50% / 0%
En retard
3
1%
Travail
Publié : 2 codes
18
Développeur 18
Évaluation
(43)
Projets
66
12%
Arbitrage
12
58% / 42%
En retard
1
2%
Gratuit
19
Développeur 19
Évaluation
(59)
Projets
90
39%
Arbitrage
26
4% / 77%
En retard
40
44%
Gratuit
20
Développeur 20
Évaluation
(11)
Projets
18
28%
Arbitrage
4
50% / 50%
En retard
1
6%
Gratuit
21
Développeur 21
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Travail
22
Développeur 22
Évaluation
(64)
Projets
145
46%
Arbitrage
21
38% / 24%
En retard
32
22%
Gratuit
23
Développeur 23
Évaluation
(5)
Projets
5
60%
Arbitrage
1
0% / 0%
En retard
2
40%
Gratuit
Publié : 1 code
24
Développeur 24
Évaluation
(2676)
Projets
3419
68%
Arbitrage
77
48% / 14%
En retard
343
10%
Travail
Publié : 1 code
25
Développeur 25
Évaluation
(4)
Projets
5
0%
Arbitrage
3
0% / 33%
En retard
1
20%
Gratuit
26
Développeur 26
Évaluation
(44)
Projets
53
38%
Arbitrage
8
13% / 38%
En retard
8
15%
Gratuit
27
Développeur 27
Évaluation
(22)
Projets
29
3%
Arbitrage
4
25% / 0%
En retard
3
10%
Gratuit
28
Développeur 28
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
29
Développeur 29
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
30
Développeur 30
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the
Mt5 35+ USD
//+------------------------------------------------------------------+ //| HedgingBasket_EA.mq5 | //| Copyright 2026, Trading Bot | //+------------------------------------------------------------------+ #property copyright "Trading Assistant" #property version "1.00" #include <Trade\Trade.mqh> CTrade trade; //--- Input parameters input group "=== Hedging Settings ===" input double InpLotSize = 0.01; // Lot Size for
Custom MT5 Expert Advisor (EA) Development | MQL5 Automation Turn Your Trading Strategy into a Powerful Automated Trading System! Are you looking for a professional MT5 Expert Advisor developer to automate your trading strategy? I specialize in developing custom MetaTrader 5 (MT5) Expert Advisors and indicators using MQL5 , tailored to your trading rules, risk management preferences, and trading goals. Whether you
Hello, I’d like to develop an AI-powered analysis dashboard for , with a clear, easy-to-use design that works on mobile and web, or on the platform we agree on. I’d like it to include: Main dashboard: Show the market status, the latest data update, and the current signal, if available, including direction, entry price, stop loss, targets, and risk-to-reward ratio. AI signal explanations: Explain in clear language why
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
Hello, I am looking for an experienced MQL5 developer to create a professional, reliable, fully customizable Expert Advisor (EA) and trading signal system for MetaTrader 5. 1. Supported Markets The EA must support: Gold (XAUUSD) Silver (XAGUSD) Nasdaq 100 (NAS100/US100) Forex currency pairs Bitcoin (BTCUSD) It must work with MT5 brokers, including Tickmill, where these instruments are available. 2. Two Trading Modes
Entry Strategy: Explain exact conditions for opening a trade specific indicators like Moving Averages or RSI, time of day, or price action rules. Exit Strategy: Define when a trade should closeTake Profit, Stop Loss, Trailing Stop, or indicator signals. Daily Trading Rules: Specify daily limits if applicable maximum trades per day, specific trading hours, or maximum daily loss limit. Risk & Position Sizing: Indicate
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
Hi All, I am looking for a bot EA which makes good profit. If any having please share it for TEST. After proper TESTING only I will make the payment, no cheating no fraud. Please do not waste the time also

Informations sur le projet

Budget
30 - 100 USD
Délais
à 5 jour(s)