Square Root BTC Cycle PredictorWelcome to the Square Root Cycle Predictor
If you have been watching Bitcoin for a few years, you already know it moves in massive and predictable waves. This indicator is designed to map out those waves using a simple but powerful mathematical concept.
The Math Behind the Magic
Why do we use square roots to predict BITSTAMP:BTCUSD ? The answer is simple. Bitcoin grows exponentially. When you look at a standard price chart, the early years look completely flat and the recent years look like a vertical wall. It is very hard to see the rhythm.
But when you apply a square root scale to the price, that exponential curve transforms into a straight diagonal line. Once the curve is straightened out, the market cycles start to look like a perfect staircase. This indicator measures the height of that staircase in steps.
How It Predicted Previous Cycles
The beauty of this model is that it relies on historical consistency. When we measure the past cycles on this square root scale, the numbers are incredibly clean.
Past bull markets have reached their tops at exactly 13, 21, and 23 steps.
Past bear markets have found their bottoms at exactly 8 and 14 steps.
The indicator automatically detects these legs and draws the geometric levels right on your chart. It does not guess. It just follows the mathematical staircase that Bitcoin has been climbing since 2015.
What Could Happen Next
Right now, the indicator is tracking the current bull market. Based on the historical rhythm, it projects two major things for the future.
First, it calculates where the next bear market bottom might be. It looks at three scenarios including a mild drop of 16 steps, a medium drop of 18 steps, and a severe drop of 20 steps from the cycle top. The table on your screen shows the exact price and estimated date for these scenarios.
Second, it projects the next massive bull market peak. It takes the primary bear market bottom and adds 25 steps to it. This projected top aligns beautifully with the historical time it takes to peak after a Bitcoin halving event.
How to Use This Tool
Look at the large table in the bottom right corner. It gives you the exact prices and dates for the current market status and future projections.
The horizontal grey lines are your geometric support and resistance levels.
The vertical lines show the estimated dates for the next major cycle events.
You can change the settings to adjust the step size or the starting price if you want to test different theories.
Markets are driven by human psychology, but human psychology often follows natural geometric patterns. This tool simply highlights those patterns.
Disclaimer: This indicator is built for educational and research purposes only. It is a mathematical hypothesis and not financial advice. Always do your own research and manage your risk. Indicator

Indicator

Universal Strategy Feed
User Manual: Universal Strategy Feed
The Universal Strategy Feed is a flexible Pine Script strategy designed to allow traders to backtest various technical entry signals and exit methodologies within a single, unified interface.
1. Overview
This script operates as a "meta-strategy." Instead of being hardcoded for a single indicator, it allows you to select from seven different signal types and customize how they trigger trades.
2. Configuration Settings
A. Signal Mode
The Signal Mode determines how the strategy identifies entry points. You can select the following modes:
Pulse: Uses a binary signal (+1/-1). Enters Long when Source A is positive, Short when negative.
Sign Cross: Enters Long when Source A crosses above a defined level, Short when it crosses below.
Level Cross: Traditional overbought/oversold logic (e.g., crossing 70/30 or 50/50).
Two Sources Cross: Compares two different indicators (e.g., crossing of two MAs or MACD vs. Signal line).
Two Trigger Sources: Simply checks if Source A (Long) or Source B (Short) is active.
Three Sources: Complex logic for combinations like KDJ or multi-MA filters.
Volume: Automatically detects volume spikes relative to an MA on green (buy) or red (sell) candles.
B. Sources
Source A/B/C: Select the specific indicator or price data (e.g., close, RSI, EMA) to act as the trigger for the selected Signal Mode.
Invert: A toggle to flip the logic (if you want to turn every buy signal into a sell, and vice versa).
C. Exits (TP/SL)
You can choose how to exit a trade using the TP/SL Method:
Signal: Exits only when the opposite signal is generated (Reversal mode).
Percent: Uses a fixed percentage for Take Profit and Stop Loss.
ATR: Uses Average True Range to set dynamic, volatility-based profit and loss targets.
D. Sizing & Filters
Contracts per trade: Sets the fixed quantity for each order.
Date Filter: Use this to restrict backtesting to a specific time window.
3. Quick Start Guide
Load the Strategy: Add the "Universal Strategy Feed" to your chart in PulseWire.
Select a Mode: Open the script settings and choose the Signal Mode that matches the indicator you intend to use.
Define Sources: Assign the indicators you are using to Source A, B, and C.
Set Exit Criteria: Navigate to the Exits tab to define how you want to manage your risk (Percent or ATR is recommended for most users).
Review Performance: Use the Strategy Tester tab at the bottom of the PulseWire interface to analyze the results. Strategy

