Crypto Narratives Performance [SwissAlgo]Crypto Narratives Performance Index
--------------------------------------------------------
What this indicator is
This script displays a relative performance index that compares the market capitalization trends of various crypto categories (narratives) against a selected 'Base asset' (BTC, ETH, or SOL) over a configurable rolling time window (default: 14-day).
It’s designed to help users observe sector rotation dynamics across the crypto ecosystem — such as whether DeFi is outperforming ETH, or if AI coins are underperforming relative to BTC.
--------------------------------------------------------
What it does
This indicator measures the percentage change in total market cap of a selected crypto sector over a user-defined lookback period, and compares it to the percentage change in market cap of a chosen base asset over the same period. The result is expressed as a ratio and transformed into a z-score, normalized over the last 180 bars. This allows the user to easily identify whether the sector is outperforming or underperforming the base asset in relative terms.
It also includes a smoothed signal line, a performance table, and marked background zones (levels of standard deviations) to help interpret potential extremes in sector outperformance or underperformance.
--------------------------------------------------------
How it works
It retrieves daily market capitalization data for both the selected base asset and sector from TradingView's CRYPTOCAP: data feed.
It computes the percent change in $ market cap over one of the following selectable periods: 1, 3, 7, 14, 30, or 60 days (14-day is the default).
The percentage change of the base is subtracted from the percentage change of the sector, producing a raw relative performance differential.
This differential is then normalized into a Z-Score, using a 180-day rolling mean and standard deviation.
The Z-Score is smoothed using an exponential moving average (EMA), and plotted against a secondary EMA signal line (to track potential performance trend changes).
A visual table compares the performance of all listed sectors against the selected base, ranked and annotated with basic symbols (stars for performance, alerts for underperformance vs. the selected 'Base Asset', i.e. BTC or ETH or SOL).
--------------------------------------------------------
Visual Features
* Color-coded plot line: Turns green, yellow, orange, or red based on zone and momentum.
* Signal line: Gray EMA of the z-score for trend comparison.
* Background fill zones:
±3 = "Extreme" outperform/underperform
±2 to ±3 = "Strong" zone
±1 to ±2 = Mild over/underperformance
±1 to -1 = Neutral performance range
* Dynamic Table:
Displays all sector vs. base performance differences.
Highlights the selected comparison sector.
Uses emojis (⭐/⚠️) for relative status at a glance.
--------------------------------------------------------
Who may benefit
This script may assist:
Crypto analysts tracking capital rotation across narratives.
Swing traders looking to spot momentum trends in crypto sectors.
Portfolio allocators observing which groups are leading or lagging relative to majors (BTC, ETH, SOL).
Developers or researchers evaluating sentiment shifts across categories (e.g., AI tokens rising vs. DeFi).
It is not a buy/sell signal tool — it's a sector/crypto narratives -relative monitor.
--------------------------------------------------------
Key Applications
Detect sector rotation (e.g., when Layer 1s start to outperform ETH, or BTC/SOL).
Monitor if certain categories are experiencing sustained interest or fading momentum.
Compare the strength of emerging narratives like DePIN, RWA, or World Liberty vs. majors.
Identify possible "mean-reversion" setups when a sector is excessively stretched relative to its historical norm.
--------------------------------------------------------
Limitations
Data dependency: All calculations rely on TradingView’s CRYPTOCAP: market cap feeds.
Normalization window: The z-score normalization is static at 180 bars; in choppy markets this may over-smooth or underreact.
Asset inclusion: The sectors reflect predefined index aggregates. Not all coins in a category may be equally weighted or relevant.
Lag: EMA smoothing introduces delay in reactive plotting.
No intra-day support: Works best on daily timeframes, as CRYPTOCAP: feeds are daily-only.
Not predictive: This script reflects past capital flows. It does not forecast future price moves.
--------------------------------------------------------
Customization
Users can adjust the following:
Base asset: BTC, ETH, SOL
Crypto sector (comparison): Choose from 11+ sectors, including DeFi, AI, Memes, Layer 1, etc.
Rolling performance period: Choose between 1–60 days.
Smoothing settings: Length of the EMA for the ratio and signal line.
Show/hide info table: Useful for screen space management.
Special Notes:
Please set the chart timeframe at 1-day in line with CRYPTOCAP data availability.
Please select the dark color scheme to view table and colors properly.
--------------------------------------------------------
Risk Disclaimer
This indicator is for informational and educational purposes only. It does not constitute financial advice, trading advice, or an invitation to engage in any financial strategy. Always conduct your own due diligence before making investment decisions. Use at your own risk.
Market conditions may shift rapidly, and past sector performance is not necessarily indicative of future outcomes. This tool is best used as part of a broader analytical framework, not in isolation.
Protected script: source code is hidden to preserve logic integrity and prevent tampering.
If you need clarification or encounter unexpected behavior with data feeds, please check the TradingView Help Center or post in the "Indicators and Strategies" section of the TradingView community.
Cycles
Up/Down Volume with Table (High Contrast)Up/Down Volume with Table (High Contrast) — Script Summary & User Guide
Purpose of the Script
This TradingView indicator, Up/Down Volume with Table (High Contrast), visually separates and quantifies up-volume and down-volume for each bar, providing both a color-coded histogram and a dynamic table summarizing the last five bars. The indicator helps traders quickly assess buying and selling pressure, recent volume shifts, and their relationship to price changes, all in a highly readable format.
Key Features
Up/Down Volume Columns:
Green columns represent volume on bars where price closed higher than the previous bar (up volume).
Red columns represent volume on bars where price closed lower than the previous bar (down volume).
Delta Line:
Plots the net difference between up and down volume for each bar.
Green when up-volume exceeds down-volume; red when down-volume dominates.
Interactive Table:
Displays the last five bars, showing up-volume, down-volume, delta, and close price.
Color-coding for quick interpretation.
Table position, decimal places, and timeframe are all user-configurable.
Custom Timeframe Support:
Calculate all values on the chart’s timeframe or a custom timeframe of your choice (e.g., daily, hourly).
High-Contrast Design:
Table and plot colors are chosen for maximum clarity and accessibility.
User Inputs & Configuration
Use custom timeframe:
Toggle between the chart’s timeframe and a user-specified timeframe.
Custom timeframe:
Set the timeframe for calculations if custom mode is enabled (e.g., "D" for daily, "60" for 60 minutes).
Decimal Places:
Choose how many decimal places to display in the table.
Table Location:
Select where the table appears on your chart (e.g., Bottom Right, Top Left, etc.).
How to Use
Add the Script to Your Chart:
Copy and paste the code into a new Pine Script indicator on TradingView.
Add the indicator to your chart.
Configure Inputs:
Open the indicator settings.
Adjust the timeframe, decimal places, and table location as desired.
Read the Table:
The table appears on your chart (location is user-selectable) and displays the following for the last five bars:
Bar: "Now" for the current bar, then "Bar -1", "Bar -2", etc. for previous bars.
Up Vol: Volume on bars where price closed higher than previous bar, shown in black text.
Down Vol: Volume on bars where price closed lower than previous bar, shown in black text.
Delta: Up Vol minus Down Vol, colored green for positive, red for negative, black for zero.
Close: Closing price for each bar, colored green if price increased from previous bar, red if decreased, black if unchanged.
Interpret the Histogram and Lines:
Green Columns:
Represent up-volume. Tall columns indicate strong buying volume.
Red Columns:
Represent down-volume. Tall columns indicate strong selling volume.
Delta Line:
Plotted as a line (not a column), colored green for positive values (more up-volume), red for negative (more down-volume).
Large positive or negative spikes may indicate strong buying or selling pressure, respectively.
How to Interpret the Table
Column Meaning Color Coding
Bar "Now" (current bar), "Bar -1" (previous bar), etc. Black text
Up Vol Volume for bars with higher closes than previous bar Black text
Down Vol Volume for bars with lower closes than previous bar Black text
Delta Up Vol - Down Vol. Green if positive, red if negative, black if zero Green/Red/Black
Close Closing price for the bar. Green if price increased, red if decreased, black if unchanged Green/Red/Black
Green Delta: Indicates net buying pressure for that bar.
Red Delta: Indicates net selling pressure for that bar.
Close Price Color:
Green: Price increased from previous bar.
Red: Price decreased.
Black: No change.
Practical Trading Insights
Consistently Green Delta (Histogram & Table):
Sustained buying pressure; may indicate bullish sentiment or accumulation.
Consistently Red Delta:
Sustained selling pressure; may indicate bearish sentiment or distribution.
Large Up/Down Volume Spikes:
Big green or red columns can signal strong market activity or potential reversals if they occur at trend extremes.
Delta Flipping Colors:
Rapid alternation between green and red deltas may indicate a choppy or indecisive market.
Close Price Color in Table:
Use as a quick confirmation of whether volume surges are pushing price in the expected direction.
Troubleshooting & Notes
No Volume Data Error:
If your symbol doesn’t provide volume data (e.g., some indices or synthetic assets), the script will display an error.
Custom Timeframe:
If using a custom timeframe, ensure your chart supports it and that there is enough data for meaningful calculations.
High-Contrast Table:
Designed for clarity and accessibility, but you can adjust colors in the code if needed for your personal preferences.
Summary Table Legend
Bar Up Vol Down Vol Delta Close
Now ... ... ... ...
Bar-1 ... ... ... ...
... ... ... ... ...
Colors reflect the meaning as described above.
In Summary
This indicator visually and numerically breaks down buying and selling volume, helping you spot shifts in market sentiment, volume surges, and price/volume divergences at a glance.
Use the table for precise recent data, the histogram for overall flow, and the color cues for instant market context.
Slope Based Divergences of Wavelet - (Multi-Length, Dual Price)
1. Summary
This is not a typical divergence indicator. Instead of comparing simple peaks and troughs in price and an oscillator, the Slope-Based Divergence Engine performs a far more rigorous analysis by measuring the rate of change (slope) itself.
It identifies high-probability divergence opportunities by detecting moments when price is accelerating strongly in one direction while the underlying momentum, measured by a sophisticated Scientific Wavelet Oscillator, is accelerating in the opposite direction. By requiring confirmation from two different price sources (high and low) and across multiple timeframes, it aims to filter out noise and pinpoint only the most potent moments of market exhaustion.
2. The Core Innovation: Why Slope?
Traditional divergence indicators look at levels (e.g., price made a higher high, RSI made a lower high). This script looks at momentum's momentum.
Traditional Method: "Price went up, but momentum went down."
This Script's Method: "Price is accelerating upwards faster than ever, but momentum is decelerating faster than ever."
By focusing on the slope, the indicator identifies points of maximum stress and disagreement in the market, which often precede sharp reversals.
3. Key Components & Logic
The script's power comes from its multi-layered filtering system:
Scientific Wavelet Oscillator: The indicator's engine is a custom oscillator built using a Haar Wavelet Transform. Unlike standard oscillators (like RSI or Stochastics) that use a single period, this one analyzes the price across multiple different time scales (or "octaves") simultaneously. It then fuses this information into a single, robust momentum reading that is normalized using a statistical Z-score.
Multi-Length Average Slope: The script doesn't just calculate a single slope. It calculates the slope across a range of lookback periods (e.g., from 1 to 30 bars) and then averages them. This creates a much smoother and more reliable measure of the trend's current velocity, filtering out the noise from any single period.
Dual Price Confirmation: To qualify a price trend, the script requires that the slope of two separate price sources (by default, high and low) are both in agreement. For a bearish divergence, the slopes of both the session high and low must be accelerating upwards aggressively. This ensures the entire price bar is participating in the move and avoids false signals from wicks or narrow ranges.
Multi-Timeframe Percent Rank: The script uses percentrank to normalize the calculated slopes, putting them on a scale of 0 to 100. This allows it to identify statistically extreme readings. A divergence is only confirmed if it meets the criteria on both a Long-Term (LL) and Short-Term (LS) lookback. This ensures the signal is not just a momentary fluke but is a valid point of exhaustion in both the immediate and broader context.
4. How to Interpret the Signals
The indicator plots simple labels on the chart when all conditions are met:
Green "Bull" Label (Bullish Divergence): Appears when:
The slopes of both high and low are accelerating downwards (in the bottom 8% of their historical readings for both long and short lookbacks).
Simultaneously, the slope of the wavelet oscillator is accelerating upwards (in the top 92% of its historical readings).
Meaning: Price is in a state of free-fall, but the underlying momentum is aggressively turning up. This signals that selling pressure is likely exhausted.
Red "Bear" Label (Bearish Divergence): Appears when:
The slopes of both high and low are accelerating upwards (in the top 92% of their historical readings).
Simultaneously, the slope of the wavelet oscillator is accelerating downwards (in the bottom 8% of its historical readings).
Meaning: Price is in a state of extreme ascent (a "blow-off top"), but the underlying momentum is collapsing. This signals that buying pressure is likely exhausted.
5. How to Use in Trading
Reversal Signals: The labels should be treated as high-probability signals that a trend is exhausted and a reversal or significant pullback is imminent.
Confirmation Tool: Do not use the labels as standalone entry signals. Always seek confirmation from other forms of analysis, such as a break of a trendline, a key support/resistance level holding, or a classic candlestick reversal pattern.
Exit Signals: A bearish divergence label can serve as a powerful signal to take profit on long positions, and a bullish label can be a signal to cover shorts.
MACD + RSI + Volume + Support + CCIertyewrterwytewryteert
reewrt
erwtrew
trewt
rewtre
trewt
ewrt
wert
wert
ewrt
ewrt
wert
ewrt
rwertwertewrtewrtewtrewrtewrte
ertwertwertewqr
ewrtwertetr
Stock-Specific SMA200 Volatility NormalizedIt is used for swing treding it is shows for 0 to 100 range for every stock
No Nonsense Forex Moving Averages ATR Bands[T1][T69]🔍 Overview
This indicator implements a No Nonsense Forex-style Baseline combined with ATR Bands, built using the moving_averages_library by Teyo69. It plots a configurable moving average and dynamically adjusts upper/lower ATR bands for trade zone detection and baseline confirmation.
✨ Features
30+ Moving Average types
ATR bands to define dynamic trade zones
Visual background highlighting for trade signals
Supports both "Within Range" and "Baseline Bias" display modes
Clean, minimal overlay with effective zone coloring
⚙️ How to Use
Choose MA Type: Select the baseline logic (SMA, EMA, HMA, etc.)
Configure ATR Bands: Adjust the ATR length and multiplier
Select Background Mode:
Within Range: Yellow = price inside band, Gray = outside
Long/Short Baseline Signal: Green = price above baseline, Red = below
Trade Setup:
Use the baseline for trend direction
Wait for confirmation or avoidance when price is outside the band
🛠 Configuration
Source: Price source for MA
MA Type: Any supported MA from the library
MA Length: Number of bars for smoothing
ATR Length: Period for Average True Range
ATR Multiplier: Width of the bands
Background Signal Mode: Choose visual signal type
⚠️ Limitations
Works with one MA at a time
Requires the moving_averages_library imported
Does not include confirmation or exit logic — use with full NNFX stack
💡 Tips
Combine with Volume or Confirmation indicators for NNFX strategy
Use adaptive MAs like KAMA, JMA, or VIDYA for dynamic baselines
Adjust ATR settings based on asset volatility
📘 Credits
Library: Teyo69/moving_averages_library/1
Inspired by: No Nonsense Forex (VP) Baseline + ATR Band methodology & MigthyZinger
signBTC Day&Session BoxesThis indicator visually segments the trading week on your chart, drawing each day from 17:00 to 17:00 New York time (corresponding to the typical forex daily rollover). For enhanced session structure, every day is further divided into three major trading sessions:
Asian Session
London Session
New York Session
Additionally, the indicator automatically marks the opening time of each new day at 17:00 (New York time) directly on the chart, helping traders quickly identify daily cycles and session transitions.
Customization Features
Adjustable Session Times: Users can modify the start and end times for each session (Asian, London, New York) to match personal or institutional trading hours.
Flexible Day Boundaries: The time marking the start and end of each day (default: 17:00 NY) can also be adjusted according to preference or asset specifics.
Opening Time Marker: The feature for drawing the daily opening time can be enabled or disabled in the settings.
This tool is ideal for traders needing clear visual cues for session boundaries and daily market resets, especially those operating across multiple time zones or managing strategies dependent on session-specific behavior. All settings are conveniently accessible and fully customizable within the indicator’s parameter panel.
QT Separator by BailaSimple and Clean QT indicator.
Helps to spot SSMT
Based on: Daye Quarterly Theory by toodegrees
These Quarters represent:
A - Accumulation (required for a cycle to occur)
M - Manipulation
D - Distribution
X - Reversal/Continuation
The Visualized Trader (Fractal Timeframe)The **The Visualized Trader (Fractal Timeframe)** indicator for TradingView is a tool designed to help traders identify strong bullish or bearish trends by analyzing multiple technical indicators across two timeframes: the current chart timeframe and a user-selected higher timeframe. It visually displays trend alignment through arrows on the chart and a condition table in the top-right corner, making it easy to see when conditions align for potential trade opportunities.
### Key Features
1. **Multi-Indicator Analysis**: Combines five technical conditions to confirm trend direction:
- **Trend**: Based on the slope of the 50-period Simple Moving Average (SMA). Upward slope indicates bullish, downward indicates bearish.
- **Stochastic (Stoch)**: Uses Stochastic Oscillator (5, 3, 2) to measure momentum. Rising values suggest bullish momentum, falling values suggest bearish.
- **Momentum (Mom)**: Derived from the MACD fast line (5, 20, 30). Rising MACD line indicates bullish momentum, falling indicates bearish.
- **Dad**: Uses the MACD signal line. Rising signal line is bullish, falling is bearish.
- **Price Change (PC)**: Compares the current close to the previous close. Higher close is bullish, lower is bearish.
2. **Dual Timeframe Comparison**:
- Calculates the same five conditions on both the current timeframe and a user-selected higher timeframe (e.g., daily).
- Helps traders see if the trend on the higher timeframe aligns with the current chart, providing context for stronger trade decisions.
3. **Visual Signals**:
- **Arrows on Chart**:
- **Current Timeframe**: Blue upward arrows below bars for bullish alignment, red downward arrows above bars for bearish alignment.
- **Higher Timeframe**: Green upward triangles below bars for bullish alignment, orange downward triangles above bars for bearish alignment.
- Arrows appear only when all five conditions align (all bullish or all bearish), indicating strong trend potential.
4. **Condition Table**:
- Displays a table in the top-right corner with two rows:
- **Top Row**: Current timeframe conditions (Trend, Stoch, Mom, Dad, PC).
- **Bottom Row**: Higher timeframe conditions (labeled with "HTF").
- Each cell is color-coded: green for bullish, red for bearish.
- The table can be toggled on/off via input settings.
5. **User Input**:
- **Show Condition Boxes**: Toggle the table display (default: on).
- **Comparison Timeframe**: Choose the higher timeframe (e.g., "D" for daily, default setting).
### How It Works
- The indicator evaluates the five conditions on both timeframes.
- When all conditions are bullish (or bearish) on a given timeframe, it plots an arrow/triangle to signal a strong trend.
- The condition table provides a quick visual summary, allowing traders to compare the current and higher timeframe trends at a glance.
### Use Case
- **Purpose**: Helps traders confirm strong trend entries by ensuring multiple indicators align across two timeframes.
- **Example**: If you're trading on a 1-hour chart and see blue arrows with all green cells in the current timeframe row, plus green cells in the higher timeframe (e.g., daily) row, it suggests a strong bullish trend supported by both timeframes.
- **Benefit**: Reduces noise by focusing on aligned signals, helping traders avoid weak or conflicting setups.
### Settings
- Access the indicator settings in TradingView to:
- Enable/disable the condition table.
- Select a higher timeframe (e.g., 4H, D, W) for comparison.
### Notes
- Best used in trending markets; may produce fewer signals in choppy conditions.
- Combine with other analysis (e.g., support/resistance) for better decision-making.
- The higher timeframe signals (triangles) provide context, so prioritize trades where both timeframes align.
This indicator simplifies complex trend analysis into clear visual cues, making it ideal for traders seeking confirmation of strong momentum moves.
God's Plan 7.2 - FVGP EnhancedThis is a buy/sell indicator containing the code for the Top Bottom indicator, VWAP and 9 EMA.
Buy conditions are Top Bottom buy and 9 EMA crossing above the VWAP.
Sell conditions are Top Bottom sell and 9 EMA crossing below the VWAP.
C signals indicate continuations.
Zero TOD constraints.
This is a simple strategy to help train the eye to recognize trend shifts and potential entries.
It is important for the users of this strategy to use their own logic when determining stop loss and targets.
Thank you to all of the coders and creators that have provided us with inspiration for this strategy. Happy trading!
EMA Crossover Candle ColorEMA Crossover ( whenever the 21 and 8 crossthe candle changes a different color to whatever you prefer.
xGhozt Stoch RSI StatsQuantify Stochastic RSI behavior with this unique analytical tool. It measures the average number of candles and total occurrences your chosen Stochastic RSI spends within its overbought and oversold zones. All historical data is presented in a clean, customizable table directly on your chart, helping you understand the typical persistence and frequency of extreme conditions to sharpen your market analysis.
QTR Sector Fund Performance vs SPY - by LMAnalyzes various market sectors and compares the last several quarters to the performance of the SPY. The goal is to seek out the sectors that have underperformed for several quarters in the hopes that they would overperform in the next quarter.
Digital Clock with Candle Alert📊 Digital Clock with Candle Alert
A sleek, customizable digital clock for your trading charts that displays real-time with seconds and provides visual alerts before new candles form. Never miss a candle entry again!
✨ Key Features:
- Real-time Digital Clock - Shows hours, minutes, and seconds in your chosen timezone
- Visual Candle Alerts - Blinking notification before new candles form
- Multi-Timeframe Alerts - Get alerts for any timeframe regardless of your chart period
- Fully Customizable - Colors, size, position, and alert timing all configurable
- Half-Second Blinking - Eye-catching 2Hz blink rate for maximum visibility
- 6 Timezone Options - Exchange, UTC, New York, London, Tokyo, Sydney
🎯 Use Cases:
- Scalping - Know exactly when the next candle will form
- Entry Timing - Perfect for strategies that enter on new candles
- Multi-Timeframe Trading - Monitor higher timeframe candles while on lower timeframes
- General Awareness - Always know the current time in your trading timezone
⚙️ Settings:
Time Settings:
- Timezone selection (Exchange default or specific zones)
Display Options:
- Text and background colors for normal operation
- Alert colors for blinking state
- Text size (tiny to huge)
- Position (9 locations on chart)
Alert Configuration:
- Enable/disable blinking alerts
- Select timeframe to monitor
- Alert lead time (5 seconds to 1 hour)
📝 Important Notes:
- Clock updates depend on incoming price ticks
- During low-volume periods, updates may be less frequent
- Works best on liquid instruments during active market hours
- Alert timeframe is independent of your chart timeframe
💡 Tips:
- Use contrasting alert colors for maximum visibility
- Set lead time based on your reaction needs
- Position clock where it won't obstruct price action
- Try red background with white text for urgent alerts
🔄 Version 1.0 - Initial release
Cycle Timing Signal v1.1 – Wave + Reset Alerts🌀 Cycle Timing Signal v1.1 – Wave + Reset Alerts
Description:
The Cycle Timing Signal v1.1 indicator is designed to help traders identify time-based market reversals using a simple yet powerful cycle-based approach. It visually highlights cycle high/low resets, plots a dynamic cycle timing line, and overlays a customizable sine wave for enhanced timing analysis. This tool is ideal for traders seeking to combine rhythm, pattern recognition, and timing clarity into their strategy.
Key Features:
✅ Automatic Cycle Reset Detection – Highlights when a new cycle low or high is formed.
🟩 Background Color Coding – Optional background shading to reflect momentum or directional shift within the cycle.
🔔 Alert Conditions – Set alerts for fresh BUY (low reset) or SELL (high reset) signals.
🏷️ Chart Labels – Toggle on/off Buy/Sell labels at key turning points.
🔮 Overlay Sine Wave – Visualize cyclical rhythm with an adjustable amplitude and vertical offset sine wave.
📘 How to Use:
Cycle Length:
Set the number of bars to define your cycle. Default is 55, which works well for many instruments, but can be adjusted to suit your asset or timeframe.
Visual Cues:
Cycle Timing Line (main plot): Blue when favoring upward timing, red for downward. The line is based on the time since the last cycle high or low.
Background Color (optional): Helps visualize shifts in cycle direction and timing momentum.
BUY/SELL Labels (optional): Displayed at fresh cycle lows (BUY) and highs (SELL).
Sine Wave Overlay (optional):
Enables you to visualize cyclical flow in a smooth, rhythmic pattern. Use amplitude and vertical offset controls to align it visually with price action.
Alerts:
Add alerts on "Cycle Buy Reset" and "Cycle Sell Reset" to be notified when a new cycle low or high is detected.
⚙️ Suggested Use Cases:
Swing Trading: Identify reversal zones within dominant cycles.
Overlay with Price Action: Use timing resets alongside support/resistance or candlestick patterns.
Cycle Confluence: Combine with other cyclical indicators (e.g. RSI cycles, lunar/astro cycles, etc.) for deeper timing confirmation.
God's Plan 7.1This is a buy/sell indicator containing the code for the Top Bottom indicator, VWAP and 9 EMA.
Buy conditions are Top Bottom buy and 9 EMA crossing above the VWAP.
Sell conditions are Top Bottom sell and 9 EMA crossing below the VWAP.
C signals indicate continuations.
Zero TOD constraints.
This is a simple strategy to help train the eye to recognize trend shifts and potential entries.
It is important for the users of this strategy to use their own logic when determining stop loss and targets.
Thank you to all of the coders and creators that have provided us with inspiration for this strategy. Happy trading!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
todaywewin73
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
0 comments
Gold Grid Lines (Fixed)Indicator function details: Gold Grid Lines (Fixed)
🧭 Purpose:
The indexer is designed to help structure the price of a horizontal line (Grid) on a graph of gold or any asset.
To use as a psychological reference, round-trip trading, or watch price fluctuations at equal levels.
⸻
🧩 Key Script Functions
1. 🔲 Draw horizontal lines in a grid (Grid Lines) style
• Use the Base Price that you specify, e.g. 2000.0.
• Draw a line up and down from the middle price with the same distance (Stepper Line).
• The number of lines on each side is set (Lines Up/Down).
• The line draws only one time when the graph is opened, so that the graph does not slow down.
✏️ Example:
• Base Price = 2000.0
• Stepper Line = 1.0 → means 100 gold dots.
• Lines = 5 → Draw 5 upper and 5 lower lines
→ get a price tag of 1995, 1996, … , 2005
⸻
2. 📉 Draw the day's open price line (Daily Open Line)
• When entering a new day, the system records the open price of the first bar of the day.
• Draw a horizontal line as "Daily Open Line" to help traders see how prices opened that day.
• Ideal for analysis of "over-open/under-open" behavior (e.g. trend, selling/buying force)
SENTIMENTSENTIMENT Indicator – User Guide
Summary
The SENTIMENT indicator provides a quick visual reference for current and recent market sentiment. It compares the closing price to a custom sentiment value, which is the average of the 100-period (default) simple moving averages (SMA) of the high and low prices. The indicator displays this information in a color-coded table and plots the difference between price and sentiment as a line on your chart.
How to Use
1. Table Overview
The table appears on your chart in your chosen position.
It displays four rows: the current bar (“Now”) and the previous three bars (“Bar -1”, “Bar -2”, “Bar -3”).
Each row shows:
The bar label (The current bar is live and active, constantly changing)
The closing price for that bar
The difference between the closing price and the sentiment value for that bar
The sentiment difference is color-coded:
Green: Price is above sentiment (bullish)
Red: Price is below sentiment (bearish)
2. Chart Plot
The indicator plots a line showing the difference between the current price and the sentiment value.
When the line is above zero: price is above sentiment (bullish).
When the line is below zero: price is below sentiment (bearish).
3. Settings
Number of Lookback Bars: Adjusts the SMA period for sentiment calculation (default is 100).
Table Position: Choose where to display the table on your chart (e.g., Top Left, Bottom Right).
How to Interpret
Green values in the table or a plot above zero suggest bullish sentiment.
Red values in the table or a plot below zero suggest bearish sentiment.
Use this indicator to quickly assess if the market is trading above or below its recent average sentiment level.
Tips
You can combine the SENTIMENT indicator with other tools or signals for more robust trading decisions.
Adjust the lookback period to suit your trading timeframe and style.
Risk On/Off Index [SwissAlgo]Risk On/Off Index - Sector Rotation Analysis
----------------------------------------------------
What it does:
This indicator estimates market risk appetite by comparing the weighted performance of growth/cyclical sectors (Risk-On) against defensive sectors (Risk-Off).
It provides a normalized oscillator that ranges from -1 (extreme risk-off) to +1 (extreme risk-on), which may help traders identify potential shifts in market sentiment and sector rotation patterns.
The analysis examines whether institutional money flows favor aggressive growth assets or seek safety in defensive positions, potentially offering insights into the underlying risk tolerance that drives market movements. When properly interpreted alongside other analyses, this information could assist in understanding broader market cycles and sentiment transitions.
----------------------------------------------------
How it works:
The indicator analyzes 11 major sector ETFs weighted by their actual market capitalization representation:
Risk-On sectors (70% weight) : Technology (28%), Financials (11%), Consumer Discretionary (10%), Communication (9%), Industrials (8%), Energy (4%), Materials (2.5%), Real Estate (2%)
Risk-Off sectors (30% weight) : Healthcare (13%), Consumer Staples (6%), Utilities (2.5%)
The algorithm calculates the weighted performance difference over your selected timeframe (7 days to 12 months) and normalizes it using three methods: Simple Difference, Tanh Normalized, or Historical Range. A 7-period EMA smooths the signal, while a longer signal line (default 50) provides trend context.
----------------------------------------------------
Visual Features:
Main curve (Risk Appetite Delta) : The primary line shows the smoothed (7-period EMA) risk appetite reading. When above zero, growth sectors are outperforming defensive sectors (risk-on sentiment). When below zero, defensive sectors are outperforming growth sectors (risk-off sentiment).
Signal line : A longer EMA (default 50-period) of the risk appetite data that represents the underlying trend. Crossovers between the main curve and signal line may indicate potential momentum shifts in market sentiment (potential long signal when the crossover happens in extreme risk-off zones, and potential short signal when the crossunder occurs in extreme risk-on zones)
Dynamic color coding : The main curve color reflects both position and momentum:
Red : Risk-on territory (>0) with strengthening momentum (above signal line)
Green : Risk-on territory (>0) but weakening momentum (below signal line) - potential reversal warning
Maroon : Risk-off territory (<0) but strengthening momentum (above signal line) - potential reversal warning
Lime : Risk-off territory (<0) with strengthening momentum (below signal line)
Gradient background zones : Subtle fills indicate risk appetite intensity levels from moderate (0 to ±0.25) through strong (±0.25 to ±0.5) to extreme (±0.5 to ±1.0)
Sector breakdown table : Shows individual sector performance with clear Risk-On/Risk-Off categorization
Reference levels : Horizontal lines mark neutral (0), strong (±0.5), and extreme (±1) risk appetite zones
This color system allows traders to quickly assess not just current sentiment (above/below zero) but also whether that sentiment is strengthening or potentially reversing based on the relationship with the signal line.
----------------------------------------------------
Who may benefit:
Portfolio managers rotating between growth and defensive allocations
Swing traders timing sector rotation plays
Risk managers monitoring overall market sentiment
Asset allocators adjusting exposure based on risk appetite cycles
----------------------------------------------------
Key applications:
Identify when markets transition from growth-seeking to risk-averse behavior
Time entries into cyclical sectors during risk-on phases
Rotate to defensive sectors when risk appetite weakens
Spot divergences between individual stocks and broader market sentiment
----------------------------------------------------
Limitations:
This indicator reflects US equity sector dynamics and may not capture risk sentiment in other asset classes or geographic regions. ETF-based analysis introduces slight tracking differences from underlying sector performance. Past performance patterns do not guarantee future results.
----------------------------------------------------
Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial advice or trading recommendations. Users should conduct their own analysis and risk assessment before making investment decisions. SwissAlgo assumes no responsibility for trading losses or investment outcomes based on this indicator's signals.
JXMJXRS - Macro Flow CompassThe Macro Flow Compass is designed to give a high-level view of market behaviour by tracking how capital is moving across the crypto ecosystem. It’s not an entry or exit tool. Instead, it helps identify when the overall environment is shifting, whether capital is favouring majors like BTC and ETH, rotating into altcoins, or moving into stables.
The goal is to keep you aligned with broader market cycles, so trades are taken with macro context in mind.
The script works by analyzing four key metrics:
Total crypto market cap (CRYPTOCAP:TOTAL)
Bitcoin dominance (CRYPTOCAP:BTC.D)
Ethereum dominance (CRYPTOCAP:ETH.D)
Combined stable coin dominance from USDT and USDC (CRYPTOCAP:USDT.D + USDC.D)
These are smoothed using a basic EMA (Exponential Moving Average) to reduce noise. The script then checks for changes in dominance and market cap slope to detect when capital is likely flowing into or out of specific sectors.
When certain conditions align, the script will shade the background with one of the following colours:
Green Panel – Risk-on behaviour in majors. Usually appears when total market cap is trending up and BTC dominance is dropping, or stable coin dominance is falling. It suggests BTC and ETH are likely receiving capital inflow, not necessarily pumping but positioned better for upside.
Orange Panel – Altcoin rotation. Happens when ETH dominance is rising or stables are pulling back, while the market cap is also rising. These tend to precede altcoin outperformance phases.
Blue Panel – Stable coin build-up. Signals increasing stable coin dominance. Often a defensive move, either after a drop or in anticipation of volatility. This can mean risk-off conditions.
The indicator uses three main settings:
Smoothing Length – Controls how reactive the EMAs are. Lower values react quicker to short-term changes; higher values will slow things down and highlight more persistent trends.
Dominance Flip Threshold (%) – Sets how much a dominance value must change in one bar to trigger a condition. It’s there to avoid reacting to tiny shifts that don’t really matter.
Macro Cap Slope Length – Determines how the macro market cap trend is calculated. It looks at the slope of a long-term regression to decide if we’re in an uptrend or downtrend.
This tool works on higher timeframes like the weekly or monthly, and it’s especially useful when combined with your own technical analysis.
God's Plan 7This is a buy/sell indicator containing the code for the Top Bottom indicator, VWAP and 9 EMA.
Buy conditions are Top Bottom buy and 9 EMA crossing above the VWAP.
Sell conditions are Top Bottom sell and 9 EMA crossing below the VWAP.
C signals indicate continuations.
Zero TOD constraints.
This is a simple strategy to help train the eye to recognize trend shifts and potential entries.
It is important for the users of this strategy to use their own logic when determining stop loss and targets.
Thank you to all of the coders and creators that have provided us with inspiration for this strategy. Happy trading!
EMA10/14/20 Trend Alignment (1st Signal Only)// ╔══════════════════════════════════════════════╗
// ║ M1 Starter Entry 10/14/20 (TH/EN) ║
// ╚══════════════════════════════════════════════╝
//
// 📌 ภาษาไทย:
// ระบบนี้ใช้ EMA 10/14/20 สำหรับจับจุดเข้าไม้ต้นเทรนด์ใน Timeframe M1
// - ออกสัญญาณ Buy เมื่อ EMA เรียงตัว 10 > 14 > 20 และแท่งเทียนยืนเหนือเส้น (โดยไม่แนบเส้นเกินไป)
// - ออกสัญญาณ Sell เมื่อ EMA เรียง 10 < 14 < 20 และแท่งอยู่ใต้เส้นทั้งหมด
// - มีการตรวจสอบระยะห่างระหว่างเส้น เพื่อหลีกเลี่ยงจุดหลอกตอน EMA ชิดกัน
// - สัญญาณออกเฉพาะ “แท่งแรก” หลังเข้าเงื่อนไขเท่านั้น
//
// 📌 English:
// This script detects early trend entries using EMA 10/14/20 on M1 timeframe.
// - Buy signal: When EMA10 > EMA14 > EMA20, and the candle closes above all EMAs
// - Sell signal: When EMA10 < EMA14 < EMA20, and the candle closes below all EMAs
// - Minimum distance between EMAs required to avoid fake signals in flat zones
// - Signals are shown only on the **first candle** that meets all conditions
//
// 🛠 เหมาะกับการใช้คู่กับระบบ MTF หรือแนวรับต้านด้วย
// Created by: คุณซี 💚