Create an Expert Advisor for strategy in BTCUSDm using MT4

명시

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


파일:

응답함

1
개발자 1
등급
(68)
프로젝트
124
40%
중재
17
47% / 53%
기한 초과
31
25%
로드됨
2
개발자 2
등급
(625)
프로젝트
983
47%
중재
32
38% / 34%
기한 초과
96
10%
로드됨
게재됨: 6 코드
3
개발자 3
등급
(270)
프로젝트
399
27%
중재
39
41% / 49%
기한 초과
1
0%
무료
4
개발자 4
등급
(59)
프로젝트
86
28%
중재
24
13% / 58%
기한 초과
7
8%
로드됨
5
개발자 5
등급
(47)
프로젝트
67
37%
중재
5
40% / 40%
기한 초과
1
1%
무료
6
개발자 6
등급
(12)
프로젝트
13
23%
중재
7
0% / 71%
기한 초과
3
23%
작업중
7
개발자 7
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
8
개발자 8
등급
(265)
프로젝트
596
35%
중재
64
20% / 58%
기한 초과
147
25%
작업중
게재됨: 1 기고글, 22 코드
9
개발자 9
등급
(23)
프로젝트
45
20%
중재
25
28% / 48%
기한 초과
12
27%
무료
10
개발자 10
등급
(2)
프로젝트
2
0%
중재
3
0% / 100%
기한 초과
1
50%
무료
11
개발자 11
등급
(375)
프로젝트
481
23%
중재
58
55% / 26%
기한 초과
55
11%
로드됨
12
개발자 12
등급
(103)
프로젝트
165
24%
중재
23
9% / 78%
기한 초과
16
10%
작업중
13
개발자 13
등급
(7)
프로젝트
12
17%
중재
12
17% / 50%
기한 초과
3
25%
작업중
게재됨: 20 기고글
14
개발자 14
등급
(308)
프로젝트
552
35%
중재
79
32% / 42%
기한 초과
199
36%
로드됨
15
개발자 15
등급
(77)
프로젝트
243
74%
중재
7
100% / 0%
기한 초과
1
0%
무료
게재됨: 1 기고글
16
개발자 16
등급
프로젝트
1
0%
중재
1
100% / 0%
기한 초과
0
무료
17
개발자 17
등급
(250)
프로젝트
256
30%
중재
0
기한 초과
3
1%
무료
게재됨: 2 코드
18
개발자 18
등급
(43)
프로젝트
66
12%
중재
12
58% / 42%
기한 초과
1
2%
무료
19
개발자 19
등급
(59)
프로젝트
90
39%
중재
26
4% / 77%
기한 초과
40
44%
무료
20
개발자 20
등급
(11)
프로젝트
18
28%
중재
4
50% / 50%
기한 초과
1
6%
무료
21
개발자 21
등급
프로젝트
0
0%
중재
0
기한 초과
0
작업중
22
개발자 22
등급
(64)
프로젝트
144
46%
중재
19
42% / 16%
기한 초과
32
22%
작업중
23
개발자 23
등급
(5)
프로젝트
5
60%
중재
1
0% / 0%
기한 초과
2
40%
무료
게재됨: 1 코드
24
개발자 24
등급
(2636)
프로젝트
3351
67%
중재
77
48% / 14%
기한 초과
342
10%
작업중
게재됨: 1 코드
25
개발자 25
등급
(4)
프로젝트
5
0%
중재
3
0% / 33%
기한 초과
1
20%
무료
26
개발자 26
등급
(44)
프로젝트
53
38%
중재
8
13% / 38%
기한 초과
8
15%
작업중
27
개발자 27
등급
(21)
프로젝트
28
4%
중재
4
25% / 0%
기한 초과
3
11%
작업중
28
개발자 28
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
29
개발자 29
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
30
개발자 30
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
비슷한 주문
Hey guys, I’ve been trading for 6 years now and I need to automate a strategy that is really simple and ove developed by myself. Can you help me on that? Here is my e-mail angelocherubini24@gmail.com
Hello developers, I am currently using a scalping EA on XAUUSD (M1) based on pending orders and ATR logic, and I’m looking for professional optimization and possibly strategy improvements. My main goals: High-speed scalping (fast execution and fast entry logic) Ability to trade both directions simultaneously (true hedge mode: buy and sell at the same time) Professionally optimized pending order distance based on gold
SavannaFX Pro 100+ USD
//+------------------------------------------------------------------+ //| SavannaFX Pro | //| Created for Junior | //+------------------------------------------------------------------+ #property strict input int FastMA = 20; input int SlowMA = 50; input int RSIPeriod = 14; input double LotSize = 0.1; input int StopLoss = 300; input int TakeProfit = 600; int
Hello, I have a strategy written in Pine Script (TradingView) that used to send signals to MetaTrader 5 via PineConnector. Now I want a native MT5 Expert Advisor (EA) written in MQL5, so I can do full backtesting and trading inside MetaTrader without any external bridge. I will provide: - Full Pine Script code - Entry and exit rules (based on BOS and OB logic) - SL/TP and dynamic risk management (R:R) - Breakeven
Specification Hi Free lancers, I need an EA which relates to Sure Fire Hedging EA base on Below parameters needed. Overview how it works: This EA will be able to open a trade with either Buy or Sell selection (manual- to be manually switch buy or sell selection ), another selection for automatic open trading can choose only buy. Once the EA already open trade (example -buy position) with starting lot size 0.01
Data Integrity 500 - 1000 USD
The trading bot is an automated software system designed to monitor financial markets, execute trades, and manage risk based on predefined strategies. The bot aims to maximize profits while minimizing human intervention and emotional decision-making. Scope: Supports automated trading on selected exchanges (e.g., Binance, Bitget, Coinbase). Executes trades based on technical indicators, signals, or AI models. Provides
1. General Objective Development of an Expert Advisor in MQL5 intended for Futures markets , based on an existing trading strategy that I will provide (described logic or precise rules). The main objectives are: Faithful implementation of the strategy , Full debugging of the EA, Validation of correct behavior through backtesting. 2. Markets and Instruments Markets: Futures Symbols: to be defined (e.g. indices
Subject: Major Upgrade Request: Auto Confluence of Signal/Trend/Momentum Scores with Multi-Timeframe SMC Hello, Your bot is excellent analytically, but I'm facing daily manual intervention due to the multiple indicators and timeframes. --- 📊 Current Situation: The bot uses: · Signal Score · Trend Score · Momentum Score · SMC Analysis · 3 Timeframes (Fast 5M, Medium 15M, Main 1H) · 4 Additional Indicators Currently
Busco programador profesional con experiencia demostrable en MQL5 para crear un Expert Advisor en MetaTrader 5 basado en Price Action , con lógica jerárquica, reglas objetivas y gestión de zonas dinámicas. La estrategia esta explicada en un documento Word de 30 páginas (con imágenes) explicado en español. Características del EA: Operaciones Buy, Sell, Buy Limit y Sell Limit (máx. 2 operaciones pendientes simultáneas
Multi-Slave Inverse Hedging EA with Martingale Grid — MT5 Category: Experts Description: I am looking for an experienced MQL5 developer to build a professional-grade Expert Advisor system called Hedging EA Trader . This is a well-documented project — I have a full 30+ page Software Requirements Specification (SRS) ready to share with the selected developer. System Overview: The EA uses a Master/Slave architecture: 1

프로젝트 정보

예산
30 - 100 USD
기한
 5 일