Moving Average Structure MatrixMoving Average Structure Matrix is not a basic multi-MA ribbon.
The moving-average lines are only the visible base layer. The main contribution is a neutral MA structure layer that quantifies how the enabled moving averages are ordered, clustered, twisting, and positioned relative to the selected source.
This script is designed for traders who want quick structural context from multiple EMA/SMA lines without relying only on visual inspection. It is a context and visualization tool only. It does not provide trade-action instructions and it is not a trading system.
What it shows
- Up to 8 user-configurable EMA/SMA slots.
- A moving-average ensemble centerline.
- The high and low boundary of the enabled MA group.
- Optional fill between the MA bundle boundaries.
- A compact context table.
- Optional factual event labels.
- Neutral alert conditions for structure changes.
The MA lines are useful visually, but the structure layer is the main feature.
Core structure fields
Pairwise Stack Score
The script compares enabled moving averages pair by pair.
For each pair with different lengths, the shorter-length MA is treated as the faster MA and the longer-length MA as the slower MA.
If the faster MA is meaningfully above the slower MA, the pair contributes positively.
If the faster MA is meaningfully below the slower MA, the pair contributes negatively.
If the pair is too close to classify, it contributes as tied.
The Stack Score summarizes this pairwise ordering on an approximate -100 to +100 scale.
A positive Stack Score means shorter MAs are generally above longer MAs.
A negative Stack Score means shorter MAs are generally below longer MAs.
A value near zero means the group is mixed or tied.
Order Purity
Order Purity measures how much of the eligible pairwise structure agrees with the dominant side.
For example, a high positive Stack Score with high Order Purity describes a cleaner upward ordering of shorter and longer averages. A mixed pair structure will usually show lower purity.
Order Purity is descriptive only. It is not a forecast or a trade instruction.
Tie Ratio
Tie Ratio measures how many eligible MA pairs are too close to classify after applying the stack-separation threshold.
A higher Tie Ratio means more of the MA group is structurally tied or compressed into similar values.
Slope Consensus
Slope Consensus measures how many enabled moving averages are rising, falling, or flat over the selected slope lookback.
Each enabled MA receives a slope sign:
- rising
- falling
- flat
The Slope Score summarizes the group on an approximate -100 to +100 scale.
Bundle Width and Width Rank
The script calculates the high and low values of the enabled MA group.
Bundle Width measures the distance between those two boundaries.
Bundle Width % expresses that distance relative to the MA centroid.
Width Rank compares the current bundle width with its own recent history. This is a moving-average bundle context only. It is not a volatility regime and it does not forecast future movement.
Width context can read as:
- Clustered
- Middle width
- Wide bundle
- n/a
Twist Rate
Twist Rate describes internal reordering of the MA group.
For each eligible fast/slow pair, the script compares the current pair relationship with the previous bar's relationship. When a pair changes from one ordered side to the other, it counts as a twist.
Twist Rate summarizes how much internal crossing or reordering has occurred over the selected lookback.
This helps distinguish a clean MA structure from a churning or mixed MA group.
Fast/Slow Cohort Spread
The script can compare shorter-length and longer-length MA groups.
The fast cohort contains shorter MAs.
The slow cohort contains longer MAs.
Cohort Spread % compares the average position of the fast cohort with the average position of the slow cohort.
This gives a second view of the structure beyond individual pair comparisons.
Source-vs-Bundle location
The selected source can be:
- Above bundle
- Inside bundle
- Below bundle
- n/a
The script also calculates Bundle Position %, which describes where the source sits relative to the current MA bundle.
Values can be below 0 or above 100 when the source is outside the bundle.
Structure State
The script combines stack ordering, order purity, slope consensus, bundle width context, twist rate, and source location into a neutral state label.
Possible states include:
- Need 2+ MAs
- Need different MA lengths
- Warming up
- Ordered upward
- Ordered downward
- Upward stack / mixed slopes
- Downward stack / mixed slopes
- Churning bundle
- Clustered mixed bundle
- Flat bundle
- Transitioning upward
- Transitioning downward
- Intermixed
These states describe the current MA structure. They do not imply continuation or reversal.
Structure Age
Structure Age counts how long the current structure state has persisted.
The script uses distinct internal state IDs, so the age resets when the actual structure state changes, not just when broad direction changes.
Structure Fingerprint
The Fingerprint is a compact summary of the current MA structure.
Example:
O+ S+ Wm Pa A34
Meaning:
- O+ means positive stack polarity.
- O- means negative stack polarity.
- O0 means no clear stack polarity.
- S+ means positive slope consensus.
- S- means negative slope consensus.
- S0 means no clear slope consensus.
- Wc means clustered width.
- Wm means middle width.
- Ww means wide bundle.
- Wn means width unavailable.
- Pa means source above the bundle.
- Pi means source inside the bundle.
- Pb means source below the bundle.
- Pn means source location unavailable.
- A shows the current structure age.
The Fingerprint is a compact context summary. It is not a trade instruction.
Structure Footprint
The Footprint expands the context by combining:
- Structure age
- Previous state age
- Width motion
- Twist Rate
- Order Purity
- Tie Ratio
This helps users read how the MA group is currently organized without relying only on line spacing.
Context table
The default context table is compact and placed in the upper-right area.
Compact layout shows:
- State
- Fingerprint
- Stack Score
- Slope Score
- Width / Twist
- Price location
- Structure Age
Standard and Detailed layouts add more research fields, including:
- Footprint
- Order Purity
- Tie Ratio
- Twist Rate
- Cohort Spread
- Bundle Width %
- Width Rank
- Bundle Position %
- Enabled MA count
- Eligible pairs
- Equal-length pairs skipped
- Up / Down / Tied pair counts
- Fast / Slow cohort counts
- Centroid
- Bundle high
- Bundle low
- Active warm-up bars
- State ID
- Enabled MA names
Research fields are available in the Detailed context table without adding extra chart plots. The context table is the primary research surface.
Events and labels
Event labels are optional and off by default.
When enabled, labels are factual and neutral. They describe events such as:
- structure became ordered upward
- structure became ordered downward
- structure became intermixed
- bundle entered churning context
- bundle entered clustered width context
- bundle left clustered width context
- source moved above the MA bundle
- source moved below the MA bundle
- source crossed the MA centroid
Event markers use capped labels rather than plotshape markers, so the script stays within PulseWire's plot-count limit. Older labels are removed after the user-defined label cap is reached.
Alerts
The script includes factual alert conditions for the same structure events.
Alerts respect the selected confirmed-bar behavior by default. Intrabar mode is available, but realtime values can update until the bar closes.
Customization
Users can adjust:
- source
- slope lookback
- warm-up behavior
- EMA/SMA type for each MA slot
- length for each MA slot
- color, width, transparency, and name for each MA slot
- stack separation threshold
- ordered stack threshold
- order purity threshold
- slope flat threshold
- slope consensus threshold
- width-rank lookback
- clustered / wide width thresholds
- twist lookback
- churning twist threshold
- cohort split length
- automatic cohort split
- event persistence
- event cooldown
- context table layout
- context table position
- table text size
- table colors
- marker colors
- envelope colors
- fill transparency
Visual customization does not affect calculations.
Most input values are hidden from the chart status line by default to keep the chart label compact. All inputs remain available in the Settings / Inputs tab.
Different from other tools
This script does not use ATR channels, session shading, volatility-regime classification, VWAP, volume weighting, or RSI slope divergence.
It focuses only on the geometry of an enabled EMA/SMA ensemble.
Limitations
Moving averages lag by design.
A clean MA structure does not guarantee continuation.
A churning MA structure does not imply reversal.
MA order can persist, unwind, or flip.
Default lengths are common visual reference points, not optimized settings.
Width and cluster context are descriptive of the enabled MA group and its own history.
Changing enabled MAs, lengths, or thresholds changes the structure readings.
This script is not financial advice and not a trading system.
Japanese notes
このスクリプトは単なる複数移動平均線ではなく、EMA/SMA群の並び、純度、近接度、傾きの一致、束の広がり、ねじれ、価格位置、状態の継続時間を構造として表示する可視化ツールです。売買判断や将来予測ではなく、MA群の現在の構造を把握するための補助として設計しています。 Indicator

