OPEN-SOURCE SCRIPT
Aktualisiert

Plasma Flow [LunqFX]

1 141
Plasma Flow is a VWAP-based market regime and signal engine designed to help traders answer one question before taking any trade:

Is the market actually tradable right now?

Most VWAP tools only show where price is relative to fair value. Plasma Flow goes further by measuring how price is behaving around VWAP through four live dimensions: velocity, pressure, turbulence, and multi-timeframe flow bias.

The goal is simple:
filter out noisy conditions, highlight cleaner environments, and rank signals by quality instead of printing entries everywhere.


WHAT THIS INDICATOR DOES

Plasma Flow builds a dynamic VWAP structure with inner and outer statistical bands, then evaluates the market through a regime model.

Snapshot

It shows:

• Regime — whether the market is in Laminar Flow, Expansion, Contraction, Breakout, or Consolidation
• Velocity — how fast VWAP is moving relative to current volatility
• Pressure — how far price is stretched from VWAP
• Turbulence — whether the market is calm enough to trust signals
• Flow Bias — whether current and higher timeframes agree on direction
• Signal Quality — a simple 1 to 5 score for each setup
• Next Target — the nearest projected band level from current price

This makes Plasma Flow useful both as a standalone decision tool and as a market-condition filter for existing strategies.

💡 WHAT IS VWAP AND WHY IT MATTERS

VWAP stands for Volume Weighted Average Price. It is the
average price that all buyers and sellers have paid over a
period of time, weighted by how much volume traded at each
price. Banks, hedge funds and institutional traders use VWAP
as their primary benchmark.

Here is why this matters for you:

When price is far above VWAP, institutions look to sell.
When price is far below VWAP, institutions look to buy.
This creates a gravitational pull — price tends to return
to VWAP after stretching too far in either direction.

Plasma Flow measures exactly how far price has stretched,
whether the stretch is real or just noise, and whether
conditions favor a snap-back entry right now.

📏 WHAT IS σ (SIGMA) — EXPLAINED SIMPLY

Sigma (σ) is a measure of distance from average, adjusted
for how volatile the market currently is.

Think of it like this:

On a calm day, if price moves $10 away from VWAP that might
be extreme. On a volatile day, $10 is nothing — price does
that every 5 minutes. Sigma automatically adjusts for this.

1.0σ = price is moderately stretched from VWAP
2.0σ = price is significantly stretched — reversal zone
3.0σ = price is at an extreme — statistically rare

The outer bands on the chart are drawn at ±1.5σ and ±2.8σ.
When price touches the 1.5σ band, that is your entry trigger.
When price reaches 2.8σ, that is your hard stop and extreme
take-profit zone. No guessing required — the math does it.

🌊 THE 5 MARKET REGIMES — WHAT EACH MEANS

The Regime banner is the first thing to check every time
you open a chart. Here is what each state means in plain
English and what to do in each one:

LAMINAR FLOW — 🟢 Best conditions

The market is moving smoothly and predictably. Price is
trending cleanly without random spikes and reversals.
Institutional flow is dominant — retail noise is low.

What to do: This is when you trade. All signals that fire
in LAMINAR FLOW have the highest probability. Watch for
signal labels and check the Quality Score. LAMINAR + ★★★
or above is your ideal setup.

EXPANSION — 🟡 Momentum building

Price is accelerating away from VWAP. Momentum is building
and the market is starting to trend. This can precede a
breakout or a sharp reversal when it runs out of energy.

What to do: Do not fight the move. If a LONG signal fires
during EXPANSION, it is a trend-continuation play.
If you are already in a trade, hold and trail your stop.

CONTRACTION — 🟠 Energy compressing

Price is pulling back toward VWAP after a stretch. Momentum
is slowing. This is the mean-reversion sweet spot — price
returning from an extreme to its fair value.

What to do: Watch carefully. This is often when the best
reversal signals appear. A SHORT signal during CONTRACTION
after a high-sigma stretch is a high-quality mean-reversion
trade. Check pressure reading — if it is HIGH or EXTREME,
the snap-back is likely strong.

BREAKOUT — 🔴 High volatility, be careful

Price has broken outside the normal bands and volatility
is spiking. This can be a genuine trend start or a stop-hunt
followed by reversal. Either way — unpredictable.

What to do: No new entries. If you are in a trade already,
tighten your stop or take partial profits immediately.
Wait for the regime to stabilize back to LAMINAR before
looking for new entries. Chasing breakouts is where most
retail traders lose money.

CONSOLIDATION — ⚫ No edge, no trade

Price is stuck in a tight range around VWAP. There is no
clear direction and no momentum. Both buyers and sellers
are balanced — nobody is winning. Signals that fire here
have low follow-through and are not worth trading.

What to do: Close the chart and find another instrument.
There is no edge here. Trading consolidation is paying
spread and swap for random outcomes.

🌀 WHAT IS TURBULENCE — THE MOST IMPORTANT NUMBER

Turbulence is the single most important reading in the panel.
Think of it exactly like weather turbulence on a flight.

When turbulence is low — the flight is smooth, you can
walk around the cabin, everything is predictable.

When turbulence is high — even experienced pilots tell
everyone to sit down and buckle up, because they cannot
predict what comes next.

Markets work the same way.

Turbulence measures how erratic current price movement is
compared to the past 50 bars of normal behavior. It compares
right-now volatility to the average volatility baseline.

CALM (below 0.8) — The market is in smooth, predictable flow.
Price movements follow logic. This is when signals fire and
when trades have the highest probability of working.

MIXED (0.8 to 1.3) — Some noise present. Signals still appear
but reduce your position size. Not ideal but tradeable with
caution.

CHAOTIC (above 1.3) — The market is erratic and unpredictable.
No signals fire in this state regardless of what price does.
This is by design — these are exactly the conditions where
indicator-based trading fails and accounts get damaged.

This gating system alone — suppressing all signals when
turbulence is too high — is what separates Plasma Flow
from 90% of indicators on TradingView that generate signals
regardless of market conditions.

⚡ VELOCITY — IS MOMENTUM REAL OR FAKE?

Standard momentum indicators measure raw price speed.
The problem is that a 50-pip move on a calm Tuesday is
very different from a 50-pip move during NFP news.
Raw speed without context is meaningless.

Plasma Flow measures velocity as price speed divided by
current market noise. This means you are always seeing
momentum relative to what is normal for right now,
not what was normal 3 months ago.

CRASH — Price is collapsing extremely fast relative to
current volatility. A powerful move with real force behind it.
Mean-reversion coming.

FALLING / DOWN — Bearish momentum of varying strength.
FLAT — No meaningful direction. Market is resting.
UP / RISING — Bullish momentum building.

SURGE — Price is spiking extremely fast. Same logic as CRASH
but in reverse — a powerful move that often exhausts itself.

When VELOCITY shows CRASH or SURGE at the same time as
PRESSURE shows HIGH or EXTREME, you have the most powerful
mean-reversion setups the indicator produces.


🔭 WHY 3 TIMEFRAMES INSTEAD OF ONE

Snapshot

Here is a common trap: you are trading on the 15-minute
chart and see a perfect LONG signal. But on the 1-hour chart,
price is in a clear downtrend. You enter long — and price
drops straight through your stop loss.

Your lower timeframe signal was technically correct.
The higher timeframe context invalidated it completely.

Plasma Flow solves this by computing VWAP velocity
independently on three timeframes simultaneously — your
current chart, plus two higher timeframes (default H1 and H4).
It then shows you in the panel whether all three are pointing
in the same direction.

3/3 — Full alignment. All timeframes agree.
Highest conviction entries. Size up.

2/3 — Partial alignment. Two out of three agree.
Acceptable entry. Standard size.

1/3 — Conflicting signals. Timeframes disagree.
Skip the trade entirely. The market has no clear direction.

This multi-timeframe filter alone prevents a large percentage
of the false entries that kill most trading strategies.

⭐ QUALITY SCORE — YOUR POSITION SIZING GUIDE

Every signal gets a score from 1 to 5 stars. Think of this
as a confidence rating that tells you how much to risk.

★☆☆☆☆ POOR
Only one condition was met. This signal has no edge above
random chance. Do not trade it. Use it only for practice
or study.

★★☆☆☆ WEAK
Minimum threshold reached. Two conditions aligned.
If you trade it, use half your normal position size
and tighter stop. Acceptable for scalpers only.

★★★☆☆ GOOD
Three conditions aligned. This is a genuine signal with
real statistical backing. Standard entry with your
normal risk per trade.

★★★★☆ STRONG
Four conditions aligned. Everything is working together —
pressure, turbulence, and timeframe alignment are all
confirming. This is a high-conviction entry.
Consider sizing up 1.5x your standard risk.

★★★★★ PERFECT
All conditions simultaneously optimal. Extreme pressure,
very clean turbulence, full 3/3 timeframe alignment and
combined condition bonus all triggered at once.
This happens rarely — when it does, it tends to be
the highest quality trade of the week or month.

📋 HOW TO TRADE WITH PLASMA FLOW
Step-by-step — from chart open to trade close

STEP 1 — Open the chart and check REGIME first.
Look at the colored banner at the top of the panel.
LAMINAR FLOW = green light. Anything else = caution or skip.

STEP 2 — Check TURBULENCE.
CALM only for full-size entries. MIXED = half size max.
CHAOTIC = close the chart and find another instrument today.

STEP 3 — Check FLOW BIAS.
Look at the three timeframe arrows. Need 2/3 minimum.
If the arrows conflict (one up, two down or vice versa),
wait for alignment before looking for entries.

STEP 4 — Wait for a signal label on the chart.
▲ LONG appears below price in green.
▼ SHORT appears above price in red.
The label shows star rating and sigma reading.

STEP 5 — Read the sigma on the label.
This tells you how stretched price is right now.
-1.58σ on a LONG means price is 1.58 standard deviations
below VWAP — a meaningful stretch with reversal potential.
Higher absolute value = stronger mean-reversion setup.

STEP 6 — Confirm Quality Score is ★★★ or above.
Below ★★★ = skip or paper trade only.
★★★ to ★★★★★ = real entry with appropriate size.

STEP 7 — Set your stop loss.
For swing trades: just beyond the outer band (2.8σ level).
For scalps and day trades: just beyond the inner band
(1.5σ level on the other side of VWAP).

STEP 8 — Use NEXT TGT as take-profit reference.
The panel shows the nearest VWAP band from current price
with percentage distance. This is your first target.
At minimum take 50% off at NEXT TGT and trail the rest.

STEP 9 — Monitor REGIME while in the trade.
If regime switches to TURBULENT or BREAKOUT after entry,
exit the trade immediately regardless of P&L.
The market conditions that validated your entry no longer
exist. Do not wait for price to confirm — get out.


⚙️ SETTINGS EXPLAINED FOR BEGINNERS


VWAP Window — default 50
This is how many bars are used to calculate the average.
Smaller number = faster, more signals, more noise.
Larger number = slower, fewer but cleaner signals.
Day traders on M15: try 20-30.
Swing traders on H4: try 80-100.
Start with default 50 and only change after you understand
how the indicator behaves on your instrument.

Inner Band σ — default 1.5
This is the trigger line for signals. At 1.5 sigma,
price is moderately stretched — enough to have a reversal
edge but not so extreme that you are always waiting.
Increase to 2.0 if you only want to trade very stretched
extremes. Decrease to 1.2 for more frequent signals.

Outer Band σ — default 2.8
This is the extreme zone. Price reaching here is statistically
rare — less than 5% of the time. Use this as your hard stop
reference and maximum stretch target.

Cooldown Bars — default 5
After a signal fires, no new signal can appear for this
many bars. This prevents the indicator from giving you
3 signals in a row on the same price level.
On M15 increase to 10. On H1 keep at 5.

Reversal Filter — default ON
Requires a real reversal candle (pin bar or engulfing)
for the signal to appear. This removes the majority of
false entries. Keep it ON unless you know what you are doing.

TF 2 and TF 3 — default H1 and H4
The two higher timeframes used for confluence calculation.
For crypto day trading try H4 and D1.
For M5 scalping try M15 and H1.
The default H1 and H4 works well for most forex instruments.

🌍 WHAT MARKETS AND TIMEFRAMES

Plasma Flow works on any liquid market with volume data:

Forex majors and minors — EURUSD, GBPUSD, USDJPY,
AUDUSD, USDCAD, EURGBP and all crosses

Crypto — BTCUSD, ETHUSD, SOLUSD and all major pairs
on Binance, Coinbase, Bybit

Commodities — XAUUSD (Gold), XAGUSD (Silver), USOIL, UKOIL

Indices — SPX500, NAS100, DAX40, FTSE100, NIKKEI

Stocks — Any US or EU stock with meaningful daily volume

Best timeframes by trading style:
Scalping → M5, M15 (set TF2=M15, TF3=H1)
Day trading → M15, H1 (default settings)
Swing trade → H4, D1 (set TF2=D1, TF3=W1, Window=80)


⚠️ RISK DISCLAIMER

Plasma Flow is an analytical tool designed to support
your trading decisions. It does not guarantee profitable
trades. All financial markets carry significant risk of
loss, including your entire account balance.

Use proper position sizing on every trade. Never risk
more than 1-2% of your account on a single signal.
Backtest thoroughly on your specific instrument and
timeframe before using real money. Past signal accuracy
does not guarantee future performance.

Trading is risky. Use this tool as part of a complete
trading plan that includes risk management rules you
follow every single time without exception.

Versionshinweise
v2.0 — Added ATR and Volume rows to the info panel. ATR compares current volatility to its 50-bar average. Volume shows relative strength vs 20-bar mean.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.