Indicator · Pine Script v6 · Own pane

Liquidity Surge Forecast with Markov Chains

by majixai

A visual indicator in a separate pane that renders a pseudo three-dimensional terrain of stacked momentum layers built from MFI or RSI, with a second layer based on a Hull-VWMA or ADX oscillator.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code871
Settings40inputs
LicenceNone stated
Last update2 days ago28 Oct 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 indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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

Camera inputs set yaw, pitch and scale. It adds a slope-based forecast with decay, a choppiness filter, a trend angle comparison and optional emoji markers. The graphics are mainly a display style, and the forecast extends a recent slope rather than predicting independently.

Details

Published by

majixai on GitHub

Draws

Separate pane below the chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
Time Span (bars each side of 0)int15timeSpan
Momentum SourcestringMFImomentumSrc
Momentum Lengthint14rsiLen
Rib Amplificationfloat2.0yAmp
Yaw (°)float-20yawDeg
Pitch (°)float15pitchDeg
Scale X (Time, bars per unit)float1.2sTime
Scale Y (Vertical)float0.4sAlt
Scale Z (Depth)float0.4sDepth
Offset Xint0offsetX
Offset Yfloat0offsetY
Oscillator TypestringHull-VWMAoscType
Show all 40 settings
SettingTypeDefaultVariable
VWMA Lengthint30vwmaLen
Hull-VWMA Scalefloat500.0oscScale
ADX Length (DMI period)int14adxLen
Show Oscillator CarpetbooltrueshowOsc
Bull Color (osc > 0)color#00BCD4oscBullCol
Bear Color (osc < 0)color#800000oscBearCol
Neutral Tint (mag ≈ 0)color#87CEEBoscNeutCol
Show Axis MarkersboolfalseshowAxisLabels
Show Emoji MarkersbooltrueshowEmoji
Show Slope ForecastbooltrueshowForecast
Slope Lookback (bars)int6forecastSlopeLen
Forecast Decay per Barfloat0.92forecastDecay
Gate Whale by ChoppinessbooltrueuseChopFilter
CI Lengthint14chopLen
CI Threshold (chop above)float61.8chopThresh
Angle Short Periodint12angleShortLen
Angle Long Periodint26angleLongLen
Angle Trend Threshold (°)float5.0angleTrendThresh
Angle Sideways Threshold (°)float2.0angleSideThresh
Show Win-Rate DashboardbooltrueshowDashboard
Dashboard PositionstringBottom RightdashPos
Dashboard Text SizestringNormaldashFontSize
Use Markov PredictorbooltrueuseMarkov
Count Decay per Barfloat0.997markovDecay
Hatchling Threshold %float55.0preWhaleThresh
Show Markov Row in DashbooltrueshowMarkovRow
ATR Lengthint14atrLen
Win Threshold (× ATR)float0.5atrMult
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

Money Flow Index

by everget
947 stars

Calculates the standard Money Flow Index (MFI) oscillator alongside an exponential moving average signal line in a separate pane. The script visually highlights trend conditions through dynamic ribbon filling, optional difference histogram bars, and overbought

Indicator v4 Oscillators & momentumVolume
Updated 12 days ago · GPL-3.0 GitHub repository of Money Flow Index

Commitment Gauge

by harryguiacorn
220 stars

This indicator measures directional momentum by evaluating candlestick body proportions and volume over a user-defined lookback window. It computes the ratio of candle body to total range, weights the cumulative value by volume and absolute body size, and dete

Indicator v4 VolumeCandlestick patterns
Updated 1 year ago · None stated GitHub repository of Commitment Gauge

Aggregate Signal

by capissimo
114 stars

This indicator builds an aggregate oscillator in a separate pane. It scales open, high, low, close, and volume into a 0 to 1 range, then averages scaled readings from MACD, a MACD histogram, RSI, stochastic, CCI, momentum, OBV, a directional index, volume-weig

Indicator v4 Oscillators & momentumVolume Repaints
Updated 1 year ago · None stated GitHub repository of Aggregate Signal

This indicator calculates the Bill Williams Market Facilitation Index as the high-low range divided by volume, or zero when volume is zero. It compares the index and volume with the previous bar and assigns one of four zones: green for both rising, fade for bo

Indicator v6 VolumeOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Bill Williams Market Facilitation Index

PPO ATR Bands

by cryptorife
75 stars

PPO ATR Bands plots a percentage price oscillator in a separate pane. It compares a Hull average of typical price with a volume-weighted exponential average of Parabolic SAR, then scales three true-range bands around the slow average into matching oscillator l

Indicator v4 Oscillators & momentumMoving averages
Updated 3 years ago · GPL-3.0 GitHub repository of PPO ATR Bands

Chaikin Oscillator

by be-thomas
65 stars

Calculates the Chaikin Oscillator by taking the difference between a fast exponential moving average and a slow exponential moving average of the Accumulation/Distribution line. It plots the resulting line in a separate pane alongside a dashed zero reference l

Indicator v4 Oscillators & momentumVolume
Updated 6 days ago · GPL-3.0 GitHub repository of Chaikin Oscillator

More Oscillators & momentum scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers