Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 14:09:34 +0000



Post From: Fair Value Gap indicator

[2022-11-08 13:21:48]
User641398 - Posts: 19
You can grab my version of a FVG study along with a few others I have. The code is all available via my Github also:

https://gc5150.github.io/#studies

https://gc5150.github.io/#download

Main features:

- Independent settings for Up and Down Gaps
- Extend until Gap filled
- Minimum Gap size in ticks for FVG's
- Minimum Gap size in ticks for FVG Subgraphs
- Allow copying to other chart drawings
- Enable/Disable FVG Up and Down gaps
- Hide Gaps once filled
- Specify maximum lookback for bars to process
- Draw Midline
- Subgraphs for FVG Count
- Subgraphs for High and Low of FVG Up/Dn. Idea is to use these for trailing stops and/or targets with trade management study. The Subgraphs will shift based on open FVG's. Once FVG is closed the Subgraph will shift to the new one. Hard to explain so best thing is to set the draw style for all of the subgraphs to dash or line and see how it works. TEST ON SIM FIRST!!!
- Option to use additional study data to determine if that candle that creates the FVG (middle candle) should be used or not. Example: You could have a formula check if volume meets a certain threshold and output non-zero value for true. If the threshold is met then draw FVG. Otherwise, ignore this candle and don't draw the FVG.

Edit: Attached is an example sped up at 120x


Fantastic work thank you!
I wonder if it is possible to modify this study to identify BPR (balance price range).
Have you tried to create it yet?