Create an indicator and EA using specific 3 bar reversal pattern

Job finished

Execution time 4 days
Feedback from customer
Developer did a great job of implementing the correct strategy with only one go. Great job! I highly recommend this developer and will use him on future projects.
Feedback from employee
It was my first job with this customer and it was just perfect! I hope to work with you again)

Specification

I would like to hire someone to build an MT4 indicator and an expert adviser that I intend to use to automate trading on a live account.  It needs to operate efficiently and most of all accurately.  I expect clearly documented clean source code as part of the deliverable. I remain the only owner of this indicator and EA after completion. I am also a programmer, but new to MQL4 so it will help to have code formatted and documented suitable for another developer to later modify should I ever become good enough to do so. 

My strategy is basic and based on using a short-term HMA and long-term HMA. I typically use hma(50) and hma(15) in combination with a specific definition of a 3 bar reversal (see definition at bottom of page). I am asking for the following:

  1. An indicator that shows an up green or down red arrow when a 3 bar reversal closes whereby the long-term HMA and short-term HMA confirm the direction immediately or on the close of any bar according to chart time frame.
  2. An EA that provides all trading signals to open, close, set stops and take profit, and move the stop losses. 

3 bar reversal Indicator
Inputs:

  • long-term hma (default 50)
  • short-term hma (default 15)

Buy signal: When bullish 3 bar reversal (3BR) closes and is confirmed by both hma signals being bullish. If both hmas are not bullish wait for the close of up to 3 more bars to get bullish confirmation. Number of bars needed for confirmation should be configurable and default to 3. The signal should be a green up arrow. On bar #2 there should be a green dot below.

Sell signal: Reverse of above. The indicator will be a red arrow pointing down on the bar that triggers an entry. There should be a red dot above bar 2 of the 3BR.

I recommend that you complete this indicator and let me test it before completing the EA.

See below for 3BR definition and examples.

3 Bar Reversal Expert Adviser

I recommend that you complete the indicator and let me test it before implementing the EA since the indicator is key to the correct operation of the EA.

When the long-term trend, as determined by the long-term hma, changes from bearish to bullish we will open only long positions. When the long-term hma is bearish we will open only short positions.

Dashboard and annotations on the chart:

Add any annotations to chart that are helpful.  The dashboard should show current positions, total lots used / total lots allowed and anything you think might be useful should be added to a dashboard.

Inputs (these are just suggestions to give you an idea of what I might be looking for):

  • primary entry lot size (0.02)
  • secondary entry lot size (0.01)
  • maximum positions -- primary entry plus secondary entries should not exceed this number of positions
  • primary entry reward (2.0) -- tells take profit to be 2.0 X stop loss
  • secondary entry reward (1.0) -- tells take profit to be 1.0 X stop loss
  • long-term hma periods (50)
  • short-term hma periods (15)
  • hma applied price (close price)
  • minimum stop loss (10 pips)
  • use news (default true)
  • show news (default true)
  • show news text (default true)
  • News: High impact (default true)
  • News: Medium impact (default true)
  • News: Low impact (default false)
  • Minutes to close before news (default 10)
  • Time management to close on Friday and at what time
  • Time management to open new positions during major exchange hours

Long Setup:

  • any time of the day, but must close positions before news events and by close of markets on Fridays 
  • any time frame 
  • any currency pair
  • long-term hma bullish

 Long Trigger:

  • The first position opened after the long-term trend has changed is called the primary position. Each subsequent trigger in the same direction opens secondary positions. 
  • 3 Bar bullish Reversal with the third bar closing bullish (see attached images). 
  • Short-term HMA is bullish or becomes bullish on bar close within 3 bars following the 3 bar reversal
  • If there are short positions then they are all closed at market price prior to opening long position

 Short Setup and Trigger are the opposite of bullish. Initial Stop Loss:

  • Long: 1 pip below last bullish 3 bar reversal that is at least 10 pips away from entry. If last bullish 3BR is less then 10 pips then keep going back in time until a swing low or bullish 3BR is over 10 pips and place the SL 1 pip lower then the lowest bar.
  • Short: (inverse of above) 

Stop Loss Adjustment: 

  • Long: Adjust stop to 1 pip below the low of the prior bullish 3BR (or prior swing low) as bullish 3BR's close. Must be at least 10 pips away or don't move stop loss.  
  • Short: inverse of above

Target:

  • Primary entry: 2.0 times the distance entry is from the stop loss
  • Secondary entry: 1.0 times the distance from the stop loss

 Exit: At Take Profit, Stop Loss, when an entry is triggered in the opposite direction, news (optional), or Friday close


Three Bar Reversal (3BR) Definition

See the attached images of 3BR.

