Expert Advisor for Buy / Sell Order based on Previous Candle Data

MQL5 Indicators Experts

Job finished

Execution time 5 days
Feedback from customer
Recommended! Til our next project :)
Feedback from employee
He was one of the best and I can't wait to work with him again, It was great experience.

Specification

MT5, Selection of various timeframes, points moved in selected timeframe, RSI levels, and specific lot position to open when input point is reached. That's it.

Dropdown selection for candle data from 1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D for the timeframe.

Dropdown selection for RSI from 1M, 5M, 15M, 30M, 1H, 4H, 1D for the timeframe.

Example:

Input for timeframe: 5M
Input point : 200 points
Input lot size : 0.69 lots
Input RSI timeframe : 15M from selection
RSI buy : 45
RSI sell: 55

Given the input above, here would be the scenario.

1. EA will calculating the points moved from the previous 5 minutes until 200 points is reach. If it goes 200 points upward, 0.69 lot buy would be triggered. Otherwise if the candle falls 200 points, it will open 0.69 lots sell position.

OR

2. If RSI at 15min hit above 55, it will trigger 0.69 lot sell, otherwise if it hit below 45 it will open 0.69 lot position.


The challenge here is that it would only open one buy/sell position at a time. It will open position when one of the 2 conditions above was met. 

When I close the open trade, it will again check if any of the conditions are met and would open again a position.

Check conditions, open position, i close, check again, open position, i close, check again and so on...

Responded

1
Developer 1
Rating
(19)
Projects
25
36%
Arbitration
3
33% / 67%
Overdue
3
12%
Free
2
Developer 2
Rating
(111)
Projects
183
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Free
3
Developer 3
Rating
(22)
Projects
21
10%
Arbitration
4
25% / 75%
Overdue
0
Free
4
Developer 4
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
5
Developer 5
Rating
(329)
Projects
515
19%
Arbitration
35
46% / 31%
Overdue
34
7%
Working
6
Developer 6
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
7
Developer 7
Rating
(323)
Projects
328
71%
Arbitration
2
100% / 0%
Overdue
0
Free
Published: 1 code
8
Developer 8
Rating
(39)
Projects
59
20%
Arbitration
6
33% / 17%
Overdue
1
2%
Working
Published: 2 codes
9
Developer 9
Rating
Projects
1
0%
Arbitration
1
100% / 0%
Overdue
0
Free
10
Developer 10
Rating
(20)
Projects
29
3%
Arbitration
4
0% / 100%
Overdue
5
17%
Free
11
Developer 11
Rating
(2675)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
12
Developer 12
Rating
(319)
Projects
569
35%
Arbitration
83
30% / 45%
Overdue
206
36%
Working
13
Developer 13
Rating
(455)
Projects
721
34%
Arbitration
35
71% / 9%
Overdue
23
3%
Free
14
Developer 14
Rating
(4)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
0
Free
Published: 2 articles
15
Developer 15
Rating
(2346)
Projects
2951
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
16
Developer 16
Rating
(22)
Projects
30
20%
Arbitration
8
63% / 13%
Overdue
9
30%
Free
17
Developer 17
Rating
(50)
Projects
64
20%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
18
Developer 18
Rating
(510)
Projects
977
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Working
Published: 1 article, 6 codes
19
Developer 19
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
20
Developer 20
Rating
(367)
Projects
449
55%
Arbitration
24
54% / 17%
Overdue
30
7%
Busy
21
Developer 21
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
22
Developer 22
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
23
Developer 23
Rating
(162)
Projects
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
26
Developer 26
Rating
(258)
Projects
269
29%
Arbitration
1
100% / 0%
Overdue
3
1%
Working
Published: 2 codes
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
29
Developer 29
Rating
(24)
Projects
32
38%
Arbitration
4
50% / 25%
Overdue
5
16%
Working
30
Developer 30
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
(19)
Projects
33
55%
Arbitration
5
80% / 20%
Overdue
3
9%
Free
32
Developer 32
Rating
(1)
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
33
Developer 33
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Free
34
Developer 34
Rating
(361)
Projects
629
72%
Arbitration
14
43% / 7%
Overdue
28
4%
Free
Published: 9 codes
35
Developer 35
Rating
(51)
Projects
71
37%
Arbitration
4
25% / 75%
Overdue
1
1%
Free
Published: 1 code
36
Developer 36
Rating
(7)
Projects
7
0%
Arbitration
0
Overdue
2
29%
Free
Similar orders
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0

Project information

Budget
40+ USD