Indicator

Risk & Position-Size Calculator : Futures/Prop | Falcon AIStop blowing accounts to oversized positions. This free tool tells you EXACTLY
how many contracts to trade so a stop-out only costs the dollars you decided to
risk — on any futures symbol (MNQ, MES, NQ, ES, MGC, CL and more). It auto-detects
each contract's point value, so the math is always right.
It shows:
• Position size (contracts) for your account + risk %
• Your real $ risk, $/point, and 2R / 3R targets
• Prop-firm guardrails: how many losing trades until you breach your daily-loss
limit or trailing drawdown
• Prior-day high/low for context
Set your account size, risk %, and stop (manual or ATR-based) — it does the rest.
Built by Falcon AI. Educational tool only — not financial advice. Indicator

StrategyWebhookJsonOverview
Open-source Pine library that builds JSON strings for strategy alert_message webhooks. Use it when a strategy should send structured trade signals to an external webhook receiver instead of plain alert text.
What it does
The library formats JSON payloads for three actions:
• open — new position (side, volume, stop loss, take profit, symbol, price)
• close — close by signal id
• modify — update stop loss and take profit for an existing signal id
Each payload includes secret, signalId, action, and symbol (from syminfo.ticker). Optional fields are omitted when not applicable. Strings are JSON-escaped.
Delivery modes (Mode enum)
• LocalOnly — returns an empty string (no JSON in alert_message)
• CloudOnly — returns JSON for webhook alerts
• Both — same as CloudOnly for alert_message output
How to use
1. Import the library into your strategy.
2. Call init(secret, mode) once and store the result in a var Config.
3. Pass the result of openMsg, closeMsg, or modifyMsg to strategy.entry, strategy.close, or strategy.exit via the alert_message parameter.
4. Create a strategy alert and set the webhook URL in PulseWire alert settings (PulseWire Plus or higher required for webhook URL field).
Example pattern
var cfg = init("YOUR_SECRET", Mode.CloudOnly)
strategy.entry("Long", strategy.long,
alert_message = openMsg(cfg, "Long", "buy", 0.1, sl, tp))
strategy.close("Long",
alert_message = closeMsg(cfg, "Long"))
Requirements
• Pine Script v6
• A strategy script (not an indicator)
• Webhook URL configured on the alert, not inside this library
Notes
signalId should be stable and unique per logical order so close and modify can target the correct open. The secret is included in the JSON body for authentication at the receiver. Library

Indicator

Indicator

