This indicator plots entry signals and moving average lines for three Fibonacci-period strategies directly on the price chart: Momentum Breakout, Mean Reversion, and Fibonacci Retracement.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Each strategy uses combinations of Fibonacci-length moving averages (such as 13, 21, 34, 55, and 144 periods) to evaluate price crosses and moving average alignment. Inputs allow toggling long and short signals independently, choosing between SMA and EMA calculations for each setup, showing or hiding specific plots, and restricting signal generation to a custom intraday trading session window.
Fibonacci-length moving average crossover signals
Three distinct setups: Momentum, Mean Reversion, and Fibonacci Retracement
Configurable SMA or EMA calculation per strategy
Time-of-day trading session filter with background highlighting
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Enable Long Signals
bool
true
enableMomentumLong
Enable Short Signals
bool
true
enableMomentumShort
Use EMA? (Off: SMA,On: EMA)
bool
false
useEMAMomentum
Show Plots?
bool
true
showMomentumPlots
Enable Long Signals
bool
true
enableMeanReversionLong
Enable Short Signals
bool
true
enableMeanReversionShort
Use EMA? (Off: SMA,On: EMA)
bool
false
useEMAMeanReversion
Show Plots?
bool
true
showMeanReversionPlots
Enable Long Signals
bool
true
enableFibonacciLong
Enable Short Signals
bool
true
enableFibonacciShort
Use EMA? (Off: SMA,On: EMA)
bool
false
useEMAFibonacci
Show Plots?
bool
true
showFibonacciPlots
Show all 15 settings
Setting
Type
Default
Variable
Enable Trading Window (EST)
bool
true
useTradingWindowFilter
Show Background Fill
bool
true
showBackgroundFill
Trading Window
session
0930-1600:1234567
tradingWindow
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator calculates custom Bollinger Bands using one of four selectable moving averages, defaulting to VIDYA. It plots the upper band, lower band, and basis line directly on the price chart, with a filled background between the outer bands. Buy and sell
This indicator assists intraday breakout execution on KLSE stocks. It plots VWAP, EMA 9, EMA 21 on the price chart along with an opening range from the first 30 minutes of the session and a buy zone band above the daily pivot price. Settings control the pivot
This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre
Mean Reversion Study is an indicator that identifies trade setups combining exponential moving averages, RSI extremes, and engulfing candlestick patterns. It highlights bullish setups when a bullish engulfing candle forms below the EMA while RSI is oversold, a
This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal