Bitcoin: Pi Cycle Top & Bottom Indicator Z ScoreIndicator Overview
The Pi Cycle Top Indicator has historically been effective in picking out the timing of market cycle highs within 3 days.
It uses the 111 day moving average (111DMA) and a newly created multiple of the 350 day moving average, the 350DMA x 2.
Note: The multiple is of the price values of the 350DMA, not the number of days.
For the past three market cycles, when the 111DMA moves up and crosses the 350DMA x 2 we see that it coincides with the price of Bitcoin peaking.
It is also interesting to note that 350 / 111 is 3.153, which is very close to Pi = 3.142. In fact, it is the closest we can get to Pi when dividing 350 by another whole number.
It once again demonstrates the cyclical nature of Bitcoin price action over long time frames. However, in this instance, it does so with a high degree of accuracy over Bitcoin's adoption phase of growth.
Bitcoin Price Prediction Using This Tool
The Pi Cycle Top Indicator forecasts the cycle top of Bitcoin’s market cycles. It attempts to predict the point where Bitcoin price will peak before pulling back. It does this on major high time frames and has picked the absolute tops of Bitcoin’s major price moves throughout most of its history.
How It Can Be Used
Pi Cycle Top is useful to indicate when the market is very overheated. So overheated that the shorter-term moving average, which is the 111-day moving average, has reached an x2 multiple of the 350-day moving average. Historically, it has proved advantageous to sell Bitcoin around this time in Bitcoin's price cycles.
It is also worth noting that this indicator has worked during Bitcoin's adoption growth phase, the first 15 years or so of Bitcoin's life. With the launch of Bitcoin ETF's and Bitcoin's increased integration into the global financial system, this indicator may cease to be relevant at some point in this new market structure.
Added the Z-Score metric for easy classification of the value of Bitcoin according to this indicator.
Created for TRW
Cycles
Investor Tool - Z ScoreThe Investor Tool is intended as a tool for long term investors, indicating periods where prices are likely approaching cyclical tops or bottoms. The tool uses two simple moving averages of price as the basis for under/overvalued conditions: the 2-year MA (green) and a 5x multiple of the 2-year MA (red).
Price trading below the 2-year MA has historically generated outsized returns, and signalled bear cycle lows.
Price trading above the 2-year MA x5 has been historically signalled bull cycle tops and a zone where investors de-risk.
Just like the Glassnode one, but here on TV and with StDev bands
Now with Z-SCORE calculation:
The Z-Score is calculated to be -3 Z at the bottom bands and 3 Z at the top bands
mean = (upper_sma + bottom_sma) / 2
bands_range = upper_sma - bottom_sma
stdDev = bands_range != 0 ? bands_range / 6 : 0
zScore = stdDev != 0 ? (close - mean) / stdDev : 0
Created for TRW
Bitcoin Cycle Master Z-ScoreThe "Bitcoin Cycle Master Z-Score" indicator is designed for in-depth, long-term analysis of Bitcoin's price cycles, using several key metrics to track market behavior and forecast potential price tops and bottoms. The indicator integrates multiple moving averages and on-chain metrics, offering a comprehensive view of Bitcoin’s historical and projected performance. Each of its components plays a crucial role in identifying critical cycle points.
The Z-Score is calculated between the 3 lower bands and the 2 upper bands
top_bands = (DeltaTop() + TerminalPrice())/2
bottom_bands = (BalancedPrice() + CVDD() + RealizedPrice())/3
The Z-Score is calculated to be -3 Z at the bottom bands and 3 Z at the top bands
mean = (top_bands + bottom_bands) / 2
bands_range = top_bands - bottom_bands
stdDev = bands_range != 0 ? bands_range / 6 : 0
zScore = stdDev != 0 ? (close - mean) / stdDev : 0
Created for TRW
Fixed 4H BTC/Altcoins Correlation for Scalping
Fixed 4H Timeframe: The calculation is hardcoded to the 4-hour timeframe. This ensures the correlation value remains stable and relevant for structural analysis while you trade on lower timeframes.
Clean On-Screen Display: Instead of a separate plot line that can clutter the chart, the indicator displays the correlation value in a clean, simple table in the top-right corner.
Dynamic Coloring: The correlation value is color-coded for quick visual assessment:
Green: Strong correlation (> 0.70)
Yellow: Moderate correlation (0.30 to 0.70)
Red: Weak or negative correlation (< 0.30)
Customizable Inputs: Users can easily configure the BTC symbol (e.g., BINANCE:BTCUSDT, COINBASE:BTCUSD), the correlation lookback period (Length), and the price source (Source) to match their reference indicators or preferences.
Add the indicator to your chart (for example, a 5-minute chart of any altcoin).
The table in the top-right corner will immediately display the altcoin's current correlation to BTC, based on 4-hour data.
Use this value to gauge market sentiment. A high positive correlation suggests the altcoin is likely to follow BTC's moves. A low or negative correlation suggests the altcoin is moving independently.
For perfect synchronization with another standard correlation indicator, go to the script's settings (⚙️ icon) and ensure the Length and Source parameters are identical to your reference indicator.
This tool aims to bridge the gap between high-frequency trading and high-timeframe market structure, providing a crucial piece of information in a simple, stable, and accessible format.
Historical Year OverlayThis script allows you to simply source any historical calendar year and overlay it over any other year (usually a historical year overlaying a year in the future). It was made using an LLM for coding help and logic.
It is great for working out potential pivots and it also maps the previous profit/loss from the source year over the plot year so that we can see the connection to price levels throughout the plot year and also with the yearly close (we get a horizontal line for the close).
It uses the year open as a price reference to plot the P&L over the plot year (if use plot year option is selected).
if the year has not started yet you can use the "manual opening price" OR it will auto set to the current price (great for "replay mode", it will catch the actual opening price once it happens).
The settings are self explanatory. Choose a source year and plot year.
Choose a multiplier if you'd like (it simply multiplies the plot year P&L by that number; ie: 1 means the same as it was, 0.5 means half of what is was, 2 means 2x the source P&L)
The resolution is max default 50 line segments but you can simplify if you'd like.
I've released the code open-source so you can see what it is doing.
Please update it with all the enhancements you can think of.
Please let me know if you do this as I will be very interested!
HHT Signal Analyzer (Refined)HHT Signal Analyzer
The HHT Signal Analyzer provides a real-time, smoothed approximation of the Hilbert-Huang Transform (HHT), designed to reveal adaptive cycles and phase changes in price action. It emulates Intrinsic Mode Functions (IMFs) using a double exponential moving average (EMA) filter to extract short-term oscillatory signals from price.
This indicator is helpful for identifying subtle shifts in market behavior, such as when a trend is transitioning or weakening, and is especially effective when paired with trend-based tools like GRJMOM.
How it works:
Applies a double EMA to the price (EMA of EMA)
Calculates the difference between the fast and slow EMA to emulate IMF behavior
Amplifies the signal for clear visual feedback
Highlights cycle slope changes with background coloring (green = rising, red = falling)
Use Cases:
Use slope direction to detect early phase shifts in the market
Combine with trend indicators to confirm or fade moves
Helps visualize when the market is entering a cycle crest or trough
Best for:
Traders looking to capture short-term reversals, cycle timing, or divergence with smooth and adaptive signals
Can be used on any timeframe
MTF 200MULTI TIME FRAME 200MA
TIMEFRAME
1m 5m 15m 30m 60m 240m 1D
200 SMA
Check the chart for 200ma you were looking at a candle at a certain time
Green Light Confluence - Control-AIt scans the top 15 U.S. stocks in real time — including names like NASDAQ:AAPL , NASDAQ:AMZN , NASDAQ:NVDA , NASDAQ:GOOGL , NASDAQ:TSLA , and NASDAQ:MSFT — and identifies whether the majority are trending above or below their 200 EMA on the 1-minute chart.
Dr. Fib - FGBAB - Open Range Breakout for Stocks V1.0This Open Range Breakout Indicator (ORB) helps your discretionary trading when looking for breakouts on the 15 mins range.
This indicator helps your discretionary trading by allowing visual settings that helps discretionary trades to make faster decisions.
It will provide you will the following on-screen information:
- ORB HIGH and LOW: The Open Range Breakout set by the input parameters, for example the first 15 mins RTH Open from 9:30 to 6:45.-
- ORB MID: The ORB mid point for reference, generally the price tends to return and bounce from the 50% ORB.
Reward to Risk posible targets for LONG and SHORT trades: This will provide target value references, it is based on the ORB Risk from high to low, you have 1:1, 2:1, 3:1 and 4:1 possible targets in both directions.
Reference table:
The reference table is a visual setting for you to have at first sight important information before considering getting into the trade:
- ORB HIGH and LOW.
- Risk in points.
- Risk in USD.
- Amount of shares considering the MaxRisk input parameter you select.
- The current LIVE R:R based on the entry, if price is abobe ORB High it will simulate a LONG position is price is below the ORB Low it will simulate a SHORT position,
- The LIVE profit simulation based on the above.
- MaxRunUP, the highest equity the trade simulation has produced.
Direction: The current trade direction simulation based on the ORB HIGH or ORB LOW.
Keep in mind this indicator is a "gauge" a visual help for discretionary traders that like to trade Open Range Breakout strategy.
It will reset the ORB at RTH Close and build a new ORB at next calendar day based in the ORB time you have selected by the input parameters.
Please feel free to use in your own trading at your discretion.
Crypto Compass | QuantEdgeBIntroducing Crypto Compass | QuantEdgeB
Overview
Crypto Compass | QuantEdgeB is a multi-asset market regime indicator that decodes the collective momentum and sentiment of the cryptocurrency space. By computing correlation-adjusted valuation across a basket of major tokens and blending them with the chart’s own momentum pulse, it delivers a real-time “compass” of risk-on/off regimes. Plotted as dual EMAs and color-coded candles, and accompanied by a comprehensive dashboard table, Crypto Compass guides traders through broad market cycles instead of isolated price swings.
Key Features
• Correlation-Adjusted Valuation Aggregation
Computes individual valuation for the top 30 Market Cap tokens plus total-market indices; weights each by its correlation to Bitcoin, then averages.
• Large-Cap-Only Mode
Optionally restricts the basket to the top 10 by market cap for a streamlined “blue-chip” sentiment readout.
• Composite Momentum Blend
Mixes the basket average with the chart’s own valuation to capture both cross-asset and local momentum.
• Dual EMA Overlay & Candle Coloring
Plots 12- and 21-period EMAs colored by the composite valuation gradient; candles are likewise color-filled to reflect regime strength.
• Interactive Dashboard Table
Live “Crypto Compass Dashboard” shows, for each asset:
o Current value & prior bar value
o Rate of Change (direction arrow)
o Duration since last EMA crossover
o Current trend state (“Bullish” / “Bearish”)
• Regime Labels & Risk-On/Off Signal
Translates the composite valuation into four regimes—Contraction, Weak, Recovery, Strong—with a clear risk-on/off indicator banner.
How It Works
1. Data Fetch & Valuation Computation
o Retrieves price and a simple TPI (12 vs 21 EMA cross) for each symbol via request.security.
o Calculates a rolling standard deviation over a lookback (length) for each asset and the chart.
2. Correlation Weighting
o Measures each asset’s correlation to Bitcoin
o Multiplies each asset’s value by its correlation coefficient to emphasize high-beta relationships.
3. Basket Averaging
o Averages the top-N weighted value (10 if “Large Cap Only” is true, else all )
o Blends the final average with the chart’s own valuation
4. Visual & Table Overlays
o EMAs (12, 21) and candles are colored via a gradient tied to zsumad thresholds.
o A table grid at the bottom-right displays per-asset metrics and computes duration since TPI crossovers to flag trend longevity.
5. Regime Mapping
≤ –1.5 ⇒ Contraction (Risk Off)
–1.5 to 0 ⇒ Weak (Risk Off)
0 to 1.5 ⇒ Recovery (Risk On)
1.5 ⇒ Strong (Risk On)
How to Use / Who Should Use It
• Crypto Portfolio Managers seeking a holistic market-wide directional bias before allocating capital.
• Swing & Position Traders looking to confirm if cross-asset strength aligns with their primary coin.
• Systematic Strategy Developers integrating regime filters into algorithmic models.
• Risk-Conscious Allocators wanting an early warning on risk-off contractions vs. risk-on expansions.
Default Settings
• Plot EMA: On
• Value Lookback Length: 90
• BTC Correlation Length: 195
• Large Cap Only: True
Conclusion
Crypto Compass distills complex cross-asset dynamics into a single, actionable gauge. By combining correlation-weighted valuation, blended momentum, and dynamic regime mapping—visualized through color-coded EMAs, candles, and a rich dashboard—it empowers traders to navigate the broader crypto market cycle with clarity and confidence.
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
STATEMAP | QuantEdgeBIntroducing STATEMAP by QuantEdgeB
🔍 Overview
STATEMAP | QuantEdgeB is a holistic Trend & Valuation dashboard for 16 key crypto and index assets. It distills each asset’s momentum regime and valuation state into two live averages—trend average and valuation average—and presents them via color-coded candles, dynamic plots, and a comprehensive bottom-right table. Switch effortlessly between Trend and Valuation views to spot regime shifts across the market.
✨ Key Features
• 🧭 Trend vs. Valuation Toggle
Flip between viewing the overall market’s trend average or its valuation average with a single input.
• 📊 Trend Average
Aggregates each asset’s directional bias (bullish vs. bearish) into one composite gauge that flags risk-on vs. risk-off regimes.
• 💎 Valuation Average
Blends each asset’s statistical valuation score to highlight extreme under-/over-valued conditions.
• 🎨 Color-Coded Visualization
Candles turn blue for bullish, red for bearish, and gray for neutral; fills and horizontal bands reinforce regime thresholds.
• 🗺️ Live Asset Matrix
A 16×8 table shows for each symbol:
• Current Trend (Bullish/Bearish)
• Score & Prior Score with direction arrows (⬆️/⬇️/🔄)
• RoC (momentum change)
• Valuation State label (e.g. “Strong UnderValued”)
• Valuation value & prior value with change indicator
• 🚦 Market Stage Banner
A top-row line combines both averages into a concise “Market Stage” message (e.g. “Trend ⟹ Bullish Value ⟹ Sli. OverValued”).
⚙️ How It Works
• Universal Trend Assessment
Uses a library of trend-following logic to classify each asset as bullish or bearish, then averages those signals into the trend average.
• Adaptive Valuation Mapping
Evaluates each asset’s statistical valuation band, maps it into intuitive labels (under-/fair-/over-valued), and averages into the valuation average.
• Regime Thresholds
• Trend average above +0.1 ⇒ risk-on (bullish); below –0.1 ⇒ risk-off (bearish); otherwise neutral.
• Valuation average buckets assign six states from “Strong UnderValued” to “Strong OverValued.”
• Dynamic Visualization
Color-coded candlesticks and filled plot areas highlight when the market crosses key levels, making regime changes immediately apparent.
🎯 Who Should Use It
• Systematic Traders looking for a unified regime filter across multiple assets
• Portfolio Managers wanting a pulse on market momentum vs. valuation before reallocations
• Swing & Position Traders confirming cross-asset alignment or spotting divergences
• Risk Managers monitoring broad contractions (trend bearish) vs. expansions (trend bullish) alongside valuation extremes
🧬 Default Settings
• View Mode: Trend
• Bar color: Yes
• Assets Covered: TOTAL market cap, TOTAL OTHERS, BTC, ETH, SOL, FET, RNDR, INJ, VRA, ORDI, PAAL, ONDO, TIA, AKT, PEPE, DOGE
📌 Conclusion
STATEMAP | QuantEdgeB delivers a clear, emoji-tagged map of where the crypto market stands in both momentum and valuation space. With an easy toggle and a rich dashboard, it empowers you to make regime-aware trading and allocation decisions at a glance.
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
ORB M15 EarThRiseRAcest indicator trasează automat liniile de high și low pentru candela de 15 minute de la London Open, cu posibilitatea de a schimba culoarea și grosimea liniilor din setări. Ideal pentru strategii de tip opening range breakout. Compatibil cu orice instrument și funcționează pe timeframe de 15 minute.
Holy Grail Signal op EMA + ADXHolygrail + adx indicator with buy signals so you can buy at the yellow arrow
Year Dividers with LabelsDraws year start markers due visually show start of a year. Useful when looking at year seasonality and related factors
CyclesToolsCycles Tool Indicator Summary
The Cycles Tool is a drawing tool used in technical analysis to identify and analyze cyclical patterns in price charts. It helps traders and technical analysts visualize recurring peaks and troughs in a financial asset's price movement over time.
How does it work?
The user defines a cycle by selecting a start and end point on the chart (for example, from one significant low to the next). The tool then projects this time interval of the cycle forward and backward in time, drawing vertical lines to mark the expected start and end of future and past cycles.
Key Features:
Cycle Projection: Automatically draws repeating cycle intervals across the chart.
Midpoints: Often indicates the midpoint of the cycle, which can correspond to a peak (if the cycle starts and ends at a low) or a trough (if the cycle starts and ends at a high).
Custom Measurement Units: Cycles can be measured in different units, such as the number of bars, days, weeks, or even astronomical degrees in more advanced tools.
Harmonics: Allows for the division of the main cycle into smaller harmonic intervals to find shorter-term patterns within the larger cycle.
Averaging: Can average several user-defined cycles to project a more probable future path, based on the average of previous cycles.
In essence, the Cycles Tool provides a framework for traders who believe that markets move in rhythmic, predictable patterns, allowing them to attempt to anticipate potential turning points in price.
Consolidation Box1. Overview & Purpose
The "Faithful Box" is a powerful TradingView indicator designed to automatically identify and visualize high-quality price consolidation zones, often known as 'trading ranges' or 'boxes'.
This tool is a direct Pine Script translation of a specific, robust Python-based analysis strategy. Its primary goal is not just to find any sideways movement, but to qualify it based on a strict set of rules, ensuring that only meaningful and tradable consolidation patterns are highlighted on the chart.
2. Core Logic: How It Works
The indicator's intelligence is based on several key rules translated from the original Python script:
Box Definition (Based on Closing Prices): The most crucial rule is how the box is defined. Unlike many tools that use candle wicks (highs and lows), this indicator establishes the Ceiling (Resistance) and the Floor (Support) of the box using the highest Close price and the lowest Close price over the specified analysis period. This provides a more stable and representative view of the true consolidation zone, ignoring outlier price spikes.
Quality Filters: A consolidation is only considered valid and drawn on the chart if it meets two strict criteria:
Minimum Touches: The price must "test" the ceiling and floor a minimum number of times. A "touch" is counted with a tolerance — the High of a candle only needs to get close to the ceiling, and the Low close to the floor. This simulates how price interacts with support and resistance zones in the real world.
Maximum Height: The consolidation range cannot be excessively wide or volatile. The box will only be drawn if its total height, as a percentage of its price, is below a user-defined limit.
3. Visual Features on the Chart
When a valid consolidation pattern is detected, the indicator draws a semi-transparent box over the analysis period. The most powerful visual feature is its dynamic coloring, which functions as a built-in alert system:
🟥 Red Box: The box turns red when the price enters the upper "Action Zone" (e.g., the top 30% of the range). This visually signals that the price is near a key resistance level, alerting the trader to a potential reversal or breakout opportunity.
🟩 Green Box: The box turns green when the price enters the lower "Action Zone" (e.g., the bottom 30% of the range). This highlights that the price is testing a key support level.
⬜ Gray Box: The box remains a neutral gray when the price is trading in the middle of the range, which can often be considered a "no-trade" or "wait-and-see" zone.
4. Configuration (Indicator Inputs)
You have full control over the indicator's sensitivity through its inputs:
Analysis Period (days): Defines the lookback window (in trading days) to search for a consolidation pattern. Common values are 42 (approx. 2 months) or 63 (approx. 3 months).
Maximum Box Height (%): Filters out consolidations that are too volatile or wide. A lower percentage will find tighter, more compressed consolidations.
Minimum Ceiling/Floor Touches: Defines the "strength" of the support and resistance levels. Requiring more touches will result in fewer detected patterns, but likely of higher quality.
Touch Tolerance (%): Defines how close the High/Low needs to get to the edge of the box to be counted as a touch. A value of 2% means a touch is registered if the price comes within 2% of the box's total height from the edge.
Action Zone (%): Customizes the size of the red (resistance) and green (support) zones. A value of 30% means the top 30% of the box will be the red zone, and the bottom 30% will be the green zone.
Taiyoz Gaps1. Purpose
Tyoz Gaps highlights “gaps” between yesterday’s close and today’s open directly on your chart. A gap occurs when the opening price is significantly above or below the prior bar’s close. By drawing persistent boxes around each gap, you can instantly see where price left a void and monitor when (or if) that void gets completely filled.
2. Gap Detection Logic
Threshold: A gap is only detected if the open-to-previous-close difference exceeds a user-defined “Minimal Deviation” (percentage of the 14-bar average high-low range).
Direction:
Gap Up: today’s open > yesterday’s close
Gap Down: today’s open < yesterday’s close
3. Box Drawing
For each detected gap, the script draws a rectangular box spanning from yesterday’s close level to today’s open level.
Border & Fill Colors are configurable separately for up-gaps and down-gaps.
Boxes extend to the right as new bars form.
4. Display & Filtering Options
Show Gap Up / Show Gap Down toggles let you hide bullish or bearish gaps independently.
Max Number of Gaps: Limits how many boxes remain on-screen; oldest boxes are removed when the limit is exceeded.
Limit Max Gap Trail Length: Optionally force-close any gap box after a given number of bars, even if unfilled.
5. Closing Logic
Full-Fill Only: A gap box stays visible until price fully “fills” it—i.e., for an up-gap, price must exceed the top edge (yesterday’s close); for a down-gap, price must cross below the bottom edge.
Once filled, the box is removed and a “Gap Closed” alert flag is set.
6. Labels & Alerts
Each active gap can optionally show a label at the gap’s lower edge containing:
Absolute size (in price points) and percentage of the gap
Bar count since the gap formed
Label Text Color and Label Text Size are both user-configurable.
Two built-in alertcondition()s fire when a new gap appears or when a gap closes.
Bollinger Band Touch with EMA Filterbollomger band strategy above and below the 100 and above the 200
MI-Time-Based DotsThis is a time based indicator.
It is based on Linda Raschke's time function of the day concept.
It is a useful concept in intraday trading.
These times are inflection points of the market.
It marks dot on time of the day bar.
You can select your own time (HH:MM) to apply.
Custom Time-Based DotsThis is a Time based dots indicator based on Linda Raschke's Function of the day concept.
There are times of the day which are inflection points of the market.
This is a useful concept for intraday trading.
You can select time (HH:MM) of your choice .
MI-Time-Based DotsThis is a Time based dots indicator based on linda Raschke's time function of the day concept.
It marks time of the day on the Bar.
These times are inflection points of the market.
You can select the time (HH:MM) of your coice.
MI- Time-Based DotsThis is Time Based dots indicator which is based on Linda Raschke time function of the day concept.
It is used on intraday chart.
It marks time of the day on bar.
These times are inflection points of the day.
You can select time (HH:MM) as per your requirement.
MI-Time-Based DotsThis indicator is a time based Dot based on Linda Raschke time function.
It marks dot on bar at given time.
9:15 am
10:15 am
11:15 am
01:15 pm
02:25 pm
EMA Buy Sell All-in-One✨ Description (แนะนำให้ใช้ตอนกด Publish):
This all-in-one indicator combines several powerful trading tools into one script:
• EMA Cross Entry System: Customizable fast/slow EMA cross for buy/sell signals
• Dynamic SL/TP System: Choose between swing-based or custom SL/TP; auto-calculated RR support
• HH, HL, LH, LL Labels: Market structure points marked directly on chart (toggle ON/OFF)
• Multi-Timeframe Trend Table: Visual overview of EMA trends across D1 → M1 timeframes
• H1 Trend Change Icons: Alerts when the hourly trend flips direction
➤ Clean and responsive display
➤ Fully customizable via input panel
➤ Great for intraday or swing traders following trend + structure alignment
Feel free to fork or modify. Made for those who want clarity and confluence in one view.