Trend reversal EA

MQL4 Experts

Job finished

Execution time 9 days
Feedback from customer
Another excellent piece of work delivered in good time.

Specification

Hi,

I would like to develop EA based on the following strategy. The parameters in square brackets should be adjustable by the user. Please provide price quotes based on the specifications below. Thanks.

Downtrend- Buy orders

1) Downtrend is in place when the High Point to the Low Point > 30 pips. In downtrend, the High Point is the start of the trend ("A") and it is when the high of the particular candle exceeds the high of 1 candle immediatly before it and 1 candle immediately after it (i.e. the High is 'sticking' up at the top). In downtrend, the Low Point is the end of the trend ("B") when the low of the particular candle is lower than the low of 1 candle immediately before it and 1 candle immediately after it (i.e. the Low is 'sticking' down at the bottom).

2) Retracement Point ("C") is when price bounces off B (end of the trend) and retraces > 10 pips. Trend is invalid if C overshoots A. For illustration of downtrend, please refer to attached JPG file.

3) In a valid downtrend, place 1st BUY (limit) order at B price level. Stop Loss ("SL") = [25] pips ; Take Profit ("TP") = [10] pips. SL and TP should be adjustable.

4) Place 2nd BUY order at the 1st BUY Order SL price level. 2nd BUY order lot size should be [10] times ("Multiplier") 1st BUY order lot size. This Multiplier factor should be adjustable. SL = [25] pips; TP = [10] pips

5) Cancel 2nd BUY order once 1st BUY Order TP is hit.

6) Cancel both 1st and 2nd BUY limit orders if they are not filled within [6] hours of the close of candle B or if C overshoots A and the trend becomes invalid. However, if 1st BUY order is triggered just before the [6] hour expiry time, 2nd BUY order should not be cancelled and kept in place until 1st BUY order TP is hit. At that point, 2nd BUY order should be cancelled.

 

Uptrend - Sell orders

1) Uptrend is in place when the Low Point to the High Point > 30 pips. In uptrend, the Low Point is the start of the trend ("A") and it is when the low of the particular candle is lower than the low of 1 candle immediatly before it and 1 candle immediately after it (i.e. the Low is 'sticking' out at the bottom). In uptrend, the High Point is the end of the trend ("B") when the high of the particular candle is higher than the high of 1 candle immediately before it and 1 candle immediately after it (i.e. the High is 'sticking' out at the top).

2) Retracement Point ("C") is when price bounces off B (end of the trend) and retraces > 10 pips. Trend is invalid if C overshoots A.

3) In a valid uptrend, place 1st SELL (limit) order at B price level. Stop Loss ("SL") = [25] pips ; Take Profit ("TP") = [10] pips. SL and TP should be adjustable.

4) Place 2nd SELL order at the 1st SELL Order SL price level. 2nd SELL order lot size should be [10] times ("Multiplier") 1st SELL order lot size. This Multiplier factor should be adjustable. SL = [25] pips; TP = [10] pips

5) Cancel 2nd SELL order once 1st SELL Order TP is hit.

6) Cancel both 1st and 2nd SELL limit orders if trades are not filled within [6] hours of the close of candle B or if C overshoots A and the trend becomes invalid. However, if 1st SELL order is triggered just before the [6] hour expiry time, 2nd SELL order should not be cancelled and kept open until 1st SELL order TP is hit. At that point, 2nd SELL order should be cancelled.

 

Other comments

- New addition: This strategy works on USDJPY M15 chart. However, the EA should allow the option of putting on any chart on any timeframe.

- EA should allow for the possibility that there can be both BUY & SELL pending orders.

- New addition:  When there is a live trade, another valid trade signal may be triggered. For example, in a downtrend, the price may continue to go down, thus forming a new Low ("B"). If there is 10 pip retracement, thus forming "C", there shall be another valid BUY signal at a lower price level B when there is already an ongoing BUY trade. The EA should allow the user to choose whether to allow Multiple trades in the same direction.  

- EA can commence the process of looking for the start of a trend at the point it is activated. It doesn't have to 'look back' to see if it is already in the middle of an up/down trend. Basically, the EA should detect the latest pt A forming (i.e. potential start of a new trend) and wait for trend to develop, which results in formation of pt B (potential end of trend) and then C (potential retracement point) upon 10-pip retracement.

- EA should have feature to cancel all pending orders (except for Level 2 orders since these depend on the outcome of Level 1 order) at a certain time on Friday before the market closes for the weekend. 

 

 

Files:

Responded

1
Developer 1
Rating
(2418)
Projects
3038
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Working
2
Developer 2
Rating
(40)
Projects
58
22%
Arbitration
10
10% / 70%
Overdue
13
22%
Free
3
Developer 3
Rating
(2076)
Projects
2634
61%
Arbitration
113
45% / 26%
Overdue
418
16%
Working
4
Developer 4
Rating
(49)
Projects
74
18%
Arbitration
30
17% / 53%
Overdue
31
42%
Free
5
Developer 5
Rating
(251)
Projects
400
54%
Arbitration
9
67% / 22%
Overdue
36
9%
Free
6
Developer 6
Rating
(42)
Projects
70
43%
Arbitration
6
33% / 50%
Overdue
19
27%
Free
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(264)
Projects
538
50%
Arbitration
55
40% / 36%
Overdue
224
42%
Working
9
Developer 9
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
Similar orders
Hi, I am looking to create a simple EA that helps me to scale in/pyramid into my existing position. It need to be able to open multiple positions on any timeframe on any symbol/pair. It needs to be able to calculate position size as a % of the current balance, trail stop loss (SL) levels, hide SL and profit target (PT) levels. Further details will be provided once you have indicated interest So these are the main
hello programmers, i look for somebode who will enhance changies in my indicator. indicator draws swings bar after bar, but not all swings are drawn correct. full description is in attachements
Create a simple moving average Expert Advisor that could trade forex appropriately. It would have newsfilter, timefilter,breaken and could be backtested.Developer must be knowledgeable.And should be able to do this job as soon as possible
Hello good programmers I need a trading robot that will only be based on candle stick patterns about 7 reversal candle stick for buy and 7 reversal candle stick for sell If anyone can do it please
I'm looking to take my Tradingview Indicator and convert it to be used on Ninja Trader 8. I will be the only one using it and will not be made public, but I want to use it so I can trade using it live and also in replaying past data on NT8. Its just an indicator that places certain Goldbach lines on the chart based on a selection in the menu. So, its not a Bot, but an indicator. I have attached the script below so
Hello good programmers I need a trading robot that will only be based on candle stick patterns about 7 reversal candle stick for buy and 7 reversal candle stick for sell If anyone can do it please help fast
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
HFT 100 - 200 USD
As soon as possible URGENTLY HFT the most profitable without any losses can make 50 to 100% daily that can work on XAUUSD GBPUSD XAGUSD EURUSD works on mt4 mt5 Demo and live account
Are you a skilled MQL4/MQL5 developer with a passion for creating cutting-edge Forex Trading EAs? We are looking for an experienced freelancer to join our team and help us build a powerful and efficient trading bot. Responsibilities: Develop, test, and optimize automated trading strategies in MQL4/MQL5. Collaborate with our team to refine requirements and implement advanced trading logic. Ensure the EA/bot operates
I need a AI signal generating and executing bot for forex trading. The bot should operate such that when i put it in a chart it will analyze the market, after several minutes it will display whether the trade is buying or selling and then execute a trade. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame whether they are buying or selling. If it is buying the

Project information

Budget