INVITE-ONLY SCRIPT
FVG / Imbalance MTF Pro (4 HTFs + Alerts) - (@JP7FX)

FVG / Imbalance MTF Pro (jp7fx)
This indicator finds and plots Fair Value Gaps across up to four higher timeframes on a single chart. It shows them as lines, zones, 50 percent levels and labels, and can fire alerts when new gaps form or when price mitigates them.
Core logic
The script detects bullish and bearish FVGs using the classic three candle logic:
• Bullish FVG when high[2] is below the current low.
• Bearish FVG when low[2] is above the current high.
All logic runs on the selected higher timeframes through request.security, then projects the zones down onto your current chart timeframe. The script also checks that your chart timeframe is equal to or lower than the selected HTFs so the plots stay meaningful.
Multi timeframe control
You can configure up to four separate FVG layers: TF1, TF2, TF3 and TF4.
For each TF you can choose:
• Timeframe (or link it to the chart).
• Display mode, Lines and Zones, Zones Only, Lines Only, or Disable.
• Whether to show the 50 percent line.
• Whether to show a label with the TF name next to each FVG.
Inputs also convert the timeframe into minutes and hours so labels can show clear tags such as “15m”, “1h” and so on.
Visuals per timeframe
For every timeframe you can set:
• Entry and stop FVG line colours.
• 50 percent line colour and line style.
• Bullish and bearish zone fill colours.
• Separate colours for mitigated bullish and mitigated bearish zones.
• Label text colours for demand and supply.
Each FVG can draw:
• Two lines for the “entry” and “stop” edges of the gap.
• An optional 50 percent line through the zone.
• A shaded box that tracks the zone as price trades into it.
• A label that shows the originating timeframe.
Line and zone behaviour
Global settings let you control:
• Maximum number of FVG lines and zones kept on the chart.
• Line style for FVG edges and 50 percent lines.
• Whether lines and zones extend to the right.
• Whether zones update with price movement as price trades deeper.
• Whether the zone colour changes once the FVG has been mitigated.
• Label offset so you can push the TF labels to the right of price.
• An option to avoid overlapping zones per timeframe by checking for box overlap.
The script uses arrays of lines, boxes and labels for each TF and for demand and supply separately. It removes the oldest objects once the max count is hit and deletes or recolours zones when price reaches them.
Bar colouring
You can optionally colour the bar that creates the chart timeframe FVG.
• Bullish FVG origin bar can show as green.
• Bearish FVG origin bar can show as red.
Alerts
The indicator exposes alertcondition signals for both creation and mitigation. For each timeframe it supports:
• FVG zone created, bullish or bearish.
• Bullish FVG mitigated.
• Bearish FVG mitigated.
You choose the alert pack per TF through the inputs, then set the alert from the chart by right clicking the indicator and adding an alert.
Use case
This tool is for traders who map and trade Fair Value Gaps across multiple higher timeframes and want clean, configurable MTF FVG zones with clear labels, mitigation behaviour and alerts all in one script.
This indicator finds and plots Fair Value Gaps across up to four higher timeframes on a single chart. It shows them as lines, zones, 50 percent levels and labels, and can fire alerts when new gaps form or when price mitigates them.
Core logic
The script detects bullish and bearish FVGs using the classic three candle logic:
• Bullish FVG when high[2] is below the current low.
• Bearish FVG when low[2] is above the current high.
All logic runs on the selected higher timeframes through request.security, then projects the zones down onto your current chart timeframe. The script also checks that your chart timeframe is equal to or lower than the selected HTFs so the plots stay meaningful.
Multi timeframe control
You can configure up to four separate FVG layers: TF1, TF2, TF3 and TF4.
For each TF you can choose:
• Timeframe (or link it to the chart).
• Display mode, Lines and Zones, Zones Only, Lines Only, or Disable.
• Whether to show the 50 percent line.
• Whether to show a label with the TF name next to each FVG.
Inputs also convert the timeframe into minutes and hours so labels can show clear tags such as “15m”, “1h” and so on.
Visuals per timeframe
For every timeframe you can set:
• Entry and stop FVG line colours.
• 50 percent line colour and line style.
• Bullish and bearish zone fill colours.
• Separate colours for mitigated bullish and mitigated bearish zones.
• Label text colours for demand and supply.
Each FVG can draw:
• Two lines for the “entry” and “stop” edges of the gap.
• An optional 50 percent line through the zone.
• A shaded box that tracks the zone as price trades into it.
• A label that shows the originating timeframe.
Line and zone behaviour
Global settings let you control:
• Maximum number of FVG lines and zones kept on the chart.
• Line style for FVG edges and 50 percent lines.
• Whether lines and zones extend to the right.
• Whether zones update with price movement as price trades deeper.
• Whether the zone colour changes once the FVG has been mitigated.
• Label offset so you can push the TF labels to the right of price.
• An option to avoid overlapping zones per timeframe by checking for box overlap.
The script uses arrays of lines, boxes and labels for each TF and for demand and supply separately. It removes the oldest objects once the max count is hit and deletes or recolours zones when price reaches them.
Bar colouring
You can optionally colour the bar that creates the chart timeframe FVG.
• Bullish FVG origin bar can show as green.
• Bearish FVG origin bar can show as red.
Alerts
The indicator exposes alertcondition signals for both creation and mitigation. For each timeframe it supports:
• FVG zone created, bullish or bearish.
• Bullish FVG mitigated.
• Bearish FVG mitigated.
You choose the alert pack per TF through the inputs, then set the alert from the chart by right clicking the indicator and adding an alert.
Use case
This tool is for traders who map and trade Fair Value Gaps across multiple higher timeframes and want clean, configurable MTF FVG zones with clear labels, mitigation behaviour and alerts all in one script.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 jp7fx에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Payment is handled through jp7fx.com.
Once payment is confirmed you are added to the access list.
Approved users can use all current and future JP7FX invite only indicators.
Visit http://www.jp7fx.com to join.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 jp7fx에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Payment is handled through jp7fx.com.
Once payment is confirmed you are added to the access list.
Approved users can use all current and future JP7FX invite only indicators.
Visit http://www.jp7fx.com to join.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.