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
hello i need help building a ea bot for mt5 and i have started on claude but i will need someone if a incredible experience to make my ideas come to live. please contact so we can schedule a quick call and i can share anything that concerns you for the task
I need a custom MT5 Expert Advisor (EA) for XAUUSD Gold. I have attached a reference video showing the exact trading behavior I want. Please watch the entire video carefully before starting development. I want the EA to work as closely as possible to the reference video. MAIN TRADING BEHAVIOR: 1. The EA will trade XAUUSD (Gold) on MT5. 2. The EA should automatically open multiple positions without manual
I am looking for an experienced MQL5 developer who can BOTH research trading strategies and develop a commercial-quality MetaTrader 5 Expert Advisor. This is NOT simply a coding job. The developer is free to choose the trading logic, indicators, entry method, exit method, timeframe architecture and strategy type. I do not require the EA to copy or resemble any existing commercial EA. My priority is: ROBUST LONG-TERM
A developer will create an AI assisted EA forex watch-list scanner (not an auto-trader) designed to surface PDL/PDH bounces on M15, with coding in Python/MQL5. This will strictly be a market intelligence and scanning tool (no automatic order placement) and EA primary function will be a delivery of visual dashboard UI, 2-phased alerts (warning vs. execution), and multi-channel notification. 1. Project Overview &
Hello, please make me a simple MT5 Expert Advisor for XAUUSD on M15 timeframe. TRADING LOGIC: - BUY when EMA(10) crosses UP EMA(30) - SELL when EMA(10) crosses DOWN EMA(30) TRADING HOURS: - Only trade between 19:00 - 22:00 WIB / Jakarta time RISK SETTINGS: - Lot size: 0.01 - Stop Loss: 70 points - Take Profit: 150 - 300 points - Max 1 open position Please deliver .ex5 file ready to use. Thank you
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per

Project information

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