Create an indicator and EA using specific 3 bar reversal pattern

작업 종료됨

실행 시간 4 일
고객의 피드백
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.
피고용인의 피드백
It was my first job with this customer and it was just perfect! I hope to work with you again)

명시

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






















































응답함

1
개발자 1
등급
(3)
프로젝트
4
0%
중재
3
0% / 100%
기한 초과
0
무료
2
개발자 2
등급
(430)
프로젝트
606
55%
중재
48
23% / 56%
기한 초과
176
29%
무료
3
개발자 3
등급
(491)
프로젝트
955
74%
중재
26
19% / 65%
기한 초과
100
10%
로드됨
게재됨: 1 기고글, 6 코드
4
개발자 4
등급
(221)
프로젝트
369
66%
중재
10
50% / 0%
기한 초과
46
12%
무료
5
개발자 5
등급
(257)
프로젝트
341
58%
중재
7
14% / 71%
기한 초과
9
3%
무료
6
개발자 6
등급
(1927)
프로젝트
3545
88%
중재
73
40% / 15%
기한 초과
268
8%
무료
7
개발자 7
등급
(7)
프로젝트
9
33%
중재
4
0% / 100%
기한 초과
4
44%
무료
8
개발자 8
등급
(30)
프로젝트
52
52%
중재
6
0% / 100%
기한 초과
18
35%
무료
게재됨: 1 기고글
9
개발자 9
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
10
개발자 10
등급
(119)
프로젝트
127
41%
중재
3
33% / 67%
기한 초과
0
무료
11
개발자 11
등급
(2625)
프로젝트
3334
67%
중재
77
48% / 14%
기한 초과
342
10%
무료
게재됨: 1 코드
12
개발자 12
등급
(365)
프로젝트
412
36%
중재
35
26% / 57%
기한 초과
63
15%
무료
13
개발자 13
등급
(588)
프로젝트
1061
50%
중재
39
28% / 41%
기한 초과
49
5%
무료
게재됨: 1 기고글, 8 코드
14
개발자 14
등급
(43)
프로젝트
74
50%
중재
5
0% / 40%
기한 초과
19
26%
작업중
15
개발자 15
등급
(69)
프로젝트
146
34%
중재
13
8% / 62%
기한 초과
26
18%
무료
게재됨: 6 코드
16
개발자 16
등급
(5)
프로젝트
6
33%
중재
2
0% / 50%
기한 초과
2
33%
무료
게재됨: 6 코드
17
개발자 17
등급
(71)
프로젝트
254
53%
중재
16
50% / 38%
기한 초과
83
33%
작업중
18
개발자 18
등급
(94)
프로젝트
148
59%
중재
16
38% / 13%
기한 초과
25
17%
무료
게재됨: 1 코드
비슷한 주문
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
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
Me encuentro en busca de un desarrollador MT4 para crear un EA totalmente basado en reglas enfocadas en Propfirms (Específicamente en The5ers) para operar el activo EURUSD. Cuento con un documento detallado con reglas de contexto, eventos, ejecución y gestión operativa. Necesito código limpio, sin margintale, sin grid; con control de reducción orientado a abrir y cerrar posiciones durante el horario de la sesión de
Olá, preciso de um programador para montar um indicador com base na sobrevenda do estocastico, volume macd, para uma estrategia de reversão e falso rompimento com regioes de OB validos minimas e maximas de H1, H4, D1 e canais para confluencias, quero que seja didatico visualmente e com cores, sons de alertas e algum sinal de call ou put como setas indicando reversões e falsos rompimentos e continuidade
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
I have a perfectly working EA that always gets altered, I need special security features implemented, and I already have a great idea of what I need. Super easy, codes already work, just need tweaking here and there. Cybersecurity proficiency would be a positive

프로젝트 정보

예산
100 - 400 USD