Breakout/Retest Indicator + EA based on Indicator

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 21 giorni
Feedback del cliente
Very happy with the result. Perfect delivery, great communication and flexible on modifications. Hope to work together soon on other projects.

Specifiche

Indicator + EA based on Indicator

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

STEP 1: INDICATOR

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

// 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.

 

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: 

- 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" :


What I like about this indicator:

-          How the support zones and resistance zones are visualized on the chart

-          How the size of the zones are identified and visualized, especially at low “lookback range” settings -> minor support and resistance zones are identified

What I don’t like on this indicator and where I would like improvement

-          The support/resistance zones are not dragged long enough into the future. As mentioned, I would like to be able to adjust the time (number of candles) of how long such a level is valid and should be considered for retests.

-          The step “potential retest” step, which the tradingview indicator has, is not needed!

-          The identification of the retest signal is not great on this tradingview indicator. Please use the rules described above.

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

 

 

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

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



File:

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

Con risposta

1
Sviluppatore 1
Valutazioni
(174)
Progetti
199
12%
Arbitraggio
38
37% / 34%
In ritardo
5
3%
In elaborazione
Pubblicati: 2 codici
2
Sviluppatore 2
Valutazioni
(57)
Progetti
89
43%
Arbitraggio
4
0% / 100%
In ritardo
3
3%
In elaborazione
3
Sviluppatore 3
Valutazioni
(16)
Progetti
22
14%
Arbitraggio
8
38% / 63%
In ritardo
6
27%
Gratuito
4
Sviluppatore 4
Valutazioni
(442)
Progetti
570
37%
Arbitraggio
106
39% / 33%
In ritardo
17
3%
Gratuito
5
Sviluppatore 5
Valutazioni
(159)
Progetti
284
35%
Arbitraggio
18
22% / 56%
In ritardo
42
15%
Caricato
6
Sviluppatore 6
Valutazioni
(15)
Progetti
34
24%
Arbitraggio
4
0% / 50%
In ritardo
2
6%
In elaborazione
7
Sviluppatore 7
Valutazioni
(462)
Progetti
483
75%
Arbitraggio
5
80% / 0%
In ritardo
0
In elaborazione
8
Sviluppatore 8
Valutazioni
(75)
Progetti
80
6%
Arbitraggio
46
11% / 54%
In ritardo
7
9%
In elaborazione
Ordini simili
PROJECT DESCRIPTION I am using a Telegram → MetaTrader trade copier (currently TWP Copier 1.08) which receives trade signals correctly but does NOT consistently execute trades on MT4, despite: Signals being received and logged AutoTrading enabled Live trading allowed Correct symbol names (no suffix/prefix issues) Manual trades working perfectly No trade conflicts or filters blocking execution CURRENT ISSUE Telegram
An EA that can pass multiple prop firms that has drawdown limits no counts blown or violated An EA that is unique With the E A bagtest for MT5 Screen share over discord assistance with back test EA that passes the prop firm in less than two months Be able to solve solve issues with back test
hello Hello, I have a project I want done for a NinjaTrader Script that would involve 2 phases. Phase 1. I simply want a ninja trader strategy that will take whatever custom user defined high/low range defines in the settings than executes a breakout trade either once a candle closes above / below the range or simply crosses the high/low of the range by placing stop orders. The way it takes the breakout will be
As in tittle, I need EA to pass FTMO challange fast, you know rules, max 5% daily drawdown, max 10% total drawdown. Passing in maximum +/- 1 month, it's around 20/22 working days 10/20=0.5% average per day profit. of course can be faster
Hello, I’m reaching out because I’m interested in hiring you to develop a custom trading bot for me. The bot should trade only XAUUSD (Gold) and be designed for long-term account growth using my own trading account size. Here are the core requirements: - Account size: $300 - Asset: XAUUSD only - Risk management: Strict and properly controlled - Risk-to-reward ratio: Clearly defined and consistently applied -
I am looking for an experienced MQL5 developer to help build and support an automated trade execution system that connects TradingView custom indicator alerts to an Exness MT5 account. The role involves receiving TradingView webhook signals containing Buy/Sell direction and dynamically calculated lot size, processing them via a Python-based webhook listener, and executing market orders on MT5 running on a 24/7
I am looking for an EA for scalping XAUUSD, with short TP and SL in the range of 30-50 pips (equivalent to 3-5 gold price units). No DCA Martingale, no holding/averaging down positions, no grid trading, and no simultaneous buy and sell orders. The strategy and methodology will be yours, and I also require the full source code upon completion. I will paper test it first before making the purchase
Hi, I have four trading strategy's that work on tradingview. But these scripts i have are having problems being translated into ACSIL for Sierra Charts. I have being using AI to translate the scripts, but keep hitting a road block. The scripts load on the charts, but without any data being logged. I hope you can help, I just want to confirm the positive results on tradingview are no fluke and are correct on Sierra
HELLO EVERYONE , I NEED AAN INDICATORE AND EA ON STOCHESTIC OSSILATOR, WHICH CAN GIVE ME ALERT WHEN SIGNAL APEARS, INDICAOTRE I CAN SHOW ON TRADING VIEW , EXACTLTY THAT INDICATORE I NEEDED.INDICATORE NAME ON TRADING VIEW( JL STOCHESTIC DIVERGENCE ALERT).. THANK YOU
//+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ #property strict // Inputs input int EMA_Fast = 9; input int EMA_Slow = 21; input int RSI_Period = 14; input double Lots = 0.1; input int StopLoss = 20; // وقف خسارة (بـ نقاط) input int TakeProfit = 40; // هدف (بـ نقاط)

Informazioni sul progetto

Budget
100+ USD