OPEN-SOURCE SCRIPT

FVG Detector

1 012
FAIR VALUE GAP (IMBALANCE)

A convenient tool for automatically displaying imbalances on the current timeframe, and if necessary, you can display imbalances of a higher timeframe on the current chart. It has a wide and flexible system of settings. It displays not only the imbalance zone, but also the center of the imbalance, which is quite convenient

Basic settings:
  • Minimum FVG size in % - Minimum imbalance size to display
  • Percentage of filling FVG - For how many percent the imbalance must be covered for it to be considered invalid.
  • Show FVG - The number of imbalances that will be displayed on the chart
  • Show FVG middle line - Shows the middle of the imbalance
  • Filling 50% FVG - When the imbalance is filled by 50%, the midpoint of the imbalance changes
  • When Candle Close - The indicator performs calculations only when a candle closes and a new one begins. Prevents additional load on the system
  • FVG Length - Number of candles for how long the imbalance will be extended (used for older TFs). If set to 0, the zone will be stretched to the end of the chart
  • History - Displays all imbalances in history


PineScreener mode

  • Candle number - When PineScreener mode is activated, the data of the specified candle will be displayed. If you need to analyze yesterday, then set to 1 and the data will be shown for yesterday.


The PineScreener table displays the following data:

istantanea

  • LSize - LongSize, the size of the imbalance in percentage
  • LBegin - LongBegin, displays the distance to the begin imbalance in percentage
  • LMiddle - LongMiddle, displays the distance to the middle imbalance in percentage
  • LEnd - LongEnd, displays the distance to the end imbalance in percentage
  • SSize - ShortSize, the size of the imbalance in percentage
  • SBegin - ShortBegin, displays the distance to the begin imbalance in percentage
  • SMiddle - ShortMiddle, displays the distance to the middle imbalance in percentage
  • SEnd - ShortEnd, displays the distance to the end imbalance in percentage
  • LHB - Long Hit Begin of imbalance
  • LHM - Long Hit Middle of imbalance
  • LHE - Long Hit End of imbalance
  • SHB - Short Hit Begin of imbalance
  • SHM - Short Hit Middle of imbalance
  • SHE - Short Hit End of imbalance


If you have any suggestions on how to improve the indicator, please write

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.