Code an Indicator based on Orderblock with Multi timeframe functionality.

MQL5 Indicators Forex

Job finished

Execution time 104 days

Specification

I need an indicator that is going to look at several order blocks (OBs) across multiple timeframes.


Definition of order block

An order block is a candlestick pattern formed by either 3 or 4 candles.

Normal order block:

Candle

Bullish

Bearish

A Bearish Candle   Bullish Candle 
B Bearish Candle & Close < Candle A Low Bullish Candle & Close > Candle A High
C Bullish Candle & Close > Candle B High Bullish Candle & Close > Candle B High

OB values

  • Open - Open of Candle B
  • High - High of Candle B
  • Low - Low of Candle B
  • Close - Close of Candle B

Normal Order block


Order block + Fair Value Gap

Candle

Bullish

Bearish

A Bearish Candle   Bullish Candle 
B Bearish Candle & Close < Candle A Low Bullish Candle & Close > Candle A High
C Bullish Candle & Close > Candle B High Bullish Candle & Close > Candle B High
D Candle D Low > Candle B High Candle D High < Candle B Low

OB values
  • Bullish
    • Open - Open of Candle B
    • High - High of Candle B 
    • Low - High of Candle D 
    • Close - Close of Candle B 

  • Bearish 
    • Open - Open of Candle B 
    • High - Low of Candle D 
    • Low - Low of Candle B 
    • Close - Close of Candle B


How must it behave

The Indicator needs to search across multiple timeframes for the order blocks and display horizontal lines on the chart for the one of the selected values:

  • High (bullish ob) /Low (bearish ob)
  • Open
  • Both

When price closes above (bullish ob) /below (bearish ob) these lines need to be deleted, otherwise they are updated with right coordinate as current time.


Inputs

  • Order block type (Enum)
    • Order block
    • Order block + FVG

  • Order block zone (enum)
    • High/Low
    • Open
    • Both

  • M1 Opposing? (bool)
  • M2 Opposing? (bool)
  • ... m3, m4, m5, m6, m10, m12,m15,m20,m30,h1,h2,h3,h4,d1 (bool)


How it must look like

Returning Buffers

It needs to return the following buffers.

  • Closest Bullish Value
  • Closest Bearish Value

These values are the closest lines in regards to current price. The buffer needs to always display a value (unless of course there are no Order blocks).


Things to note

Closest Bullish Value can never be > current price

Closest Bearish Value can never be < current price











Responded

1
Developer 1
Rating
(46)
Projects
60
45%
Arbitration
8
50% / 38%
Overdue
7
12%
Free
2
Developer 2
Rating
(21)
Projects
28
36%
Arbitration
7
14% / 71%
Overdue
2
7%
Free
3
Developer 3
Rating
(40)
Projects
55
35%
Arbitration
2
0% / 50%
Overdue
0
Free
Similar orders
*Project Brief* I’m seeking a pre‑built MT5 Expert Advisor that comes with the complete, well‑commented .mq5 file. Only serious offers will be considered. The EA must satisfy the following conditions: - *Source Code:* Provide the entire .mq5 file, clearly annotated for ease of maintenance. - *Historical Testing:* 4‑year back‑test from 1 Jan 2022 to 31 Dec 2025, with explicit data‑quality metrics, spread settings
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
Looking for an experienced MQL5 developer to build a custom non-repainting market structure indicator . Requirements: Swing high / swing low detection using fractal-based logic (2 candles left & right) Break of Structure (BOS) detection (confirmed by price break) User-selectable timeframe for structure calculation Automatic Fibonacci drawing on valid structure breaks Only specific retracement levels (e.g. 0.618 &
Omnix Fx+ 30+ USD
🎯 What is OMNIX FX+? OMNIX FX+ V3.0 is a next-generation Expert Advisor (EA) specifically designed to trade gold (XAUUSD) on the M1 timeframe, combining artificial intelligence , advanced risk management , and adaptive strategies to maximize your profitability while protecting your capital. ✨ Key Features 🧠 Machine Learning Adaptive RSI : The system learns from each trade to automatically optimize entry ranges
MT4 EA for Kill switch 30 - 200 USD
MT4 EA for automatic kill switch for unrealized p&l mt4 and disable autoTrading button we have EA which does not stop when Drawdowns are high. we need one more EA to monitor and stop this EA
I would like to create an indicator for my strategy on trading view , my strategy involves a liquidity sweep , wick or candle body closure , this needs to happen inside a higher time frame pd array such as a fair value gap that’s atleast 5m + and there needs to be an inversion fair value gap for my entry , I want the fair value gaps on all time frames so I can see them all on the 1 minute chart but i want the fair
Forex Expert Advisor 250 - 300 USD
Private zoom meeting is required to discuss the whole Expert Advisor project. It involves “Supersmoother” Indicator, VWAP and Volume Profile across 15M and 1H timeframes with trades only at London session and New York session open times if conditions are met. I am willing to pay any price for a trustworthy and skilled developer, exceeding the said negotiable budget if the EA is deemed by the developer to be worth
I need a MT5 Expert Advisor. Market: XAUUSD Timeframe: M15 Strategy: - Trade only during London and New York sessions - Trend filter using EMA - Entry on breakout of recent high/low - Fixed Stop Loss and Take Profit Risk Management: - Risk per trade: 0.5% – 1% - Max 3 trades per day - Stop trading after daily loss limit Requirements: - Inputs must be adjustable - Clean and commented MQL5 source code - No martingale -
Hi guys looking for a reversal indicator (including a strategy for it) that places signals on chart (will attach screenshots below for reference and have a look at them before applying) Signals must he placed at candle close without shift and not repaint. Since I'm offering a high budget I want everything to run smoothly in these steps 1. Send screenahots of it 2. I'll give you feedback what to change or we'll skip
i want a high-lot XAUUSD scalping EA that opens one trade per day , uses a fixed lot size (1.00) , targets 20 pips TP , trades on M1/M5 , and stops trading after daily profit is reached

Project information

Budget
45 - 75 USD
Deadline
to 3 day(s)