TradingView
nephew_sam_
18 de Abr de 2022 14:13

FVG Screener (Nephew_Sam_) 

Ethereum / TetherUS PERPETUAL CONTRACTBinance

Descrição

// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org/MPL/2.0/
// © nephew_sam_

FVG's are a skip in liquidity, zones where prices move quickly away from, which causes orders to not be fully filled in there. Think of it as weekend gaps, but during trading hours.

This indicator plots a table which looks for when price enters a MTF Fair Value Gap.

Note : The indicator will work fine when finding fvgs that are on a higher timeframe than your chart but if it is trying to find them on a lower timeframe it might cause repainting.
Eg. your chart is on the 1hr and its finding fvg's on the 5 min

Note: When you are on a timeframe much different from the indicator timeframe, the computation will be quite slow.
Eg. your chart is on the 5 min and the indicator is trying to find fvg's on the daily or weekly timeframe.

To fix this issue, only input timeframes that are close to your chart timeframe.
I split my chart into two, the left side indicator only has HTF (1hr, 4hr, D) and the right side indicator is LTF (5m, 15m, 30m)

The code is open source for anyone who can make this more effecient.
Comentários
jojotrading
sometimes bull and bear are lighted at same time.
nephew_sam_
@jojotrading, That must be because the same candle is or HAS been in both fvgs
Ryazn
@nephew_sam_, is there a way for it only show colour when live price it in the fvg?
Dannie100
Awesome. Thank you, Nephew Sam!
glenblain
cool, the only problem i see so far is that my chart is white and i can't change the color of the table lines to black or something so i can see it while on a white background chart.
nephew_sam_
@glenblain, There is a theme option
Ryazn
This is great! However, when I am on 3 min chart it is telling me I am in 1 hr FVG which is not true (ES1! I am looking at) - Any ideas?

I have tried turning off H/L and changing to Close but no fix.

All other timeframes work great!
nephew_sam_
@Ryazn, This does not only tell you if it is inside the fvg, instead if the current candle has reacted (or is inside) an fvg
Ryazn
@nephew_sam_, Can you make an option to make it only show light if live price is inside FVG? That would make it 10x better for live trading
Mais