Williams %R + Nadaraya-Watson Envelope//@version=5
indicator("Williams %R + Nadaraya-Watson Envelope", shorttitle="%R + NW Envelope", overlay=true)
// Inputs for Williams %R
length1 = input(14, title="Williams %R Length 1")
length2 = input(50, title="Williams %R Length 2")
color1 = color.blue
color2 = color.red
src = input(close, "Source")
// Williams %R function
pr(length) =>
max = ta.highest(length)
min = ta.lowest(length)
100 * (src - max) / (max - min)
percentR1 = pr(length1)
percentR2 = pr(length2)
// Overbought and Oversold levels
obPlot = hline(-20, title="Upper Band", color=#787B86)
hline(-50, title="Middle Level", linestyle=hline.style_dotted, color=#787B86)
osPlot = hline(-80, title="Lower Band", color=#787B86)
fill(obPlot, osPlot, title="Background", color=color.rgb(126, 87, 194, 90))
// Plot both %R lines
plot(percentR1, title="%R (Length 1)", color=color1, linewidth=2)
plot(percentR2, title="%R (Length 2)", color=color2, linewidth=2)
// Inputs for Nadaraya-Watson Envelope
length_nw1 = input(20, title="Nadaraya-Watson Length 1")
kernel_nw1 = input(5.0, title="Kernel Smoothing 1")
length_nw2 = input(50, title="Nadaraya-Watson Length 2")
kernel_nw2 = input(5.0, title="Kernel Smoothing 2")
// Nadaraya-Watson function
nw_smooth(src, length, kernel) =>
var float sum_w = 0
var float sum_wx = 0
for i = 0 to length - 1
w = math.exp(-(i * i) / (2 * kernel * kernel))
sum_w := sum_w + w
sum_wx := sum_wx + w * nz(src )
sum_wx / sum_w
// Compute both Nadaraya-Watson Envelopes
nw1 = nw_smooth(src, length_nw1, kernel_nw1)
nw2 = nw_smooth(src, length_nw2, kernel_nw2)
// Plot both Envelopes
plot(nw1, title="Nadaraya-Watson Envelope 1", color=color.green, linewidth=2)
plot(nw2, title="Nadaraya-Watson Envelope 2", color=color.orange, linewidth=2)
Chart patterns
One Time FramingMarks green arrows above candles that made or maintain one time framing up, blue circles above balance candles, and red arrows below candles that made or maintain one time framing down.
Example Scenario & Expected Behavior
Candle Action New State
1 High Break Balance (Circle)
2 High Break OTFU (Up Arrow)
3 Low Break Balance (Circle)
4 No High or Low Break (Inside Day) Still Balance
5 Low Break OTFD (Down Arrow)
6 Inside Day Still OTFD
7 Outside Day (Breaks High First) Balance (Circle)
8 Outside Day (Breaks Low First) OTFD (Down Arrow)
9 No High or Low Break (Inside Day) Still OTFD
Cash Data (NeoWave)NeoWave: Cash Data: @MikhePool channel
The NeoWave Chart - cash data: indicator is a technical analysis tool designed to visualize significant price movements by drawing dynamic lines between key highs and lows on the chart. Using a user-defined resolution, the indicator identifies new bars and connects the highest high and lowest low within each segment, updating the lines in real-time as new data becomes available. All lines are rendered in black, providing a clean and consistent visual representation of price action without color-coded directional bias. This tool is particularly useful for traders and analysts employing NeoWave theory or similar methodologies, as it helps identify structural patterns and trends in the market.
Inflation prix conso vs Croissance - LT - Charles GaveInflation des prix à la conso vs Croissance - Tendances Long Terme - Inspiré par Charles Gave de l'Université de l'Epargne
Ce script TradingView permet d'analyser l'évolution à long terme de l'inflation et de la croissance économique à travers une approche visuelle et comparative. Il s'appuie sur les indices des prix à la consommation (CPI), les indices boursiers et le prix du pétrole pour identifier les tendances économiques d'un pays.
Les indices utilisés sont affichés dans un tableau du graphique pour éviter les confusions.
Dans les paramètres, une sélection des indices est faite par pays, mais ils sont modifiables à la main.
Fonctionnalités principales :
✅ Suivi par pays : Sélectionnez un pays parmi une liste de plus de 30 économies majeures.
✅ Données économiques clés :
Inflation basée sur l'évolution de l'indice des prix à la consommation (CPI).
Croissance mesurée par la relation entre l'indice boursier et le prix du pétrole.
✅ Affichage des tendances :
Un tableau récapitulatif affiche les valeurs actuelles des principaux indicateurs économiques.
Un graphique de quadrants visualise les cycles économiques selon 4 scénarios :
🔵 Croissance avec inflation faible
🔴 Récession avec inflation faible
⚫ Récession avec inflation forte
🟡 Croissance avec inflation forte
Utilisation :
Détection des cycles économiques : Comprendre dans quel environnement économique évolue un pays.
Aide à la prise de décision : Identifier les périodes propices aux investissements ou aux ajustements stratégiques.
Comparaison entre pays : Suivre et comparer plusieurs économies en un clin d'œil.
Ce script est idéal pour les investisseurs, économistes et analystes souhaitant une vision macroéconomique simplifiée mais puissante.
MA50 with 20-Pip Entry & Trade Info TableFull potentiel algo for given signal buy and sell at the same time
Put Options Buy/Sell SignalsWhy This Works for 5-Minute to 1-Hour Timeframes
MACD (12, 26, 9): Responsive enough for short-term momentum shifts without excessive noise.
20-Period SMA: Covers roughly 1.5 hours on a 5-minute chart or 20 hours on a 1-hour chart, balancing sensitivity and trend confirmation. You can adjust this period (e.g., 10 for 5-minute, 50 for 1-hour) based on preference.
The combination filters out false signals while capturing significant moves, ideal for options trading where timing is critical.
How to Use It
Add to TradingView:
Open the Pine Editor in TradingView, paste the code, and save it.
Add the indicator to your chart.
Interpret Signals:
Red Downward Triangle: Buy a put option, expecting the price to drop.
Green Upward Triangle: Sell your put option to take profits.
Adjust Settings:
For a 5-minute chart, try a shorter SMA (e.g., 10) or faster MACD (e.g., 5, 13, 6) if signals feel delayed.
For a 1-hour chart, the defaults (20 SMA, 12,26,9 MACD) should work well.
Combine with Analysis:
Check volume, support/resistance, or volatility (e.g., ATR) manually to confirm signals, as these aren’t included in the script.
Put Options Buy/Sell Signals with MA RibbonsHow to Use the Enhanced Script
Setup:
Apply the script to your chart in TradingView.
Adjust inputs (MA periods, RSI levels, ATR multiplier) based on your timeframe and asset.
Trading Put Options:
Buy Put: Look for a red downward triangle (MACD below signal, price below longest MA).
Take Profit (Sell Put): Look for a green upward triangle, triggered by:
MACD crossing above the signal line.
Price crossing above the shortest MA.
RSI dropping below the oversold level.
Alternatively, use the ATR lower level as a profit target if price reaches it.
Trend Analysis:
Use the MA ribbon to confirm the trend:
Stacked MAs (shorter below longer) indicate a strong uptrend (avoid puts).
Stacked MAs (shorter above longer) indicate a strong downtrend (ideal for puts).
Converging MAs suggest indecision or a potential reversal.
WILLOops! Mon-Thu-FriSimple indicator for the Oops! technique: prints down arrow only on Thurdays and Fridays; up arrows only on Mondays (don't forget to check the Bonds...)
Zona de Rango 10:30 - 11:30Índicador que sirve unicamente para estrategias neutrales en opciones financieras, ayuda solamente hacer analisis de que en cierto horario el indice SPX se comporta en rango, ideal para estrategias como Iron Butterfly ó Iron Condors
Labit Z-ScoreThe Z-score indicator transforms raw price data into a statistical measure showing how many standard deviations an asset's price is from its mean, providing clear signals for market extremes and potential reversals.
Scalping Indicator - Temporalidad 5MTítulo: Indicador de Scalping Multiuso - Volumen, Order Blocks y Zonas Clave
Descripción:
Este script es una herramienta avanzada diseñada específicamente para traders de scalping en los mercados financieros, ideal para operar en los gráficos de 1M y 5M. El indicador combina múltiples elementos clave para identificar oportunidades de compra y venta de alta calidad, maximizando las probabilidades de éxito.
Funcionalidades principales:
Análisis basado en Volumen: Detecta anomalías en el volumen para confirmar la validez de las señales.
Identificación automática de Order Blocks: Encuentra zonas de consolidación y cambios clave en la estructura del precio.
Zonas de Soporte y Resistencia: Utiliza pivotes altos y bajos para marcar niveles críticos del mercado.
Señales claras de Compra/Venta: Genera alertas visuales en puntos estratégicos, acompañadas de niveles predefinidos de entrada, Stop Loss y Take Profit.
Gestión de Riesgos Optimizada: Configura automáticamente un Stop Loss de 250 pips y un Take Profit mínimo de 1000 pips, tanto para compras como para ventas.
Visualización:
Líneas codificadas por colores para facilitar la interpretación:
Azul: Nivel de entrada.
Rojo: Stop Loss.
Verde: Take Profit.
Este indicador es ideal para quienes buscan operaciones rápidas y eficientes, respaldadas por un análisis técnico confiable. ¡Optimiza tu estrategia de trading con este potente indicador!
Blood Moon Dates on BTC ChartBlood Moon Dates
Ah, the ethereal beauty of a Blood Moon! This striking phenomenon occurs during a total lunar eclipse when Earth's shadow engulfs the Moon, giving it a dramatic red tint due to the scattering of sunlight through Earth's atmosphere. It's as if all the sunsets and sunrises on Earth are projected onto the Moon's surface.
Simple Gap IndicatorThe Simple Gap Indicator is a powerful tool designed to detect and visualize price gaps in the market, helping traders identify key levels of support and resistance. Whether you're analyzing gap-up or gap-down scenarios, this indicator provides clear visual cues to enhance your trading decisions.
Key Features:
Gap Detection: Automatically identifies gap-up and gap-down events based on user-defined sensitivity.
Customizable Display Styles: Choose between lines or boxes to represent gaps visually, depending on your preference.
Extend Options: Control how far the lines or boxes extend on the chart (None, Right, Left, Both).
User-Friendly Inputs: Adjust the number of bars to examine and sensitivity to gap size for precise customization.
Dynamic Visualization:
Gap-Up Events: Highlighted in green for easy identification of bullish gaps.
Gap-Down Events: Highlighted in red for bearish gaps.
gosho bot StrategyThis double EMA crossover strategy aims to illustrate a good strategy design.
It is currently the only published script that:
supports a proper date picker for the backtest period
Pivot Point CE/PE StrategyThe Pivot Point CE/PE Strategy is a technical analysis-based TradingView script designed to identify potential Call (CE) and Put (PE) trade opportunities. This strategy focuses on price action around key support and resistance levels derived from daily pivot points, VWAP, and moving averages. It is particularly useful for intraday traders working with 3-minute candles.
52-Week Low Bounce (With Premarket)Dip buy stocks hitting 52 week lows looking to take 10% off the bounce or cut the loss if the stock drops lower.
Pivot Point CE/PE StrategyPivot Point CE/PE Strategy Overview
This Pine Script strategy identifies potential Call Entry (CE) and Put Entry (PE) opportunities using a combination of:
Pivot Points & Central Pivot Range (CPR)
Fibonacci Levels
VWAP (Volume Weighted Average Price) & MVWAP (Customizable)
RSI (Relative Strength Index)
SMA & EMA (Simple and Exponential Moving Averages)
Volume Analysis
Key Components of the Strategy
Candle Identification