Extended SOPR Indicator - SSOPR Tops (A/B toggle)Extended SOPR Indicator — SSOPR Tops and Lows (A/B toggle)
Observation-only. Data: Glassnode SOPR.
Overview
This indicator extends the classical SOPR (Spent Output Profit Ratio) to improve readability and reduce noise on charts. SOPR measures whether coins moved on-chain were spent at a profit or at a loss. In brief: SOPR > 1 → spending at profit; SOPR < 1 → spending at loss. SSOPR (from "Smoothed SOPR") applies optional log transform (centers baseline at 0), smoothing (standard or adaptive), and adds structured signals: Z‑score lows (capitulation), buy zones , and top detection after prolonged elevation.
Why extend SOPR? (SSOPR vs classical SOPR)
• Noise reduction: Raw daily SOPR can whipsaw around its baseline. SSOPR uses smoothing and (optionally) adaptive smoothing so regimes are visible without overfitting.
• Better readability: The log transform shifts the break-even line to 0, making “profit territory” (above 0) and “loss territory” (below 0) visually intuitive on oscillators.
• Actionable context: Z‑score highlights extreme lows (capitulation risk), a simple buy-zone threshold marks potential accumulation, and a structured top pattern (with a time factor) helps frame distribution phases after sustained elevation.
What the script plots
• Smoothed SOPR (SSOPR): An orange line representing the smoothed SOPR (with optional log transform and optional adaptive smoothing).
• Top markers: A red triangle appears once at the onset of a confirmed top pattern.
• Background shading:
– Soft green: Buy zone when SSOPR falls below the “Buy Threshold.” (+ Z‑score capitulation zones (extreme lows)).
– Soft red: Top‑zone shading when the top criteria are met but before the single triangle fires.
Inputs & parameters
• Smoothing Length (default 14): Base window for smoothing SSOPR. Higher values = smoother, slower response.
• Apply Log Transform (default ON): Uses log(SOPR) so the baseline is 0 (log(1)=0). Above 0 → net profit regime; below 0 → net loss regime.
• Adaptive Smoothing (default OFF): Expands smoothing length as volatility rises using a standard deviation proxy; reduces whipsaws while preserving structure.
• Z‑score Threshold for Lows (default −2.5): Highlights capitulation zones when SSOPR deviates far below its rolling mean.
• SSOPR Buy Threshold (default −0.02): Simple rule-of-thumb level for potential accumulation context when below (log scale).
• SSOPR Top Threshold (default +0.005): Minimum elevation required for “profit territory” when assessing tops (log scale).
• Min Bars Above Threshold Before Top (default 50): Ensures prolonged elevation before calling a top.
• Lookback for Peak Detection (default 50): Window used to locate the recent high.
• Drop % from Peak to Confirm Top (default 5%): Confirms the start of distribution from a local high.
• Highlight Background : Toggles shaded zones.
Top detection (indicator-only)
A top fires when ALL of the following are true:
SSOPR spent at least Min Bars Above Threshold above the Top Threshold (sustained elevation).
The rising phase test passes (Option A or B; see below).
A drop from the local peak exceeds Drop % within the Lookback window.
The peak occurred in profit territory (SSOPR > Top Threshold).
To avoid repeated signals during the decline, the script emits the triangle once, at onset.
Rising‑phase switch: Option A vs Option B
• Option A — Up‑step ratio : Over the last A: Bars for Rising Check (default 50), it requires that at least A: Required Up‑Step Ratio (default 60%) of bars were rising (each bar compared to the previous). This favors gradual, persistent advances and filters out “choppy” lifts.
• Option B — Net slope : Compares current SSOPR to its value B: Bars Back for Net Slope ago (default 50). If higher, the series is considered rising. This is simpler and reacts faster in volatile phases but can admit brief pseudo‑trends.
Guidance : Prefer A for conservative confirmation in slow, persistent cycles; use B when trend moves are strong and you need timely detection.
Interpretation guide
• Regimes (log view): Above 0 → spending at profit; below 0 → spending at loss.
• Capitulation lows: When Z‑score < threshold, conditions often reflect forced/liquidity‑driven spending. Treat as context, not signals.
• Buy zone: SSOPR < Buy Threshold flags potential accumulation conditions (combine with price structure).
• Tops: After prolonged elevation, a confirmed top often coincides with profit‑taking/distribution phases.
Recommended timeframes
• Daily : Code optimized for daily timeframe.
Method summary
• SSOPR source: GLASSNODE:BTC_SOPR (via request.security ).
• Optional log transform: sopr → log(sopr) to normalize around 0.
• Smoothing: SMA over Smoothing Length , optionally adaptive using local volatility (std dev).
• Z‑score: (SSOPR − mean) / std dev, highlighting extreme lows.
• Top: Requires long elevation above Top Threshold , rising‑phase (A/B), and a subsequent drop > Drop % from recent high.
Limitations & notes
• SOPR reflects on‑chain movements; some activity occurs off‑chain (exchanges, internal transfers). Not all moves imply sale; aggregation makes it a usable proxy for profit/loss realization.
• Higher smoothing reduces noise but delays signals; adaptive smoothing can help but is still a trade‑off.
• Treat thresholds as context markers. They are not entry/exit signals by themselves.
• Use with price structure, volume, and other on‑chain indicators (e.g., realized price bands, dormancy/CDD) for confluence.
How to use (examples)
• Advance holding above 0 (log view): Retests of 0 from above that hold—while SSOPR remains elevated—often mark absorption; look for Top conditions only after sustained elevation and a confirmed drop from peak.
• Downtrend below 0: Rejections near 0 can align with continued loss realization; extreme Z‑score lows suggest capitulation risk—context for accumulation, not a blind buy.
Recommended settings
• Weekly: Log ON, Smoothing Length 14–30, Adaptive ON, Buy Threshold −0.02, Top Threshold +0.005, Rising Method A, Min Bars 50.
• Daily: Log ON, Smoothing Length 14–20, Adaptive OFF or ON (depending on noise), Rising Method B for timely slope checks.
Credits & references
• SOPR metric: Renato Shirakashi; documentation: Glassnode , CryptoQuant , overview: Bitbo .
Disclaimer
This script is for research/education on market behavior. It is not financial advice. Indicators provide context; decisions remain your responsibility.
Tags
bitcoin, btc, on‑chain, sopr, ssopr, glassnode, oscillator, regime, distribution, capitulation
Циклический анализ
XAU DOMINION V20This script is a technical analysis tool that helps traders visualize market structure and signals.
It should be used with proper risk management.
This script does not guarantee accuracy or profit, and is only for educational use.
RT-Machine Learning Reversion BandsMachine Learning Reversion Bands is a support and resistance tool designed to highlight where trends have historically reverted and where price is pushing into unusually extreme territory. It plots two sets of bands around price so traders can see both standard reversion zones and more extreme, machine learning levels that adapt and learn from the chart over time.
Introduction
The Machine Learning Reversion Bands tool utilizes an algorithm that learns from the chart’s full visible history. Instead of manually scanning through years of candles, the script studies the data and builds machine learning bands that respond to how the asset has actually behaved over time.
This version retains the original red and green Reversion Bands and adds a second set of dynamic Machine Learning Bands that adapt to volatility. This gives the trader four levels to reference: Red and Green Reversion Bands for more traditional support and resistance reversion zones.
Cyan and Orange Machine Learning Bands that adapt as new extremes form on the chart. The red and green bands are tuned for more typical reversion behavior, while the cyan and orange bands are focused on those moves where price stretches beyond its usual range. This can help frame potential entries, exits, and risk around both normal and more extreme conditions.
Support Versus Resistance
Machine Learning Reversion Bands tracks four main levels of support and resistance:
Green and Red Bands - Standard Reversion Bands
These bands mark more common reversion points for many assets. They highlight areas where trends have historically run into exhaustion and reverted back toward the mean. When price approaches these zones, it is often interacting with regions where prior swings have slowed, paused, or reversed.
Cyan and Orange Bands - Machine Learning Reversion Bands
The cyan and orange band algorithm studies the asset by looking back at every candle that is available on the chart (as far as the user can scroll left). If there is a decade of data, the algorithm will use that full decade to learn how the asset has behaved in the past and then project where these cyan and orange bands should be overlaid.
In short, these ML bands give traders a view of where the tool estimates the more extreme extensions of a trend may be, based on historical behavior. In many cases, price will only touch the cyan and orange bands when it is moving into unusually strong or weak levels relative to its own past. Each time trends reach these orange or cyan levels, the tool updates from that price action so that its future projections continue to reflect what has already been seen.
A historical example of the cyan bands adapting to extreme bullish behavior on a DOGE chart.
A historical example of the cyan bands projecting resistance levels in an extremely bullish trend.
A historical example of the orange bands adapting to an EOS chart.
A second historical example of the orange bands adapting to a Ford chart.
Example Charts
The following examples show how price has interacted with the bands in specific historical periods. They are intended as illustrations of behavior, not as performance guarantees:
Tron - H4 - TRXUSDT - December 2024
Nvidia - H4 - NVDA - March 2020 Tesla - H4 - TSLA - April 2022 These historical example charts can be used to visually review how price has interacted with the bands in the past. They are illustrations of behavior, not performance statistics.
Settings and Tuning
Reversion Alert Markers are used to visualize when price is interacting with the bands and to help traders monitor potential reversion events. When enabled, these markers plot whenever price meets the internal conditions for a reversion touch inside one of the bands.
These markers can be toggled on and off in the settings of the tool. The markers can also be set to custom text/emojis per the trader's preferences:
The Bands can also be adjusted manually to fine tune the chart specifically to the asset that the trader is buying/selling: Smoothness Adjuster - Adjusts how sensitive the Bands are to price action.
Top Bands Height Adjuster - Adjusts the vertical height of the Upper Bands.
Bottom Bands Height Adjuster - Adjusts the vertical height of the Lower Bands. The Bands themselves can also be adjusted visually to suit each trader's preference. The borders of the Reversion Bands as well as the shading of the Reversion Bands themselves can be adjusted to be brighter or darker by adjusting these two settings:
Band Transparency Adjuster - Adjusts the opacity of the Reversion Bands.
Border Transparency Adjuster - Adjusts the opacity/brightness of the Borders that are drawn around the Bands. Example of the Reversion Bands and the Borders being set to be extremely bright: Example of the Reversion Bands and Borders set to be more transparent: The colors of the Bands and Borders can also be adjusted to meet the preferences of the trader. Below you can see each Band color being adjusted: Candle Filtering is an advanced tuning option that traders can use to enable the Reversion Alert Markers to only trigger during extreme price action movements that are tracked using the RT-Main Indicator.
Below is an example of Reversion Alert Markers operating in conjunction with the Colored Candles of the RT-Main Indicator running the default settings. By default, every candle color will trigger an Alert Marker when inside the Reversion Bands:
With Candle Filtering options enabled, the trader can set their chart to only display Alert Markers for White and Pink Candles that print from the RT-Main Indicator inside the Reversion Bands: For traders that utilize custom tunes on the RT-Main Indicator, the Reversion Bands Tool also has settings that can be used to bring the Pink/White Candle Filtering in synch with custom Candle Settings of the RT-Main Indicator:
Alert Automation
When setting up alerts for this tool, traders generally follow these parameters: 1st Condition - Select the RT-Machine Learning Reversion Bands Indicator.
2nd Condition - Select the desired alert condition that you want to monitor:
Entering Green Band | Cyan Band | Red Band | Orange Band.
Interval - Select Same as Chart.
Trigger - Select Once Per Bar Close.
This approach allows the tool to serve as a visual and alert-based context layer for potential reversion areas, while entries, exits, and order execution remain under the trader's control.
How Traders Commonly Use The Bands
Some common ways traders incorporate Machine Learning Reversion Bands into their workflow include:
Using the Green and Red Bands as reference points for more "typical" mean reversion areas within an ongoing trend.
Watching the Cyan and Orange Bands for rare extensions that may mark areas of extreme strength or weakness relative to the asset's historical behavior.
Combining Band touches with other tools such as RT-Main Indicator, pivots, or volume context to build confluence around potential trade locations.
Reviewing past behavior in Replay mode to see how different assets have reacted to Band touches during various market regimes.
The tool is designed to act as a support and resistance map that adapts to each asset's history, rather than a rigid rule set.
What Makes This Tool Different
While many indicators draw static channels or volatility bands, Machine Learning Reversion Bands are designed to:
Retain the familiar behavior of the classic Red and Green Reversion Bands while adding a second Machine Learning layer.
Learn from all available chart history to estimate where more extreme extensions have historically occurred in the past.
Provide four distinct Band levels so traders can distinguish between normal reversion zones and more unusual extremes.
Offer optional markers and alert integration so reversion interactions can be tracked without watching every candle.
Important Note
Machine Learning Reversion Bands are intended to provide additional context around support, resistance, and potential mean reversion zones. They are not a standalone signal generator and should always be used together with your own analysis, testing, and risk management. Historical interactions with the Bands, including any back-test style examples, do not guarantee future results.
🐋 Tight lines and happy trading!
FOREX HUNTER V5.0This script is a technical analysis tool that helps traders visualize market structure and signals.
It should be used with proper risk management.
This script does not guarantee accuracy or profit, and is only for educational use.
INDIVIDUAL ASSET BIAS DASHBOARD V3Strategy Name: Individual Asset Bias Dashboard V3
Author Concept: Multi-timeframe 3-pivot alignment bias monitor
Timeframe: Works on any chart, but bias is calculated on daily close vs higher timeframe pivots
Core Idea (3-Pivot Rule)
For each asset we compare the current daily closing level against three classic pivots from higher timeframes:
Previous Weekly pivot: (H+L+C)/3 of last completed week
Previous Monthly pivot: (H+L+C)/3 of last completed month
Previous 3-Monthly pivot: (H+L+C)/3 of last completed quarter
Bias Logic:
BULL → Price is above all three pivots
BEAR → Price is below all three pivots
MIXED → Price is in between (no clear alignment)
This is a clean, objective, and widely used institutional method to gauge short-term momentum alignment across multiple horizons.
Assets Tracke
SymbolMeaningSPX500S&P 500 IndexVIXVolatility IndexDXYUS Dollar IndexBTCUSDBitcoinXAUUSDGoldUSOILWTI Crude OilUS10Y10-Year US Treasury YieldUSDJPYJapanese Yen pair
Key Features
Real-time updating table in the bottom-left corner
Color coding: Lime = Bullish, Red = Bearish, Gray = Mixed
Optional "Change" column showing flips (▲/▼) when bias changes day-over-day
No repainting on closed daily bars (critical for reliability)
Compliant with TradingView rules (proper lookahead usage explained below)
Important Technical Notes (Why No Repainting)
lookahead = barmerge.lookahead_on is used only for higher-timeframe historical pivots → allowed and standard practice
Current price uses lookahead = barmerge.lookahead_off → reflects actual tradable daily close
Table only draws on barstate.islastconfirmedhistory or barstate.islast → prevents false signals on realtime bar
Limitations & Warnings
On intraday charts, the "current bias" updates with every tick using the running daily close
Bias can flip intraday before daily bar closes
On daily or higher charts, the dashboard is 100% confirmation-based and non-repainting
This is a bias filter, not a standalone trading system
Sellers vs Buyers 2Pressure Gauges (Custom “Buyer/Seller Pressure” Indicators)
These combine volume, price momentum, and imbalances.
Green bars/lines indicate buying pressure
Red bars/lines indicate selling pressure
Trading Sessions Low and HighVisualize and analyze different trading sessions (Tokyo, London, New York) on your charts.
Key Features:
Colored Session Zones: Displays colored rectangles to visually identify each active trading session
Smart High/Low Lines:
Draws horizontal lines at the highest and lowest points of each session
These lines automatically extend forward in time until a candle crosses them
Helps identify support/resistance levels created during each session
Detailed Session Information:
Range (difference between highest and lowest points)
Average price of the session
Open and close lines
Full Customization:
Choose the number of historical sessions to display (e.g., last 10, 20 sessions)
Line style and width for high/low lines
Enable/disable each element independently
Trading Benefits:
Identify liquidity zones created during each session
Spot key levels that continue to influence price after a session closes
Analyze volatility and price behavior across different sessions
Detect breakouts of important levels established during previous sessions
Stock whisperer vol 2Below is your updated, copy-paste ready Pine v5 script with 5 bullish targets and 5 bearish targets.
No broken line wraps. No reserved words. No Pine meltdowns.
GIX-Analiza Fundamentala• People who want to combine fundamental analysis with technical analysis
• Identifying fundamentally strong companies and avoiding high-risk ones
• The indicator collects and structures fundamental information such as:
Profitability (net profit, margins, EBIT/EBITDA, ROE/ROA)
Financial stability (debt levels, leverage, liquidity)
DeepClean Linear indicator 1. Indicator Name
DeepClean Linear indicator
2. One-Line Introduction
A trend-recognition indicator that overlays a “transparent wave” on price, removing noise and revealing directional bias and trend intensity in a highly intuitive visual form.
3. Overall Summary
The DeepClean Linear indicator calculates trend direction using changes in linear regression slope and determines trend strength by comparing how consistently the regression line moves over a defined lookback window.
Rather than merely identifying trend direction, the indicator applies a triple-layer noise-filtering process (EMA → SMA → RMA) to produce a clean, wave-shaped data line that filters out unnecessary market noise.
This transparent wave sits directly on top of price, allowing traders to visually compare price movement and trend strength at the same time.
A stronger trend results in a taller, thicker wave, while weakening momentum causes the wave to thin, making it easier to spot trend continuation, exhaustion, or upcoming reversal.
Color automatically shifts based on trend:
Bright cyan/teal during bullish conditions
Reddish tones during bearish conditions
Transparency dynamically adjusts depending on strength
The indicator excels at identifying the true underlying trend by ignoring minor fluctuations and is well suited for scalping, swing trading, and position trading.
It also significantly reduces false signals in ranging markets, making it ideal for trend-following strategies.
4. Advantages
① Ultra-Clean Noise-Reduced Wave
Utilizes a 3-stage smoothing filter (EMA → SMA → RMA) to produce a much cleaner wave than standard moving averages, highlighting only core trend movement.
② Trend Direction & Strength at a Glance
Based on comparative linear regression behavior, the indicator quantifies both direction and strength, making convergence/divergence highly visible.
③ Intuitive Price Overlay Visualization
The semi-transparent wave sits directly on price action, allowing traders to instantly see divergence from price, trend weakening, or early turning points.
④ Dynamic Transparency Coloring
Strong trends appear bold and intense, while weaker trends fade visually—making signal interpretation effortless.
⑤ Excellent Range Filtering
During low-direction phases (state = 0), the wave turns neutral, preventing forced or premature entries.
⑥ Multi-Timeframe Compatibility
The wave remains stable from 1-minute to weekly charts, making it suitable for trend analysis, execution, and risk control across all timeframes.
📌 Core Concept Overview
The indicator evaluates the relative comparison of linear regression values over the last n periods.
A positive trend value indicates bullish bias
A negative trend value indicates bearish bias
Intensity represents strength and controls wave height
waveTop / waveBot define the visual wave area relative to price
State Values
1 = Bullish Trend
-1 = Bearish Trend
0 = Neutral / Weak Direction
⚙️ Settings Overview
Option Description
Trend Lookback (n) Comparison window for regression slope. Higher = bigger trend focus.
Range Tolerance (%) Strength threshold to classify bullish/bearish movement. Higher = more conservative.
Source Price source for regression calculations.
Linear Reg Length Length of the linear regression.
Noise Filter Strength (smoothK) Controls the smoothing intensity. Higher = smoother wave.
Wave Amplitude (amp) Adjusts the height/thickness of the wave.
Bull/Bear Color Colors for bullish/bearish waves.
Base Transparency Base opacity level; modified dynamically by trend strength.
📈 Bullish Timing Recognition Examples
Wave begins turning brighter teal and more opaque, indicating strengthening upward pressure.
waveTop expands above price, signaling early trend expansion.
State flips to 1, often marking a trend restart or early reversal phase.
A steadily rising wave height suggests sustained bullish momentum.
📉 Bearish Timing Recognition Examples
Wave shifts into red tones, showing bearish dominance.
waveBot expands below price, indicating rising downside volatility.
State stays at -1 while intensity increases, signaling entry into strong downtrend conditions.
A shift from weak → strong bearish intensity can provide short-entry timing cues.
🧪 Recommended Usage
Use as a core component in trend-following systems
Adjust position size based on wave thickness (trend strength)
Combine with RSI/MACD to reduce false signals during overbought/oversold zones
Sudden wave expansion during volatility increases helps detect trend acceleration
In sideways markets, frequent state = 0 readings help avoid low-probability trades
🔒 Important Notes
As a trend-based indicator, it may misread choppy/ranging markets
Because of smoothing, signals may appear slightly delayed
Extreme news volatility can temporarily distort trend clarity
Atlas 8 Currency Session Momentum (6H, London)This indicator calculates real-time currency strength for the 8 major currencies (USD, EUR, GBP, JPY, AUD, NZD, CAD, CHF) using a balanced multi-pair engine and a 6-hour momentum reset.
🔍 How it works
The indicator computes the relative strength of each currency by averaging the percentage change of 7 major cross-pairs for each currency.
A currency's value increases when pairs where it is the base appreciate, and decreases when pairs where it is the quote depreciate.
This creates a symmetric and stable strength calculation similar to institutional relative-value models.
🕒 Session-based Momentum Reset
The global trading day is split into 4 × 6-hour blocks:
• 00:00–06:00 Tokyo
• 06:00–12:00 London
• 12:00–18:00 New York
• 18:00–24:00 Late US/Asia pre-open
At each new 6-hour session, all strength lines reset to 0.
This highlights fresh intraday momentum generated by liquidity transitions between sessions.
🎯 What the indicator shows
• Relative strength of all 8 currencies
• Smooth momentum curves using EMA smoothing
• Vertical dividers at each new session
• Background color for each session
• Real intraday build-up of strength/weakness (not cumulative from previous day)
This tool is designed for intraday traders who follow cross-currency momentum during session transitions (Tokyo → London → NY).
🧭 How to use it
• Look for the strongest vs weakest currency after each session reset
• Identify fresh trends during London and NY opens
• Confirm currency-pair bias using strength divergence
• Track momentum exhaustion when lines flatten or converge
Big Tech Sniper [TSLA/AAPL/MSFT/META]Precision Engineered for the "Magnificent" Stocks.
The Big Tech Sniper is a specialized version of our institutional logic, tuned specifically for the unique volatility profiles of Tesla, Apple, Microsoft, and Meta.
Unlike generic indicators, this script includes an Asset Validator that confirms you are trading an optimized ticker. If you try to use this on a low-quality penny stock, the system will warn you: "UNSUPPORTED ⚠️".
🚀 Optimized For:
TSLA (Tesla): Captures high-beta explosive moves.
AAPL (Apple): Tuned for steady, high-volume trends.
MSFT (Microsoft) & META: Calibrated for institutional order flow.
🔥 Institutional Features:
VWAP Anchor: Only trades in the direction of bank accumulation.
Volume Gate: Filters out "Lunchtime" fakeouts (Low Volume = No Trade).
Blue Zone Targeting: Automatically detects when the Profit Target is hit to prevent FOMO.
🔒 HOW TO UNLOCK: This is an Invite-Only tool for members of Scaler Pro Systems. Get your license here: whop.com
(Enter your TradingView username at checkout for instant access)
Quantum Sniper
//@version=5
indicator('Quantum Sniper', overlay=true) // 1. INDICATOR NAME CHANGED TO "Quantum Sniper"
// -----------------------------------------------------------------------------
// 2. SECURITY HARDCODING (Inputs Removed or Fixed)
// -----------------------------------------------------------------------------
var ok = 0
var countBuy = 0
var countSell = 0
// src = input(close, title='OHLC Type') // REMOVED INPUT
src = close // FIXED: Assume close price
// --- EMA Lengths Hardcoded (Change these numbers to your secret settings!)
l_fastEMA = 14 // ⚠️ Change THIS to your Fast EMA length (e.g., 18)
l_slowEMA = 15 // ⚠️ Change THIS to your Slow EMA length (e.g., 35)
l_defEMA = 16 // ⚠️ Change THIS to your Consolidated EMA length
// Allow the option to show single or double EMA
// i_bothEMAs = input(title='Show Both EMAs', defval=true) // REMOVED INPUT
i_bothEMAs = true // FIXED: Always show both EMAs
// Define EMAs
v_fastEMA = ta.ema(src, l_fastEMA)
v_slowEMA = ta.ema(src, l_slowEMA)
v_biasEMA = ta.ema(src, l_defEMA)
// Color the EMAs
emaColor = v_fastEMA > v_slowEMA ? color.green : v_fastEMA < v_slowEMA ? color.red : #FF530D
// Plot EMAs
plot(i_bothEMAs ? na : v_biasEMA, color=emaColor, linewidth=3, title='Consolidated EMA')
plot(i_bothEMAs ? v_fastEMA : na, title='Fast EMA', color=emaColor)
plot(i_bothEMAs ? v_slowEMA : na, title='Slow EMA', color=emaColor)
// Colour the bars
buy = v_fastEMA > v_slowEMA
sell = v_fastEMA < v_slowEMA
if buy
countBuy += 1
countBuy
if buy
countSell := 0
countSell
if sell
countSell += 1
countSell
if sell
countBuy := 0
countBuy
buysignal = countBuy < 2 and countBuy > 0 and countSell < 1 and buy and not buy
sellsignal = countSell > 0 and countSell < 2 and countBuy < 1 and sell and not sell
barcolor(buysignal ? color.green : na)
barcolor(sellsignal ? color.red : na)
// -----------------------------------------------------------------------------
// 3. PLOT SIGNALS CHANGED TO "Long" and "Short"
// -----------------------------------------------------------------------------
plotshape(buysignal, title='Long', text='Long', style=shape.triangleup, location=location.belowbar, color=color.new(color.green, 0), textcolor=color.new(color.black, 0), size=size.tiny)
plotshape(sellsignal, title='Short', text='Short', style=shape.triangledown, location=location.abovebar, color=color.new(color.red, 0), textcolor=color.new(color.black, 0), size=size.tiny)
bull = countBuy > 1
bear = countSell > 1
barcolor(bull ? color.green : na)
barcolor(bear ? color.red : na)
// Set Alerts
alertcondition(ta.crossover(v_fastEMA, v_slowEMA), title='Bullish EMA Cross', message='Bullish EMA crossover')
alertcondition(ta.crossunder(v_fastEMA, v_slowEMA), title='Bearish EMA Cross', message='Bearish EMA Crossover')
// -----------------------------------------------------------------------------
// 4. STOCH RSI Hardcoding
// -----------------------------------------------------------------------------
// Note: All Stochastic/RSI inputs below are now hardcoded to common values (e.g., 3, 14).
// If you use custom StochRSI inputs, you must change these numbers as well.
smoothK = 3 // Hardcoded
smoothD = 3 // Hardcoded
lengthRSI = 14 // Hardcoded
lengthStoch = 14 // Hardcoded
rsi1 = ta.rsi(src, lengthRSI)
k = ta.sma(ta.stoch(rsi1, rsi1, rsi1, lengthStoch), smoothK)
d = ta.sma(k, smoothD)
bandno0 = 80 // Hardcoded
bandno2 = 50 // Hardcoded
bandno1 = 20 // Hardcoded
// Alerts
// Crossover Alert Toggles Hardcoded to their default values (false)
crossoverAlertBgColourMidOnOff = false
crossoverAlertBgColourOBOSOnOff = false
crossoverAlertBgColourGreaterThanOnOff = false
crossoverAlertBgColourLessThanOnOff = false
// Moving Average Inputs Hardcoded
maTypeChoice = 'EMA' // Hardcoded
maSrc = close // Hardcoded
maLen = 200 // Hardcoded
maValue = if maTypeChoice == 'EMA'
ta.ema(maSrc, maLen)
else if maTypeChoice == 'WMA'
ta.wma(maSrc, maLen)
else if maTypeChoice == 'SMA'
ta.sma(maSrc, maLen)
else
0
crossupCHECK = maTypeChoice == 'None' or open > maValue and maTypeChoice != 'None'
crossdownCHECK = maTypeChoice == 'None' or open < maValue and maTypeChoice != 'None'
crossupalert = crossupCHECK and ta.crossover(k, d) and (k < bandno2 or d < bandno2)
crossdownalert = crossdownCHECK and ta.crossunder(k, d) and (k > bandno2 or d > bandno2)
crossupOSalert = crossupCHECK and ta.crossover(k, d) and (k < bandno1 or d < bandno1)
crossdownOBalert = crossdownCHECK and ta.crossunder(k, d) and (k > bandno0 or d > bandno0)
aboveBandalert = ta.crossunder(k, bandno0)
belowBandalert = ta.crossover(k, bandno1)
bgcolor(color=crossupalert and crossoverAlertBgColourMidOnOff ? #4CAF50 : crossdownalert and crossoverAlertBgColourMidOnOff ? #FF0000 : na, title='Crossover Alert Background Colour (Middle Level)', transp=70)
bgcolor(color=crossupOSalert and crossoverAlertBgColourOBOSOnOff ? #fbc02d : crossdownOBalert and crossoverAlertBgColourOBOSOnOff ? #000000 : na, title='Crossover Alert Background Colour (OB/OS Level)', transp=70)
bgcolor(color=aboveBandalert and crossoverAlertBgColourGreaterThanOnOff ? #ff0014 : crossdownalert and crossoverAlertBgColourMidOnOff ? #FF0000 : na, title='Crossover Alert - K > Upper level', transp=70)
bgcolor(color=belowBandalert and crossoverAlertBgColourLessThanOnOff ? #4CAF50 : crossdownalert and crossoverAlertBgColourMidOnOff ? #FF0000 : na, title='Crossover Alert - K < Lower level', transp=70)
alertcondition(crossupalert or crossdownalert, title='Stoch RSI Crossover', message='STOCH RSI CROSSOVER')
Dynamic Support and Resistance with Trend LinesMain Purpose
The indicator identifies and visualizes dynamic support and resistance levels using multiple strategies, plus it includes trend analysis and trading signals.
Key Components:
1. Two Support/Resistance Strategies:
Strategy A: Matrix Climax
Identifies the top 10 (configurable) most significant support and resistance levels
Uses a "matrix" calculation method to find price levels where the market has historically reacted
Shows these as horizontal lines or zones on the chart
Strategy B: Volume Extremes
Finds support/resistance levels based on volume analysis
Looks for areas where extreme volume occurred, which often become key price levels
2. Two Trend Line Systems:
Trend Line 1: Pivot Span
Draws trend lines connecting pivot high and pivot low points
Uses configurable pivot parameters (left: 5, right: 5 bars)
Creates a channel showing the trend direction
Styled in pink/purple with dashed lines
Trend Line 2: 5-Point Channel
Creates a channel based on 5 pivot points
Provides another perspective on trend direction
Solid lines in pink/purple
3. Trading Signals:
Buy Signal: Triggers when Fast EMA (9-period) crosses above Slow EMA (21-period)
Sell Signal: Triggers when Fast EMA crosses below Slow EMA
Displays visual shapes (labels) on the chart
Includes alert conditions you can set up in TradingView
4. Visual Features:
Dashboard: Shows key information in a table (top-right by default)
Visual Matrix Map: Displays a heat map of support/resistance zones
Color themes: Dark Mode or Light Mode
Timezone adjustment: For accurate time display
5. Customization Options:
Universal lookback length (100 bars default)
Projection bars (26 bars forward)
Adjustable transparency for different elements
Multiple calculation methods available
Fully customizable colors and line styles
What Traders Use This For:
Entry/Exit Points: The EMA crossovers provide clear buy/sell signals
Risk Management: Support/resistance levels help set stop-losses and take-profit targets
Trend Confirmation: Multiple trend lines confirm trend direction
Key Price Levels: Identifies where price is likely to react (bounce or break through)
The indicator is quite feature-rich and combines technical analysis elements (pivots, EMAs, volume, support/resistance) into one comprehensive tool for trading decisions.
Avengers Ultimate V5 (Watch Profit)"Designed as a trend-following system, this strategy integrates the core principles of legends like Mark Minervini, Stan Weinstein, William O'Neil, and Jesse Livermore. It has been fine-tuned for the Korean market and provides distinct entry and exit protocols for different market scenarios."
Gould 10Y + 4Y patternDescription:
Overview This indicator is a comprehensive tool for macro-market analysis, designed to visualize historical market cycles on your chart. It combines Edson Gould’s famous Decennial Pattern with a Customizable 4-Year Cycle (e.g., 2002 base) to help traders identify long-term trends, potential market bottoms, and strong bullish years.
This tool is ideal for long-term investors and analysts looking for cyclical confluence on monthly or yearly timeframes (e.g., SPX, NDX).
Key Concepts
Edson Gould’s Decennial Pattern (10-Year Cycle)
Based on the theory that the stock market follows a psychological cycle determined by the last digit of the year.
5 (Strongest Bull): Historically the strongest performance years.
7 (Panic/Crash): Years often associated with market panic or crashes.
2 (Bottom/Buy): Years that often mark major lows.
Custom 4-Year Cycle (Target Year Strategy)
Identify recurring 4-year opportunities based on a user-defined base year.
Default Setting (Base 2002): Highlights years like 2002, 2006, 2010, 2014, 2018, 2022... which have historically been significant market bottoms or excellent buying opportunities.
When a "Target Year" arrives, the indicator highlights the background and displays a distinct Green "Target Year" Label.
Features
Real-time Dashboard: A table in the top-right corner displays the current year's status for both the 10-Year and 4-Year cycles, including a countdown to the next target year.
Dynamic Labels: Automatically marks every year on the chart with its Decennial status (e.g., "Strong Bull (5)", "Panic (7)").
Visual Highlighting:
Target Years: Distinct green background and labels for easy identification of the 4-year cycle.
Significant Decennial Years: Special small markers for years ending in 5 and 7.
Fully Customizable: You can change the base year for the 4-year cycle, toggle the dashboard, and adjust colors via the settings menu.
How to Use
Apply this indicator to high-timeframe charts (Weekly or Monthly) of major indices like S&P 500 or Nasdaq.
Look for confluence between the 10-Year Pattern (e.g., Year 6 - Bullish) and the 4-Year Cycle (Target Year) to confirm long-term bias.
Disclaimer This tool is for educational and research purposes only based on historical cycle theories. Past performance is not indicative of future results. Always manage your risk.
Sunday Open & Friday Close LinesSunday Open & Friday Close Lines — © Erica Lorrai | Trade Tribe HQ
A clean weekly anchor tool for traders who love simple, high-signal charting.
Clean charts, clean mind, clean trades.
This script marks the two most important moments of every trading week:
where the market closed… and where it truly reopened.
Designed for traders who use dealer-cycle logic, market structure, or BTMM-style timing, these lines help you instantly:
Spot weekend gaps
Identify weekly narrative shifts
See where the dealers reset liquidity
Anchor your weekly analysis with precision
Track the beginning of new cycles and the end of old ones
No clutter. No noise. Just two high-value levels that quietly run your entire week.
Customize the color, width, and line type to match your chart style and make weekly transitions impossible to miss.
Whether you're new to trading or deep into pattern-cycle logic, this little tool becomes one of those “how did I trade without this?” markers.
© Erica Lorrai — Trade Tribe HQ
Aloha & welcome to the Tribe. 🌺
How to Use
Add the script to your chart on any timeframe.
The indicator automatically detects each new trading week.
Two vertical lines will appear:
Friday Close Line – last candle before the weekend
Sunday Open Line – first candle of the new week
Use the settings panel to customize color, width, and line style.
These weekly anchors help you identify weekend gaps, weekly resets, and structural shifts in real time.
If you’re new here — welcome to the Tribe. 🌺
This little tool is one of the first things I teach my traders:
“See the week clearly, and the trades get clearer too.”
If you want more BTMM-style tools, weekly breakdowns, or want to learn the system behind these levels, come hang out at Trade Tribe HQ.
Happy trading.
— Erica Lorrai
CVD Power & Whale Tracker Overview: What is it?
This indicator combines Order Flow, Volume Analysis, and Momentum into a single dashboard. Instead of just looking at price, it looks at effort (Volume) versus result (Price Action) to identify when Institutions (Whales) are stepping in.
1. The Core Engine: "Pressure" (Z-Score)
At the heart of the indicator is the Z-Score of Volume Delta.
The Logic: It calculates the "Volume Delta" (Buying Volume minus Selling Volume) for every candle. It then compares the current candle's delta to the average of the last 20 candles.
The Output:
Zero Line: Buying and Selling pressure is balanced.
Positive Bar (> 0): Buyers are more aggressive than usual.
Negative Bar (< 0): Sellers are more aggressive than usual.
Extreme Values (> 2 or < -2): This represents statistically significant aggression (2 Standard Deviations from the mean). This usually marks the start of a breakout or a climax.
2. Whale Detection (Institutional Activity)
Retail traders trade small size; Institutions (Whales) trade large size.
The Logic: The script calculates the average volume of the last 50 bars. If the current bar's volume is 2.5x higher than that average, it flags it as a "Whale" bar.
Visual: The Histogram bar turns Yellow.
Meaning: Smart money is active. Pay attention to the direction of the next few candles.
3. Absorption (The "Smart Money" Signal)
This is the most powerful signal in the script. It detects when one side is trapping the other.
Bullish Absorption (Cyan Dot):
Condition: Huge Volume (Whale) + Net Selling Pressure (Red Delta) + Price refuses to drop (closes in the upper half).
Meaning: Sellers are dumping hard, but a passive buyer (Limit Order) is "absorbing" all the sell orders. This is essentially a hidden support wall.
Bearish Absorption (Orange Dot):
Condition: Huge Volume (Whale) + Net Buying Pressure (Green Delta) + Price refuses to rise (closes in the lower half).
Meaning: Buyers are pushing hard, but a passive seller is absorbing the buy orders. This is a hidden resistance wall.
4. Money Flow (Accumulation/Distribution)
Although the purple line was removed from the chart to keep it clean, the math still runs in the background for the Dashboard.
The Logic: It uses the standard Accumulation/Distribution (A/D) formula. It checks if money is flowing into the asset (Close near High) or out (Close near Low) relative to volume.
Dashboard: If the trend of Money Flow is up, the table says "Accumulation (In)". If down, "Distribution (Out)".
5. CVD Trend (Blue/Orange Line)
What is CVD? Cumulative Volume Delta. It keeps a running total of buying vs. selling volume over time.
Usage:
Blue: Positive Slope (Buying Trend).
Orange: Negative Slope (Selling Trend).
Divergence: If Price is making a Lower Low but the CVD Line is making a Higher Low, it means sellers are exhausted (Bullish Divergence). The script highlights the background in Green when this happens.
CSP Institutional Filter PRO This indicator evaluates whether a ticker qualifies for a high-probability Cash-Secured Put (CSP) based on an institutional options-selling framework. It checks RSI, momentum, support levels, ATR-based risk, IVR, DTE, and earnings timing to determine if the setup meets either the Standard CSP Module (30–45 DTE) or the Pre-Earnings CSP Module (7–21 days before earnings). The script visually marks valid setups, highlights risk zones, and provides an on-chart diagnostic summary.
GME Cycle Predictor# 🚀 GME Cycle Predictor - Advanced Technical Analysis Tool
**Comprehensive GameStop (GME) cycle tracking indicator based on historical patterns and market mechanics.**
## 📊 **What This Indicator Does:**
- Tracks **147-day quarterly cycles** from the January 28, 2021 squeeze
- Monitors the **1704-day major cycle** (the theoretical "big one")
- Identifies **T+35 FTD settlement periods** for forced buying pressure
- Marks **quarterly OPEX** and **swap roll dates**
- Provides **real-time buy/sell recommendations** based on cycle timing
## 🎯 **Key Features:**
### **Visual Cycle Markers:**
- 🔴 **Red Circles**: 147-day quarterly cycles
- 🟡 **Yellow Diamonds**: 1704-day major cycle (CRITICAL)
- 🟢 **Green Squares**: T+35 FTD settlement dates
- 🟠 **Orange Triangles**: Quarterly OPEX periods
- 🟣 **Purple X's**: Swap roll periods
### **Smart Trading Signals:**
- **🚀 MAJOR BUY**: 10+ days before 1704-day cycle
- **📈 BUY ZONE**: 5-10 days before 147-day cycle
- **💚 FTD BUY**: 2-5 days before T+35 settlement
- **📉 SELL ZONE**: Day of cycle completion
- **⏳ WAIT**: No active signals
## 📈 **How to Use:**
### **For Swing Trading:**
1. **BUY** when cheat sheet shows active buy signals
2. **SELL** on cycle completion days
3. **HODL** through the 1704-day major cycle
### **For Long-term Investors:**
- Monitor the **1704-day countdown** (major cycle theory)
- Accumulate during **confluence periods** (multiple cycles aligning)
- Use **147-day cycles** for entry/exit timing
## 🔧 **Technical Foundation:**
- Based on **Fail-to-Deliver (FTD)** settlement mechanics
- **Quarterly swap theory** and institutional obligations
- **Options expiration (OPEX)** pressure points
- **Historical pattern recognition** from 2021 squeeze
## ⚡ **Real-Time Features:**
- **Live countdown timers** to next major cycles
- **Dynamic trading recommendations**
- **Confluence detection** when multiple cycles align
- **Volume confirmation** for signal validation
- **Clean visual design** with minimal chart clutter
## 🎯 **Perfect For:**
- GME traders following cycle theory
- Technical analysts studying market mechanics
- Swing traders using institutional obligation cycles
- Anyone tracking the theoretical "MOASS" timing
## ⚠️ **Important Notes:**
- This indicator is based on **theoretical cycle patterns**
- Past performance does not guarantee future results
- Always use proper risk management
- The 1704-day cycle is **unproven theory** - trade responsibly
- Best used in conjunction with other technical analysis
## 🚀 **Special Feature:**
The **1704-day major cycle** countdown tracks the theoretical "Mother of All Short Squeezes" (MOASS) timing, calculated from the January 28, 2021 squeeze peak. This is the cycle many GME theorists believe will trigger the ultimate price movement.
---
**Perfect for both beginners and advanced traders who want to incorporate GME cycle theory into their technical analysis toolkit.**
*Disclaimer: This is a theoretical analysis tool based on community research. Not financial advice. Trade at your own risk.*
Fibonacci Degree System This Pine Script creates a sophisticated technical analysis tool that combines Fibonacci retracements with a degree-based cycle system. Here's a comprehensive breakdown:
Core Concept
The indicator maps price movements onto a 360-degree circular framework, treating market cycles like geometric angles. It creates a visual "mesh" where Fibonacci ratios intersect in both price (horizontal) and time (vertical) dimensions.
How It Works
1. Finding Reference Points
The script looks back over a specified period (default 100 bars) to identify:
Highest High: The peak price point
Lowest Low: The trough price point
Time Locations: Exactly which bars these extremes occurred on
These two points form the boundaries of your analysis window.
2. Creating the Fibonacci Grid
Horizontal Lines (Price Levels):
The script divides the price range between high and low into seven key Fibonacci ratios:
0% (Low) - Bottom boundary in red
23.6% - Minor retracement in orange
38.2% - Shallow retracement in yellow
50% - Midpoint in lime green
61.8% - Golden ratio in aqua (most significant)
78.6% - Deep retracement in blue
100% (High) - Top boundary in purple
Each line represents a potential support/resistance level where price might react.
Vertical Lines (Time Cycles):
The same Fibonacci ratios are applied to the time dimension between the high and low bars. If your high and low are 50 bars apart, vertical lines appear at:
Bar 0 (0%)
Bar 12 (23.6%)
Bar 19 (38.2%)
Bar 25 (50%)
Bar 31 (61.8%)
Bar 39 (78.6%)
Bar 50 (100%)
These suggest when price might make significant moves.
3. The Degree Mapping System
The innovative feature maps the time progression to degrees:
0° = Start point (0% time)
85° = 23.6% through the cycle
138° = 38.2% through the cycle
180° = Midpoint (50%)
222° = 61.8% through the cycle (golden angle)
283° = 78.6% through the cycle
360° = Complete cycle (100%)
This treats market movements as circular patterns, similar to how planets orbit or pendulums swing.
Visual Output
When you apply this indicator, you'll see:
A rectangular mesh extending beyond your high-low range (by 150% default)
Color-coded horizontal lines showing price Fibonacci levels
Matching vertical lines showing time Fibonacci intervals
Price labels on the right showing percentage levels
Degree labels at the bottom showing the angular position in the cycle
Intersection points creating a grid of potentially significant price-time coordinates
Trading Application
Traders use this to identify:
Support/Resistance Zones: Where horizontal and vertical lines intersect
Time Targets: When price might reverse (at vertical Fibonacci times)
Cycle Completion: When approaching 360°, a new cycle may begin
Harmonic Patterns: Geometric relationships between price and time
Customization Features
The script offers extensive control:
Lookback period: Adjust cycle length (10-500 bars)
Mesh extension: How far to project the grid forward
Visual toggles: Show/hide horizontal lines, vertical lines, labels
Styling: Line thickness, style (solid/dashed/dotted), colors
Label positioning: Fine-tune text placement for readability
The intersection at 61.8% time and 61.8% price at 222° becomes a key target zone.
This tool essentially converts the abstract concept of market cycles into a concrete, visual geometric framework that traders can analyze and act upon.
DISCLAIMER: This information is provided for educational purposes only and should not be considered financial, investment, or trading advice.
No guarantee of profits: Past performance and theoretical models do not guarantee future results. Trading and investing involve substantial risk of loss.
Not a recommendation: This script illustration does not constitute a recommendation to buy, sell, or hold any financial instrument.
Do your own research: Always conduct thorough independent research and consider consulting with a qualified financial advisor before making any trading decisions.
Cambio de DiaDraws a full vertical line at the daily rollover (00:00) with customizable color, thickness, and style.
Keltner Channels - signal providerThis enhanced channel for pro traders visually indicates enhanced entry or exit signal based on the position of the underlying within the channel. Remember: EVERY TREND HAS ITS RETRACEMENTS - with this indicator you will avoid entering in full uptrend (bearing more downside risk than upside) or exiting (shorting) at max downtrend.
To be used together with the trend on higher timeframes (especially for the interpretation of the baseline)
Upper part = potential sell signal (especially in overall downtrends)
Lower part = potential buy signal (especially in overall uptrends)
Basis = potential buy signal (especially in strong uptrends)
= potential sell signal (especially in overall downtrends)






















