Calculates Fair Value Gap (FVG) as a counter and plots it below price. FVG Counter value resets to +ve or -ve once the FVG counter reverses direction. Use this script to find a bias to trade with. Best used on HTF (like 1W, 1D), so the bias can be transferred to LTF (like 4H, 1H).
If you end up using this script, please leave a comment below on how you used it. I can try to incorporate those ideas in an update.