Strategy · Pine Script v5 · Own pane

Alpy Vix

by avatar-lavventura

This strategy calculates a rolling volume-weighted average price and Chris Moody's Williams Vix Fix to detect market bottoms and oversold volatility spikes.

View on GitHub

Repaints

GitHub stars2on the repository
Pine versionv5runs as is
Lines of code147
Settings15inputs
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 plots in a separate pane and colors chart bars based on filtered exhaustion criteria and price action strength. Key inputs adjust VWAP period, standard deviation lookbacks, Bollinger Band multipliers, and percentile thresholds. Notably, the strategy executes on every tick, which causes live-bar repainting, enables extreme pyramiding, and operates without a defined stop loss.

Details

Published by

avatar-lavventura on GitHub

Type

Strategy, Pine Script v5

Draws

Separate pane below the chart

Category

Volatility & bands, Mean reversion, 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
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
show Highlight Bar if WVF WAS True and IS Now Falseboolfalsesbc
show highlight bar if WVF is Trueboolfalsesbcc
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
Show all 15 settings
SettingTypeDefaultVariable
show alert WVF = True?boolfalsesa1
show alert WVF Was True Now False?boolfalsesa2
show alert WVF Filtered?boolfalsesa3
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

This strategy plots Bollinger Bands on the price chart using an EMA or SMA basis and a matching standard-deviation calculation. It enters long when price crosses back above the lower band and short when price crosses back below the upper band. An optional Intr

Strategy v4 Volatility & bandsMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of Bollinger Bands Strategy with Intraday Intensity Index
13 stars

This strategy runs on the price chart to identify trade entries using volume sequences, specifically tracking consecutive declining volume candles followed by a volume surge at lower price levels. It provides webhook execution support for Zignaly copy trading

Strategy v5 VolumeVolatility & bands
Updated 1 year ago · None stated GitHub repository of Ruckard Voladder A002
3 stars

Plots Donchian Channels and identifies trading setups based on price testing the channel extremes during high volume spikes. In long mode, it places limit buy orders when the low touches the lower Donchian band with volume exceeding a volume moving average mul

Strategy v4 Mean reversionVolatility & bands
Updated 4 years ago · CC0-1.0 GitHub repository of Greeffer's Long Strategy
1 stars

This overlay strategy requires sequential confluence before it enters. A hybrid detector blends selected oscillators, including RSI, CCI, MFI, Bollinger percent B and Keltner percent K, and treats extreme overbought or oversold readings as the market regime. V

Strategy v6 Oscillators & momentumVolatility & bands
Updated 10 months ago · None stated GitHub repository of Stratégie Confluence Hybride-VMCB

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