alexgrover

Fair Value Gap Chart

The Fair Value Gap chart is a new charting method that displays fair value gap imbalances as Japanese candlesticks, allowing traders to quickly see the evolution of historical market imbalances.

The script is additionally able to compute an exponential moving average using the imbalances as input.

🔶 USAGE


The Fair Value Gap chart allows us to quickly display historical fair value gap imbalances. This also allows for filtering out potential noisy variations, showing more compact trends.


Most like other charting methods, we can draw trendlines/patterns from the displayed results, this can be helpful to potentially predict future imbalances locations.

Users can display an exponential moving average computed from the detected fvg's imbalances. Imbalances above the ema can be indicative of an uptrend, while imbalances under the ema are indicative of a downtrend.

Note that due to pinescript limitations a maximum of 500 lines can be displayed, as such displaying the EMA prevent candle wicks from being displayed.

🔶 DETAILS

🔹Candle Structure


The Fair Value Gap Chart is constructed by keeping a record of all detected fair value gaps on the chart. Each fvg is displayed as a candlestick, with the imbalance range representing the body of the candle, and the range of the imbalance interval being used for the wicks.

🔹EMA Source Input

The exponential moving average uses the imbalance range to get its input source, the extremity of the range used depends on whether the fvg is bullish or bearish.

When the fvg is bullish, the maximum of the imbalance range is used as ema input, else the minimum of the fvg imbalance is used.

Check out the indicators we are making at luxalgo: www.tradingview.com/u/LuxAlgo/
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?