Create an indicator that finds breakouts and retests (Breakout/Retest Indicator + EA)

Tarea técnica

------------------------------------------------------------------------------------

STEP 1 : BREAKOUT AND RETEST INDICATOR (MQ4)

------------------------------------------------------------------------------------

// GENERAL: Breakout and retest indicator.

I’m looking for an indicator that identifies mostly MINOR swing highs and lows and marks them as support and resistance zones. The indicator should give out a signal when price breaks through those zones.

In the second step, the indicator should also be able to identify when price comes back to those zones, after the breakout, to retest the specific support or resistance zone, and gives a signal when price accepts the zone through price moving away from the zone.

 

// THE IDEA:

Picture 1

The idea is that minor support and resistance zones are identified and “remembered” for the future. As soon as price revisits these zones and accepts them, a signal is given. The time (number of candles) between the breakout and retest should be adjustable in terms of minimum and maximum. As soon as a retest has been validated or violated, the zone is irrelevant for the future, as well as when the maximum time (number of candles) has been reached.

 

// VALIDATION OF SIGNALS

ð  Breakout signal is pretty clear. Signal is given as soon as price breaks through the MINOR support or resistance zone and closes below/above.

 

ð  Retest signal:

For both signals, support and resistance, it is the same, but for simplicity reasons, I will only explain the rules for a break through the resistance zone (BUY TRADE).

When a resistance zone is broken, price needs to come back down by printing at least 1 red candle. Price then needs to reverse at the broken resistance zone, now potential support zone. When a green candle is printed from the new support zone, a signal is given (+ different variations of a valid signal, more on that later). Once the retest zone is violated, the level becomes irrelevant and a new retest zone needs to be established.

 

// EXAMPLES OF SIGNALS

 

Example signal:

Picture 2

Since support and resistance can be drawn either with open/close of swing high OR at the ultimate high (wick), it would be great if the indicator draws a zone from open/close to the wick of the swing high to identify the zone for the retest. When a retest after the breakout happens in the zone buy coming back down through a red candle or red candles and the confirming the retest by printing a green candle, a signal is generated (Signal 2). The retest can also happen through the wick of the green retest candle. The distance between the open price level of the retest candle and the retest zone needs to be adjustable in amount of pips, in order to filter out long wick retest signals.

Picture 2.0

 

Example Minor Level Retest by One Reversal Candle:

Picture 2.1

The indicator really needs to be able to identify minor swing lows and highs which are retested by price.

 

Example signal candle type 50%:

Picture 3

   

// INPUT PARAMETERS

* Signal provided :

- Breakout

- Retest

- Both

* Parameter for identifying swing highs/lows (support and resistance zones) -> how small / large are the swings

* Number of candles between support/resistance development and breakout allowed (minimum AND maximum)

* Number of candles between breakout and retest (minimum AND maximum) allowed

* Extra Buffer Signal Candle (Open of retest candle: Distance to the Support/Resistance zone in pips allowed)

* Retest: Signal candle (quality of signal candle) 

- All candles

- Closing at above/below (for example) 50% mark of full range, percentage      needs to be adjustable   (Picture 3)

 

------------------------------------------------------------------------------------------------

Example for such an indicator on tradingview "Support & Resistance With Breakout & Retest by TheHippieTrader" :

------------------------------------------------------------------------------------------------

 

It’s important that every signal has a different buffer value so it will be possible to create an EA based on the indicator

 

------------------------------------------------------------------------------------

STEP 2: EXPORT ADVISOR

------------------------------------------------------------------------------------

The EA should be based on the indicator and triggers trades based on the indicator signals. Parameters for the signal, same as in the indicator settings, should be adjustable in the EA as well.

Additionally, the EA should have a trend filter in terms of a MA. I would like to adjust the length of the MA which should be used as a filter. Example: 200 MA. If price is above the 200 MA, only buy signals should be executed. If price is below the 200MA, only sell signals should be executed.

The EA should have different trade management options:

 

Lot Size

Fix lot sizes

dynamic lot size based on x balance

 

Entry Signal (based on indicator above)

Breakout

Retest

Both

 

All settings for tweaking the entry signal. Same options as the indicator.

 

Trend filter

On / Off

MA period adjustable

 

Take profit and stop loss options (want to be able to pick one option from all the offers below for SL as well as TP):

Take Profit

-Fix pip amount

-Risk reward ratio based on SL

-Based on ATR multiple (ATR period and multiple should be adjustable)

Stop Loss

