Simulated Fear & Greed (CNN-calibrated v2)🧭 Fear & Greed Index — TradingView Version (Simulated CNN Model)
🔍 Purpose
The Fear & Greed Index is a sentiment indicator that quantifies market emotion on a scale from 0 to 100, where:
0 represents Extreme Fear (capitulation, oversold conditions), and
100 represents Extreme Greed (euphoria, overbought conditions).
It helps traders assess whether the market is driven by fear (risk aversion) or greed (risk appetite) — giving a high-level view of potential turning points in market sentiment.
⚙️ How It Works in TradingView
Because TradingView cannot directly access CNN’s or alternative external sentiment feeds, this indicator simulates the Fear & Greed Index by analyzing in-chart technical data that reflect investor psychology.
It uses a multi-factor model, converting price and volume signals into a composite sentiment score.
🧩 Components Used (Simulated Metrics)
Category Metric Emotional Interpretation
Volatility ATR (Average True Range) High ATR = Fear, Low ATR = Greed
Momentum RSI + MACD Histogram Rising momentum = Greed, Falling = Fear
Volume Activity Volume Z-Score High positive deviation = Greed, Low = Fear
Trend Context SMA Regime Bias (50/200) Downtrend adds Fear penalty, Uptrend supports Greed
These elements are normalized into a 0–100 scale using percentile ranks (like statistical scoring) and then combined using user-adjustable weights.
⚖️ CNN-Style Calibration
The script follows CNN’s five sentiment bands for clarity:
Range Zone Colour Description
0–25 Extreme Fear 🔴 Red Panic, forced selling, capitulation risk
25–45 Fear 🟠 Orange Uncertainty, hesitation, early accumulation phase
45–55 Neutral ⚪ Gray Balanced sentiment, indecision
55–75 Greed 🟢 Light Green Optimism, trend continuation
75–100 Extreme Greed 💚 Bright Green Euphoria, risk of reversal
This structure aligns visually with CNN’s public gauge, making it easy to interpret.
ポートフォリオ管理
Dual Harmonic-based AHR DCA (Default :BTC-ETH)A panel indicator designed for dual-asset BTC/ETH DCA (Dollar Cost Averaging) decisions.
It is inspired by the Chinese community indicator "AHR999" proposed by “Jiushen”.
How to use:
Lower HM-based AHR → cheaper (potential buy zone).
Higher HM-based AHR → more expensive (potential risk zone).
Higher than Risk Threshold → consider to sell, but not suitable for DCA.
When both AHR lines are below the Risk threshold → buy the cheaper one (or split if similar).
If one AHR is above Risk → buy the other asset.
If both are above Risk → simulation shows “STOP (both risk)”.
Not limited to BTC/ETH — you can freely change symbols in the input panel
to build any dual-asset DCA pair you want (e.g., BTC/BNB, ETH/SOL, etc.).
What you’ll see:
Two lines: AHR BTC (HM) and AHR ETH (HM)
Two dashed lines: OppThreshold (green) and RiskThreshold (red)
Colored fill showing which asset is cheaper (BTC or ETH)
Buy markers:
- B = Buy BTC
- E = Buy ETH
- D = Dual (split budget)
Top-right table: prices, AHRs, thresholds, qOpp/qRisk%, simulation, P&L
Labels showing last-bar AHR values
Core idea:
Use an AHR based on Harmonic Moving Average (HM) — a ratio that measures how “cheap or expensive” price is relative to both its short-term mean and long-term trend.
The original AHR999 used SMA and was designed for BTC only.
This indicator extends it with cross-exchange percentile mapping, allowing the empirical “opportunity/risk” zones of the AHR999 (on Bitstamp) to adapt automatically to the current market pair.
The indicator derives two adaptive thresholds:
OppThreshold – opportunity zone
RiskThreshold – risk zone
These thresholds are compared with the current HM-based AHR of BTC and ETH to decide which asset is cheaper, and whether it is good to DCA or not, or considering to sell(When it in risk area).
This version uses
Display base: Binance (default: perpetual) with HM-based AHR
Percentile base: Bitstamp spot SMA-AHR (complete, stable history)
Rolling window: 2920 daily bars (~8 years) for percentile tracking
Concept summary
AHR measures the ratio of price to its long-term regression and short-term mean.
HM replaces SMA to better reflect equal-fiat-cost DCA behavior.
Cross-exchange percentile mapping (Bitstamp → Binance) keeps thresholds consistent with the original AHR999 interpretation.
Recommended settings (1D):
DCA length (harmonic): 200
Log-regression lookback: 1825 (≈5 years)
Rolling window: 2920 (≈8 years)
Reference thresholds: 0.45 / 1.20 (AHR999 empirical priors)
Tie split tolerance (ΔAHR): 0.05
Daily budget: 15 USDT (simulation)
All display options can be toggled: table, markers, labels, etc.
Notes:
When the rolling window is filled (2920 bars by default), thresholds are first calculated and then visually backfilled as left-extended lines.
The “buy markers” and “decision table” are light simulations without fees or funding costs — for rhythm and relative analysis, not backtesting.
Position Size CalculatorPosition Size Calculator (PSC) helps size trades by dollar risk.
Set your Risk Amount ($).
Choose risk unit: ADR (avg high–low) or ATR (Wilder’s, gap-aware).
Shares = round(Risk $ / risk_unit).
Capital = Shares × current close.
Small table shows Risk $, Shares, Capital, and a mapped sector ETF (e.g., XLK, XLE).
Use ATR for gap-aware sizing; ADR for a simpler range. Adjust period to fit your stop style (shorter = more responsive). PSC is display-only (no orders), works on any symbol/timeframe, and updates on the latest bar.
Check-listThis Entry Checklist helps you stay objective in your trades. If you enter a position, it’s because you’ve checked off the boxes of your different confluences.
If you haven’t checked them, the checklist will immediately show you that.
Cross-Sectional Relative MomentumDEVELOPED BY A FORMER GOLDMAN SACHS TRADER
Overview
The Cross-Sectional Momentum / Relative Value System measures and ranks assets against each other in real time to identify leaders (assets showing relative strength) and laggards (assets underperforming their cluster). It provides an institutional-style snapshot of relative momentum across a defined universe — highlighting where capital is flowing and where mean-reversion potential is building.
How It Works
The system continuously evaluates a cluster of correlated assets — such as FX pairs, equity indices, or commodities — and computes each instrument's standardized forecast value (typically scaled between −20 and +20). This creates a dispersion map of momentum within the group: When dispersion expands (the gap between leaders and laggards widens), it signals a momentum regime: markets are trending and leadership is clear. When dispersion compresses, it indicates convergence and an increased likelihood of mean-reversion. Each asset is then tagged dynamically as Leader or Laggard, based on its position within the cluster's distribution. This ranking helps you visualise market structure — which assets are driving the move and which are trailing.
Use Cases
Rotational Strategies: Shift exposure toward top-ranked assets (leaders) while fading underperformers (laggards)
Leadership Transitions: Detect when leadership flips (e.g., GBPUSD moving from laggard to leader), signalling rotation or regime change
Portfolio Diversification: Balance exposures by ensuring allocation across uncorrelated or complementary clusters
Confirmation Tool: Combine with regime or volatility systems to determine when relative momentum is statistically significant (momentum phase) or mean-reverting (consolidation phase)
Interpretation Example
Example Output:
Leader Assets: GBPCHF (+8.8), GBPUSD (+2.7) — Laggard Assets: EURUSD (−2.9), USDCAD (−3.6)
Meaning:
This configuration suggests GBP-linked strength relative to USD-linked weakness — a cross-pair rotation opportunity
"Ranks assets by strength and timing — revealing where leadership, rotation, and mean-reversion are statistically emerging."
Combined Forecast SystemDEVELOPED BY A FORMER GOLDMAN SACHS TRADER
Overview
The Combined Forecast System is the backbone of the framework — a single model that merges multiple independent forecast engines into one conviction score.
How It Works
It continuously aggregates signals derived from trend, momentum, mean-reversion, and volatility features, normalizing each into a standardized range (−20 to +20). The output is both a numerical forecast and a market state (bullish/bearish, strengthening/weakening).
Use Cases
Gauge the overall directional conviction of the market
Adjust exposure dynamically (e.g., 50% position when forecast = +10, full position at +20)
Identify regime shifts as forecasts transition between states
Use as a top-level filter for discretionary or automated trading strategies
Interpretation Example
Example Output:
Forecast = +15 → "Bullish Strengthening"
Meaning:
Suggests accelerating upward momentum; scale into longs, tighten short exposure
Earnings CountdownAdd to a chart to show a text box with how long to next earnings.
Being updated to add functionality from original open source Pine script
ATR Position SizerFound the substack from Ryan Wright (raen prop trading) which has amazing insights into the real prop trading world.
In his post Your Trading Edge Isn't Your Setup . It's Your Knowledge he shared a few interesting nuggets of knowledge.
Especially the part about Risk according to the 20-day ATR caught my eye, so i reconstructed a version of that formula directly for Tradingview. It works with ES (MES), NQ (MNQ), GC (MGC), YM and can be extended.
Additionally I implemented a function that tracks the chart ATR (automatically on the chosen time frame) on a defined period. This can of course be disable.
Hope it helps
Trailing 12M % Gain/Lossthis script shows profit or loss for training 12 months, works only on daily time frame
Buy&Hold Profitcalculator in EuroTitle: Buy & Hold Strategy in Euro
Description:
This Pine Script implements a simple yet flexible Buy & Hold strategy denominated in Euros, suitable for a wide range of assets including cryptocurrencies, forex pairs, and stocks.
Key Features:
Custom Investment Amount: Define your invested capital in Euros.
Flexible Start & End Dates: Specify exact entry and exit dates for the strategy.
Automatic Currency Conversion: Supports assets priced in USD or USDT, converting the invested capital to chart currency using the EUR/USD exchange rate.
Single Entry and Exit: Executes a one-time Buy & Hold position based on the defined timeframe.
Profit and Performance Tracking: Calculates total profit/loss in Euros and percentage returns.
Smart Exit Label: Displays a dynamic label at the exit showing final position value, net profit/loss, and return percentage. The label automatically adjusts its position above or below the price bar for optimal visibility.
Visual Enhancements:
Position value and profit/loss plotted on the chart.
Background color highlights the active investment period.
Buy and Sell markers clearly indicate entry and exit points.
This strategy is ideal for traders and investors looking to simulate long-term positions and evaluate performance in Euro terms, even when trading USD-denominated assets.
Usage Notes:
Best used on daily charts for medium- to long-term analysis.
Adjust start and end dates, as well as invested capital, to simulate different scenarios.
Works with any asset, but currency conversion is optimized for USD or USDT-pegged instruments.
AbundanceThis script has been built keeping Indian markets in mind.
This script is for all those LONG TERM investors who want to invest in Stocks and ETFs. It is meticulously designed to assist investors in building robust portfolios, combine the power of Super Trend, RSI (Relative Strength Index), Exponential Moving Averages (EMAs), and their relative positions (eg if 50 EMA is above 200 EMA it signals uptrend). By delivering precise alerts and buy signals on a daily timeframe, it empower users to make informed investment decisions and confidently navigate the complexities of financial markets. The strategies combine structure with flexibility, accommodating both cautious and high-risk investment styles to align with varied investor goals. Each component of the strategy adds a distinct viewpoint and approach to asset growth, creating a well-rounded framework for investors aiming to enhance portfolio performance. By diligently applying this multi-faceted approach, investors can make informed decisions and effectively capitalize on potential market opportunities.
Indicator is meant for Daily timeframe and it will only generate buying signals using arrows on this time frame, and no other
Indicator is an all in one indicator, keeping both ETFs and stocks in mind and generates signals in both asset class using different accumulation strategy.
Note - 50 EMA on Daily time frame - has been used to determine medium term trend
200 EMA on Daily time frame - has been used to determine Long term trend
Daily TF - short-term
Weekly TF - medium term
Monthly TF - long term
For ETFs
ETFs Selection Criteria: The system employs specific criteria for selecting ETFs:
We are giving investors further granularity by giving them 4 different levels of accumulation.
Purple Arrow signifies mild level to accumulate - this is for aggressive investors who want to use the buying on dip strategy to accumulate. Here we use relative positions of 50 and 200 EMA to make sure the script is in a Uptrend in daily timeframe and every time RSI goes in oversold zone i.e. below 40 and ETF Close price is between 50 and 200 EMA we generate an accumulation signal. Here we also check RSI on weekly timeframe and make sure it's value is above 50 and if not the accumulation signal won't be generated because that could mean the medium term trend(weekly timeframe) is getting weaker
Green Arrow signifies a medium level to accumulate - this suggests that the script is in downtrend in daily timeframe i.e. 200 EMA > 50 EMA and whenever the RSI on daily timeframe goes in oversold zone and the close price is below 200 MA.
Blue Arrow signifies a strong level to accumulate - here, we also bring in RSI level on weekly time frame and we generate blue arrow when RSI on both daily and weekly are in oversold zone and the price is below 200 EMA on daily. This is for conservative and patient investors to accumulate the script during medium term correction phase.
Red Arrow signifies very strong level to accumulate - here, we also bring in RSI level on Monthly time frame along with weekly and we generate of red arrow when RSI on all daily, weekly and Monthly are in oversold zone and the price is below 200 EMA on daily. This is a very rare occurrence and are great opportunity to accumulate during long term correction phase. Investors need to know that red arrow signifies script is very weak on all time frames, and it could take good amount of time to generate returns.
Above key is also mentioned on the Top right of the chart to keep the investors informed what the different colored arrows means.
Additionally, it's recommended to track index ETFs, in line with the system's approach. This strategy simplifies the process of identifying investment opportunities within this asset class, particularly during periods of market weakness.
For Stocks
It is recommended to apply this strategy in nifty 200 stocks (proven Stocks with track record)
We are giving investors, two levels of accumulation
Level 1 - Purple arrow - mild Accumulation
The Accumulation signal is designed for those who have either already accumulated in Potential Reversal zone given by this indicator or have completely missed those chances and are determined not to miss significant opportunities within a continuous uptrend and seek a way to enter a trend. While it offers a more aggressive entry approach, it is ideal for individuals willing to take calculated risks to potentially reap substantial long-term rewards. This strategy is particularly suitable for accumulating stocks for aggressive long-term investment.
Here's a detailed description of the strategy:
Objective: The primary aim of the strategy is to provide an avenue for investors to identify short-term trend reversals and seize the opportunity to enter stocks during an uptrend, thereby capitalizing on a sustained bull run.
Stock Selection Criteria: The strategy utilizes a specific set of criteria for stock selection:
Stocks weekly and monthly RSI is above 50 (indicating medium and long term trend are not weak i.e. below 40)
1. 50EMA and 200 EMA(Exponential Moving Average): It targets stocks that are trading below the 50-day EMA and above 200 EMA while making sure 50 EMA is above 200 EMA(signifies uptrend). This signals a short-term reversal from the top and indicates that the stock is in a downtrend.
2. ADX (Average Directional Index) measures the strength of a trend, not its direction (We are using EMAs to determine direction) and if ADX is less than 22 then we are generating an accumulation signal(value above 22 would mean trend is getting stronger and using EMAs we know it is a downtrend so we don't want ADX to be above 22 which would mean that the short term downfall we thought was an opportunity to accumulate is becoming a stronger downtrend)
Level 2 - For signifies strong accumulation/ Potential Reversal zone
This Accumulation signal is meticulously designed to identify pivotal stock price movements, allowing investors to make informed choices and capitalize on upward market trends while minimizing risk. Here's a comprehensive overview of the system, emphasizing its suitability for conservative investors:
Objective: The primary objective of the system is to accumulate stocks as long-term investments in your portfolio while prioritizing capital preservation. It offers a disciplined approach to pinpointing potential entry points for stocks, particularly during market corrections and trend reversals, thereby enabling you to actively participate in bullish market phases while adopting a conservative risk management stance.
Stock Selection Criteria: The system employs a stringent set of criteria to select stocks for investment:
• Correction Mode: It identifies stocks that have undergone a correction, signifying a decline in stock prices from their recent highs. This conservative approach emphasizes the importance of seeking stocks with a history of stability(that's why Nifty 200 stocks are recommended).
• 200EMA (Exponential Moving Average): The system diligently analyses daily stock price movements, specifically looking for stocks that have fallen to or below the 200-day Exponential Moving Average. This indicator suggests potential overselling and aligns with a conservative strategy of buying low.
Trend Reversal Confirmation: The system doesn't merely pinpoint stocks in correction mode; it takes an extra step to confirm a trend reversal. It employs the following indicators:
• Short-term Downtrends Reversal: This aspect focuses on identifying the reversal of short-term downtrends in stock prices, observed through the transition of the super trend indicator from the red zone to the green zone. This cautious approach ensures that the trend is genuinely shifting.
• Super Trend Zones: These zones are crucial for assessing whether a stock is in a bullish or bearish trend. The system consistently monitors these zones to confirm a potential trend reversal.
Alert & Buy Signals: When the system identifies stocks that have reached a potential bottom and are on the verge of a trend reversal, it issues vital alert signals, aiding conservative investors in prudent decision-making:
• Orange Upside Triangle Sign: This signal serves as a cautious heads-up, indicating that a stock may be poised for a trend reversal. It advises investors to prepare funds for potential investment without taking undue risks.
• Green Upside Triangle Sign: This is the confirmation of a trend reversal, signifying a robust buy signal. Conservative investors can confidently enter the market at this point, accumulating stocks for a long-term investment, secure in the knowledge that the trend is in their favour.
• Additionally, if the Supertrend transitions from green to red zone during the alert signal is active and before the buy signal, the setup will be considered invalid. This adjustment ensures precise trend reversal identification during corrections. The conservative investors to confidently enter the market, accumulating discounted stocks primarily at the bottom while avoiding unnecessary signals.
Integrated Volatility Intelligence System (IVIS) AutoKVolMind™ AutoK — Integrated Volatility Intelligence System (IVIS)
IVIS AutoK
Author: © lfu
Public Description (for publication)
VolMind™ AutoK represents an institutional-grade open-source framework for adaptive volatility intelligence and probabilistic trade management.
This system fuses Kalman-inspired KAMA smoothing, CVD dynamics, Auto K-Means clustering, entropy-based regime analysis, and a Kolmogorov–Smirnov market normality test into a single modular platform.
Key Capabilities:
Adaptive ATR Stop Bands dynamically scale with volatility, entropy, and cluster variance.
Auto KMeans Intelligence automatically selects the optimal cluster count for price structure recognition (3–10 clusters).
Entropy Module quantifies structural uncertainty and information decay within price movement.
KS-Test Integration identifies non-normal distributions, signaling regime divergence and volatility inflection.
CVD Dynamics reveal real-time directional bias via cumulative volume delta.
MSI Composite Signal fuses multi-source indicators (ATR, CVD, entropy, clusters) to model market stress and adaptive risk.
Designed for forward-looking quant traders, IVIS serves as a volatility intelligence backbone for portfolio automation, volatility forecasting, and adaptive stop-loss scaling.
Fully open-source for research and applied strategy development. Not a financial advice. DYOR.
AG Pro Trading Suite V572🏆 AG Pro Trading Suite V572
This is the definitive, all-in-one trading ecosystem.
The AG Pro Trading Suite is the result of years of development, designed to be the central nervous system for your trading operation. It moves beyond static indicators to provide a living, adaptive decision-support framework. It is designed for the serious trader who demands professional-grade tools and seeks to manage the entire trading process—from macro analysis to portfolio management—within a single, unified interface.
This is not just an indicator; it is your new command center.
The Core Philosophy: Adaptive Intelligence
The fundamental problem with most trading tools is their static nature. A setting that works in a bull market fails spectacularly in a range. The AG Pro Suite is built to solve this.
At its heart is the 🧠 Dynamic Alpha Engine (AI). This is not a simple "signal." It is a learning-capable system that actively monitors its own performance.
Real-Time Back-Evaluation: The script constantly analyzes the historical success rate and Risk/Reward (R:R) of its most recent signals.
Dynamic Weighting: Based on this performance data, the AI dynamically re-calibrates the weighting of all core components (RSI, MACD, SMC, OBV, etc.).
Market Adaptability: If the market starts favoring momentum, the AI will intelligently increase the weight of trend-following components. If the market turns choppy, it learns to trust mean-reversion signals more. This is true, adaptive intelligence, happening live on your chart.
Unmatched, Integrated Modules
The AG Pro Suite is a collection of powerful, interconnected modules that work in harmony.
1. The 🔄 'Smart Swap' Portfolio Analyzer
Move beyond single-asset analysis and start managing your capital. This professional-grade module provides insights previously reserved for prop desks.
Portfolio Input: Manually enter your current portfolio holdings (e.g., 1.5 BTC, 20 ETH, 5000 SOL).
Background Scanning: The script scans a "Reserve Coin" list (fully customizable by you) in the background, analyzing their relative performance and AI trend scores.
Actionable Suggestions: If it finds an underperforming asset in your portfolio with a weak AI score, and simultaneously finds a "reserve" coin with powerful momentum and a high score, it will provide a clear, actionable "Smart Swap" suggestion. This is active capital management, built directly into your chart.
2. The 🏛️ Automated SMC & Charting Suite
Stop drawing boxes all day. The suite automates the most critical elements of Smart Money Concepts, keeping your charts clean and your analysis sharp.
Market Structure Breaks (BOS): Automatically detects and plots valid Breaks of Structure to confirm the prevailing trend direction.
Liquidity Sweeps (💰): Instantly identifies and marks high/low liquidity sweeps with a '💰' icon, highlighting potential stop-hunts and high-probability reversal zones.
Fair Value Gaps (FVG): Finds and plots bullish/bearish imbalances (FVGs) in real-time, showing you the "magnets" that price may be drawn to.
3. The ⚙️ Dual-Profile System
A black box is useless. The AG Pro Suite adapts to both the asset and you.
Coin Profiles: Instantly select the asset's volatility class (e.g., "1: Stable (BTC, ETH)," "2: Fast L1 (SOL, AVAX)," or "3: Volatile (FET, BONK)"). This tunes the script's base-level sensitivity.
Risk Profiles: Select your trading style (e.g., "1: Düşük (Trader/Scalp)," "2: Orta (Swing)," or "3: Yüksek (Agresif/Trend)").
When you change your profile, the entire script logic—from AI sensitivity to SL/TP calculations—instantly adjusts.
The Unified Dashboard: Your Command Center
Clarity is profit. All this intelligence is synthesized into one clean, actionable dashboard.
It provides a final AI Score (0-100) and, more importantly, a Signal Quality Index (SQI), which measures the conviction of a signal.
The dashboard culminates in the 💡 A-Z Action Plan. This section synthesizes all data into a complete, actionable trade idea, providing:
Trade Bias: A clear "Strong Bullish," "Bearish," or "Risky (No-Trade)" rating.
Calculated Levels: Key Support and Resistance levels pulled from multiple timeframes.
Long Plan: A complete plan with 3 Take Profit targets and a calculated Stop Loss level.
Short Plan: A complete plan with 3 Take Profit targets and a calculated Stop Loss level.
Position Sizing: Automatically calculates the exact position size (in units of the asset) for both long and short plans, based on your selected Risk Profile.
Performance & Reliability
Performance 'Turbo Mode': A tool this powerful could be slow. We engineered "Turbo Mode," which intelligently disables all background calculations for dashboard elements you have hidden. This ensures a fast, fluid, and non-lagging chart experience.
Non-Repainting Logic: This script is built for professional use. All primary signals, alerts, dashboard scores, and strategy logic are non-repainting. They fire on confirmed bar closes to provide stable, reliable, and backtestable data.
How to Use
Configure: Select your Coin Profile and Risk Profile.
Analyze: Review the Dashboard. Check the Final Score, the Signal Quality (SQI), and the HTF confirmation row.
Execute: If the signal is high-quality (e.g., Score > 80, SQI > 85), review the Action Plan. Use its calculated TP, SL, and Position Size to build your trade with full confidence.
Disclaimer: This is an advanced decision-support tool, not a financial advisory service. It is designed to provide institutional-grade data and analysis for informational and educational purposes. All trading involves substantial risk. Past performance, whether in backtests or real-time, is not indicative of future results. You, and you alone, are solely responsible for all trading decisions you make.
Trade Journal ProTrade Journal Pro
A powerful, visual trading journal that enforces discipline with real-time feedback, reflective prompts, and strict risk limits — all in one clean overlay box.
Jesus is King — trade with wisdom, not emotion.
FEATURES
• AUTO-CALCULATED DAILY TRADES
→ `Trades Today = Wins + Losses + Breakevens` (no manual input needed)
• 4 ENFORCED RISK LIMITS
1. Max Trades Per Day
2. Max Risk Rule Violations
3. Max Consecutive Losses (tilt protection)
4. Max Total Losses Allowed (lifetime/session cap)
• SMART VISUAL FEEDBACK
• GREEN BOX = You hit a limit exactly → “WELL DONE!”
• RED BOX = Breached any limit → “STOP & REFLECT” + ALERT
• Dark = Normal (under all limits)
• REFLECTIVE PROMPTS (Customizable)
1. Why this setup?
2. What was my emotional state?
3. Did I follow my plan?
• LIVE ADVICE ENGINE
→ Win: “Great execution! Log what worked.”
→ Loss: “Loss = tuition. What did you learn?”
→ Breakeven: “Review entry/exit precision.”
• DAILY REMINDER
→ Always visible: “Trade the plan, not the emotion.”
• FULLY CUSTOMIZABLE
• Font size (Tiny → Huge)
• Box position (bars to the right)
• Toggle: Metrics / Prompts / Advice
• Custom colors, messages, limits
• ALERTS
• Breach any limit → Immediate alert
• Hit limit exactly → Discipline win notification
HOW TO USE
1. After each closed trade:
→ Update Wins, Losses, or Breakevens
→ Update Consecutive Losses (reset to 0 on win/BE)
→ Increment Risk Violations if you broke a rule
2. Answer the 3 prompts in your journal
3. Let the box guide your behavior:
• GREEN = Celebrate discipline
• RED = STOP TRADING. Reflect. Reset.
Perfect for day traders, swing traders, or anyone building a professional edge through journaling and risk control.
No strategy entries. No repainting. Pure accountability.
“The market is a mirror. This journal is the polish.”
Developed with integrity. Built to protect your capital — and your peace.
Free Sleepy Wallets ≥0.1 BTC – 6-Month DormancyWhat This Indicator Does
It measures how many Bitcoin addresses holding 0.5 BTC or more have been completely untouched for at least 6 months (≥ 180 days) — using official Glassnode on-chain data.
This reveals deep conviction among mid-tier holders:
Are long-term HODLers still in control — or are they finally selling?
Core Concept: 180-Day Dormancy + Bucket Aggregation
This indicator combines two precise on-chain signals:
≥ 0.5 BTC Total Supply in Addresses
Built by aggregating two Glassnode rich-list buckets:
0.1 ≤ balance < 1 BTC
≥ 1 BTC
Result: Exact count of all addresses ≥ 0.5 BTC (no gaps, no overlap)
6-Month Dormant Addresses (All Balances)
From GLASSNODE:XTVCBTC_ADDRESSES_GREATER_THAN_180_DAYS
Counts every address that has not transacted in ≥ 180 days
Sleepy ≥ 0.5 BTC = (Share of 6-month dormant addresses) × (Total ≥ 0.5 BTC)
This gives the estimated number of ≥ 0.5 BTC wallets that are truly long-term dormant.
Why 6-Month Dormancy Matters
7-day activity shows short-term noise.
180-day inactivity reveals real HODLing behavior — coins locked away during entire market cycles.
Historically, rising 6-month dormancy in ≥ 0.5 BTC wallets precedes major bull runs as supply dries up.
Falling dormancy often signals capitulation or profit-taking by long-term holders.
How It Works (Step-by-Step)
Fetches daily data from three Glassnode symbols:
Two rich-list buckets → Total ≥ 0.5 BTC
One dormancy metric → All addresses inactive ≥ 180 days
Calculates the proportion of dormant addresses in the entire network
Applies that ratio to the ≥ 0.5 BTC total → Sleepy ≥ 0.5 (6M)
Smooths the result with a 21-day simple moving average (SMA) to reveal trends
Computes Sleepy Ratio % = (Sleepy 6M ÷ Total ≥ 0.5 BTC) × 100
Fallback mode uses price/volume scaling when Glassnode data is unavailable (free plan compatible)
How to Use It
Signal
Interpretation
Suggested Action
Sleepy Ratio > 68% and rising
Long-term holders refusing to sell
Strong accumulation — buy/hold
Smooth Sleepy trending up
6-month dormancy growing over 21 days
Bullish supply shock forming
Sleepy Ratio < 60% and falling
Long-term coins re-entering circulation
Caution — possible distribution
Smooth Sleepy dropping fast
HODLers breaking after 6+ months
Bearish warning — consider exits
Use on Daily (D) or Weekly (W) charts for clean, actionable signals.
What Makes This Indicator Original
First script to combine Glassnode’s 180-day dormancy metric with custom ≥ 0.5 BTC aggregation
No fake thresholds — uses true 6-month inactivity, not short-term activity
Proportional scaling ensures the ≥ 0.5 BTC dormancy estimate is grounded in real network behavior
Dual output: raw 6-month sleepy count + 21-day SMA for noise reduction and trend clarity
Live info table shows exact values and data source on every bar
Stablecoin Liquidity Delta v2 (Aggregate Market Cap Flow)Updated version of Stablecoin Liquidity Delta (Aggregate Market Cap Flow).
Hi All,
This indicator visualizes the bar-to-bar change in the aggregate market capitalization of major stablecoins, including USDT, USDC, DAI, and others. It serves as a proxy for monitoring on-chain liquidity and measuring capital inflows or outflows across the crypto market.
Stablecoins are the primary liquidity layer of the crypto economy. Their combined market capitalization acts as a mirror of the available fiat-denominated liquidity in digital markets:
🟩 An increase in the total stablecoin market capitalization indicates new issuance (capital entering the market).
🟥 A decrease reflects redemption or burning (liquidity exiting the system).
Tracking these flows helps anticipate macro-level liquidity trends that often lead overall market direction, providing context for broader price movements.
All values are derived from TradingView’s public CRYPTOCAP tickers, which represent the market capitalization of each stablecoin. While minor deviations can occur due to small price fluctuations around the $1 peg, these figures serve as a proxy for circulating supply and net issuance across the stablecoin ecosystem.
Stablecoin Liquidity Delta (Aggregate Market Cap Flow)Hi All,
This indicator visualizes the bar-to-bar change in the aggregate market capitalization of major stablecoins, including USDT, USDC, DAI, and others. It serves as a proxy for monitoring on-chain liquidity and measuring capital inflows or outflows across the crypto market.
Stablecoins are the primary liquidity layer of the crypto economy. Their combined market capitalization acts as a mirror of the available fiat-denominated liquidity in digital markets:
🟩 An increase in the total stablecoin market capitalization indicates new issuance (capital entering the market).
🟥 A decrease reflects redemption or burning (liquidity exiting the system).
Tracking these flows helps anticipate macro-level liquidity trends that often lead overall market direction, providing context for broader price movements.
All values are derived from TradingView’s public CRYPTOCAP tickers, which represent the market capitalization of each stablecoin. While minor deviations can occur due to small price fluctuations around the $1 peg, these figures serve as a proxy for circulating supply and net issuance across the stablecoin ecosystem.
Prev 1-Min Volume • 5% Max Shares (TTP-ready)💡 Overview
This tool was built to help Trade The Pool (TTP) traders comply with the new “5% per minute volume” rule — without needing to calculate anything manually.
It automatically tracks the previous 1-minute volume, calculates 5% of it, and compares that to your planned order size.
If your planned size is within the limit, it shows green ✅.
If you’re above, it flashes red 🚫.
And when liquidity spikes allow for more size, you’ll see a green glow and 🔔 alert — so you can size up confidently without breaking the rule.
⚙️ Features
✅ Auto-calculates 5% volume cap from the previous 1-min candle
✅ Displays previous volume, max allowed shares, and your planned size
✅ TTP “different volume” scaling option (e.g. 0.69 for 45M vs 65M real volume)
✅ Per-bar slice suggestion for 10s scalpers
✅ Corner selector (top-left, top-right, bottom-left, bottom-right)
✅ Visual glow and 🔔 alert when liquidity window opens
✅ Compact and real-time responsive on 10s charts
Smart Dollar Cost Averaging DashboardThis closed-source TradingView indicator implements a comprehensive Dollar Cost Averaging (DCA) savings plan simulation designed to automate systematic investments. The script allows users to set a fixed investment amount and choose a customizable interval—weekly, monthly, or quarterly—at which purchases are simulated against historical or live price data. The core functionality calculates the average buy-in price dynamically by tracking cumulative invested capital and total acquired shares, providing a true average cost basis rather than simple price signals. This average price is visualized as a persistent, non-draggable horizontal line on the chart, enabling traders to intuitively compare the market price to their average entry point. A movable and toggleable dashboard accompanies the indicator, delivering real-time metrics including total investment, number of purchases, portfolio value, profit/loss both in absolute and percentage terms, and the price gap relative to the computed average buy-in. This transparency helps users understand their position’s health and supports disciplined long-term investment strategies. This script stands unique by combining flexible periodic investment scheduling with real capital calculations and detailed, easy-to-read visual feedback that is rarely bundled so intuitively in similar scripts. Unlike many open-source trend-following or scalping tools, this indicator focuses on systematic investment and passive portfolio growth, ideal for investors pursuing dollar cost averaging. Unlike standard buy/sell signal creators or simplistic moving average crossovers, this script models actual cash flow deployment and quantifies performance in real-time with a clean, professional UI. Its originality lies in marrying realistic capital flow simulation with intuitive visualization and multi-interval flexibility.
How It Works:
Tracks virtual investments of fixed cash amounts at user-defined intervals Converts invested amounts into shares based on closing prices, accumulating holding size Recalculates weighted average purchase price after each simulated buy Continuously displays the average buy-in as a stable graphic element on any price chart Offers detailed investment metrics through an interactive dashboard overlay Supports weekly, monthly, and quarterly investment cadences with user-selectable investment days Use Cases: Ideal for investors employing systematic savings plans to build long-term positions Fits cryptocurrency, stock, ETF, and index investments on TradingView Supports financial education by illustrating dollar cost averaging principles visually Facilitates performance tracking for passive investors who prioritize consistent buying over timing The script is an advanced tool meeting a distinct trading niche: systematic, cash-based, passive investment modeling with transparency and user control. This originality and usefulness justify the closed-source mode to protect intellectual property.
Pullback Levels from ATH# ATH Pullback Levels
**Assess correction depth with precision – 5%, 10%, 15%, 20% below All-Time High**
---
### Overview
This indicator draws **horizontal support lines** at **5%, 10%, 15%, and 20%** below the **All-Time High (ATH)** of any asset. Perfect for **swing traders**, **long-term investors**, and **bull market participants** who want to:
- Measure **pullback depth** in real-time
- Identify **potential support zones**
- Set **alerts** when price enters key retracement levels
---
### Features
| Feature | Description |
|--------|-------------|
| **Dynamic ATH Tracking** | Automatically updates with every new high |
| **4 Pullback Levels** | 5%, 10%, 15%, 20% below ATH |
| **Live Pullback % Label** | Shows current % drop from ATH (top-right) |
| **Customizable Lines** | Toggle visibility, change colors & styles |
| **Built-in Alerts** | Trigger on entry into each zone |
| **No Errors** | Works on 50k+ bar charts (BTC, SPX, etc.) |
| **Time-Based Lines** | Uses `xloc.bar_time` – no 500-bar future limit |
---
### How to Use
1. Apply to any chart (stocks, crypto, forex, indices)
2. Watch the **info box** for current pullback %
3. Use lines as **potential buy zones** during corrections
4. Set **alerts** to be notified when price enters a level
> Example: If ATH = $100 →
> - 5% = $95
> - 10% = $90
> - 15% = $85
> - 20% = $80
---
### Inputs
- **Show 5% / 10% / 15% / 20% Level** → Toggle on/off
- **Line Colors** → Fully customizable
- **Line Style** → Solid, Dashed, or Dotted
---
### Alerts
Create alerts directly from the indicator:
- `"Entered 5% Pullback"`
- `"Entered 10% Pullback"`
- etc.
---
### Best For
- Bull market corrections
- Long-term position sizing
- Risk management in uptrends
- Swing entries on dips
---
### Notes
- Works on **all timeframes**
- **Log scale compatible** (lines adjust correctly)
- No repainting – ATH only updates on confirmed highs
---
**Built with Pine Script v6 – Clean, fast, reliable.**
*Happy trading!*
Rolling Correlation vs Another Symbol (SPY Default)This indicator visualizes the rolling correlation between the current chart symbol and another selected asset, helping traders understand how closely the two move together over time.
It calculates the Pearson correlation coefficient over a user-defined period (default 22 bars) and plots it as a color-coded line:
• Green line → positive correlation (move in the same direction)
• Red line → negative correlation (move in opposite directions)
• A gray dashed line marks the zero level (no correlation).
The background highlights periods of strong relationship:
• Light green when correlation > +0.7 (strong positive)
• Light red when correlation < –0.7 (strong negative)
Use this tool to quickly spot diversification opportunities, confirm hedges, or understand how assets interact during different market regimes.






















