Strategy · Pine Script v4 · Own pane

Alpy Vix

by avatar-lavventura

This strategy plots a Williams Vix Fix histogram in a separate pane and combines it with a WaveTrend oversold check and a rolling volume-weighted average price.

View on GitHub

Repaints

GitHub stars2on the repository
Pine versionv4older, still runs
Lines of code135
Settings26inputs
LicenceNone stated
Last update7 months ago5 Mar 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
  4. 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 marks percentage bands above and below that VWAP for short and long conditions and can highlight bars when the Vix Fix is true, newly false, or filtered. Lookback lengths, Bollinger settings, percentile thresholds, and alert toggles change the filters. Orders use a fixed cash quantity inside a hard-coded late-2021 date window. The script calculates on every tick, allows very large pyramiding, and shows no stop loss.

Details

Published by

avatar-lavventura on GitHub

Type

Strategy, Pine Script v4

Draws

Separate pane below the chart

Category

Oscillators & momentum, Volatility & bands, Volume

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)
  • The strategy can add several entries in the same direction
  • The strategy enters trades without a stop loss

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Periodint5vwap_period
Percentage Above (Short Entry)float2.0vwap_perc_above
Percentage Below (Long Entry)float2.0vwap_perc_below
Label Offsetint15vwap_label_offset
LookBack Period Standard Deviation Highint22pd
Bolinger Band Lengthint20bbl
Bollinger Band Standard Devaition Upfloat2.0mult
Look Back Period Percentile Highint50lb
Highest Percentile - 0.90=90%, 0.95=95%, 0.99=99%float.85ph
Highlight Bars Below Use Original Criteriaboolfalsenew
Show Highlight Bar if WVF WAS True and IS Now Falsebooltruesbc
Show Highlight Bar if WVF IS Trueboolfalsesbcc
Show all 26 settings
SettingTypeDefaultVariable
Highlight Bars Below Use FILTERED Criteriaboolfalsenew2
Check Below to turn All Bars Gray, Then Check the Boxes Above, And your will have Same Colors As VixFixboolfalsenew3
Check Box To Turn Bars Gray?boolfalsesgb
Long-Term Look Back Current Bar Has To Close Below This Value OR Medium Term--Default=40int40ltLB
Medium-Term Look Back Current Bar Has To Close Below This Value OR Long Term--Default=14int14mtLB
Entry Price Action Strength--Close > X Bars Back---Default=3int3str
Turn On/Off ALERTS Belowboolfalsenew4
To Activate Alerts You HAVE To Check The Boxes Below For Any Alert Criteria You Wantboolfalsenew5
You Can Un Check The Box BELOW To Turn Off the WVF Histogram And Just See True/False Alert Criteriaboolfalsenew6
Show Williams Vix Fix Histogram, Uncheck to Turn Off!booltrueswvf
Show Alert WVF = True?boolfalsesa1
Show Alert WVF Was True Now False?boolfalsesa2
Show Alert WVF Filtered?boolfalsesa3
Show Alert WVF AGGRESSIVE Filter?booltruesa4
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.

Similar Pine Scripts

BBPBΔ(OBV-PVT)BB

by hasnocool
106 stars

This strategy calculates the normalized rate of change between On-Balance Volume (OBV) and Price Volume Trend (PVT) indicators. It applies Bollinger Bands to this volume metric along with a Hodrick-Prescott filter array for time series decomposition. Displayed

Strategy v4 VolumeVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of BBPBΔ(OBV-PVT)BB
105 stars

This overlay strategy looks for gold scalps from break of structure and change of character. It enters long when a bullish break, a bullish character change, and an optional volume filter align, and short on the opposite set. Optional RSI levels can block trad

Strategy v6 SMC / ICT / price actionOscillators & momentum Repaints

CombinedBinHAndClucV8

by viktors1982
36 stars

This strategy trades on the price chart using multiple indicators. It enters long positions when price dips meet conditions on Bollinger Bands 40 and 20, RSI, MFI, volume and other thresholds. It exits at custom ROI profit levels based on RSI or after timeout

Strategy v4 Oscillators & momentumMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of CombinedBinHAndClucV8
6 stars

Capital41 Fusion Core Strategy is an overlay trading strategy that combines an exponential moving average trend filter, RSI, Williams %R, and volume/ATR expansion into a composite momentum oscillator. It executes long trades when the smoothed oscillator crosse

Strategy v6 TrendOscillators & momentum
Updated 8 weeks ago · MIT GitHub repository of Capital41 Fusion Core Strategy
4 stars

The Simpleton STEPFUN Strategy combines signals from multiple technical indicators including RSI-2, MACD crossover, Bollinger Band squeeze, volume spikes, triple EMA, and Ichimoku cloud. It generates buy signals when the weighted ensemble meets or exceeds the

Strategy v5 Oscillators & momentumVolatility & bands

This strategy executes trades on gold based on a confluence of Supertrend, RSI, MACD, Bollinger Bands, and volume spikes. It enters long or short positions when trend direction aligns with momentum and price positioning relative to volatility bands, filtered b

Strategy v6 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of XAUUSD High Probability Strategy

More strategys

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers