FVG/Orderblock Zone Indicator

Specification

I am looking to have a custom indicator created that marks my customizable orderblock/FVG zones on the chart and can then detect price re-enters and exits the unmitigated portion of this zone and will change color to show this. After a portion of the zone is mitigated or filled, the zone is redrawn to only the unmitigated zone. Zones are also deleted after price passed through the orderblock. 

The fair value gap and orderblock concepts are common price action concepts that can be found in many trading communities. This guide will not explain these concepts as they are easily found on the internet.


The indicator should do the following:

Step 1 Zone Specification and Drawing

1. The indicator should work for both bullish and bearish orderblock/fvg zones. If needed two separate indicators for bullish or bearish fvg/orderblock zones can be made.
2. The indicator should be able to differentiate between the FVG zone that we expect to be filled and the orderblock zone as well as join them for display of the zone on the chart.
 
3. The indicator should create a separate zone for each Orderblock/FVG. Fair value gaps can only be joined into a single zone if they do not have an opposite closing orderblock candle within the range of bars set by the "orderblock bars back" parameter and they are in consecutive order.
 
4. Only draw zones for fair value gaps that are equal to or greater than the % the bar range specified by the "minimum FVG %" parameter.
 

5. Have the zone be customizable by a variable parameter or how deep a percentage of retracement into the FVG where the zone will begin. Always start the zone at the % retracement into the FVG specified by the parameter known as "FVG Retracement %", even if the start of the orderblock is at a lower retracement percentage.
 
6. Group price gaps into the FVG/orderblock zone. Include the price gap in the FVG zone that when filled/mitigated leads to eventual deactivation and end of projection of the zone.
 
7. Have the zone customizable by a variable parameter know as "orderblock bars back" of how many bars to look back behind the FVG and group into the orderblock. The end of this zone should be marked at the tip of the orderblock group. For bullish zones this would be the low of the lowest red candle in the amount of bars behind the FVG specified by the "orderblock bars back" parameter.
 
8. If there is no orderblock to the left of a FVG within the amount of bars specified by the "orderblock bars back" threshold, mark only the zone starting at the "FVG retracement %" parameter to the end (low or high) of the bar that contains the FVG. If two or more FVG's are joined without an orderblock, the end of the low of the zone should be the low of the lowest candle in the chain of FVG candles for bullish examples and the opposite for bearish. 
 
9. Have the zone be customizable by a variable parameter of how many bars this zone stays on the chart. This parameter will be known as "zone is valid for bars"
 
10. Draw the orderblock/FVG zone on the chart that projects into current prices. All the way over to the righthand edge of the chart.
Step 2 Lower time frame binary signal generation to be known as "Inside POI Zone"

   11.Calculate zones based on the close of every bar of the lower time frame specified in the parameter to be known as "lower timeframe signal".

   12.Detect when any portion of the current price bar of the timeframe specified by the parameter to be known as "lower timeframe signal" enters a fvg/orderblock zone.

   13. This will cause that specific zone to change color and for the indicator to generate a signal to be known as "Inside POI Zone"

   14. The zone resting color and color that they change to upon price's entry into the zone will be parameters to be known as  "zone color" and "zone color change" respectively.

   15. After an amount of bars specified by the parameter "bars on zone exit" has their bar range completely exit the zone, the zone will be reduced to it's unmitigated/unfilled portion and change color back to it's original state, if they is no fvg left to fill then the zone will stop being projected into the right hand edge of the chart. This will also deactivate the indicator signal to be known as "Inside POI Zone".

   16. Old or deactivated zones with no FVG left to fill or mitigate will remain on the chart for as long as the parameter to be known as "zone is valid for bars" specifies.


 
   17. The indicator signal to be named "Inside POI Zone" can be displayed in a bottom window of the chart as a binary signal where the top of the window is marked as 1 and the bottom is marked as 0. A horizontal line inside this window will move back and forth between the bottom and top of the window whenever the indicator signal is active or not.

Step 3 Zone reduction and deactivation

   18. After price exits a zone completely for the entire range of the bars for an amount of bars specified by the parameter to be known as "bars on zone exit" on the time frame specified by the parameter to be known as "lower timeframe signal" the zone that price left will then be reduced by the amount that price traveled into and filled/mitigated the FVG of the fvg/orderblock zone. The zone will also change back to it's original color before an indicator signal was generated.

   19. If there is no amount of FVG in the fvg/orderblock zone left to fill/mitigate then the zone should be stop being projected to the right edge of the chart and that fvg/orderblock zone can no longer generate the indicator signal. Other fvg/orderblock zones on the chart will still maintain the ability to generate the indicator signal.


 
   20. If at any time price crosses completely through a fvg/orderblock zone. That zone should be deactivated and stop being projected to the right edge of the chart and not be able to generate indicator signals.
 


Parameters explained.

1.Bars behind FVG to group into orderblock. We should call this "Orderblock bars back"
2. % retracement into FVG to start zone. 0-100%. We should call this "FVG Retracement %"
3. Bars that the Zone stays valid for and remains on the chart. We can call this "Zone is valid for bars"
4. Lower timeframe to use for triggering the signal condition. When a bar of this specified timeframe has any portion of it inside the zone. for example 5M candles inside of 1H orderblock/FVG zone. We can call this "Lower time frame bar signal".
5. Zone color. We can call this "zone color" this will allow us to change the color of the zone that the indicator draws.
6. Zone color change. We can call this "zone color change". When price is printing bars on the selectable lower time frame with any portion inside the zone. The zone should change color to a selectable color.
7. Bars on Zone Exit. Named as "Bars on Zone Exit" Determines how many bars need to close with their entire bar range outside of the zone for it to change color back to the original condition and then redraw or deactivate the zone. 
8.Minimum FVG %. Named as "minimum fvg %". The minimum FVG size as a percentage of the bar range that is required in order to draw a zone. Too small a FVG and it should not be valid and not draw the zone.

Parameter List
1. Orderblock Bars Back - number
2. FVG Retracement % - % expressed as a number 0-100
3. Zone is Valid for Bars - number
4. Lower Timeframe Bar Signal - Slide down bar with selection of a range of time frames from 1Minute to 1Day.
5.Zone Color - Selection of colors
6. Zone Color Change - Selection of colors.
7. Bars on Zone Exit - number
8. Minimum FVG % - % expressed as a number 0-100

 

Files:

PNG
Point_3.png
223.3 Kb
PNG
Point_4.png
221.0 Kb
PNG
Point_5.png
221.6 Kb
PNG
Point_6.png
303.9 Kb
PNG
Point_7.png
245.5 Kb
PNG
Point_8.png
233.3 Kb
PNG
Point_8B.png
243.7 Kb
PNG
Point_9.png
273.5 Kb
PNG
Point_11-16.png
268.7 Kb
PNG
Point_18-19.png
232.6 Kb
PNG
Point_20.png
250.9 Kb
PNG
Overview.png
359.8 Kb

Responded

