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 strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
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
Alpy Vix generates entry signals when the Vix Fix crosses upper bands or percentile ranges and meets filtered criteria based on price action strength. The strategy supports multiple entries with cash-based position sizing and includes options for filtered and aggressive signals. Main inputs adjust band offsets, lookback periods, and highlight bar visibility. It draws the Williams Vix Fix histogram along with color-coded signals for entries and exits. Notable limits include repainting signals on the live bar and no built-in stop loss.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
short_offset
float
3.0
upper_band_value
long_offset
float
3.5
lower_band_value
LookBack Period Standard Deviation High
int
22
pd
Bolinger Band Length
int
20
bbl
Bollinger Band Standard Devaition Up
float
2.0
mult
Look Back Period Percentile High
int
50
lb
Highest Percentile - 0.90=90%, 0.95=95%, 0.99=99%
float
.85
ph
Highlight Bars Below Use Original Criteria
bool
false
new
Show Highlight Bar if WVF WAS True and IS Now False
bool
true
sbc
Show Highlight Bar if WVF IS True
bool
false
sbcc
Highlight Bars Below Use FILTERED Criteria
bool
false
new2
Show Highlight Bar For Filtered Entry
bool
true
sbcFilt
Show all 26 settings
Setting
Type
Default
Variable
Show Highlight Bar For AGGRESSIVE Filtered Entry
bool
true
sbcAggr
Check Below to turn All Bars Gray, Then Check the Boxes Above, And your will have Same Colors As VixFix
bool
false
new3
Check Box To Turn Bars Gray?
bool
false
sgb
Long-Term Look Back Current Bar Has To Close Below This Value OR Medium Term--Default=40
int
40
ltLB
Medium-Term Look Back Current Bar Has To Close Below This Value OR Long Term--Default=14
int
14
mtLB
Entry Price Action Strength--Close > X Bars Back---Default=3
int
3
str
Turn On/Off ALERTS Below
bool
false
new4
To Activate Alerts You HAVE To Check The Boxes Below For Any Alert Criteria You Want
bool
false
new5
You Can Un Check The Box BELOW To Turn Off the WVF Histogram And Just See True/False Alert Criteria
bool
false
new6
Show Williams Vix Fix Histogram, Uncheck to Turn Off!
bool
true
swvf
Show Alert WVF = True?
bool
false
sa1
Show Alert WVF Was True Now False?
bool
false
sa2
Show Alert WVF Filtered?
bool
false
sa3
Show Alert WVF AGGRESSIVE Filter?
bool
true
sa4
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 strategy combines Larry Williams' Vix Fix synthetic volatility indicator with Bollinger Bands. It calculates standard and inverted Williams Vix Fix metrics, displaying them as histogram columns with standard deviation bands in a separate pane. Long entrie
This strategy executes mean-reversion trades based on Bollinger Bands and the Stochastic Oscillator. Long orders trigger when price dips below the lower band alongside a bullish Stochastic crossover, with an optional oversold threshold. Short orders execute on
This strategy fades Bollinger Band extremes using the close. It enters short when price crosses above the upper band and the 14-period RSI is above 70, and enters long when price crosses below the lower band and RSI is below 30. It closes half of an open short
This strategy calculates a smoothed Relative Strength Index and plots self-adjusting linear regression bands with overbought and oversold boundaries in a separate pane. It enters long positions through dollar-cost averaging orders scaled across market phases a
This strategy calculates intraday volatility mean reversion using session VWAP standard deviation bands, RSI overbought and oversold levels, and candle wick exhaustion ratios. It enters trades when price reaches statistical extremes filtered by RSI and wick co
Calculates the Relative Strength Index (RSI) and wraps Bollinger Bands directly around the RSI series rather than price. It enters long positions when the RSI drops below its lower band and hooks back upward, and enters short positions when the RSI exceeds the