Endogenous Macro Heatmap [invincible3] Endogenous Macro Heatmap
The Endogenous Macro Heatmap is a multi-factor macroeconomic dashboard designed to show the internal economic condition of a selected country in a compact table format directly on the chart.
Unlike cross-country or exogenous comparison models, this indicator focuses on domestic macro conditions : growth, production, demand, liquidity, rates, inflation, employment, fiscal position, debt pressure, and central bank balance sheet behavior.
The goal is to help traders, investors, and macro analysts quickly assess whether a country’s internal economic backdrop is improving, neutral, weakening, or entering a stress phase.
The indicator uses a heatmap structure so that changes in the macro environment can be understood visually. Stronger readings are shown through the positive color gradient, weaker readings through the negative color gradient, and balanced or transition zones through the neutral color.
What This Indicator Measures
The heatmap tracks a broad set of endogenous macro variables, including:
GDP year-over-year growth
Manufacturing production / manufacturing index
New orders or capacity utilization
Building permits, construction output, construction orders, or housing starts depending on the selected country
Retail sales year-over-year
Money supply
10-year government bond yield
Interest rate
Inflation year-over-year
Employment-related data
Debt-to-GDP
Government budget
Central bank balance sheet
Because macro data availability differs across countries, the script automatically substitutes certain fields where required. For example, some countries may use construction output, construction orders, housing starts, or capacity utilization depending on what is available in the PulseWire economic database.
Supported Countries
The dashboard currently supports:
United States
United Kingdom
Euro Area
Germany
France
Italy
Canada
Japan
China
Australia
South Korea
New Zealand
Each country uses its corresponding PulseWire economic code where available.
Composite Macro Score
The final Score column converts multiple macro readings into a single composite score from 0 to 100.
The score is grouped into four macro blocks:
1. Growth Block
Includes GDP, manufacturing, new orders, construction/building activity, retail sales, and employment.
This block has the largest weight because real economic momentum is the primary driver of macro regime strength.
2. Liquidity Block
Includes money supply and central bank balance sheet data.
This block helps identify whether domestic liquidity conditions are expanding or contracting.
3. Tightness Block
Includes 10-year yield and interest rate conditions.
This block helps measure whether financial conditions are becoming easier or tighter.
4. Stability Block
Includes inflation, debt/GDP, and government budget data.
This block helps detect macro pressure from inflation, fiscal stress, or excessive debt burden.
The composite score is weighted as follows:
Growth: 45%
Liquidity: 20%
Tightness: 20%
Stability: 15%
Score Interpretation
The score is displayed as a clean numeric value without extra symbols, making the table easier to read.
General interpretation:
70–100: Strong macro condition
55–69: Positive / improving condition
45–54: Neutral / transition condition
30–44: Weak condition
Below 30: Stress condition
The score should not be interpreted as a direct buy or sell signal. It is a macro regime filter designed to provide context.
Heatmap Color Logic
The table uses a simple and consistent three-color structure:
Positive color: stronger or favorable macro readings
Neutral color: balanced or mid-range readings
Negative color: weaker or unfavorable macro readings
The color system is intentionally matched with the Exogenous Heatmap style, allowing both dashboards to be used together with a consistent visual language.
Each macro field also includes an **Up Good** setting. This allows the user to define whether higher values are favorable or unfavorable for each metric.
For example:
Higher GDP growth is generally positive.
Higher manufacturing activity is generally positive.
Higher liquidity can be positive.
Higher inflation, debt, or rates may be interpreted differently depending on the user’s macro framework.
This flexibility allows the heatmap to be adapted for different economic regimes and analytical preferences.
Auto and Manual Scaling
The indicator includes an automatic macro gradient scale.
When auto scaling is enabled, the heatmap normalizes each metric based on the visible historical table range. This makes the table visually adaptive and easier to compare across different periods.
Manual scaling is also available for users who prefer fixed macro ranges.
This is useful when comparing the same country across different time periods or when the user wants a stable visual reference.
Timeframe and History Controls
Users can select the table period:
Yearly
Quarterly
Monthly
Weekly
Daily
The data can be fetched by:
A fixed number of periods
A selected start date
This gives flexibility for short-term macro monitoring as well as longer-term economic cycle analysis.
Table Customization
The dashboard includes several table display settings:
Show or hide table
Select table position
Select table size
Customize positive, neutral, and negative colors
The table automatically adapts to the chart background and foreground colors for better readability on both dark and light chart themes.
How to Use
This indicator is best used as a macro context tool.
A practical workflow:
1. Select the country you want to analyze.
2. Choose the table period, such as monthly or quarterly.
3. Review the color trend across the macro fields.
4. Watch whether growth, liquidity, tightness, and stability are improving or deteriorating together.
5. Use the composite score as a broad internal macro regime filter.
6. Combine the macro backdrop with price action, trend, liquidity, sector rotation, and risk management.
For example:
A rising score with improving growth and liquidity may support a risk-on environment.
A falling score with weakening growth and tightening conditions may warn of macro deterioration.
A neutral score may indicate a transition period where markets can become more sensitive to new economic data.
Suggested Use Cases
This heatmap can be useful for:
Macro regime analysis
Country-level economic monitoring
Risk-on / risk-off context
Equity index analysis
Bond market context
Currency market macro background
Sector rotation research
Long-term investment cycle analysis
Comparing domestic conditions with external macro pressure when used together with an exogenous heatmap
Important Notes
Economic data can be revised, delayed, or unavailable depending on the country and PulseWire’s data coverage.
Some fields may not exist for every country, so the script uses alternative fields where possible.
The heatmap is designed for macro analysis and educational research. It does not predict price direction by itself and should not be used as a standalone trading system.
Always combine macro signals with technical analysis, market structure, liquidity conditions, and proper risk management.
Disclaimer
This script is for educational and analytical purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any asset.
Markets are influenced by many factors beyond macroeconomic data, including positioning, liquidity, earnings, policy changes, geopolitical events, and sentiment. Use this tool as one layer of a broader decision-making process.
Indicator

Indicator