Long 3BR

  • Bar 2 has a lower low than bar 1 and bar 3
  • Bar 3 closes bullish. It doesn't have to go above or close above bar 2's close or high. It only has to close bullish.


Short 3BR is just the opposite


Here is a video where I try to explain the indicator and the EA. I expect the indicator to show something like up green arrows for buys and downward pointing red arrows for sells and green dotted lines for take profits and red dotted lines for stop losses.

https://www.dropbox.com/s/twou7aavc71ypxk/intro_to_3br_hma_strategy.mp4?dl=0






















































Responded

1
Developer 1
Rating
(3)
Projects
4
0%
Arbitration
3
0% / 100%
Overdue
0
Free
2
Developer 2
Rating
(430)
Projects
606
55%
Arbitration
48
23% / 56%
Overdue
178
29%
Free
3
Developer 3
Rating
(461)
Projects
902
77%
Arbitration
25
16% / 68%
Overdue
100
11%
Free
4
Developer 4
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
5
Developer 5
Rating
(257)
Projects
341
58%
Arbitration
7
14% / 71%
Overdue
9
3%
Free
6
Developer 6
Rating
(1853)
Projects
3454
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Working
7
Developer 7
Rating
(7)
Projects
9
33%
Arbitration
4
0% / 100%
Overdue
4
44%
Free
8
Developer 8
Rating
(30)
Projects
52
52%
Arbitration
6
0% / 100%
Overdue
18
35%
Free
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
11
Developer 11
Rating
(2405)
Projects
3019
65%
Arbitration
77
47% / 14%
Overdue
340
11%
Working
12
Developer 12
Rating
(365)
Projects
412
36%
Arbitration
35
26% / 57%
Overdue
63
15%
Free
13
Developer 13
Rating
(586)
Projects
1046
49%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
14
Developer 14
Rating
(43)
Projects
72
49%
Arbitration
4
0% / 50%
Overdue
19
26%
Free
15
Developer 15
Rating
(66)
Projects
143
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Working
16
Developer 16
Rating
(5)
Projects
6
33%
Arbitration
2
0% / 50%
Overdue
2
33%
Free
17
Developer 17
Rating
(71)
Projects
254
53%
Arbitration
16
50% / 38%
Overdue
83
33%
Free
18
Developer 18
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
Similar orders
can anyone here help me with develop a Pine script on TradingView's Pine Editor for a trading strategy based on certain variations of the Morning Star candlestick pattern which I have been noticing from last 2 years
This EA is only for Advanced Coders The coder must be able to code Universal Indicator EA to read buffer values of any indicator which has buffer, or read object created on the chart by an indicator, or read single line indicator which changes colour such as Hull MA, or two lines crossover. This EA would have the options to use multiple Indicators input at same time to generate trades. Please refer to the attached
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file, Also I will be paying $20 for the project cause i just need you to adjust some Minor things in it, i will explain more further in the message side
I want to clarify some points, such as: When entering into a buy deal, he opens three deals, each deal has a different take profit and one stop loss. When you look at the code, you will know that there are three take-profit. It opens one deal, taking one profit and adding risk management as well An information screen on the chart shows all the information, I only have $10 for this now, and also I still have more
GOOD DAY DEVELOPERS I NEED A GOOD DEVELOPER WHO HAS AN INDICATOR FOR BOOM AND CRASH UP / DOWN TRENDS FOR ATLEAST 10 CANDLESTICK WITHOUT BEING SPIKED ... TO DEVELOP AN EA BASED ON THAT INDICATOR YOU HAVE, IF YOU HAVE IT PLEASE I AM IN NEED OF IT
Hello I want to buy a strategy and put it in an indicator I have This strategy must be strong, with a profit rate of +90% without repeating or deleting the signal The signal should be 1 minute to 5 minutes maximum I do not have a specific strategy or ideas. You show me your strategies and I am ready to test it send ex4 to test it and videos or images too
Hey greetings My pleasure to met you all .I would like to convert a public tradingview pinescript indicator to MT5 Expert Advisor based on my. Requirements/specification.Kindly bid and let discuss about the project
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file thanks very much in advance, Also there will be more project in front, so I need a very dedicated developer
Hello, I am looking for a developer to help me convert my mta4 script into trading and make it work perfectly your expertise is highly needed for this project kindly reach out and let's proceed thanks
I have an EA called MACross which I can backtest on the custom symbol chart (renko) that is generated by an EA. But I cannot run the EA on live mode on the custom symbol charts. When I put the EA on the custom symbol chart, it does not generated any trades. These are the EA's that are generating the custom symbol charts: https://www.mql5.com/en/code/20254 https://www.mql5.com/en/code/20368 I am looking for a

Project information

Budget
100 - 400 USD
For the developer
90 - 360 USD