OPEN-SOURCE SCRIPT
eBacktesting - Learning: FVG

eBacktesting - Learning: FVG is an indicator in the eBacktesting Learning series: a collection of tools designed to help new traders understand the most important concepts in trading through clear, visual examples directly on the chart.
This indicator highlights Fair Value Gaps (FVGs): areas where price moved so quickly that it left behind an imbalance. These zones often act like "magnets" for future price action and can become important areas to watch for reactions, continuations, or reversals.
To keep the chart clean and the learning process practical, FVGs are only displayed when they remain relevant, meaning they are not instantly cleared by the very next candle. This helps beginners focus on the imbalances that actually persist and are more likely to matter.
Each FVG is drawn as a zone with a midpoint line and will visually update as price interacts with it:
These indicators are built to pair perfectly with eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
This indicator highlights Fair Value Gaps (FVGs): areas where price moved so quickly that it left behind an imbalance. These zones often act like "magnets" for future price action and can become important areas to watch for reactions, continuations, or reversals.
To keep the chart clean and the learning process practical, FVGs are only displayed when they remain relevant, meaning they are not instantly cleared by the very next candle. This helps beginners focus on the imbalances that actually persist and are more likely to matter.
Each FVG is drawn as a zone with a midpoint line and will visually update as price interacts with it:
- Touched when price trades into the zone
- Filled when price completely clears the zone
These indicators are built to pair perfectly with eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
eBacktesting.com
--------
Check out the most complete backtesting suite integrated on TradingView!
Join our free Discord group for more info, Q&A, and education:
discord.gg/kJSmwSxBpW
--------
Check out the most complete backtesting suite integrated on TradingView!
Join our free Discord group for more info, Q&A, and education:
discord.gg/kJSmwSxBpW
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
eBacktesting.com
--------
Check out the most complete backtesting suite integrated on TradingView!
Join our free Discord group for more info, Q&A, and education:
discord.gg/kJSmwSxBpW
--------
Check out the most complete backtesting suite integrated on TradingView!
Join our free Discord group for more info, Q&A, and education:
discord.gg/kJSmwSxBpW
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.