1
Developer 1
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(294)
Projects
469
39%
Arbitration
102
40% / 24%
Overdue
77
16%
Loaded
Published: 2 codes
3
Developer 3
Rating
(9)
Projects
11
18%
Arbitration
4
0% / 100%
Overdue
4
36%
Free
4
Developer 4
Rating
(15)
Projects
20
0%
Arbitration
2
0% / 100%
Overdue
4
20%
Working
5
Developer 5
Rating
(326)
Projects
391
52%
Arbitration
20
55% / 15%
Overdue
27
7%
Busy
6
Developer 6
Rating
(163)
Projects
236
32%
Arbitration
30
27% / 30%
Overdue
26
11%
Free
7
Developer 7
Rating
(77)
Projects
241
73%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
8
Developer 8
Rating
(15)
Projects
20
35%
Arbitration
3
0% / 100%
Overdue
0
Free
Published: 1 code
9
Developer 9
Rating
(1)
Projects
0
0%
Arbitration
4
0% / 75%
Overdue
0
Free
10
Developer 10
Rating
(246)
Projects
253
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
11
Developer 11
Rating
(57)
Projects
89
43%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
12
Developer 12
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
13
Developer 13
Rating
(4)
Projects
3
33%
Arbitration
1
0% / 100%
Overdue
0
Free
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Published: 2 codes
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Project Title: Convert Pinescript TradingView Strategy to MQL5 to EA bot Project Description: I am looking for an experienced MQL5 developer to convert a TradingView Pine Script strategy into a fully automated MetaTrader 5 Expert Advisor (EA). The goal is to have an identical replication of the strategy logic and backtest results. Key Requirements: Logic Conversion: Translate all Pine Script indicators, entry
描述(项目概述): 我需要为 MetaTrader 5 平台开发一个功能完整的智能交易系统( 专家顾问 ),用于交易 XAUUSD (伦敦金)。该 艺电 的核心是基于一份详细的技术规格书,实现一个多指标共振、多层条件过滤的短线反转策略。 1. 核心策略逻辑简述: 交易品种与周期:主交易周期为 M30 ,需在代码内部动态读取 H4 周期进行趋势过滤,并监控 M5 周期以执行复杂的出场逻辑。 入场机制:采用 “ 价格触发 -> 成交量确认 -> 多指标渐进式达标 ” 的严格流程。入场信号需在特定时间窗口内,同时满足布林带突破及 5 个动量指标( CCI、RSI、MFI, 威廉指标, 随机指标)的超买 / 超卖条件,并受 H4 级别趋势过滤器约束。 出场机制:采用三层递进逻辑,包括动态保本移动、 M5 周期指标集体反转信号以及基于 K 线形态的趋势反转终极止损。
SMC, etc.) - Backtest results and the set files you used - Whether you’re willing to make minor tweaks so I can use it as my own If the performance looks good, we can discuss adjustments and next steps. My requirements are screenshot, backtes results, demo fileS Let me know if you have anything that fits the bill
iF you already have an successful MT4 EA for scalping in M5 XAUUSD [and eventually EURUSD and USDJPY] working essentially ON the trend when there is an Break Of Structure but also on reversal eventually with strategy Martingale with param ON/OFF eventually with strategy Grid with param ON/OFF eventually with HEDGING with param ON/OFF and on each trade : Stop loss, Trailing sl without High Frequency Trades [means
I’m looking for a NinjaTrader 8 developer to build or customize a fully automated futures strategy . Goals: Target ~$100/day (consistency over aggression) Long-term survivability (not scalping hype) Requirements: Trade ES/MES or NQ/MNQ Fixed risk per trade Daily profit & loss limits Time/session filters Break-even & trailing stop logic Full NT8 strategy (not indicator) Nice to have: Backtest + optimization
Je cherche un développeur pour un bot Fundednext pour le passage de challenge jusqu'au trading quotidien après le passage.le robot va s'occuper du compte du début à la suite du compte de 15k chez Fundednext.après le passage aux challenges,le robot doit être capable de me fournir 6-10% mensuel de rendement de ce compte. Il doit être capable de passer le challenge dans un bref délai de 2-3 semaine ou soit 10-15 jours
🧠 Project Overview We require an automated trading system that performs statistical arbitrage between: XAGUSD (MT5 account) MCX Silver (separate broker / API / account) The bot will calculate custom percentage movement from a daily anchor time and trade based on spread convergence, not broker-provided percentage values. --- 🧩 Core Concept The system must: 1. Capture daily anchor prices at 11:30 PM IST 2. Compute
Job Title MT5 Developer Needed – Sync Data Feed Between Two MT5 Accounts Job Description I am a trader using multiple MT5 accounts and need a reliable way to have the same market data from one MT5 account reflected in another MT5 account. One account already has a stable and accurate data feed, and I want the second MT5 account to receive identical pricing and symbols for analysis and execution purposes. What I Need
hello great developer We are looking for someone to create a Ninja Trader bot that can identify liquidity sweeps using lux algos indicator. once liquidity sweep occurs we need the bot to use the fibonnachi tool to idenfity the 61% level and 71% level. then enter the trade for us please check the video for better understanding Here is first video: https://youtu.be/ZaGZGNgzZlc?si=we3poeWB91nWqkz5 Here is Second video

Project information

Budget
100 - 200 USD
Deadline
from 7 to 14 day(s)