Modification to RSI based Open and Close Positions

Job finished

Execution time 55 minutes
Feedback from customer
Skilled developer
Feedback from employee
Great customer! Thank you for the order!

Specification

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.

Responded

1
Developer 1
Rating
(258)
Projects
322
30%
Arbitration
34
26% / 65%
Overdue
10
3%
Working
2
Developer 2
Rating
(25)
Projects
34
26%
Arbitration
4
50% / 25%
Overdue
4
12%
Free
3
Developer 3
Rating
(581)
Projects
673
32%
Arbitration
42
45% / 45%
Overdue
12
2%
Busy
4
Developer 4
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(77)
Projects
244
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
6
Developer 6
Rating
(32)
Projects
42
43%
Arbitration
2
100% / 0%
Overdue
4
10%
Free
7
Developer 7
Rating
(12)
Projects
9
33%
Arbitration
11
0% / 100%
Overdue
2
22%
Free
8
Developer 8
Rating
(8)
Projects
11
18%
Arbitration
8
38% / 38%
Overdue
1
9%
Free
9
Developer 9
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
10
Developer 10
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
11
Developer 11
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
12
Developer 12
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
13
Developer 13
Rating
(7)
Projects
6
33%
Arbitration
7
0% / 71%
Overdue
0
Free
Similar orders
I want to develop a trading bot specifically for XAU/USD which takes trades based on Stochastic RSI on 5m timeframe and double check on 15m timeframe. It should only take buy trades only no sells. The strategy is based when the market is in good bullish volume it should wait for Stoch RSI to oversold on 5m timeframe and when it intersects from bottom it should take buy position of 0.5 lot with tp of 50 pips without
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss

Project information

Budget
30+ USD
Deadline
to 1 day(s)