Custom breakout box based on a sequence of events

MQL5 Indicators

Job finished

Execution time 3 days
Feedback from customer
Best programmer I've had so far on this platform
Feedback from employee
It has been a real bonus doing business with this customer, straightforward, skilled at designing requirements in order to smooth the worklow.

Specification

Hi all,

I am looking for an experienced programmer to create a custom indicator based on a sequence of events.

Basically, I want to look at the day's high and low and see if a range forms within certain hours while respecting another range based on the day's high and low.

See attached photos for visual reference.

Here is what I want from the indicator:

- Indicator name: Asia breakout box

- Show the history of each day with the threshold of 35% from the high and the low.

-Show the history of important time lines for each day with local time (20:00 broker, 00:00 broker, 03:00 broker & 07:00 broker).

-Show history of valid box breakouts.

-Show the history of Entry, target and stop lines of valid boxes.

-Buffers for future use in a EA.


Long setup for a valid breakout box:

- From 20:00 to 00:00. the price remained above the threshold of 35% from the high of the day.

- If the price remained greater than the treshold and the high and low from 20:00 to 00:00 is smaller than 150 points; draw a box of these same points that extends to 07:00.

- Draw the entry line 50 points above the box from 03:00 to 07:00

- Draw the target line 150 points above the entry point from 03:00 to 07:00

- Draw the stop line 75 points below the entry point from 03:00 to 07:00


Short setup for a valid breakout box:

- From 20:00 to 00:00. the price remained below the threshold of 35% from the low of the day.

- If the price remained smaller than the treshold and the high and low from 20:00 to 00:00 is smaller than 150 points; draw a box of these same points that extends to 07:00.

- Draw the entry line 50 points below the box from 03:00 to 07:00

- Draw the target line 150 points below the entry point from 03:00 to 07:00

- Draw the stop line 75 points above the entry point from 03:00 to 07:00


List of variables:

input double threshold= 35; //%

input int maxrange=150; //in points

input int entry= 50;  //in points

input int target=150; //in points

input int stop = 75; //in points

input int show_history = 2000; //bars

All the time lines need to be variable.


Thank you!


Files:

PNG
Long-Bbox.png
43.6 Kb

Responded

1
Developer 1
Rating
(15)
Projects
19
42%
Arbitration
1
0% / 100%
Overdue
3
16%
Free
Published: 4 codes
Similar orders
‎A trending candle followed by a smaller trending candle which is the second candle with no 5EMA ‎ ‎The 3rd candle is a reversal candle in which it and it's immidiate previous candle must be at least 70% of each other's body or equal body, with no 5EMA touch ‎ ‎the 3rd candle candle is followed immediately by the 4th candle which is the signal candle in which it and the 1st cabdle must be also at least 70% of
LynxMT5algo 30 - 100 USD
An mt5 add on indicator like gainalgo style to show entrance and exit areas for gold silver and Btc scalping. It will be used to make trading more easy for beginners
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis

Project information

Budget
45+ USD
Deadline
from 1 to 3 day(s)