OPEN-SOURCE SCRIPT
Updated Elder's force index impulse

Force Index is an oscillator. It combines volume with prices
to discover the force of bulls or bears behind every rally or decline.
It brings together three essential pieces of information the direction of price
change, its extent, and the volume during that change. It provides a practical way of
using volume for making trading decisions.
Force Index can be used in its raw form, but its signals stand out much more
clearly if we smooth it with a moving average. Using a short EMA of Force Index
helps pinpoint entry and exit points. Using a longer EMA helps confirm trends.
Efi long > 0 (bullish trend) and efi short < 0 = buy signal (green bar)
Efi long < 0 (bear trend) and efi short>0 = sell signal (red bar)
to discover the force of bulls or bears behind every rally or decline.
It brings together three essential pieces of information the direction of price
change, its extent, and the volume during that change. It provides a practical way of
using volume for making trading decisions.
Force Index can be used in its raw form, but its signals stand out much more
clearly if we smooth it with a moving average. Using a short EMA of Force Index
helps pinpoint entry and exit points. Using a longer EMA helps confirm trends.
Efi long > 0 (bullish trend) and efi short < 0 = buy signal (green bar)
Efi long < 0 (bear trend) and efi short>0 = sell signal (red bar)
Release Notes
updated with alert option when bar changes colorOpen-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.
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.
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.