The Elder's Force Index is an oscillator that takes into account the change of the price combined with the volume: EFI = (close of the current day - close of the previous day) * volume of the current day If measure the force of the price change. If you calculate the exponential moving average of the last two days to smooth the signal EMA(EFI,2), you have a...
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...
EMA Fibonacci Moving Averages bands in single Indicator (EFI)
study(title="EFI", shorttitle="EFI") XLen1 = input(13, minval=1) XLen2 = input(8, minval=1) hline(0, color=gray, linestyle=line) xValue = volume * (close - close ) xSMA1 = ema(xValue, XLen1) xSMA2 = ema(xValue, XLen2) plot(xSMA1, style = columns, color=aqua, title="SlowAvg") plot(xSMA2, color=white, title="FastAvg")
www.tradingview.com Like many other indicators this tells the past and it will dutifully follow the future price changes whatever they will be. This is an upgrade of the "Hull Moving Average Convergence/Divergence" low lag indicator in my scripts. Added Elder Force Index (background colors) to include effects of Volume. When EFI goes positive the background...