Breakout/Retest Indicator + EA based on Indicator

MQL4 Experts

Job finished

Execution time 21 days
Feedback from customer
Very happy with the result. Perfect delivery, great communication and flexible on modifications. Hope to work together soon on other projects.

Specification

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



Files:

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

Responded

1
Developer 1
Rating
(174)
Projects
200
12%
Arbitration
39
38% / 33%
Overdue
5
3%
Free
Published: 2 codes
2
Developer 2
Rating
(60)
Projects
94
43%
Arbitration
4
0% / 100%
Overdue
4
4%
Free
3
Developer 3
Rating
(16)
Projects
22
14%
Arbitration
8
38% / 63%
Overdue
6
27%
Free
4
Developer 4
Rating
(443)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
5
Developer 5
Rating
(162)
Projects
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
6
Developer 6
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
7
Developer 7
Rating
(472)
Projects
491
75%
Arbitration
6
67% / 17%
Overdue
0
Working
8
Developer 8
Rating
(75)
Projects
80
6%
Arbitration
46
11% / 54%
Overdue
7
9%
Working
Similar orders
I am looking for someone to build me a modular auto trader in Sierra chart and an Innie builder so that I can replicate my current Algas that I already have built. I've sent examples below can you please let me know how much you would charge me. I'm pretty good at building the signals myself but I do not know how to build the ocos order entry and I'm trying to get quotes and go with the person who seems they can help
i need price action and candle logic understand programmer need for this job... first understand logic and interested please message .... first understand logic and interested please message .... 2 types of hedge entry conditions: 1 is candle based 1- when i start point ea hh candle buy entry, after ll made 2- below the previous candle hedge sell order 3- if market goes again hh, if sell order profit book again
Ea which is based on the price returning to the open or close of a 1-minute candle or zone of candles. panel on chart need too have buttons : trainding on/off close all close profit add buy stop add buy limit add sell stop add sell limit ( all to existing setups) calculating profit/loss for a single open setup and in total in account currency calculating profit/loss for a single open setup and in total in percentage
Hi, I’m looking for an experienced MQL5/MT4 developer to work on a trading BOT project. I currently have an MT4 demo environment with IC Markets for testing, but the complete strategy specifications have not yet been provided. I’d like you to first review the available project/BOT information and let me know what you would need to configure, develop, and properly forward-test it. The testing should cover entries
PEACE BOT 30+ USD
#property version "2.10" #property description "Chizzy Trend Rider - HFM-ready (hedging/netting safe)" #include <Trade/Trade.mqh> CTrade trade; //================ INPUTS =================// input double LotSize = 0.01; // Fixed lot (used if RiskPercent = 0) input double RiskPercent = 0.0; // Risk % of balance per trade (0 = use LotSize) input ulong MagicNumber = 220026; input ENUM_TIMEFRAMES TrendTF =
PRECISION ENTRY PRO EA V1 MT5 EXPERT ADVISOR REQUIREMENTS SPECIFICATION PROJECT NAME: Precision Entry Pro EA V1 PLATFORM: MetaTrader 5 (MT5) LANGUAGE: MQL5 1. PROJECT OBJECTIVE I want a simple, reliable and fully automated MT5 Expert Advisor based on the following trading concept: TREND → MARKET STRUCTURE → FIBONACCI RETRACEMENT → PRICE ACTION CONFIRMATION → ENTRY → STOP LOSS → TAKE PROFIT. The purpose of V1 is to
I need an MT5 Expert Advisor (EA) specifically for NFP news trading. Strategy: - Trade EURUSD during the US Non-Farm Payroll (NFP) release. - Automatically identify the NFP release time. - Place a Buy Stop above the current price and a Sell Stop below the current price shortly before NFP. - Adjustable distance from current price for both pending orders. - When one order is triggered, automatically cancel the opposite
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
Bonjour ! Je vous ai contacté pour le développement de mon EA sur MetaTrader. Je souhaite intégrer une stratégie précise avec une gestion stricte des règles du courtier Exness. J'ai déjà préparé le cahier des charges complet sous format PDF avec toutes les spécifications techniques
SKBOT 35+ USD
want an MQL5 Expert Advisor (EA) for MetaTrader 5, mainly for XAUUSD (Gold). Strategy: The EA should trade based on market structure, Break of Structure (BOS), Fair Value Gaps (FVG), Order Blocks (OB), and Fibonacci retracement levels. BUY setup: Detect bullish market structure. Detect a bullish Break of Structure (BOS). Identify the relevant bullish FVG and/or Order Block created around the structure move. Use

Project information

Budget
100+ USD