TradingView has built in functions for RSI
, Momentum, and many other oscillators. Why the source isn't available for Elder's Force Index
is beyond me. To me it's one of the Holy Grail indicators. This is EFI
indicator with a simple function inside the source code. You're can easily copy this function into any study(indicator) or strategy that uses built-in oscillators, as a replacement.
Example using EFI
instead of RSI
in built-in Divergence Indicator: