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
Combo Williams Vix Fix (Twin) normalizes price data using min-max scaling to compute both upward and downward synthetic volatility metrics across two selectable calculation modes each. Values are evaluated against Bollinger Bands and percentile ranges to highlight potential market turning points or momentum surges with dynamic histogram coloring. Users can adjust standard deviation lookbacks, band multipliers, percentile thresholds, and toggle reference boundary lines.
Dual upward and downward Williams Vix Fix metrics
Min-max price normalization
Bollinger Band and percentile threshold filtering
Configurable color scheme for trend continuation or reversal
Optional percentile range and standard deviation overlay lines
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
VixFix UP [1,2]
int
1
tp
VixFix DN [1,2]
int
1
tp2
Reverse Colors
bool
false
rev
LookBack Period Standard Deviation High/Low
int
22
pd
Bolinger Band Length
int
20
bbl
Bollinger Band Standard Deviation Up/Dn
float
2.0
mult
LookBack
int
60
p
Look Back Period Percentile High/Low
int
50
lb
Highest Percentile - 0.90=90%, 0.95=95%, 0.99=99%
float
.85
ph
Lowest Percentile - 1.10=90%, 1.05=95%, 1.01=99%
float
1.01
pl
Show High Range - Based on Percentile and LookBack Period?
bool
false
hp
Show Standard Deviation Line?
bool
false
sd
Show all 14 settings
Setting
Type
Default
Variable
Show Low Range - Based on Percentile and LookBack Period?
bool
false
hp2
Show Standard Deviation Line?
bool
false
sd2
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 standardized z-scores of price data across four different lookback periods (6, 14, 26, and 100). Standardizing data subtracts the moving average from the price and divides by the standard deviation. It applies a Double Exponential Mov
The Mean Squared Error indicator calculates the mean of squared differences between a source series and its EMA, averaged via a rolling buffer acting as SMA. This error metric plots as a filled red area on a separate pane, while the EMA overlays as a yellow li
This indicator classifies market behavior into momentum, mean-reversion, noise, or mixed regimes. It fuses four statistical predictability sensors—Variance Ratio across multiple horizons, return autocorrelation, Hurst exponent approximation, and fractal effici
This indicator calculates the Variance Ratio Test statistic to evaluate random walk behavior across multiple sampling periods. It computes log returns, base period variance over a specified lookback window, and scaled multi-period variances to determine test Z
This indicator builds a channel from a Hull moving average of the source and an ATR scaled by a band multiplier, then normalizes price inside that channel into a 0 to 100 oscillator. It smooths the result with a weighted moving average and plots the line in a
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