Cycles
棉花(爱老婆版本) – 云图Below is a concise English guide so you—or anyone on your team—can load, understand, and trade with the script you just updated. 云图 开源 收费的都是骗子
Heikin Ashi RSI Oscillator with Dynamic Bands 🔧 Core Features
🟢 HARSI Candles
RSI is transformed to a zero-centered scale (RSI - 50).
Heikin Ashi logic is applied on this adjusted RSI to create smoothed pseudo-candles.
Optionally smoothed with SMA.
🟠 Dynamic Bands
Calculates adaptive high/low bands using a percentile-based approach.
User-defined sensitivity and lookback.
Plots upper/lower boundaries and optionally shades between them.
Opacity of shading dynamically adjusts based on band width (volatility).
🔴 Overbought / Oversold Levels
Horizontal lines at user-defined OB/OS thresholds (default 80/20).
Converted to zero-based scale to match the HARSI series.
Optional alerts when levels are crossed.
🟡 Signal Line
Gaussian smoothed version of HARSI close.
Used to highlight potential trend changes.
Optional visual plot and alert triggering.
🟣 Visualization Options
Toggle between full HARSI candles, body-only (no wick), or line.
Customize colors, smoothing lengths, and transparency.
Bollinger Band Reversal Strategy//@version=5
strategy("Bollinger Band Reversal Strategy", overlay=true)
// Bollinger Band Parameters
length = input.int(20, title="BB Length")
src = input(close, title="Source")
mult = input.float(2.0, title="BB Multiplier")
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper = basis + dev
lower = basis - dev
plot(basis, "Basis", color=color.gray)
plot(upper, "Upper Band", color=color.red)
plot(lower, "Lower Band", color=color.green)
// Get previous and current candle data
prev_open = open
prev_close = close
cur_close = close
// Check for upper band touch and reversal
bearish_reversal = high >= upper and cur_close < prev_open
// Check for lower band touch and reversal
bullish_reversal = low <= lower and cur_close > prev_open
// Plotting arrows
plotshape(bearish_reversal, title="Down Arrow", location=location.abovebar, color=color.red, style=shape.arrowdown, size=size.small)
plotshape(bullish_reversal, title="Up Arrow", location=location.belowbar, color=color.green, style=shape.arrowup, size=size.small)
// Optional: Add strategy entry signals
if (bullish_reversal)
strategy.entry("Buy", strategy.long)
if (bearish_reversal)
strategy.entry("Sell", strategy.short)
10 Monday's 1H Avg Range + 30-Day Daily Range🇬🇧 English Version
This script is especially useful for traders who need to measure the range of the first four 15-minute candles of the week.
It provides three key pieces of information :
🕒 Highlights the First 4 Candles
Marks the first four 15-minute candles of the week and displays the total range between their high and low.
📊 10-Week Average (Yellow Line)
Shows the average range of those candles over the last 10 weeks, allowing you to compare the current week with past patterns.
📈 30-Day Daily Candle Average (Green Line)
Displays the average range of the last 30 daily candles.
This is especially useful when setting the Stop Loss, as a range greater than 1/3 of the daily average may make it difficult for the trade to close on the same day.
Feel free to contact me for upgrades or corrections.
– Bernardo Ramirez
🇵🇹 Versão em Português (Corrigida e Estilizada)
Este script é especialmente útil para traders que precisam medir o intervalo das quatro primeiras velas de 15 minutos da semana.
Ele oferece três informações principais :
🕒 Destaque das 4 Primeiras Velas
Marca as primeiras quatro velas de 15 minutos da semana e exibe o intervalo total entre a máxima e a mínima.
📊 Média de 10 Semanas (Linha Amarela)
Mostra a média do intervalo dessas velas nas últimas 10 semanas, permitindo comparar a semana atual com padrões anteriores.
📈 Média dos Últimos 30 Candles Diários (Linha Verde)
Exibe a média do intervalo das últimas 30 velas diárias.
Isso é especialmente útil para definir o Stop Loss, já que um valor maior que 1/3 da média diária pode dificultar que a operação feche no mesmo dia.
Sinta-se à vontade para me contactar para atualizações ou correções.
– Bernardo Ramirez
🇪🇸 Versión en Español (Corregida y Estilizada)
Este script es especialmente útil para traders que necesitan medir el rango de las primeras cuatro velas de 15 minutos de la semana.
Proporciona tres datos clave :
🕒 Resalta las Primeras 4 Velas
Señala las primeras cuatro velas de 15 minutos de la semana y muestra el rango total entre su máximo y mínimo.
📊 Promedio de 10 Semanas (Línea Amarilla)
Muestra el promedio del rango de esas velas durante las últimas 10 semanas, lo que permite comparar la semana actual con patrones anteriores.
📈 Promedio Diario de 30 Días (Línea Verde)
Muestra el rango promedio de las últimas 30 velas diarias.
Esto es especialmente útil al definir un Stop Loss, ya que un rango mayor a un tercio del promedio diario puede dificultar que la operación se cierre el mismo día.
No dudes en contactarme para mejoras o correcciones.
– Bernardo Ramirez
50-Line OscillatorFractal Vortex Oscillator
Version 5 | Overlay: Off
Overview
The Fractal Vortex Oscillator blends multiple moving-average trends into a single, rainbow-colored “vortex” that highlights shifting market momentum and internal crossovers. By stacking 26 sequential moving averages (SMA, EMA, WMA) with gradually increasing lengths, it creates a rich, multicolored band whose twists and overlaps reveal trend strength and turning points.
Key Features
Dynamic Trend Lines (26):
Uses a mix of SMA, EMA, and WMA on your chosen source (default = close).
Base length starts at 14 and increases by 1 for each subsequent line.
Rainbow Coloring:
Seven semi-transparent hues (red → orange → yellow → green → blue → fuchsia → navy) cycle through the lines for easy visual separation.
Filled Bands:
Adjacent trend lines are softly filled with aqua-tinted shading to emphasize the vortex bands.
Crossover Counting:
Internally tallies the number of times faster lines cross over or under their immediate slower neighbors on each bar.
Displays a small gray label on price showing “Up: X / Down: Y” to quantify rising vs. falling momentum.
Inputs
Base Length (base_length, default 14) – Starting period for the first moving average; all others increment from here.
Source (source, default close) – Price series to feed into the moving averages.
How It Works
Trend Array Creation
An array of 26 floats is built, each element computed by choosing SMA, EMA, or WMA in rotation and applying it to source with periods base_length + index.
Color Assignment
A seven-color palette is cycled through, giving every third line the same hue for a smooth rainbow gradient.
Plotting & Filling
Each of the 26 lines is plotted in its assigned color.
Consecutive lines are filled with a semi-transparent aqua to accentuate the “vortex” effect.
Momentum Signals
On each bar, the script checks for crossovers between each pair of adjacent lines:
CrossUp increments when a faster line crosses above a slower one.
CrossDown increments when it crosses below.
A label at the current bar displays the total counts, giving a quick read on whether upward or downward momentum dominates.
Interpretation & Usage
Wide, uniform bands suggest a steady trend; tight, overlapping bands point to consolidation or indecision.
Rising “Up” count signals growing bullish momentum; rising “Down” count signals bearish pressure.
Use the vortex’s twists—where different-colored lines intersect—as early warnings of potential trend shifts.
US Net Liquidity Tracker with Sentiment & OffsetU.S. Net Liquidity Tracker with Sentiment & Offset - Documentation
This document explains the rationale behind the Pine Script indicator "U.S. Net Liquidity Tracker with Sentiment & Offset" and why it provides an accurate representation of liquidity in the U.S. financial system.
The indicator leverages data from the Federal Reserve's Economic Data (FRED) to calculate net liquidity, offering traders and analysts a tool to assess market conditions influenced by monetary policy.
Purpose of the Indicator
The U.S. Net Liquidity Tracker is designed to measure the amount of liquidity available in the U.S. financial system by accounting for both liquidity injections and drains. Liquidity is a critical factor in financial markets: high liquidity often supports rising asset prices, while low liquidity can signal potential market downturns. This indicator helps users anticipate market trends by providing a clear, data-driven view of net liquidity dynamics.
! raw.githubusercontent.com
Rationale Behind the Indicator
What is U.S. Net Liquidity?
Net liquidity represents the money available in the financial system after subtracting liquidity-draining factors from the total liquidity provided by the Federal Reserve. The indicator calculates this by combining key data points that reflect both the creation and removal of liquidity.
Data Sources
The indicator uses the following FRED datasets:
Fed Balance Sheet (WALCL): Total assets held by the Federal Reserve, including securities from quantitative easing (QE). An expanding balance sheet adds liquidity, while a shrinking one (quantitative tightening, QT) reduces it.
Treasury General Account (WTREGEN): The U.S. Treasury’s cash balance at the Fed. A high balance drains liquidity, while spending releases it into the system.
Overnight Reverse Repurchase Agreements (RRPONTSYD): Short-term operations where the Fed borrows cash from institutions, temporarily reducing available liquidity.
Earnings Remittances (RESPPLLOPNWW): Payments from the Fed to the Treasury, which remove liquidity from circulation.
These components are chosen because they collectively represent the primary sources and drains of liquidity in the U.S. economy, providing a comprehensive view of net liquidity.
Calculation
The core formula for net liquidity is:
global_balance = fed_balance - us_tga_balance - overnight_rrp_balance - earnings_remittances_balance
fed_balance: Total Fed assets (WALCL).
us_tga_balance: Treasury General Account (WTREGEN).
overnight_rrp_balance: Reverse repo operations (RRPONTSYD).
earnings_remittances_balance: Fed remittances to Treasury (RESPPLLOPNWW).
This subtraction isolates the liquidity remaining after accounting for major drains, offering a net perspective on funds available to influence markets.
Additional Features
Smoothing: A Simple Moving Average (SMA) is applied to the net liquidity value to reduce noise and emphasize longer-term trends.
Sentiment Coloring: An Exponential Moving Average (EMA) determines market sentiment:
Bullish (Green): Smoothed liquidity is above the EMA, indicating improving liquidity conditions.
Bearish (Red): Smoothed liquidity is below the EMA, signaling deteriorating conditions.
Offset: Users can shift the liquidity plot forward or backward in time to align it with market data (e.g., S&P 500) for correlation analysis.
Rate of Change (ROC): A plot of the Fed balance sheet’s ROC highlights the pace of monetary policy shifts.
Why This is an Accurate Picture of U.S. Liquidity
The indicator accurately reflects U.S. liquidity for several reasons:
Comprehensive Data:
It incorporates all major liquidity-affecting factors: the Fed’s balance sheet (source) and TGA, reverse repos, and remittances (drains). This holistic approach ensures no significant component is overlooked.
Real-Time Insights:
By pulling data directly from FRED, the indicator reflects current economic conditions, making it relevant for timely decision-making.
Customizability:
Features like toggling components, adjusting smoothing periods, and offsetting the plot allow users to tailor the indicator to their specific analytical needs, enhancing its practical accuracy.
Visual Clarity:
Sentiment coloring and the ROC plot provide intuitive cues about liquidity trends and monetary policy impacts, making complex data actionable.
Conclusion
The "U.S. Net Liquidity Tracker with Sentiment & Offset" is a robust tool for understanding liquidity dynamics in the U.S. financial system. By combining key FRED datasets into a net liquidity calculation, smoothing the results, and adding sentiment and offset features, it delivers an accurate and user-friendly picture of liquidity. This makes it invaluable for traders and analysts seeking to correlate liquidity with market movements and anticipate economic shifts.
Source Code
The source code for this indicator is available on GitHub: ebasurtop/Macro
Disclaimer
All codes and indicators provided by Enrique Basurto are 100% free and open for public use. If you find this work valuable, please consider donating to The Brain Foundation through the Autism Research Coalition to support critical translational research for individuals with autism.
Your contributions help fund vital research initiatives.
Donation Link: Autism Research Coalition
Follow Enrique Basurto on X: @EnriqueBasurto
5 in 1 Colored SMA or EMA (w/ Custom Source)This custom Pine Script indicator plots five moving averages (MAs) — each of which can be configured as:
EMA, SMA, or a shaded zone between EMA & SMA
With individual lengths, line widths, and custom sources (like close, open, hl2, etc.)
It includes:
Dynamic coloring: MAs change color based on trend direction (up/down)
Shaded Zones: Optional visual bands between EMA and SMA of same length
Crossover dots: Marks crossover points between any pair of MAs (when enabled)
💡 Strategy Ideas Using This Indicator (High Probability Concepts)
Here are a few strategy foundations you can build on:
1. Trend-Following Cross Strategy
Entry: Buy when fast MA (e.g., MA1 - 5 EMA) crosses above slower MA (e.g., MA2 - 20 EMA)
Confirm: Only take trade if both are green (uptrend)
Exit: Sell on cross below or when MAs turn red (downtrend)
✅ Works best in trending markets
❌ Avoid in sideways/choppy conditions
2. EMA/SMA Zone Pullback Entry
Zone Type: Use “Shaded EMA/SMA Zone” mode on MAs
Entry: Enter long when price dips into the zone of an up-trending MA (color is green) and shows a bullish candle
Stop Loss: Below the zone
Target: Next MA level or fixed risk/reward ratio (e.g., 1:2)
✅ Great for buying dips in strong uptrends
3. Multiple MA Confluence
Setup: Align 3 or more MAs upward (e.g., MA1 > MA2 > MA3)
Entry: When price pulls back to MA1 or MA2 and bounces
Exit: When structure breaks or MAs lose alignment
✅ Filters out weak trends
❌ Can be late to reverse
4. Cross + Zone Confirmation
Combo: Wait for a bullish MA crossover (e.g., MA1 > MA2)
Confirm: Price is above at least one shaded zone (e.g., MA3 in zone mode)
Entry: On breakout candle or retest of the crossover point
✅ Provides strong confirmation before entry
SuperTrend CorregidoThis script implements a SuperTrend indicator based on the Average True Range (ATR). It is designed to help traders identify trend direction and potential buy/sell opportunities with visual signals on the chart.
🔧 Key Features:
ATR-Based Trend Detection: Calculates trend shifts using the ATR and a user-defined multiplier.
Buy/Sell Signals: Displays "Buy" and "Sell" labels directly on the chart when the trend changes direction.
Visual Trend Lines: Plots green (uptrend) and red (downtrend) SuperTrend lines to highlight the current market bias.
Trend Highlighting: Optionally fills the background to emphasize whether the market is in an uptrend or downtrend.
Customizable Settings:
ATR period and multiplier
Option to switch ATR calculation method
Toggle for signal visibility and trend highlighting
🔔 Alerts Included:
SuperTrend Buy Signal
SuperTrend Sell Signal
SuperTrend Direction Change
This indicator is useful for identifying entries and exits based on trend momentum and can be used across various timeframes.
COT Commercials Strategy (6 und 12 Monate)rtesersfsfesfesfefefefefefefefedfgdfggdgfgggertmälk rtvngrtdkhu4figtjroergjokerw
Death Cross Max Drop % (Near DC)This indicator identifies Death Cross events (when the 100-period SMA crosses below the 200-period SMA) and tracks the subsequent price decline until a Golden Cross (100-period SMA crosses above the 200-period SMA) signals a potential reversal or end of that downtrend phase.
For each completed Death Cross to Golden Cross cycle, the script calculates the maximum percentage drop from the closing price at the Death Cross to the lowest low price reached before the subsequent Golden Cross.
This maximum percentage drop is then displayed as a text label on the chart. The label is strategically positioned near the bar where the Death Cross originally occurred, offering a historical measure of the decline during that specific cycle. The tooltip for the label provides further details, including the price at the Death Cross, the lowest low reached, and the calculated maximum percentage drop.
Additionally, the indicator plots the 100-period and 200-period SMAs and visually marks Death Cross events on the chart with a downward-pointing red triangle. Users can customize the lengths of the SMAs and the price source (e.g., close, open) used for the calculations.
Key Features:
Calculates the maximum percentage drop from a Death Cross to the lowest low before the next Golden Cross.
Displays the result as a label (with a downward arrow style) positioned near the original Death Cross bar.
Plots SMA 100 and SMA 200.
Marks Death Cross events with a red triangle pointing down.
Configurable SMA lengths and price source.
JSE Buy Low / Sell High StrategyBuy and sell script for HAR. Give information on when to buy and when to sell
NY Exchanges Trading Hours ShadingThis indicator shades 24-hour charts (e.g. crypto), similar to how TradingView can shade NYSE and NASDAQ traded securities for after-hours and pre-market trading hours.
But unlike standard securities charts, it doesn't also hide fully-closed hours - it shades them a third color.
Why?
- Even when trading crypto or non-Yew York market securities, you need to be aware of when the New York markets open and close. The whole world, including crypto price action, is often strongly affected by the New York stock markets. (Especially just after opening, and just before closing.)
- "After-hours" trading hours (4:OOPM to 8:00PM) are shaded with a subtle blue background, by default.
- "Pre-market" trading hours (4:00AM to 9:30 AM) are shaded a subtle orange background, by default.
- Completely closed hours in between - and weekends - are shaded a subtle dark green, by default.
This has no awareness of trading holidays - only weekends.
By default it disables itself on day view and higher.
Regular trading hours are from 9:30AM to 4:00PM Eastern time, Monday through Friday. Those may be different times in your time zone, which this takes into account, including daylight savings time. (Obviously if you aren't in US Eastern time, you don't want it shaded based on 9:30 to 4:00 your local time - you want it based on whatever New York time is for you.)
Bollinger Volatility AnalyzerThe Bollinger Volatility Analyzer (BVA) is a powerful enhancement of the traditional Bollinger Bands indicator, tailored to help traders identify volatility cycles and catch potential breakouts with better precision and timing. It builds upon the foundational concept of Bollinger Bands—using a moving average and standard deviation bands—but adds crucial insights into market contraction and expansion, which can be instrumental in timing entries and exits.
Here's how it works and why it's useful
At its core, the indicator calculates a moving average (called the "basis") and plots two bands—one above and one below—based on a multiple of standard deviation. These bands expand during volatile periods and contract during quiet ones. The width between these bands, normalized as a percentage of the basis, gives us a sense of how compressed or expanded the market currently is. When the band width drops below a user-defined threshold (like 2%), the script highlights this with an orange triangle below the bar. This is the "squeeze" condition, signaling a potential buildup of market energy—a kind of calm before the storm.
What makes this version of Bollinger Bands particularly powerful is that it not only detects squeezes, but also tells you when price breaks out of that squeeze range. If price closes above the upper band after a squeeze, a green "Breakout ↑" label is shown; if it closes below the lower band, a red "Breakout ↓" appears. These breakout labels act as entry signals, suggesting that volatility is returning and a directional move has begun.
This indicator is especially useful in markets that tend to alternate between consolidation and breakout phases, such as forex, crypto, and even individual stocks. Traders who look for early signs of momentum—whether for swing trading, scalping, or position building—can benefit from this tool. During a quiet market phase, the indicator warns you that a move might be coming; when the move starts, it tells you the direction.
In fast-moving markets, BVA helps filter out noise by focusing only on high-probability conditions: quiet consolidation followed by a strong breakout. It’s not a complete system by itself—it works best when paired with volume confirmation or oscillators like RSI—but as a volatility trigger and directional guide, it’s a reliable component of a trading workflow.
Tatanka - Auto Equidistant Levels ✦🔹 Tatanka – Auto Equidistant Levels
Automatically plot equidistant support & resistance levels based on any two price anchors. Build your levels grid in one click, fully tailored to your style and branding.
Key Features
• Auto-Spacing – Calculates N levels above & below your base line with adjustable spacing factor (e.g. 50%, 200%).
• Full Style Control – Customize line width, style (solid/dashed/dotted), colors, extend direction (left/right/both/none).
• Labels & Tags – Auto-generated “L0”, “L±1”, etc., so you always know which level you’re trading.
• Region Fills – Color-fill each zone between levels with per-region color picks for maximum clarity.
• One-Click Draw – Enter two prices, choose your settings, then hit “Apply” to render the entire grid on your chart.
Inputs & Tabs
• Parameters : Base & Next Level prices, number of levels, spacing factor & horizontal length.
• Style : Line width, color & style, draw direction, label mode, fill zones & per-region fill colors.
How to Use
1. Draw two horizontal lines at your desired anchor prices.
2. Copy those prices into the “Line1” & “Line2” inputs.
3. Tweak “Number of Levels” and “Spacing Factor” to suit your strategy.
4. Go to the Style tab to brand your grid: colors, line styles, fills & extension.
5. Apply and start trading with clear, evenly spaced levels!
About Tatanka
Tatanka is a leading fintech brand committed to empowering traders with intuitive, professional-grade tools. Our mission: deliver real-time insights, advanced indicators, and seamless charting utilities—all under one Tatanka badge. Join our growing community and elevate your edge
Enjoy and trade confidently—powered by Tatanka!
www.youtube.com
Yearly History Calendar-Aligned Price up to 10 Years)Overview
This indicator helps traders compare historical price patterns from the past 10 calendar years with the current price action. It overlays translucent lines (polylines) for each year’s price data on the same calendar dates, providing a visual reference for recurring trends. A dynamic table at the top of the chart summarizes the active years, their price sources, and history retention settings.
Key Features
Historical Projections
Displays price data from the last 10 years (e.g., January 5, 2023 vs. January 5, 2024).
Price Source Selection
Choose from Open, Low, High, Close, or HL2 ((High + Low)/2) for historical alignment.
The selected source is shown in the legend table.
Bulk Control Toggles
Show All Years : Display all 10 years simultaneously.
Keep History for All : Preserve historical lines on year transitions.
Hide History for All : Automatically delete old lines to update with current data.
Individual Year Settings
Toggle visibility for each year (-1 to -10) independently.
Customize color and line width for each year.
Control whether to keep or delete historical lines for specific years.
Visual Alignment Aids
Vertical lines mark yearly transitions for reference.
Polylines are semi-transparent for clarity.
Dynamic Legend Table
Shows active years, their price sources, and history status (On/Off).
Updates automatically when settings change.
How to Use
Configure Settings
Projection Years : Select how many years to display (1–10).
Price Source : Choose Open, Low, High, Close, or HL2 for historical alignment.
History Precision : Set granularity (Daily, 60m, or 15m).
Daily (D) is recommended for long-term analysis (covers 10 years).
60m/15m provides finer precision but may only cover 1–3 years due to data limits.
Adjust Visibility & History
Show Year -X : Enable/disable specific years for comparison.
Keep History for Year -X : Choose whether to retain historical lines or delete them on new year transitions.
Bulk Controls
Show All Years : Display all 10 years at once (overrides individual toggles).
Keep History for All / Hide History for All : Globally enable/disable history retention for all years.
Customize Appearance
Line Width : Adjust polyline thickness for better visibility.
Colors : Assign unique colors to each year for easy identification.
Interpret the Legend Table
The table shows:
Year : Label (e.g., "Year -1").
Source : The selected price type (e.g., "Close", "HL2").
Keep History : Indicates whether lines are preserved (On) or deleted (Off).
Tips for Optimal Use
Use Daily Timeframes for Long-Term Analysis :
Daily (1D) allows 10+ years of data. Smaller timeframes (60m/15m) may have limited historical coverage.
Compare Recurring Patterns :
Look for overlaps between historical polylines and current price to identify potential support/resistance levels.
Customize Colors & Widths :
Use contrasting colors for years you want to highlight. Adjust line widths to avoid clutter.
Leverage Global Toggles :
Enable Show All Years for a quick overview. Use Keep History for All to maintain continuity across transitions.
Example Workflow
Set Up :
Select Projection Years = 5.
Choose Price Source = Close.
Set History Precision = 1D for long-term data.
Customize :
Enable Show Year -1 to Show Year -5.
Assign distinct colors to each year.
Disable Keep History for All to ensure lines update on year transitions.
Analyze :
Observe how the 2023 close prices align with 2024’s price action.
Use vertical lines to identify yearly boundaries.
Common Questions
Why are some years missing?
Ensure the chart has sufficient historical data (e.g., daily charts cover 10 years, 60m/15m may only cover 1–3 years).
How do I update the data?
Adjust the Price Source or toggle years/history settings. The legend table updates automatically.
Time Markers (corrected for UTC-4)Places lines on a chart to indicate US, UK, and Chinese opens (for futures trading)
Death Cross Max Drop % (Near DC)The "Death Cross Max Drop % (Near DC)" indicator is designed to help traders and analysts quantify the potential downside following a "Death Cross" event. A Death Cross typically occurs when a shorter-term Simple Moving Average (SMA) crosses below a longer-term SMA, often signaling a potential bearish trend. This indicator not only identifies these events but also measures the maximum percentage drop from the point of the Death Cross until the subsequent "Golden Cross" (shorter-term SMA crosses back above the longer-term SMA).
How it Works:
SMA Configuration: The indicator uses two Simple Moving Averages (SMAs). By default, these are the 100-period SMA and the 200-period SMA, but their lengths are configurable in the settings.
Death Cross Detection: It identifies when the shorter SMA (e.g., SMA 100) crosses below the longer SMA (e.g., SMA 200). This event is marked on the chart with a red downward triangle.
Measurement Period: Once a Death Cross is detected, the indicator records the closing price of that bar. It then tracks the lowest low price reached from that point until a Golden Cross (shorter SMA crosses above longer SMA) occurs, signaling the end of that specific bearish cycle for measurement purposes.
Percentage Drop Calculation: Upon the confirming Golden Cross, the indicator calculates the maximum percentage drop from the recorded Death Cross price to the lowest low observed during the cycle.
Label Display: The key feature is how this information is displayed. The calculated maximum percentage drop is shown in a label that is strategically placed on the chart at the bar index where the original Death Cross occurred. This provides a direct visual link between the bearish signal and its measured outcome.
Tooltip Information: The label also includes a detailed tooltip that appears when you hover over it, showing:
The cycle type (Death Cross to Golden Cross).
The price at the time of the Death Cross.
The lowest low price reached during the cycle.
The calculated maximum percentage drop.
Key Features:
Configurable SMA lengths for customized analysis.
Clear visual signals (red triangles) for Death Cross events.
Precise calculation of the maximum percentage drop within a defined bearish cycle.
Unique Label Placement: The result (max drop %) is plotted near the initiating Death Cross bar, making it easy to visually correlate the signal with its historical impact.
Informative tooltips for quick access to detailed cycle data.
Plots the SMAs for context.
How to Use / Interpretation:
This indicator can be a valuable tool for traders looking to understand the historical impact of Death Cross signals on a specific asset.
It can aid in backtesting strategies or assessing the typical extent of drawdowns after such a bearish signal.
By seeing the max drop percentage directly linked to the Death Cross event, users can quickly gauge the potential risk or severity associated with past occurrences.
Always use this indicator in conjunction with other forms of analysis and risk management practices. Past performance, as measured by this indicator, is not indicative of future results.
Settings:
SMA 100 Length: Default 100 (can be adjusted).
SMA 200 Length: Default 200 (can be adjusted).
Source: Price source for SMA calculations (default is 'close').
This indicator is written in Pine Script v5.
MTF Bollinger Bands TT (3BB)
Hello TradingView Community,
I'm excited to share another indicator I've developed, building upon the usefulness of Multi-Timeframe analysis.
**MTF Bollinger Bands TT (3BB)**
**What is this Indicator?**
This indicator plots Bollinger Bands (BBs) for up to **three different timeframes simultaneously** on your chart. It also allows you to display **standard Basis line, ±1σ bands, ±2σ and ±3σ bands** of three different timeframes, offering more insights into price volatility and potential reversals or continuations.
**Key Features and Benefits:**
This MTF Bollinger Bands indicator is designed to be highly flexible and informative:
1. **Three Timeframes at Once:** Easily visualize the BB structure of three different timeframes alongside your current chart, helping you understand the broader market context.
2. **Multiple Sigma Levels:** Go beyond the standard ±1σ. You can display and analyze price action relative to ±2σ and even ±3σ deviations.
3. **Configurable Moving Average Type:** Choose from various MA types for the basis line, including SMA, EMA, WMA, and VWMA, to best suit your analysis style.
4. **Detailed Customization:** For each of the three timeframes, you can set the period, offset, line colors (for each band: Basis, ±1σ, ±2σ, ±3σ), and line styles/thickness. You can also select the price source (e.g., close, HLC/3).
5. **🎉 Crucial Feature: Wait for Higher Timeframe Candle Close Option 🎉**
One of the challenges with MTF indicators can be "repainting" or changes on the current candle close when using higher timeframes. This indicator includes a **"Wait for HTF Candle Close"** option. When enabled, the indicator will only update the higher timeframe's BBs after that higher timeframe's candle has fully closed. This can help you make more reliable decisions based on confirmed higher timeframe levels.
6. **Informative Labels:** Similar to my MTF MA indicator, this BB indicator can display **labels at the end of the bands**, clearly showing the timeframe and period (e.g., "4H BB(20)"). You can even adjust the label text size (tiny, small, normal, large) in the settings for better visibility.
**How to Use:**
Add the indicator to your chart and open its settings. Configure the three timeframes you wish to display, along with their periods, MA types, and desired sigma bands (±1σ, ±2σ, ±3σ). Customize colors and line styles for clarity. Experiment with the "Wait for HTF Candle Close" option to see how it affects your analysis, especially on intraday charts.
**In Conclusion:**
I created this indicator to provide a powerful and flexible tool for traders who use Bollinger Bands and Multi-Timeframe analysis. I believe the multiple sigma levels, detailed customization, the candle close option, and the informative labels make it particularly useful.
I hope this indicator helps enhance your trading strategy! Please give it a try. Your feedback, suggestions, and bug reports are highly welcome in the comments section.
If you find it useful, please give it a thumbs up! 👍
Thank you, and happy trading!
ICT Macro Boxes (10m) - Time RangesICT macro of 4 hour candles. Look for turtle soup or manipulation during these macro's.
This version is created for ES and NQ futures and daylight savings time. Works on 10 mins or lower timeframes.
15분봉 50MAThis indicator displays the 50-period Simple Moving Average (SMA) from the 15-minute timeframe on your current chart (optimized for use on the 5-minute chart).
It helps short-term traders identify significant higher-timeframe support and resistance levels that are not visible in lower timeframes.
📌 Use cases:
Confirm pullback entries with the 15m 50MA as dynamic support.
Identify key levels for potential trend reversals or take-profit zones.
Works well with scalping, intraday, and breakout strategies.
✅ Compatible with Binance, Bybit, Bitget, and all TradingView crypto tickers.
Created with ❤️ by tradingMaster
Golden Cross Max Rise % (Near GC)This indicator identifies Golden Cross events (when the 100-period SMA crosses above the 200-period SMA) and tracks the subsequent price action until a Death Cross occurs (100-period SMA crosses below the 200-period SMA).
Upon the completion of a Golden Cross to Death Cross cycle, the script calculates the maximum percentage rise achieved from the closing price at the Golden Cross to the highest high recorded during that cycle.
This maximum percentage rise is then displayed as a text label on the chart. The label is strategically placed near the bar where the Golden Cross originally occurred, providing a historical performance insight for that specific cycle. The label includes the max rise percentage, the price at the Golden Cross, and the highest high reached.
Additionally, the indicator plots the 100-period and 200-period SMAs and visually marks Golden Cross events on the chart with an upward-pointing triangle. Users can customize the lengths of the SMAs and the price source used for calculations.
Key Features:
Calculates the maximum percentage rise between a Golden Cross and the subsequent Death Cross.
Displays the result as a label positioned near the original Golden Cross bar.
Plots SMA 100 and SMA 200.
Marks Golden Cross events with a shape.
Configurable SMA lengths and price source.
Mark 7 PMMark 7pm on chart every day for London openMark 7pm on chart every day for London openMark 7pm on chart every day for London openMark 7pm on chart every day for London openMark 7pm on chart every day for London openMark 7pm on chart every day for London openMark 7pm on chart every day for London openMark 7pm on chart every day for London openMark 7pm on chart every day for London open