Futures Rollover Volume MonitorFutures Rollover Volume Monitor
This indicator helps futures traders identify the most actively traded contract months in real time and spot the exact moment when volume begins rotating from the front-month contract to the next one — the rollover window that typically occurs 1–2 weeks before expiry.
How it works
The script automatically detects the root symbol from whatever futures instrument is on your chart (GC, ES, NQ, CL, SI, HG, and any other futures root). It then builds a list of individual contract tickers across all 12-month codes (F G H J K M N Q U V X Z) for the selected start year and number of years to scan, fetches the daily volume for each one via request.security(), filters out expired contracts using their last bar timestamp, and ranks the remaining active contracts by volume. Only the top 3 are displayed.
Key features
Auto-detects root symbol — works on any futures instrument without manual configuration
Always uses daily volume so numbers match your watchlist regardless of chart timeframe
Filters expired contracts by checking whether the contract's last bar is more than 7 days old
Ranks top 3 active contracts by today's volume, highest at the top
Shows previous day's volume and percentage change vs previous day for each contract
Rollover alert fires when the 2nd contract reaches 80% or more of the front month volume, turning the table frame red and displaying a warning banner
All 12 month codes enabled by default so it works across different futures schedules (quarterly, monthly, or custom)
Fully customisable colours, table position, and text size
How to use
Add the indicator to any continuous or individual futures chart. The table updates automatically. When you see the 2nd-ranked contract closing the gap on the 1st — especially in the days approaching expiry — that is your signal that the market is beginning to roll. Once rank 1 and rank 2 are very close in volume, most professional traders have already begun rolling their positions to the next contract.
Settings
Start Year — the first year of contracts to scan (set to current year to avoid showing expired contracts from prior years)
Years to scan — how many years forward to include (1 or 2)
Active Month Codes — toggle individual months on or off to match the contract schedule of your instrument
Show Previous Bar Volume — toggle the Prev and vs Prev columns
Highlight Rollover Alert — toggle the red frame and banner when rollover is imminent
Position / Text Size / Colours — visual customisation
Notes
Requires PulseWire Pro or higher due to the number of request.security() calls (24 per chart)
Best used on a daily chart or any intraday chart — volume is always fetched at the daily timeframe
If fewer than 3 active contracts are found the table will show only the contracts available
The footer displays how many active contracts were detected for the current instrument Indicator

Indicator

Indicator

Adaptive Smart Money Liquidity Sweep Levels [AlgoAlpha]🟠 OVERVIEW
Adaptive Smart Money Liquidity Levels tracks liquidity resting above and below price by detecting swing highs and lows across multiple lookback periods. Instead of displaying every historical level equally, it stores active liquidity zones, updates them over time, and removes them once price mitigates them.
The indicator also estimates the amount of liquidity accumulated around nearby levels using traded volume. This information is displayed through level opacity, a near-range liquidity balance chart, and an orderbook-style liquidity depth profile to provide context around where liquidity is concentrated.
🟠 CONCEPTS
Liquidity Level — Swing highs and swing lows detected from fast, medium, and slow lookback windows. Nearby levels are merged together to reduce duplicate levels. These levels are used to estimate the location of stop-loss orders, and volume + candle direction are used to estimate the buying/selling (and thus concentration of stop-loss orders) to determine the magnitude of orders at these levels.
Liquidity Depth — Volume is assigned to the nearest active liquidity levels based on candle direction and configurable distance weighting. The accumulated volume forms a depth profile around current price.
Mass Liquidation — Triggered when a candle body moves through two or more active liquidity levels on the same side, indicating multiple liquidity pools were cleared within a single move.
Stop-runs and Liquidity Dynamics — This script takes advantage of the concept of resting limit orders, and resting stop-loss orders. When a bar wicks a liquidity level instead of strongly trading through it, it implies a stronger amount of opposing pressure from both limit and market-orders than the pressure coming from clustered stop-losses, preventing a stop run and signalling a higher chance of that level holding and potentially a rebound. In simple terms, this indicator can be used as part of ICT and Smart Monet Concepts to help better understand a real liquidity sweep (marked by ▲▼) vs liquidation events (marked by highlighted candles) as both events usually require vastly different actions to capitalize on correctly.
🟠 FEATURES
Adaptive Liquidity Levels . Displays the nearest active liquidity above and below price.
• Level opacity increases as more volume accumulates.
• Levels automatically disappear after mitigation or when they exceed the selected maximum age.
• Levels represent accumulating stop loss orders as more trades occur (using volume and candle direction to estimate market orders)
Near Range Liquidity Balance . Shows the relative liquidity accumulated of the 3 nearest levels above and below current price using a two-column comparison chart.
Liquidity Depth Curve . Draws an orderbook-style cumulative depth profile beside price to visualize how liquidity builds further away from the current market.
Liquidation And Sweep Signals . Highlights candles that clear multiple liquidity levels and marks wick-only liquidity sweeps with directional markers.
🟠 HOW TO USE
Monitor liquidation labels and wick sweep markers to distinguish between full liquidity removals and liquidity that was only briefly tested. Liquidity removals imply weak levels while those that were wicked imply strong concentration of limit orders, useful for planning where to place stop losses or to time trade entries.
Watch the nearest liquidity levels to identify where resting liquidity is currently concentrated around price.
Compare the Near Range Liquidity Balance to see whether more liquidity is currently stacked above or below the market.
Use the Liquidity Depth Curve to estimate how liquidity changes as price moves further away from its current location.
🟠 CONCLUSION
Adaptive Smart Money Liquidity Levels combines multi-scale liquidity detection, volume-weighted liquidity accumulation, and mitigation tracking into a single view. By displaying active liquidity, nearby liquidity balance, and cumulative liquidity depth together, it provides additional context for where price is interacting with resting stop orders and how that structure changes over time. A key detail to note is that this script estimates the position and concentration of orders with proxies like swing levels and volume, and that the levels represent stop-loss orders, not limit orders. Indicator

