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
I WANT A TRADING ROBOT WITH GOLD STRATEGY THAT COULD TAKE ME TO 1MILLION$ TODAY,PLEASE KINDLY GENERATE THE BOT, DEBUGG COMPILE AND THEN GIVE ME WHEN EVER YOU ARE READY, ILL BE WAITING THANK YOU
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
Trade summary Plugin 200 - 500 USD
We are looking for a Plugin/ Dashboard for our Meta 5 which will act as a Risk Management/ information tool. the system will require to give real time summary of trades and P/L for certain groups
Hi, I am looking for an Quant/MQL5 developer to build a pure mathematical, Delta-Neutral Statistical Arbitrage (spot vs future ) Expert Advisor. ​ No retail indicator logic (No RSI, MACD, etc.). This is a high-speed, spread-based execution model trading the pricing inefficiency between two correlated assets (e.g., Gold Spot XAUUSD vs Gold Futures). ​ Core Requirements at a Glance: ​Real-time Spread & Z-Score
I need a professional MetaTrader 5 Expert Advisor based on a pullback trading strategy. Indicators: - Moving Averages: 5, 8, 13, 144 (custom, smooth like TradingView) - RSI (14) - ADX (14) with DI+ and DI- - OsMA (8, 21, 5) Strategy: Trend: - Use MA 144 to define the main trend Entry: - Trade only in trend direction - Wait for price to touch MA 8 - Confirm with: - RSI (above 50 for buy / below 50 for sell) - ADX >
Looking for a Proven Non-Repainting Gold Indicator (XAUUSD) – High Accuracy & Ready-Made Solutions Only 📌 Project Description: I am looking for a high-quality, non-repainting indicator specifically for XAUUSD (Gold) that is already developed and tested. ⚠️ Important: I am NOT looking for a new indicator to be built from scratch. I want an existing, proven system that you have already created and are confident in. 🎯
The Advisor should stop trading if the spread exceeds a selected value. Source code is unavailable. Decompilation may be necessary or any other suggested working solution may be acceptable. Testing should be thorough with proven demonstrable results
I want a forex robot to do my trading because i am a new born trader. A ai trading robot is the best and i am look for one please
I am looking for developer who can create custom price alert indicator for MT5. The function of alerts in MT5 is fine but it does not allow setting custom sounds for specific charts with ease. For example, one can attach custom sound to new price alert, but if you use a lot of alerts daily (which i do) and want to have each ticker/pair to have its own sound alerts it gets too time consuming. I am looking for
i want help on puting my ea in mql5 for sale, help for 10percentage on every sales a higher profit scalper on gold 5minute trader non martingale none hedging mt4 version

Project information

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