Create an indicator and EA using specific 3 bar reversal pattern

Trabajo finalizado

Plazo de ejecución 4 días
Comentario del Cliente
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.
Comentario del Ejecutor
It was my first job with this customer and it was just perfect! I hope to work with you again)

Tarea técnica

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






















































Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(3)
Proyectos
4
0%
Arbitraje
3
0% / 100%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(430)
Proyectos
606
55%
Arbitraje
48
23% / 56%
Caducado
176
29%
Libre
3
Desarrollador 3
Evaluación
(491)
Proyectos
955
74%
Arbitraje
26
19% / 65%
Caducado
100
10%
Trabajando
Ha publicado: 1 artículo, 6 ejemplos
4
Desarrollador 4
Evaluación
(221)
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
5
Desarrollador 5
Evaluación
(257)
Proyectos
341
58%
Arbitraje
7
14% / 71%
Caducado
9
3%
Libre
6
Desarrollador 6
Evaluación
(1927)
Proyectos
3545
88%
Arbitraje
73
40% / 15%
Caducado
268
8%
Libre
7
Desarrollador 7
Evaluación
(7)
Proyectos
9
33%
Arbitraje
4
0% / 100%
Caducado
4
44%
Libre
8
Desarrollador 8
Evaluación
(30)
Proyectos
52
52%
Arbitraje
6
0% / 100%
Caducado
18
35%
Libre
Ha publicado: 1 artículo
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(119)
Proyectos
127
41%
Arbitraje
3
33% / 67%
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(2625)
Proyectos
3334
67%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
(365)
Proyectos
412
36%
Arbitraje
35
26% / 57%
Caducado
63
15%
Libre
13
Desarrollador 13
Evaluación
(588)
Proyectos
1061
50%
Arbitraje
39
28% / 41%
Caducado
49
5%
Libre
Ha publicado: 1 artículo, 8 ejemplos
14
Desarrollador 14
Evaluación
(43)
Proyectos
74
50%
Arbitraje
5
0% / 40%
Caducado
19
26%
Trabaja
15
Desarrollador 15
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
16
Desarrollador 16
Evaluación
(5)
Proyectos
6
33%
Arbitraje
2
0% / 50%
Caducado
2
33%
Libre
Ha publicado: 6 ejemplos
17
Desarrollador 17
Evaluación
(71)
Proyectos
254
53%
Arbitraje
16
50% / 38%
Caducado
83
33%
Trabaja
18
Desarrollador 18
Evaluación
(94)
Proyectos
148
59%
Arbitraje
16
38% / 13%
Caducado
25
17%
Libre
Ha publicado: 1 ejemplo
Solicitudes similares
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
Project Description I am looking to collaborate with an experienced MQL5 / algorithmic trading developer who also has hands-on experience with Large Language Models (LLMs) and AI-driven systems. This is a long-term partnership opportunity , not a one-off paid freelance job. I bring 9 years of practical Elliott Wave trading experience , applied in live market conditions. The objective is to translate Elliott Wave
specification High-Frequency Candle Momentum Scalper 1. Strategy Overview Core Logic: The EA identifies the current color of the active candle (Bullish or Bearish). Entry Trigger: It opens positions only after a specific duration of the candle has passed (e.g., after 30 seconds on a 1-minute candle) to confirm the direction. 2. Entry Logic (The "Half-Candle" Rule) Timeframe: M1 (Default, but adjustable). Time Filter
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Je cherche un développeur pour un bot Fundednext pour le passage de challenge jusqu'au trading quotidien après le passage.le robot va s'occuper du compte du début à la suite du compte de 15k chez Fundednext.après le passage aux challenges,le robot doit être capable de me fournir 6-10% mensuel de rendement de ce compte. Il doit être capable de passer le challenge dans un bref délai de 2-3 semaine ou soit 10-15 jours
Job Title MT5 Developer Needed – Sync Data Feed Between Two MT5 Accounts Job Description I am a trader using multiple MT5 accounts and need a reliable way to have the same market data from one MT5 account reflected in another MT5 account. One account already has a stable and accurate data feed, and I want the second MT5 account to receive identical pricing and symbols for analysis and execution purposes. What I Need
Greeting Im in need of a programmer that can help me convert from TOS to trading view? The script is available with me, kindly bid if it is what you can do for me Thanks

Información sobre el proyecto

Presupuesto
100 - 400 USD