Crypto: Fear & Greed Index [invincible3]Crypto: Fear & Greed Index
Crypto: Fear & Greed Index is a multi-factor sentiment oscillator designed to estimate crypto market risk appetite directly inside PulseWire. Instead of relying on a single RSI or momentum reading, this indicator combines several market proxies into one smoothed 0–100 sentiment index.
The model uses price momentum, volatility behavior, RSI strength, volume pressure, range position, crypto breadth, stablecoin dominance, TOTAL market trend, and BTC dominance context. These factors are auto-normalized into a composite Fear & Greed score.
The oscillator is divided into clear sentiment zones:
0–25: Extreme Fear
25–45: Fear
45–55: Neutral
55–75: Greed
75–100: Extreme Greed
The indicator also includes a market-regime layer to classify conditions as Bull / Risk-On, Bear / Risk-Off, or Mixed / Transition. This helps traders avoid interpreting fear and greed in isolation.
Key features:
• Multi-factor crypto sentiment model
• Auto-normalized Fear & Greed score
• Adaptive dark/light chart colors
• Risk-on / risk-off regime detection
• Crypto breadth using major market symbols
• Stablecoin dominance and BTC dominance context
• TOTAL and TOTAL2 market trend integration
• Fear, Neutral, and Greed oscillator zones
• Dashboard with index value, regime, bias, factor scores, and weights
• Visual Fear-to-Greed meter
• Accumulation, Risk, Trend, and Trim context markers
• Regular bullish and bearish divergence detection
• Divergence plotted on both price chart and oscillator
• Alerts for major sentiment transitions and divergence signals
How to interpret:
Extreme Fear does not automatically mean buy. In a bear regime, fear can continue and price may keep falling. Extreme Fear becomes more useful when the broader regime is improving or when bullish divergence appears.
Extreme Greed does not automatically mean sell. In a strong bull regime, greed can support continuation. However, extreme greed with fading momentum may indicate crowding risk, where trimming or reducing exposure may be considered.
The indicator works best as a sentiment and risk-context tool, not as a standalone buy/sell system. It should be combined with price structure, support and resistance, volume, trend filters, and risk management.
This indicator is designed primarily for crypto markets. It can be applied to BTC, ETH, altcoins, and other crypto symbols. BTC is not the only supported asset; BTC is used as one part of the broader market-context model.
Disclaimer:
This script is for educational and analytical purposes only. It does not provide financial advice. Always use proper risk management and confirm signals with your own trading plan.
Indicator

US Sector Rotation vs SPY - Relative StrengthUS Sector Rotation vs SPY vergleicht die Performance der wichtigsten US-Sektor-ETFs mit dem S&P-500-Benchmark SPY.
Das Script dient dazu, relative Stärke und Schwäche einzelner Sektoren schneller zu erkennen. Dadurch lassen sich Marktrotationen besser einordnen und potenziell interessante Sektoren für die weitere Underlying-Auswahl identifizieren.
Enthalten sind unter anderem die großen US-Sektor-ETFs wie XLK, XLC, XLY, XLI, XLB, XLE, XLP, XLV, XLU, XLF und XLRE. SPY dient als Benchmark.
Das Script berechnet die Performance direkt im Pine Script. Deshalb sollte die PulseWire-Skala regulär bleiben und nicht zusätzlich auf Prozent oder indexierte Darstellung umgestellt werden.
Funktionen:
Vergleich der absoluten Sektor-Performance
Darstellung der relativen Performance gegenüber SPY
wählbare Performance-Fenster: 21, 63, 126, 252 oder eigene Handelstage
Standardwert für eigene Handelstage: 90
Ranking-Tabelle nach relativer Stärke gegenüber SPY
Startpunkt-Markierung der Performance-Berechnung
optionale Endlabels mit Verbindungslinien
Interpretation:
Ein positiver Wert in der Spalte „vs SPY“ zeigt, dass der jeweilige Sektor den Gesamtmarkt im gewählten Zeitraum outperformt. Ein negativer Wert zeigt relative Schwäche gegenüber SPY.
Das Script ist kein Entry- oder Exit-Signal. Es ist als Analysewerkzeug gedacht, um Sektorrotation, relative Stärke und mögliche Underlying-Kandidaten besser vorzuselektieren.
Für Stillhalterstrategien wie Short Puts oder Bull Put Spreads kann die Ansicht helfen, Sektoren mit stabiler oder überdurchschnittlicher relativer Stärke zu identifizieren. Die finale Bewertung sollte jedoch immer zusätzlich Liquidität, IV Rank, Bid/Ask-Spreads, Unterstützungszonen, Earnings- und Eventrisiken sowie Positionsgröße berücksichtigen. Indicator

Indicator

Indicator

