Risk Metric 1D/1W (Magistr)The “RISK METRIC 1D/1W” indicator is designed to assess the risk of trading strategies or assets on daily (1D) and weekly (1W) timeframes. It helps to understand potential risk levels. Our indicator takes into account volatility, drawdowns, probability of large losses or profitable opportunities, which allows you to make more informed decisions on entering or exiting a position.
The indicator can show, for example:
- the probability of heavy drawdowns,
- the strength of market movements,
- risk levels compared to historical data,
- potential range of possible losses or profits in a given time frame.
Kitaran
CRYPTOPASTOR SR PROCRYPTOPASTOR SR PRO
The ultimate automated support, resistance, and trade setup toolkit.
Description
CRYPTOPASTOR SR PRO is the all-in-one solution for traders who want to combine powerful, automated support and resistance analysis with actionable trade setups. This indicator moves beyond simple lines on a chart; it identifies and draws the most statistically significant S/R zones and then uses that data to automatically generate potential Entry , Stop Loss , and Take Profit levels for you.
Built for both discretionary and systematic traders, SR PRO cleans up your workflow, removes manual guesswork, and provides a clear, data-driven foundation for your trading decisions.
Pro Feature: Dynamic Trade Setups
This is the core of the PRO version. It transforms the S/R analysis into a complete trade planning tool.
Automatic Trade Opportunities: Based on the indicator's core S/R analysis, the Pro version automatically identifies potential trade opportunities as they form.
Intelligent Trade Bias: It determines a trade bias (Long or Short) by evaluating the current price's proximity to the nearest major support or resistance zone.
Automatic Trade Levels: For each potential setup, the script instantly calculates and plots:
An Entry Level based on the middle of the key S/R zone.
A smart Stop Loss placed with a calculated buffer outside the zone.
Up to five Take Profit levels targeting subsequent S/R zones.
Core Engine: Advanced S/R Detection
At its heart, the SR PRO is powered by an advanced engine that automates the most tedious parts of technical analysis.
Dynamic Pivot Detection: It constantly scans the chart for the most recent and relevant Pivot Highs and Pivot Lows, which are the building blocks of price structure.
Intelligent Zone Clustering: Instead of just drawing a line at every pivot, SR PRO groups multiple nearby pivot points into a single, cohesive zone. This technique reveals areas where price has repeatedly reacted, making them much more significant.
Strength-Based Filtering: A zone's "strength" is determined by how many pivots it contains. The indicator filters out weak, unreliable zones and only displays those that meet a minimum strength requirement, removing noise from your chart.
Full Features List
Automated Trade Setups with Entry, Stop Loss, and Take Profit levels.
Dynamic Support & Resistance Zones that update with new price action.
Clean Zone Labels showing the timeframe and price level, pinned to the right side of your chart.
Strength-Based Algorithm to ensure only the most significant levels are shown.
Built-in Alerts for when a key support or resistance level is broken.
Fully Customizable settings to tailor the indicator to any market or timeframe.
Customizable Settings (Inputs)
Setup
Pivot Period: Controls the sensitivity of pivot detection.
Source: Use candle High/Low or Close/Open for calculations.
Maximum Number of Pivot: Sets the memory for how many recent pivots are analyzed.
Maximum Channel Width %: Defines how close pivots must be to form a zone.
Maximum Number of S/R: The maximum number of S/R zones to display.
Minimum Strength: The minimum number of pivots required to form a valid zone.
Trade Setup
Show Trade Setups: Globally turn the Entry/SL/TP feature on or off.
Number of Take Profit Levels: Choose how many TP targets to display (1 to 5).
Stop Loss Buffer %: Customize the buffer size for the automatically generated Stop Loss.
Colors
Label Location: Controls how far to the right the price labels are drawn.
Line Style & Width: Customizes the appearance of the S/R zones.
Resistance & Support Color: Set your preferred colors for all zones.
Alerts
You can set up the following alerts in TradingView's alert menu:
Resistance Broken: Triggers when price breaks and closes above a resistance zone.
Support Broken: Triggers when price breaks and closes below a support zone.
Support or Resistance Broken: A combined alert that triggers for either condition.
Crypto Pastor SR - LITESupport & Resistance - Lite (SR Lite) is a clean, powerful, and lightweight indicator designed to automatically identify and draw the most significant support and resistance zones on your chart.
This tool is built for traders who rely on key price levels but want to avoid the clutter of complex indicators. It does the hard work of finding historical price turning points and intelligently clustering them into strong, actionable zones, allowing you to focus on your strategy.
This "Lite" version contains the complete, powerful S/R detection engine, ideal for traders who want a clean chart focused purely on key levels without the trade setup features (Entry/Stop Loss/Take Profit) of the Pro version.
How It Works
The indicator's logic is both sophisticated and intuitive:
Dynamic Pivot Detection: It constantly scans the chart for the most recent and relevant Pivot Highs and Pivot Lows. These are the fundamental building blocks of price structure.
Intelligent Zone Clustering: Instead of just drawing a line at every pivot, SR Lite groups multiple nearby pivot points into a single, cohesive zone. This technique reveals areas where price has repeatedly reacted, making them much more significant than a single point.
Strength-Based Filtering: Not all zones are created equal. A zone's "strength" is determined by how many pivots it contains. The indicator filters out weak, unreliable zones and only displays those that meet a minimum strength requirement, removing noise from your chart.
Clean & Automated Charting: The strongest zones are automatically drawn and extended into the future. As new price action unfolds, the zones dynamically update to reflect the most current market structure.
Features & Visuals
Support & Resistance Zones: These are the primary visual element, drawn as transparent boxes.
Green Zones: Indicate Support levels currently below the price.
Red Zones: Indicate Resistance levels currently above the price.
Price Labels: Each zone is accompanied by a clean text label on the right-hand side of the chart, showing:
The Timeframe the zone was identified on (e.g., "4H").
The exact Price Level of the zone's midpoint (e.g., "108697").
Built-in Alerts: Create alerts to be notified immediately when a key level is broken.
Binance OI Stochastic MFIibb.co Binance Open Interest Stochastic Money Flow Index (OI Stochastic MFI)
Inspiration:
This indicator is an innovative tool combining the traditional Money Flow Index (MFI) and Stochastic Oscillator concepts, enhanced by directly incorporating Open Interest data from Binance Futures BTCUSDT perpetual contracts.
What is it and what does it measure?
The traditional Money Flow Index (MFI) measures the flow of money considering both price and volume.
Open Interest represents the total number of outstanding futures contracts at any given moment, offering deeper insight into speculative involvement and investors' positioning.
This indicator replaces the traditional volume input with Open Interest, providing a more accurate perspective of speculative inflows and outflows in Bitcoin's perpetual futures market.
Advantages and Applications:
Higher accuracy for futures markets, particularly cryptocurrencies, due to direct usage of Binance Futures data reflecting real and speculative activities.
Clear identification of extreme overbought and oversold levels.
Provides objective visual signals for buying (green upward arrows) and selling (red downward arrows).
How to interpret:
The indicator oscillates between values of 0 and 100.
Values above the configured overbought level (e.g., 80) indicate potential downward reversals.
Values below the configured oversold level (e.g., 20) indicate potential upward reversals.
Crossovers of the K-line (blue) with the D-line (orange) generate immediate buy or sell signals.
Practical use:
Long (buy): Look for a green upward arrow after the indicator exits an oversold region.
Short (sell): Look for a red downward arrow after the indicator exits an overbought region.
This indicator is especially useful for traders operating perpetual futures contracts, providing increased precision and clarity for decision-making based on speculative money flows.
ZY Return ZonesThe ZY Return Zones indicator automatically draws the potential support/resistance levels of the parity and clearly displays them on the chart. Although the default settings are the last support/resistance levels, users can change the settings to show the last 6 support/resistance points in the indicator settings.
Check OAS of EMAsThis script checks the Optimal Alignment and Slope of the EMA's and prints a label if it finds one.
🔍 1. Optimal Alignment
This refers to the order of EMAs on the chart, which should reflect the trend.
In an uptrend, the alignment might be:
10 EMA above 20 EMA above 50 EMA
In a downtrend:
10 EMA below 20 EMA below 50 EMA
This "stacked" alignment confirms trend strength and direction.
📈 2. Slope
The angle or slope of the EMAs shows momentum.
A steep upward slope = strong bullish momentum.
A steep downward slope = strong bearish momentum.
Flat or sideways slope = weak or no trend (ranging market).
Gann Support and Resistance LevelsThis indicator plots dynamic Gann Degree Levels as potential support and resistance zones around the current market price. You can fully customize the Gann degree step (e.g., 45°, 30°, 90°), the number of levels above and below the price, and the price movement per degree to fine-tune the levels to your strategy.
Key Features:
✅ Dynamic levels update automatically with the live price
✅ Adjustable degree intervals (Gann steps)
✅ User control over how many levels to display above and below
✅ Fully customizable label size, label color, and text color for mobile-friendly visibility
✅ Clean visual design for easy chart analysis
How to Use:
Gann levels can act as potential support and resistance zones.
Watch for price reactions at major degrees like 0°, 90°, 180°, and 270°.
Can be combined with other technical tools like price action, trendlines, or Gann fans for deeper analysis.
📌 This tool is perfect for traders using Gann theory, grid-based strategies, or those looking to enhance their visual trading setups with structured levels.
MTF Pivot Zones
## 📘 **User Guide: MTF Pivot Zones**
**Script Name:** MTF Pivot Zones
Multi Time Frame Pivot
---
### 🧭 Overview
**MTF Pivot Zones** is a multi-timeframe analysis tool that detects and merges swing highs and lows across four key timeframes:
**Weekly, Daily, 4H, and 1H**.
It plots clear **Support** and **Resistance** zones on the chart based on pivot point clustering. Zones are displayed as dashed lines, color-coded by type.
---
### ⚙️ Settings
| Input Name | Description |
| ---------------------- | --------------------------------------------------------------------- |
| `Lookback Bars Per TF` | Number of bars to scan for pivot highs/lows per timeframe |
| `Pivot Left Bars` | Number of bars to the left required to confirm a pivot |
| `Pivot Right Bars` | Number of bars to the right required to confirm a pivot |
| `Merge Tolerance ($)` | Distance threshold in dollars to merge nearby pivot levels into zones |
| `Show TF Labels` | Toggle the text label next to each zone (e.g., “Res Zone”) |
---
### 🛠️ How It Works
1. **Pivot Detection**
The script scans each timeframe using `ta.pivothigh()` and `ta.pivotlow()`.
2. **Zone Merging**
Pivot levels within the specified `Merge Tolerance` are averaged and treated as a single zone.
3. **Zone Plotting**
* **Red dashed lines** = Resistance Zones
* **Green dashed lines** = Support Zones
* Optional labels show zone type if `Show TF Labels` is enabled
---
### 📈 Usage Tips
* Use zones to guide entries, exits, and stop-loss placement.
* Combine with trend tools or candlestick confirmation near zones.
* Adjust merge tolerance to match instrument volatility and timeframe.
---
Let me know if you want this formatted for **TradingView publishing**, or included in a `study()` title block comment.
AZRO Systems XRP Top/Bottom Indicator — Invite-OnlyAZRO Systems – XRP Top/Bottom Indicator — Invite-Only
VERSION v1.0.4 — Early tops & bottoms flagged; label auto-flips to MAJOR at weekly close
──────────────────────────────────────────────────────
WHAT IT DOES
• EARLY TOP / EARLY BOTTOM prints intra-bar the moment any multi-factor recipe triggers.
• When the weekly bar closes, the label flips to MAJOR TOP / MAJOR BOTTOM and the confirmed alert fires.
• (If Soft-Confirm is ON, a TOP must first pull back ≈ 30 % of ATR-90 before confirmation.)
• Adds large green/red labels and a light bar-tint once major status is confirmed.
• Historical tests indicate materially lower drawdowns versus passive holding while still capturing each macro upswing.
HOW IT WORKS (concept level — exact thresholds are locked)
• Macro-Rotation Gauge – BTC dominance
Weekly BTC.D enters a historic extreme, then reverses for ≥ 2 weekly closes to flag potential rotation; never fires solo.
• Asset-Share Pivot – XRP market-cap share filters out false RSI spikes.
• Momentum-Stress Check – Weekly RSI + ATR pull-back captures exhaustion without waiting for close.
A label prints only when a recipe combining these lenses is met, greatly reducing false signals versus single-factor scripts.
HOW TO USE
Chart : XRP-USD · 1-WEEK (lower timeframes unsupported)
Watch : EARLY label → flips to MAJOR at weekly confirmation (bar tint appears)
Alerts : • EARLY Bottom / EARLY Top → ONCE PER BAR
• MAJOR Bottom / MAJOR Top → ONCE PER BAR CLOSE
USER-VISIBLE INPUTS
• Label distance (% ATR-90) – vertical offset for labels (Default 50)
• Light-mode palette – swap colors for bright themes (Default OFF)
• Soft-Confirm filter – ON waits for ≈ 30 % ATR pull-back on tops; OFF prints faster tops (Default ON)
• Warning checkbox – visual reminder only; no impact on signals (Default OFF)
ROADMAP
An intraday scalp mode for this XRP script is under development.
LIMITATIONS & DISCLAIMER
• Designed exclusively for the weekly timeframe; extreme market events can override any model—always manage risk.
• Educational tool — not financial advice. Past performance ≠ future returns.
Week Window AlgorithmWeek Window Algorithm
The Week Window Algorithm is an advanced intraday trading overlay built for precision session tracking and key level visualization.
🔹 Features:
1. Time Lines
Automatically plots vertical lines 30 minutes ahead of specific London times (07, 08, 09, 13, 14, 15UK), with adjustable height in pips and custom color.
2. Session Boxes
Draws price range boxes for:
Asia (22:00–06:00 UK)
Europe AM (08:00–09:00 UK)
Europe PM (14:00–15:00 UK)
Each box auto-updates during the session and fades after 3 days. Fill color is fully customizable via settings.
3. Yesterday’s High/Low Levels
Captures and plots yesterday’s high and low at 23:00 UK. Lines extend through today and highlight first-time hits.
🛠️ Customization:
Enable/disable sessions individually
Set pip size for early lines
Choose colors for each session box and line style
🕒 Recommended Timeframes:
Optimized for 1–15 minute charts. Works best on intraday setups.
Rapid Ultimat Trading ZonesCRITICAL: The "Set It and Forget It" Timezone System
Have you ever had your session indicators become misaligned when London or New York changes clocks for Daylight Saving Time (DST)? This is a universal problem for traders, forcing you to manually adjust settings twice a year to avoid missing key trading windows. It’s confusing, frustrating, and can lead to costly mistakes.
The Rapid Ultimate Trading Zones indicator permanently solves this issue. We have engineered it with a powerful 'Set It and Forget It' timezone system that provides unmatched accuracy and peace of mind.
How It Works : Automatic DST Adjustment
Each Killzone and each Opening Range in this indicator has its own independent timezone setting. You simply match each session to its real-world location one time. From that moment on, the indicator handles everything automatically.
For the London Session: Set its timezone to Europe/London. The indicator will automatically handle the switch between GMT (winter) and BST (summer). You do not need to do anything.
For the New York Session: Set its timezone to America/New_York. The indicator will automatically handle the switch between EST (winter) and EDT (summer).
Once configured, your session timings will remain perfectly accurate forever. No more manual adjustments. No more confusion. Just precise, reliable session data, day in and day out.
Here is the complete user guide with the newly emphasized section integrated for your convenience.
Rapid Ultimate Trading Zones - User Guide
Created by Rapid Lodgements
1. Introduction: Your All-in-One Session & Levels Tool
Tired of manually marking out trading sessions and key levels every day? The Rapid Ultimate Trading Zones indicator is a comprehensive, institutional-grade tool designed to automatically visualize the most important price and time levels on your chart.
From London Killzone highs and lows to multiple, flexible Opening Ranges, this indicator provides a clean, automated, and fully customizable solution to help you focus on what matters most: your trading.
2. CRITICAL: The "Set It and Forget It" Timezone System
Have you ever had your session indicators become misaligned when London or New York changes clocks for Daylight Saving Time (DST)? This is a universal problem for traders, forcing you to manually adjust settings twice a year to avoid missing key trading windows. It’s confusing, frustrating, and can lead to costly mistakes.
The Rapid Ultimate Trading Zones indicator permanently solves this issue. We have engineered it with a powerful 'Set It and Forget It' timezone system that provides unmatched accuracy and peace of mind.
How It Works: Automatic DST Adjustment
Each Killzone and each Opening Range in this indicator has its own independent timezone setting. You simply match each session to its real-world location one time. From that moment on, the indicator handles everything automatically.
For the London Session: Set its timezone to Europe/London. The indicator will automatically handle the switch between GMT (winter) and BST (summer). You do not need to do anything.
For the New York Session: Set its timezone to America/New_York. The indicator will automatically handle the switch between EST (winter) and EDT (summer).
Once configured, your session timings will remain perfectly accurate forever. No more manual adjustments. No more confusion. Just precise, reliable session data, day in and day out.
3. Feature Breakdown
Killzones & Killzone Pivots
This is the core feature of the indicator. Killzones are specific, high-volume time windows for the major market sessions. The indicator will automatically draw a box around these times and mark their high and low price pivots.
Killzones Settings:
Enable/disable each session (Asia, London, NY AM, NY Lunch, NY PM) with the checkbox.
Customize the Session start and end times.
Crucially, set the Timezone for each session to its local market time.
Killzone Pivots Settings:
Labels & Colors: Customize the text label and color for each Killzone's high and low pivot lines. The color you choose here controls the color for the pivots and the session box.
Extend Pivots: Choose if the pivot lines should disappear after being touched (Until Mitigated) or continue to extend.
Alert Broken Pivots: Enable this to receive a TradingView alert whenever price breaks a recent Killzone high or low.
Show Midpoints: Optionally display the 50% level between a Killzone's high and low.
Flexible Opening Ranges (Up to 3 Instances)
This powerful feature allows you to track the initial price range of up to three different sessions independently.
Use Cases:
Track the first 15 minutes of the New York session with Opening Range 1.
Track the first hour of the London session with Opening Range 2.
Track the Asian session range with Opening Range 3.
Configuration (for each OR):
Enable OR: Toggle the specific range on or off.
Session Start-End: Defines the main session you are analyzing.
Timezone: Set the correct local timezone for the session you are tracking.
Range Minutes: The most important setting. Defines how long the opening range lasts (e.g., 15 for the first 15 minutes).
Extend OR lines right: Extends the high and low lines into the future.
Custom Lines & Timestamps
For marking your own specific levels and times that are independent of the Killzones.
Dedicated Timezone : This entire section is controlled by one separate timezone menu, which is set to GMT+0 by default. All times you enter here will be interpreted based on this setting.
Horizontal Lines (H-Line): Draws a horizontal line at the open price of the candle that occurs at your specified time. You get two independent lines.
Vertical Lines (V-Line): Draws a vertical line at the time you specify. You get two independent lines.
Daily, Weekly, Monthly (DWM) Levels
For a higher-timeframe perspective, this feature automatically plots:
Daily, Weekly, and Monthly Opening Prices.
Previous Day, Week, and Month Highs and Lows.
Vertical line separators for the start of each Day, Week, or Month.
4. General Settings
Session Drawing Limit: This is your master history control. It sets how many past days of drawings (for Killzones, Opening Ranges, etc.) will be kept on your chart. A lower number improves performance.
Timeframe Limit: To keep your chart clean, drawings will not appear on timeframes greater than or equal to the one you select here.
Label Size / Text Color: Controls the appearance of all text and labels drawn by the indicator.
Session Candles NY #ffsjr"The candle bodies tell the story, wicks do the damage" by ICT
Based on ICT words, I created the sessions indicator, to facilitate the visualization of each session in candle format, with the most important points being the confluence of session openings and closings.
Usually I use to create support and resistances lines using candle sessions bodies and to draw sessions liquidities.
Use on 15 minutes chart and hide default TradingView candles.
Enjoy
Prev Week POC Buy/Sell Signals
Hi, I’m Edward. I created a straightforward strategy for swing traders (4hr or 8hr timeframe users). This strategy is for traders that are not interested to look at charts all day long, 2 times a day max, but still be profitable.
The indicator:
Print a buy signal when the price closes above the previous week's Point of Control (POC).
Stay in the trade until the price closes below the previous week's POC, then print a sell signal.
The indicator calculates the weekly POC using a basic volume profile method, then tracks the previous week's POC for signals.
Previous week POC is valid from Monday to Thursday. By close of business on Thursday, the current week trend and POC should be well established and should be used make buy or sell decisions. Enjoy!
Multi-Session MarkerMulti-Session Marker is a flexible visual tool for traders who want to highlight up to 10 custom trading sessions directly on their chart’s background.
Custom Sessions: Enter up to 10 time ranges (in HHMM-HHMM format) to mark any market session, news window, or personal focus period.
Visual Clarity: For each session, toggle the highlight on or off and select a unique background color and opacity, making it easy to distinguish active trading windows at a glance.
Universal Time Handling: Session times automatically follow your chart’s time zone—no manual adjustment required.
Efficient and Fast: Utilizes TradingView’s bgcolor() for smooth performance, even on fast timeframes like 1-second charts.
Clean Interface: All session controls are grouped for easy editing in the indicator’s settings panel.
How to use:
In the indicator settings, enter your desired session times (e.g., 0930-1130) for each session you want to highlight.
Toggle “Show Session” and pick a color for each session.
The background will automatically highlight those periods on your chart.
This indicator is ideal for day traders, futures traders, or anyone who wants to visually segment their trading day for better focus and analysis.
Auto-Fibonacci Levels [ChartWhizzperer]Auto-Fibonacci Levels
Discover one of the most elegant and flexible Fibonacci indicators for TradingView – fully automatic, tastefully understated, and built entirely in Pine Script V6.
Key Features:
- Automatically detects the most recent swing high and swing low.
- Plots Fibonacci retracement levels and extensions (including 161.8%, 261.8%) perfectly aligned
to the prevailing trend.
- Distinctive, dashed lines with crystal-clear price labels right at the price scale
for maximum clarity.
- Line length and label offset are fully customisable for your charting preference.
- Absolutely no repainting: Only confirmed swings are used for reliable signals.
- Parameter: "Swing Detection Length"
The “Swing Detection Length” parameter determines how many bars must appear to the left and right of a potential high or low for it to be recognised as a significant swing point.
- Higher values make the script less sensitive (only major turning points are detected).
- Lower values make it more responsive to minor fluctuations (more fibs, more signals).
For best results, adjust this setting according to your preferred timeframe and trading style.
Pro Tip:
Fibonacci levels refresh automatically whenever a new swing is confirmed.
Ideal for price action enthusiasts and Fibonacci purists alike.
Licence:
// Licence: CC BY-NC-SA 4.0 – Non-commercial use only, attribution required.
// © ChartWhizzperer
Cycle Composite 3.6 WeightedThe Cycle Composite is a multi-factor market cycle model designed to classify long-term market behavior into distinct phases using normalized and weighted data inputs.
It combines ten key on-chain, dominance, volatility, sentiment, and trend-following metrics into a single composite output. The goal is to provide a clearer understanding of where the market may stand in the broader cycle (e.g., accumulation, early bull, late bull, or euphoria).
This version (3.4) introduces flexible weighting, trend strength markers, and additional context-aware signals such as risk-on confirmations and altseason flags.
Phases Identified:
The model categorizes the market into one of five zones:
Euphoria (> 85)
Late Bull (70 – 85)
Mid Bull (50 – 70)
Early Bull (30 – 50)
Fear (< 30)
Each phase is determined by a smoothed EMA of the weighted composite score.
Data Sources and Metrics Used (10 total):
BTC Dominance (CRYPTOCAP:BTC.D)
Stablecoin Dominance (USDT + USDC average) (inverted for risk-on)
ETH Dominance (CRYPTOCAP:ETH.D)
BBWP (normalized Bollinger Band Width % over 1-year window)
WVF (Williams VIX Fix for volatility spike detection)
NUPL (Net Unrealized Profit/Loss, external source)
CMF (Chaikin Money Flow, smoothed volume accumulation)
CEX Open Interest (custom input from DAO / external source)
Whale Inflows (custom input from whale exchange transfer data)
Google Trends Average (BTC, Crypto, Altcoin terms)
All inputs are normalized over a 200-bar window and combined via weighted averaging, where each weight is user-configurable.
Additional Features:
Phase Labels: Labels are printed only when a new phase is entered.
Bull Continuation Marker: Triangle up when composite makes higher highs and NUPL increases.
Weakening Marker: Triangle down when composite rolls over in Late Bull and NUPL falls.
Risk-On Signal: Green circle appears when CMF and Google Trends are both rising.
Altseason Flag: Orange diamond appears when dominance of "others.d" exceeds BTC.D and ETH.D and composite is above 50.
Background Shading: Each phase is shaded with a semi-transparent background color.
Timeframe-Aware Display: All markers and signals are shown only on weekly timeframe for clarity.
Intended Use:
This script is intended for educational and macro-trend analysis purposes.
It can be used to:
Identify macro cycle position (accumulation, bull phases, euphoria, etc.)
Spot long-term trend continuation or weakening signals
Add context to price action with external on-chain and sentiment data
Time rotation events such as altseason risk
Disclaimer:
This script does not constitute financial advice.
It is intended for informational and research purposes only.
Users should conduct their own due diligence and analysis before making investment decisions.
Intermarket Correlation Oscillator (ICO)The Intermarket Correlation Oscillator (ICO) is a TradingView indicator that helps traders analyze the relationship between two assets, such as stocks, indices, or cryptocurrencies, by measuring their price correlation. It displays this correlation as an oscillator ranging from -1 to +1, making it easy to spot whether the assets move together, oppositely, or independently. A value near +1 indicates strong positive correlation (assets move in the same direction), near -1 shows strong negative correlation (opposite movements), and near 0 suggests no correlation. This tool is ideal for confirming trends, spotting divergences, or identifying hedging opportunities across markets.
How It Works?
The ICO calculates the Pearson correlation coefficient between the chart’s primary asset (e.g., Apple stock) and a secondary asset you choose (e.g., SPY for the S&P 500) over a specified number of bars (default: 20). The oscillator is plotted in a separate pane below the chart, with key levels at +0.8 (overbought, strong positive correlation) and -0.8 (oversold, strong negative correlation). A midline at 0 helps gauge neutral correlation. When the oscillator crosses these levels or the midline, labels ("OB" for overbought, "OS" for oversold) and alerts notify you of significant shifts. Shaded zones highlight extreme correlations (red for overbought, green for oversold) if enabled.
Why Use the ICO?
Trend Confirmation: High positive correlation (e.g., SPY and QQQ both rising) confirms market trends.
Divergence Detection: Negative correlation (e.g., DXY rising while stocks fall) signals potential reversals.
Hedging: Identify negatively correlated assets to balance your portfolio.
Market Insights: Understand how assets like stocks, bonds, or crypto interact.
Easy Steps to Use the ICO in TradingView
Add the Indicator:
Open TradingView and load your chart (e.g., AAPL on a daily timeframe).
Go to the Pine Editor at the bottom of the TradingView window.
Copy and paste the ICO script provided earlier.
Click "Add to Chart" to display the oscillator below your price chart.
Configure Settings:
Click the gear icon next to the indicator’s name in the chart pane to open settings.
Secondary Symbol: Choose an asset to compare with your chart’s symbol (e.g., "SPY" for S&P 500, "DXY" for USD Index, or "BTCUSD" for Bitcoin). Default is SPY.
Correlation Lookback Period: Set the number of bars for calculation (default: 20). Use 10-14 for short-term trading or 50 for longer-term analysis.
Overbought/Oversold Levels: Adjust thresholds (default: +0.8 for overbought, -0.8 for oversold) to suit your strategy. Lower values (e.g., ±0.7) give more signals.
Show Midline/Zones: Check boxes to display the zero line and shaded overbought/oversold zones for visual clarity.
Interpret the Oscillator:
Above +0.8: Strong positive correlation (red zone). Assets move together.
Below -0.8: Strong negative correlation (green zone). Assets move oppositely.
Near 0: No clear relationship (midline reference).
Labels: "OB" or "OS" appears when crossing overbought/oversold levels, signaling potential correlation shifts.
Set Up Alerts:
Right-click the indicator, select "Add Alert."
Choose conditions like "Overbought Alert" (crossing above +0.8), "Oversold Alert" (crossing below -0.8), or zero-line crossings for bullish/bearish correlation shifts.
Configure notifications (e.g., email, SMS) to stay informed.
Apply to Trading:
Use positive correlation to confirm trades (e.g., buy AAPL if SPY is rising and correlation is high).
Spot divergences for reversals (e.g., stocks dropping while DXY rises with negative correlation).
Combine with other indicators like RSI or moving averages for stronger signals.
Tips for New Users
Start with related assets (e.g., SPY and QQQ for tech stocks) to see clear correlations.
Test on a demo account to understand signals before trading live.
Be aware that correlation is a lagging indicator; confirm signals with price action.
If the secondary symbol doesn’t load, ensure it’s valid on TradingView (e.g., use correct ticker format).
The ICO is a powerful, beginner-friendly tool to explore intermarket relationships, enhancing your trading decisions with clear visual cues and alerts.
Bitcoin Power Law Clock [LuxAlgo]The Bitcoin Power Law Clock is a unique representation of Bitcoin prices proposed by famous Bitcoin analyst and modeler Giovanni Santostasi.
It displays a clock-like figure with the Bitcoin price and average lines as spirals, as well as the 12, 3, 6, and 9 hour marks as key points in the cycle.
🔶 USAGE
Giovanni Santostasi, Ph.D., is the creator and discoverer of the Bitcoin Power Law Theory. He is passionate about Bitcoin and has 12 years of experience analyzing it and creating price models.
As we can see in the above chart, the tool is super intuitive. It displays a clock-like figure with the current Bitcoin price at 10:20 on a 12-hour scale.
This tool only works on the 1D INDEX:BTCUSD chart. The ticker and timeframe must be exact to ensure proper functionality.
According to the Bitcoin Power Law Theory, the key cycle points are marked at the extremes of the clock: 12, 3, 6, and 9 hours. According to the theory, the current Bitcoin prices are in a frenzied bull market on their way to the top of the cycle.
🔹 Enable/Disable Elements
All of the elements on the clock can be disabled. If you disable them all, only an empty space will remain.
The different charts above show various combinations. Traders can customize the tool to their needs.
🔹 Auto scale
The clock has an auto-scale feature that is enabled by default. Traders can adjust the size of the clock by disabling this feature and setting the size in the settings panel.
The image above shows different configurations of this feature.
🔶 SETTINGS
🔹 Price
Price: Enable/disable price spiral, select color, and enable/disable curved mode
Average: Enable/disable average spiral, select color, and enable/disable curved mode
🔹 Style
Auto scale: Enable/disable automatic scaling or set manual fixed scaling for the spirals
Lines width: Width of each spiral line
Text Size: Select text size for date tags and price scales
Prices: Enable/disable price scales on the x-axis
Handle: Enable/disable clock handle
Halvings: Enable/disable Halvings
Hours: Enable/disable hours and key cycle points
🔹 Time & Price Dashboard
Show Time & Price: Enable/disable time & price dashboard
Location: Dashboard location
Size: Dashboard size
SHA Multi Pivot Points -v1.0.0🔎Using Pivot Points in Trading
Traders use PPs to help determine predefined support and resistance levels to guide their trading strategies. In addition, traders identify potential price reversals, trend direction, and breakout opportunities:
Trend identification: PPs act as a reference level to gauge market sentiment. If the price opens above the PP and remains above it, traders interpret this as an uptrend. Conversely, if the price opens below the pivot point and stays below, it suggests a downtrend.
Support and resistance determination: Pivot levels are natural barriers where price reactions frequently occur. Traders may enter long positions near support levels, expecting a price bounce, or if the price approaches resistance levels, traders may consider shorting the asset.
Breakout trading: When the price breaks above resistance or support, it may indicate strong momentum for further movement.
Reversal identification: Traders also look for failed breakouts or price rejections at pivot levels to anticipate reversals.
Trading strategy combinations: Traders can improve accuracy by combining PPs with other technical analysis indicators.
1. Camarilla Pivot Points
📌 Overview:
Developed by Nick Scott in 1989, Camarilla Pivot Points are designed for short-term, intraday trading. Unlike traditional pivots, Camarilla levels are tighter and more responsive, making them useful in volatile markets.
📐 Key Levels:
It generates eight levels:
- Resistance: Initial Level (R1), Mid-range Level (R2), Sell Reversal Level (R3), Breakout Level (R4)
- Support: Initial Level (S1), Mid-range Level (S2), Buy Reversal Level (S3), Breakout Level (S4)
✅ How to Use:
- S1/R1 + RSI or volume divergence to confirm weak momentum and early reversals.
- S2/R2 with price action patterns to enter early on major moves before L3/H3 get tested.
- S3/R3: Mean-reversion zones → price often reverses.
- Break of S4/R4: Strong breakout → trend-following signal.
- Combine with volume or candlestick confirmation for entries.
🔹 2. Floor (Standard) Pivot Points
📌 Overview:
This is the most traditional pivot method, widely used by floor traders. It’s symmetrical and provides a clear central pivot point with equally spaced support and resistance levels.
📐 Key Levels:
- Povit Points : Average price (PPs)
- Resistance : First price ceiling (R1), Stronger ceiling (R2), Extreme resistance (R3)
- Support : First price floor (S1), Stronger floor (S2), Extreme support (S3)
✅ How to Use:
- Above PPs = bullish bias; Below PPs = bearish bias.
- S1/R1 are most used for intraday targets.
- S2–S3/R2–R3 indicate potential extreme moves.
- Often used in combination with momentum indicators.
🔹 3. Woodie Pivot Points
📌 Overview:
Woodie’s pivot formula gives double weight to the closing price, emphasizing the most recent session's sentiment.
📐 Key Levels:
- Povit Points : Weighted average (PPs)
- Resistance : First price ceiling (R1), Stronger resistance (R2)
- Support : First price floor (S1), Stronger support (S2)
✅ How to Use:
- Works best in fast-moving markets.
- PPs acts as a momentum-based balance level.
- Good for scalpers and momentum traders.
🔹 4. Fusion Pivot Points
📌 Overview:
This method differs significantly — it calculates only one support and one resistance level, adjusting based on the relationship between the open and close.
📐 Key Levels:
- Povit Points : Single directional (PPs)
- Resistance : Potential ceiling (R)
- Support : Potential floor (S)
✅ How to Use:
- Not symmetrical → more responsive to price behavior.
- Best for breakout or reversal strategies.
- Use when you're expecting directional momentum.
🔹 5. Classic Pivot Points (Traditional)
📌 Overview:
Also known as Standard or Traditional Pivot Points, this is the default method used by most charting platforms. It offers a balanced and simple framework.
📐 Key Levels:
- Povit Points : Central price level (PPs)
- Resistance : First ceiling (R1), Stronger resistance (R2), Extreme resistance (R3)
- Support : First floor (S1), Stronger floor (S2), Extreme support (S3)
✅ How to Use:
- PPs is the market’s equilibrium point.
- Helps define market structure, bias, and trade zones.
- Combine with order blocks, RSI, or MACD for confirmation.
📊 Summary Comparison :
1. Camarilla Pivot Points
- Focus : Mean Reversion & Breakouts
- Best Use : Scalping, Day Trading
2. Floor Pivot Points
- Focus : General Support/Resistance
- Best Use : Intraday, Swing
3. Woodie Pivot Points
- Focus : Recent Close Emphasis
- Best Use : Momentum Trading
4. Fusion Pivot Points
- Focus : Trend/Breakout
- Best Use : Directional Breakouts
5. Classic Povit Points
- Focus : Market Structure
- Best Use : General Use
⚠️ Disclaimer
The information and tools provided in this script are for educational and informational purposes only. They do not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instrument.
Trading in the financial markets involves risk of loss and is not suitable for every investor. You are solely responsible for your trading decisions. Always do your own research, use proper risk management, and consult a licensed financial advisor before making any financial decisions.
Fourier Weighted Moving Average-(FWMA)Fourier Weighted Moving Average (FWMA)
About Fourier and His Theory
Joseph Fourier (1768–1830) was a French mathematician and physicist best known for his work on heat transfer and periodic functions. His most significant contribution to science is what we now call Fourier Analysis.
What Is Fourier's Theory?
Fourier’s theory states that:
Any repeating (periodic) signal or pattern can be broken down into a sum of simple sine and cosine waves.
This idea became the foundation of signal processing, modern physics, and data smoothing techniques — including those used in financial markets.
Key Concepts of Fourier’s Theory
1. Decomposition of Signals
Complex waveforms can be expressed as combinations of basic sine waves with different frequencies and amplitudes.
2. Frequency Domain View
Instead of viewing data in time (or price), you can analyze its frequency — how often certain movements repeat.
3. Smoothing and Filtering
By focusing only on certain frequencies (e.g., slower or longer cycles), Fourier methods allow you to filter out short-term noise and focus on the trend.
4. Applications in Finance
In trading, Fourier principles help design indicators that:
* Remove short-term market noise
* Emphasize dominant cycles
* Provide cleaner trend direction
Why It Matters for This Indicator
The Fourier Weighted Moving Average (FWMA) used in this indicator applies a custom weight derived from a sin² function, inspired by Fourier’s work on wave behavior. This gives more influence to the mid-section of the price data, making the average line smoother and more stable than traditional methods like SMA or EMA.
Unlike basic moving averages, the FWMA reacts to price changes more fluidly while reducing whipsaws, which is especially useful for trend-following strategies.
Input Settings and Controls
This section outlines all configurable fields and buttons available in the indicator, grouped for clarity:
Main Settings
* Source
Defines the price source used in the FWMA calculation. Options typically include close, open, hl2, etc.
* FWMA – 1 (Length)
Sets the period for the first Fourier Weighted Moving Average. Shorter lengths produce faster, more sensitive lines.
* FWMA – 2 (Length)
Sets the period for the second FWMA, typically used as a slower or long-term trend filter.
* Weight Epsilon
A small constant added to the weight formula to prevent division by zero and improve numeric stability in the FWMA formula.
Slope Sensitivity
* Slope Sensitivity (Bars)
This field defines the number of bars used to calculate the slope of each FWMA. The slope determines whether the line is rising or falling and is used to change the line color accordingly.
* Enable Slope Coloring (Toggle)
When enabled, both FWMA lines change color based on their slope:
* Positive slope = trend up color
* Negative slope = trend down color
If disabled, lines are shown in a neutral (gray) color.
Ribbon Settings (Group: Ribbon)
* Enable Ribbon for FWMA-2 (Toggle)
Turns the ribbon feature on or off. When enabled, the script plots two additional lines slightly above and below FWMA-2.
* Ribbon Thickness
Controls the line width of the ribbon above and below FWMA-2. Values from 1 to 100 are allowed, giving full control over ribbon visual prominence.
Mark4ex vWapMark4ex VWAP is a precision session-anchored Volume Weighted Average Price (VWAP) indicator crafted for intraday traders who want clean, reliable VWAP levels that reset daily to match a specific market session.
Unlike the built-in continuous VWAP, this version anchors each day to your chosen session start and end time, most commonly aligned with the New York Stock Exchange Open (9:30 AM EST) through the market close (4:00 PM EST). This ensures your VWAP reflects only intraday price action within your active trading window — filtering out irrelevant overnight moves and providing clearer mean-reversion signals.
Key Features:
Fully configurable session start & end times — adapt it for NY session or any other market.
Anchored VWAP resets daily for true session-based levels.
Built for the New York Open Range Breakout strategy: see how price interacts with VWAP during the volatile first 30–60 minutes of the US market.
Plots a clean, dynamic line that updates tick-by-tick during the session and disappears outside trading hours.
Designed to help you spot real-time support/resistance, intraday fair value zones, and liquidity magnets used by institutional traders.
How to Use — NY Open Range Breakout:
During the first hour of the New York session, institutional traders often define an “Opening Range” — the high and low formed shortly after the bell. The VWAP in this zone acts as a dynamic pivot point:
When price is above the session VWAP, bulls are in control — the level acts as a support floor for pullbacks.
When price is below the session VWAP, bears dominate — the level acts as resistance against bounces.
Breakouts from the opening range often test the VWAP for confirmation or rejection.
Traders use this to time entries for breakouts, retests, or mean-reversion scalps with greater confidence.
⚙️ Recommended Settings:
Default: 9:30 AM to 4:00 PM New York time — standard US equities session.
Adjust hours/minutes to match your target market’s open and close.
👤 Who is it for?
Scalpers, day traders, prop traders, and anyone trading the NY Open, indices like the S&P 500, or highly liquid stocks during US cash hours.
🚀 Why use Mark4ex VWAP?
Because a properly anchored VWAP is a trader’s real-time institutional fair value, giving you better context than static moving averages. It adapts live to volume shifts and helps you follow smart money footprints.
This indicator will reconfigure every day, anchored to the New York Open, it will also leave historical NY Open VWAP for study purpose.
M2 Growth Rate vs Borrowing RateHave you ever wondered how fast M2 is actually growing? Have you ever wanted to compare its percentage growth rate to the actual cost of borrowing? Are you also, like me, a giant nerd with too much time on your hands?
M2 Growth Rate vs Borrowing Rate
This Pine Script indicator analyzes the annualized growth rate of M2 money supply and compares it to key borrowing rates, providing insights into the relationship between money supply expansion and borrowing costs. Users can select between US M2 or a combined M2 (aggregating US, EU, China, Japan, and UK money supplies, adjusted for currency exchange rates). The M2 growth period is customizable, offering options from 1 month to 5 years for flexible analysis over different time horizons. The indicator fetches monthly data for US M2, EU M2, China M2, Japan M2, UK M2, and exchange rates (EURUSD, CNYUSD, JPYUSD, GBPUSD) to compute the combined M2 in USD terms.
It plots the annualized M2 growth rate alongside borrowing rates, including US 2-year and 10-year Treasury yields, corporate bond effective yield, high-yield bond effective yield, and 30-year US mortgage rates. Borrowing rates are color-coded for clarity: red if the rate exceeds the selected M2 growth rate, and green if below, highlighting relative dynamics. Displayed on a separate pane with a zero line for reference, the indicator includes labeled plots for easy identification.
This tool is designed for informational purposes, offering a visual framework to explore economic trends without providing trading signals or financial advice.
Bitcoin Power Law [LuxAlgo]The Bitcoin Power Law tool is a representation of Bitcoin prices first proposed by Giovanni Santostasi, Ph.D. It plots BTCUSD daily closes on a log10-log10 scale, and fits a linear regression channel to the data.
This channel helps traders visualise when the price is historically in a zone prone to tops or located within a discounted zone subject to future growth.
🔶 USAGE
Giovanni Santostasi, Ph.D. originated the Bitcoin Power-Law Theory; this implementation places it directly on a TradingView chart. The white line shows the daily closing price, while the cyan line is the best-fit regression.
A channel is constructed from the linear fit root mean squared error (RMSE), we can observe how price has repeatedly oscillated between each channel areas through every bull-bear cycle.
Excursions into the upper channel area can be followed by price surges and finishing on a top, whereas price touching the lower channel area coincides with a cycle low.
Users can change the channel areas multipliers, helping capture moves more precisely depending on the intended usage.
This tool only works on the daily BTCUSD chart. Ticker and timeframe must match exactly for the calculations to remain valid.
🔹 Linear Scale
Users can toggle on a linear scale for the time axis, in order to obtain a higher resolution of the price, (this will affect the linear regression channel fit, making it look poorer).
🔶 DETAILS
One of the advantages of the Power Law Theory proposed by Giovanni Santostasi is its ability to explain multiple behaviors of Bitcoin. We describe some key points below.
🔹 Power-Law Overview
A power law has the form y = A·xⁿ , and Bitcoin’s key variables follow this pattern across many orders of magnitude. Empirically, price rises roughly with t⁶, hash-rate with t¹² and the number of active addresses with t³.
When we plot these on log-log axes they appear as straight lines, revealing a scale-invariant system whose behaviour repeats proportionally as it grows.
🔹 Feedback-Loop Dynamics
Growth begins with new users, whose presence pushes the price higher via a Metcalfe-style square-law. A richer price pool funds more mining hardware; the Difficulty Adjustment immediately raises the hash-rate requirement, keeping profit margins razor-thin.
A higher hash rate secures the network, which in turn attracts the next wave of users. Because risk and Difficulty act as braking forces, user adoption advances as a power of three in time rather than an unchecked S-curve. This circular causality repeats without end, producing the familiar boom-and-bust cadence around the long-term power-law channel.
🔹 Scale Invariance & Predictions
Scale invariance means that enlarging the timeline in log-log space leaves the trajectory unchanged.
The same geometric proportions that described the first dollar of value can therefore extend to a projected million-dollar bitcoin, provided no catastrophic break occurs. Institutional ETF inflows supply fresh capital but do not bend the underlying slope; only a persistent deviation from the line would falsify the current model.
🔹 Implications
The theory assigns scarcity no direct role; iterative feedback and the Difficulty Adjustment are sufficient to govern Bitcoin’s expansion. Long-term valuation should focus on position within the power-law channel, while bubbles—sharp departures above trend that later revert—are expected punctuations of an otherwise steady climb.
Beyond about 2040, disruptive technological shifts could alter the parameters, but for the next order of magnitude the present slope remains the simplest, most robust guide.
Bitcoin behaves less like a traditional asset and more like a self-organising digital organism whose value, security, and adoption co-evolve according to immutable power-law rules.
🔶 SETTINGS
🔹 General
Start Calculation: Determine the start date used by the calculation, with any prior prices being ignored. (default - 15 Jul 2010)
Use Linear Scale for X-Axis: Convert the horizontal axis from log(time) to linear calendar time
🔹 Linear Regression
Show Regression Line: Enable/disable the central power-law trend line
Regression Line Color: Choose the colour of the regression line
Mult 1: Toggle line & fill, set multiplier (default +1), pick line colour and area fill colour
Mult 2: Toggle line & fill, set multiplier (default +0.5), pick line colour and area fill colour
Mult 3: Toggle line & fill, set multiplier (default -0.5), pick line colour and area fill colour
Mult 4: Toggle line & fill, set multiplier (default -1), pick line colour and area fill colour
🔹 Style
Price Line Color: Select the colour of the BTC price plot
Auto Color: Automatically choose the best contrast colour for the price line
Price Line Width: Set the thickness of the price line (1 – 5 px)
Show Halvings: Enable/disable dotted vertical lines at each Bitcoin halving
Halvings Color: Choose the colour of the halving lines