Modification to RSI based Open and Close Positions

Trabalho concluído

Tempo de execução 55 minutos
Comentário do desenvolvedor
Great customer! Thank you for the order!
Comentário do cliente
Skilled developer

Termos de Referência

I need this task done before 18:00 GMT 17/04/24

The EA is already written, however trades are opened at the incorrect level as instructed in the inputs and code which would need debugging, trailing stop loss functionality isn't working and my request mentioned below needs implementing.

Assuming the upper RSI level is 70 and the lower RSI level is 30, the logic I am after is simple. When the price is in a decline, and the RSI crosses the lower level (30) I don't want a buy trade to be executed. A buy trade is only executed, when the price does a reversal below the lower RSI level and crosses the lower level (30) upwards again. To ensure a safer entry.

The same logic applies for opening sell positions. When the price is moving upwards and the RSI crosses the upper level (70), a sell positions isn't opened. It's only opened when the price crosses the RSI upper level in a downwards direction. As currently used whenever a buy position is opened a sell position is closed vice versa.

This is further explained in the image below:


In this case I don't want a sell position to be opened at 1 as it crosses the upper level, I want the sell position to be opened at 2. Furthermore, I don't want the sell position to be closed and a buy positions simultaneously opened at 3, I want the sell position to be closed and a buy position to be opened at 4.

Do not delete anything from the EA unless it is responsible for preventing the code from working.

Once completed, backtest (with different RSI period and level inputs) the EA, and show me the trailing stop loss working along with how it opens and closes positions as requested.

Respondido

1
Desenvolvedor 1
Classificação
(293)
Projetos
366
30%
Arbitragem
37
27% / 65%
Expirado
10
3%
Trabalhando
Publicou: 10 códigos
2
Desenvolvedor 2
Classificação
(25)
Projetos
34
26%
Arbitragem
4
50% / 25%
Expirado
4
12%
Livre
3
Desenvolvedor 3
Classificação
(634)
Projetos
741
34%
Arbitragem
49
53% / 39%
Expirado
14
2%
Carregado
4
Desenvolvedor 4
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(78)
Projetos
248
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 2 artigos, 1 código
6
Desenvolvedor 6
Classificação
(32)
Projetos
42
43%
Arbitragem
2
100% / 0%
Expirado
4
10%
Livre
7
Desenvolvedor 7
Classificação
(12)
Projetos
9
33%
Arbitragem
11
0% / 100%
Expirado
2
22%
Livre
8
Desenvolvedor 8
Classificação
(8)
Projetos
11
18%
Arbitragem
8
38% / 38%
Expirado
1
9%
Livre
9
Desenvolvedor 9
Classificação
(206)
Projetos
333
35%
Arbitragem
66
12% / 58%
Expirado
87
26%
Livre
10
Desenvolvedor 10
Classificação
(43)
Projetos
66
12%
Arbitragem
12
58% / 42%
Expirado
1
2%
Livre
11
Desenvolvedor 11
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
12
Desenvolvedor 12
Classificação
(72)
Projetos
80
10%
Arbitragem
38
8% / 58%
Expirado
6
8%
Livre
13
Desenvolvedor 13
Classificação
(7)
Projetos
6
33%
Arbitragem
7
0% / 71%
Expirado
0
Livre
Pedidos semelhantes
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
Hi. I had a bot programmed but want to cancel a function in it. Should be a quick job. Currently the bot must place orders and limits according to levels determined by an indicator. I want to be able to choose if I want the orders or limits activiated or not. I also want to choose at what time the bot must start trading due to the time difference
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
I have an existing compiled MetaTrader 5 Expert Advisor (EX5) designed for automated XAUUSD scalping. I want an experienced developer to assess and implement a solution to execute the EA’s original trading strategy through my broker’s FIX API. Requirements: Confirm the technical feasibility of connecting an existing MT5 EA to a broker FIX API. Explain how to obtain FIX API access and credentials from the broker
I’m looking for an experienced developer to build a fully automated XAUUSD scalping EA for MT5. Requirements: * Fast entries targeting small, profitable moves after trading costs. * Configurable fixed-target and trailing-stop modes. A $1 gold price move can trigger profit protection instead of closing the trade. * Once the profit trigger is reached, move the stop to cover costs and lock in a small net profit, then
Project Description: I need an MQL5 Expert Advisor built based on a precise Smart Money Concepts (SMC) multi-timeframe strategy. The bot must analyze the 1-Hour chart for institutional bias and execute trades on the 3-Minute chart following strict structural rules. 1. Inputs & Parameters (Customizable) - Risk Model: Fixed dollar risk of $20.00 for every $100.00 of account balance (20% per trade for personal capital
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
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

Informações sobre o projeto

Orçamento
30+ USD
Prazo
para 1 dias