OPEN-SOURCE SCRIPT
Updated Volume Flow Indicator [LazyBear]LF

This is Lazybear's port of VFI by Katsanos, which ideally requires 2 different sets of coefficients for intraday vs longer term charts. I added definitions of the values to allow for one set to be used intraday while the other is used for resolutions of 1d or more. This version will dynamically adapt the coefficients using the chart's resolution. I've also added options to show crosses with the MA and the zero line, and the possibility to have the zero line change color when using the long term set of coefficients, as a reminder.
LazyBear's original version is here.
This is the Katsanos documentation on VFI: mkatsanos.com/VFI.html .
LazyBear's original version is here.
This is the Katsanos documentation on VFI: mkatsanos.com/VFI.html .
Release Notes
The calculations are rigorously identical in this version, but bells and whistles have been added.You can now:
- Color the signal line,
Color the histogram,
Show a second MA, with or without crosses,
Show big swings in the signal,
Show Buy/Sell signals using levels you define,
Create alerts on the Buy/Sell signals.
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.
"The stock market is a device for transferring money from the impatient to the patient."
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/
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.
"The stock market is a device for transferring money from the impatient to the patient."
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/
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.