Using the Quinn and Fernandes algorithm alongside least-squares fitting, it identifies dominant cycle frequencies across a user-defined sample window. The script plots fitted historical lines and future projection lines across bars. Key settings control the source price, calculation bar depth, harmonic periods, frequency tolerance, and forecast horizon. It generates no trading signals or trade exit rules, and the projection lines execute only on the latest chart bar.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Source
source
open
src
Caculation Bars
int
300
npast
Harmonic Period
int
20
nharm
Frequency Tolerance
float
0.0001
frqtol
Forecast Bars
int
100
nfut
Bars back to start forecast
int
100
backbars
Mute all bar colors?
bool
false
allcolorbars
Mute forecast bar colors?
bool
false
fcolorbars
Past Line width
int
5
plinewidth
Forecast Line width
int
5
flinewidth
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.
The Adaptive Laguerre Filter calculates a smoothed, dynamically adjusted trendline plotted directly on the main price chart. It dynamically adjusts its damping factor (alpha) based on recent price range variations and median percentile calculations over a spec
This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult
This indicator classifies each bar as bull, bear, or sideways from a rolling log return compared with adjustable percentage thresholds. It paints a regime ribbon on the price chart, shows a current-regime banner, and labels state changes after a minimum hold.
This script plots three moving averages on the price chart: a fast EMA or SMA with 10 periods, a slow EMA or SMA with 20 periods, and a trend EMA or SMA with 100 periods. It signals trend changes by drawing a white cross when the fast moving average crosses ab
This indicator calculates an ATR trailing stop line derived from the highest high minus an average true range multiple over a specified lookback period. It plots the trailing stop line directly on the price chart and colors price bars based on whether the clos
All Candlestick Patterns detects and highlights a wide range of bullish, bearish, and neutral candlestick patterns directly on the price chart. It features optional trend filtering using either a 50-period simple moving average or a combination of 50-period an