Brownian Motion Residual [JOAT]BROWNIAN MOTION RESIDUAL
A regime classifier rooted in the sqrt(T) scaling law of geometric Brownian motion. Under a true random walk, the standard deviation of T-bar returns scales as σ₁ · √T — that is the central fact of Brownian motion in continuous time. Markets violate this scaling in revealing ways: when they trend, dispersion at long horizons grows faster than √T; when they mean-revert, it grows slower. Brownian Motion Residual measures that violation across three horizons simultaneously, aggregates it, and surfaces a single Z-like residual that classifies the market into Strong MR / MR / Random / Trend / Strong Trend.
The sqrt(T) scaling law, restated
For a Brownian process with per-bar volatility σ₁:
σ(T-bar return) = σ₁ · √T
For a real market the observed σ at horizon T can be measured directly. The residual is the deviation of the observed value from the Brownian-implied value:
residual(T) = σ_observed(T) − σ₁ · √T
When the residual is positive , dispersion at T is greater than Brownian predicts — the market is trending (price travels further than a random walk in T bars). When it is negative , dispersion is less than Brownian predicts — the market is mean-reverting (price ends up closer to home than a random walk would).
Optional normalisation by σ₁ · √T turns the residual into a unit-less percentage of expected dispersion, so the same threshold values are meaningful across instruments and timeframes.
Three horizons, weighted blend
A single horizon is noisy. Brownian Motion Residual reads three horizons simultaneously (default 5 / 20 / 100 bars), each independently toggleable and weighted (default 1.0 each). The horizons are aggregated into a single residual line — the script's headline metric. Toggling off the short horizon makes the read smoother and slower; toggling off the long horizon makes it more reactive. Configurable.
A configurable EMA on top of the aggregated residual suppresses single-bar noise without lagging the regime view.
Two-tier classification
The aggregated residual is mapped to one of five regimes by two symmetric thresholds (default ±1 mild, ±2 strong):
Strong Trend — residual > +2. Aggressive momentum regime.
Trend — residual between +1 and +2. Trending.
Random — residual between −1 and +1. Brownian-like.
MR — residual between −2 and −1. Mean-reverting.
Strong MR — residual < −2. Aggressive reversion regime.
Visual system
Slope-coloured residual line with configurable width and optional area fill under it (transparency configurable).
Zero line and ±1 / ±2 threshold lines (toggleable).
Background tint by regime (subtle 88 transparency default) — teal trend, lavender MR, mint random.
Per-horizon plots (toggleable, off by default) — each horizon's residual as a faint dotted overlay; useful for seeing which horizon is driving the read.
Regime-change dots above the line at every confirmed flip.
A locked Aurora palette (teal trend / lavender MR / mint random on a deep-night ground) gives the pane a distinctive structural identity.
Dashboard
Monospaced table, positionable to any of nine corners, with vertical row-fade. Surfaces:
Aggregated residual (raw and smoothed).
Regime classification with glyph.
σ₁ value (the Brownian anchor).
Per-horizon residuals (h1 / h2 / h3) when enabled.
Bars in current regime.
Distance to nearest threshold.
Optional fancy Unicode header for the institutional aesthetic.
Alerts
Three alert conditions, each independently controllable:
Regime Change (any classification flip)
Strong threshold cross (±2)
Mild threshold cross (±1) — off by default
How to read it
Three reads, in order of conviction:
Strong Trend / Strong MR entry — the highest-conviction read. The market has decisively departed from Brownian scaling in one direction. Pair with a momentum tool in Trend regimes, a reversion tool in MR regimes.
Residual crossing zero — the regime fault line. Even before crossing a threshold, a sustained sign flip means the underlying distribution has rotated; the next threshold cross will confirm the new regime.
Per-horizon disagreement (when enabled) — when the short horizon is in trend regime but the long horizon is in MR regime, the market is in a nested state: short-term momentum inside a longer reversion. This is the textbook setup for fade-the-extreme intraday plays inside a wider range.
Suggested settings
Defaults (σ₁ window 100, observed σ window 60, horizons 5/20/100, equal weights, log returns ON, normalisation ON) are tuned for 15m–4H on liquid markets. For lower timeframes drop horizon 3 to 50. For HTF (daily+) raise horizon 3 to 200 and σ₁ window to 200. Log returns are theoretically correct and the recommended default — the script's regime classification depends on the scaling law, which assumes log returns; switch off only for research.
Originality
The √T Brownian scaling law is textbook continuous-time finance — the central piece of Bachelier's 1900 thesis and the foundation of every diffusion model in pricing. The implementation here — the per-horizon σ measurement pipeline, the σ₁-anchored Brownian baseline with optional normalisation, the three-horizon weighted aggregation, the EMA-smoothed residual classifier with two-tier thresholds, the per-horizon overlay layer, the regime-tinted background, and the dashboard — is JOAT-original. No third-party code reused. The use of residual against Brownian as a regime classifier is the original quantitative contribution.
Limitations
The √T law is exact only for Brownian motion — real markets have fat tails, autocorrelation, and discrete bars, so the measured "residual" is always non-zero even in a regime that looks random. The thresholds (±1 / ±2) are calibrated to be the regime boundaries empirically; tighten or loosen if your instrument has unusual variance behaviour. Per-horizon σ values need their respective windows populated to be meaningful — early bars give a warm-up read.
—
-made with passion by jackofalltrades
Indicator