- above/below retest with fix pip amount between OR with multiple of ATR between (Picture 5)

- above swing high/ below swing low of price movement before breakout (Picutre 5)

- Based on ATR multiple (ATR period and multiple should be adjustable)

 

Trade Management Options:

Simple trailing option (Start, Step)

Trailing option based on ATR

Stop loss to break even option

Partial Close (profit) of x% at x% distance to TP

Partial Close (loss) of x% at x% distance to SL

 

Classic Grid Loss Side

Size of Grid

- Fix amount for all grids sizes

- Individual grid size for each grid

Grid Trades Lot Sizes

- Multiplier option for lot size of grid trades

- Individual Lot Sizes for each additional grid trade

Max numbers of additional grid trades

 

-> All additional trades need to accept the stop loss from initial trade




Archivos adjuntos:

PNG
Picture_1.png
48.2 Kb
PNG
Picture_2.png
74.6 Kb
PNG
Picture_3.png
45.0 Kb
PNG
Picture_5.png
75.8 Kb

Han respondido

1
Desarrollador 1
Evaluación
(45)
Proyectos
76
20%
Arbitraje
7
0% / 86%
Caducado
14
18%
Libre
2
Desarrollador 2
Evaluación
(174)
Proyectos
199
12%
Arbitraje
38
37% / 34%
Caducado
5
3%
Trabaja
Ha publicado: 2 ejemplos
3
Desarrollador 3
Evaluación
(12)
Proyectos
25
4%
Arbitraje
1
0% / 0%
Caducado
7
28%
Libre
4
Desarrollador 4
Evaluación
(45)
Proyectos
91
13%
Arbitraje
34
26% / 59%
Caducado
37
41%
Libre
5
Desarrollador 5
Evaluación
(225)
Proyectos
285
41%
Arbitraje
15
13% / 47%
Caducado
67
24%
Libre
6
Desarrollador 6
Evaluación
(4)
Proyectos
3
0%
Arbitraje
3
33% / 67%
Caducado
1
33%
Libre
Solicitudes similares
I want robot that can help me trade and make some money so that I can be able to learn from it while I'm still in depot account now.Is how it gonna help me with some money
I need a custom MT5 expert advisor (EA) designed to mirror trades between two different broker accounts (Master and Slave) running on the same local PC. My primary objective is Synchronous Execution to avoid being exposed to the market due to price mismatches. Core Requirements: Symbol-Agnostic: The EA must automatically copy trades for any symbol I trade (Forex, Gold, Indices, etc.) without needing to hardcode
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy
Chin 30 - 300 USD
i want to add the 30m time frame in the ema section high ema is 1h low ema is 5m i want u to add a mid ema so i can use 3 time frames
I’ve been following your profile and I'm interested in your expertise with the ATAS API and C# development. I have a clear technical scope for a high-performance M1 indicator focused on Binary Options and Scalping. ​The core logic is based on institutional Order Flow convergence: ​Stacked Imbalances: 300% ratio with a minimum of 3 consecutive levels. ​Delta/Price Divergence: Filtering for market exhaustion (New Highs
I'm looking to have a tradingview strategy translated to work on ninjatrader. Right now I'm using webhooks together with the platform Crosstrade to automate the strategy and have the trades take place on Tradingview. Let me know if that's something you can help me out with
Hello, Please read the full specification before applying. This project is NOT about building an EA from scratch. I already have a fully working MT5 Expert Advisor. The EA already includes a dashboard, risk management, and some protection systems, but it needs a few more features . So I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar
TORUNZ 😎 30+ USD
The robot should use different indicators for a example smart money indicator and market structure structure and break indicators in order for it to enter the market, it should also be able to tell false breakouts is the Bollinger indicator, and if the market is confirmed to be profitable,the robot should rebuy or resell the market according to the predictions made, it should execute the trades if the market reverses
MT4 EA TO TAKE TRADES FROM (A) HYDRA TREND RIDER AND (B) IQ GOLD GANN LEVELS ON MQL5.COM The MT4 version of these two indicators can be found on the mql5.com website with the following links: Hydra Trend Rider: https://www.mql5.com/en/market/product/111010?source=Site +Profile+Seller IQ Gold Gann Levels: https://www.mql5.com/en/market/product/134335?source=Site +Profile+Seller (1) ENTRY (a) Hydra Trend Rider

Información sobre el proyecto

Presupuesto
100 - 125 USD
Plazo límite de ejecución
de 15 a 30 día(s)