Panel S-500s-500 is a multi-timeframe market dashboard designed to give a fast and clean view of the current market context.
the tool combines trend, rsi, macd, adx, volume, volatility, sessions, killzones, vwap, moving averages, momentum, compression, expansion and general market bias inside one compact panel.
the goal of s-500 is not to replace your strategy. it is built to help you read the market environment before taking a trade. it can be used as a confirmation tool, a market filter, or a quick decision dashboard.
main features
multi-timeframe trend reading
multi-timeframe rsi reading
multi-timeframe macd reading
multi-timeframe adx reading
volume analysis
obv direction
volume moving average status
volume trend
vsa activity
stochastic direction
vwap bias
ema 20, ema 26, ema 50 and ema 200 context
rsi slope
ema 20 slope
range to atr ratio
body ratio
atr slope
volume delta
compression and expansion reading
tokyo, london, new york and sydney session status
london and new york killzone status
market bias
suggested action
market regime
momentum strength
volatility status
trend strength
market phase
risk environment
how to use s-500
enable the panel from the settings.
start by looking at the bias line.
if bias shows bullish, the market context is mostly bullish.
if bias shows bearish, the market context is mostly bearish.
if bias shows neutral, the market does not have a clear directional structure.
then check the action line.
buy means the current conditions are more favorable for long setups.
sell means the current conditions are more favorable for short setups.
wait means the market is not clean enough and it may be better to wait.
after that, check the regime line.
trend up means the market is moving in an upward structure.
trend down means the market is moving in a downward structure.
range means the market is more sideways and less directional.
unclear means the structure is not strong enough to define a clean regime.
beginner tutorial
1. check the bias first
the bias gives the main direction of the market.
bullish bias means buyers are stronger.
bearish bias means sellers are stronger.
neutral bias means the market is mixed.
a beginner should avoid trading against the bias.
2. check the action
the action line gives a simple reading of the current context.
buy means you should mainly look for long opportunities.
sell means you should mainly look for short opportunities.
wait means conditions are not clean enough.
this does not mean you should enter immediately. it means the market context is more favorable in that direction.
3. check the trend mtf section
the trend mtf section shows if multiple timeframes are bullish or bearish.
when most timeframes are bullish, the market has stronger upward alignment.
when most timeframes are bearish, the market has stronger downward alignment.
when timeframes are mixed, the market may be unstable or ranging.
4. check rsi mtf
rsi above 50 usually supports bullish momentum.
rsi below 50 usually supports bearish momentum.
if rsi is growing across several timeframes, momentum is improving.
if rsi is falling across several timeframes, momentum is weakening.
5. check macd mtf
macd above 0 supports bullish pressure.
macd below 0 supports bearish pressure.
a growing macd means momentum is increasing.
a falling macd means momentum is decreasing.
6. check adx mtf
adx helps estimate trend strength.
a stronger adx can confirm that the market has directional force.
a weak adx can indicate a range or a low-quality trend.
7. check vwap
if price is above vwap, buyers have more control.
if price is below vwap, sellers have more control.
vwap is useful for intraday trading and quick market context.
8. check volatility
high volatility means the market is moving aggressively.
low volatility means the market is calmer.
high volatility can create opportunities, but it also increases risk.
low volatility can create slow or choppy price action.
9. check market phase
expansion means the market is moving with more range and energy.
compression means the market is becoming tighter and less volatile.
neutral means there is no strong expansion or compression signal.
10. check risk environment
favorable means the environment is cleaner for trading.
dangerous means conditions may be unstable or risky.
neutral means the market is not clearly favorable or dangerous.
example of bullish use
the panel shows:
bias bullish
action buy
regime trend up
momentum strong
price above vwap
ema 50 above ema 200
rsi above 50 on several timeframes
macd growing on several timeframes
in this case, the trader can focus only on long setups.
a beginner could wait for a pullback, a support retest, a bullish candle confirmation, or a clean continuation signal before entering.
example of bearish use
the panel shows:
bias bearish
action sell
regime trend down
momentum strong
price below vwap
ema 50 below ema 200
rsi below 50 on several timeframes
macd falling on several timeframes
in this case, the trader can focus only on short setups.
a beginner could wait for a rejection from resistance, a bearish retest, a breakdown, or a continuation signal before entering.
example of range use
the panel shows:
bias neutral
action wait
regime range
momentum weak
volatility low
mixed trend mtf
weak adx
in this case, the market does not have a clean direction.
a beginner should be careful, reduce risk, or wait for a clearer breakout with stronger volume and momentum.
example of session use
if london or new york is active, the market may have more movement.
if a killzone is active, volatility can increase.
if all sessions are quiet, the market may be slower.
sessions should not be used alone. they are best used with trend, volume, volatility and structure.
settings
enable panel
turns the dashboard on or off.
position
selects where the panel appears on the chart.
aggressive mode
enables a more aggressive context reading. this can be useful for faster traders, but it may also react earlier and with more sensitivity.
ema fast
sets the fast ema used for trend calculations.
ema slow
sets the slow ema used for trend calculations.
rsi length
sets the rsi period.
adx length
sets the adx period.
best practices
use s-500 as a market filter before entering a trade.
avoid buying when the panel shows a strong bearish context.
avoid selling when the panel shows a strong bullish context.
look for alignment between bias, action, trend, rsi, macd, vwap, volume and volatility.
do not enter only because one line is bullish or bearish. stronger setups usually appear when several elements confirm the same direction.
s-500 can be useful for:
scalping
intraday trading
trend confirmation
multi-timeframe analysis
filtering weak signals
avoiding bad market conditions
reading momentum
reading volatility
session awareness
market preparation before entry
important note
s-500 does not guarantee profit.
it should be used with proper risk management, position sizing, stop loss placement and personal analysis.
no indicator can predict the market with certainty. the best use of this tool is to combine it with structure, support and resistance, volume, trend, volatility and disciplined risk management. Indicator

Indicator

Tomukas Daily Scale-In
I used to think entries were everything.
The more I trade, the more I think most traders are obsessed with the wrong thing.
Everyone wants the perfect entry.
Nobody talks about what happens after the trade is open.
This strategy is built around an idea I've been testing for a long time:
Build the position. Don't marry the entry.
The Daily timeframe is where this framework makes the most sense.
Less noise.
Less stress.
Less staring at charts.
You get a signal, build the position if needed, and let the market do its thing.
Current forward testing is sitting around 7.8% drawdown, which is one of the reasons I keep pushing this framework forward.
Not because it's perfect.
Because it's realistic.
No martingale.
No doubling forever.
No holy grail.
Just trend, position building, and patience.
Most of my scripts end up evolving around the same thing:
Scale-ins.
Because after years of testing indicators, filters, confirmations, and fancy ideas, position management ended up mattering more than almost everything else.
If you decide to test it, let me know what market you're running it on.
And if you find value in the work, boost the script.
It genuinely helps.
Forward testing tools, tracker, and the full framework are in the link in my bio.
— Tomukas
Strategy
