Dönemler
Volatility Gaussian Bands [BigBeluga]The Volatility Gaussian Bands are a technical analysis tool used to assess market volatility and potential price movements. They are constructed by integrating Gaussian (normal) distribution principles with volatility measures to create dynamic bands around price data.
Key Features of Volatility Gaussian Bands:
Basis in Gaussian Distribution:
These bands assume that price returns follow a normal distribution, allowing for probabilistic modeling of expected price ranges.
True Seasonal Pattern [tradeviZion]True Seasonal Pattern: Uncover Hidden Market Cycles
Markets have rhythms and patterns that repeat with surprising regularity. The True Seasonal Pattern indicator reveals these hidden cycles across different timeframes, helping you anticipate potential market movements based on historical seasonal tendencies.
What This Indicator Does
The True Seasonal Pattern analyzes years of historical price data to identify recurring seasonal trends. It then plots these patterns on your chart, showing you both the historical pattern and future projection based on past seasonal behavior.
Automatic Timeframe Detection: Works with Monthly, Weekly, and Daily charts
Historical Pattern Analysis: Analyzes up to 100 years of data (customizable)
Future Projection: Projects the seasonal pattern ahead on your chart
Smart Smoothing: Applies appropriate smoothing based on your timeframe
How to Use This Indicator
Add the indicator to a Daily, Weekly, or Monthly chart (not designed for intraday timeframes)
The indicator automatically detects your chart's timeframe
The blue line shows the historical seasonal pattern
Watch for potential turning points in the pattern that align with other technical signals
Seasonal patterns work best as a supporting factor in your analysis, not as standalone trading signals. They are particularly effective in markets with well-established seasonal influences.
Best Applications
Futures Markets: Commodities and futures often show strong seasonal tendencies due to production cycles, weather patterns, and economic factors
Stock Indices: Many stock markets demonstrate regular seasonal patterns (like the "Sell in May" phenomenon)
Individual Stocks: Companies with seasonal business cycles often show predictable price patterns
Practical Applications
Identify potential turning points based on historical seasonal patterns
Plan entries and exits around seasonal tendencies
Add seasonal context to your existing technical analysis
Understand why certain months or periods might show consistent behavior
Pro Tip: For best results, use this tool on instruments with at least 5+ years of historical data. Longer timeframes often reveal more reliable seasonal patterns.
Important Notes
This indicator works best on Daily, Weekly, and Monthly timeframes - not intraday charts
Seasonal patterns are tendencies, not guarantees
Always combine seasonal analysis with other technical tools
Past patterns may not repeat exactly in the future
// Sample of the seasonal calculation approach
float yearHigh = array.max(currentYearHighs)
float yearLow = array.min(currentYearLows)
// Calculate seasonality for each period
for i = 0 to array.size(currentYearCloses) - 1
float periodClose = array.get(currentYearCloses, i)
if not na(periodClose) and yearHigh != yearLow
float seasonality = (periodClose - yearLow) / (yearHigh - yearLow) * 100
I developed this indicator to help traders incorporate seasonal analysis into their trading approach without the complexity of traditional seasonal tools. Whether you're analyzing agricultural commodities, energy futures, or stock indices, understanding the seasonal context can provide valuable insights for your trading decisions.
Remember: Markets don't always follow seasonal patterns, but when they do, being aware of these tendencies can give you a meaningful edge in your analysis.
StarterPack MAsThis indicator includes 5 moving averages widely used in modern price action analysis:
EMA 9 (green): captures recent candle momentum
SMA 20 (gold): classic reference for pullbacks
SMA 50 (red): dynamic short- to mid-term support and resistance
SMA 200 (blue): long-term trend foundation
EMA 400 (pink): used by traders tracking institutional moves
Perfect for identifying trend direction, balance zones, and key confluence areas.
Use it with strategy and discipline. Moving averages show the path — execution is up to you.
Swing Oracle + Cycle M5 // (\_/)
// ( •.•)
// (")_(")
Follow the White Rabbitz
Swing Oracle + Cycle M5 is a custom TradingView indicator combining a normalized oscillator (NDOS) with a 7-day cycle counter, designed for 5-minute charts. It helps traders identify overbought/oversold swing zones while tracking the market’s position within a weekly cycle that resets every Tuesday at midnight.
1. Inputs
Horizontal Levels
High Level (line_up): above this, NDOS signals overbought (“buy zone”)
Low Level (line_dn): below this, NDOS signals oversold (“sell zone”)
Mid-High / Mid-Low (line_mid_high, line_mid_low): for nuanced thresholding
Extra Levels (line_extra1–line_extra4): four additional hidden levels for advanced tuning
Trendline Source
Choose between EMA 8 or SMA 231 via trendline_source
Display Options
Draw Background Color? (button1): toggles colored background based on NDOS zone
Draw Candlesticks? (button2): toggles bar-coloring according to NDOS
2. Trendline & NDOS Calculation
Trendline
If “EMA8” selected: calculates ema(close, 8)
If “SMA231”: calculates sma(close, 231)
NDOS (Normalized Difference Oscillator)
Computes distance of current trendline value from its local high and low over the past Length bars (length)
Rendered on a 0–100 scale with a color gradient between two user-defined colors (gradientbull/gradientbear).
3. Weekly Cycle Counter (M5)
Cycle Start Detection
Marks every Tuesday at 00:00 as cycle zero (isTuesdayZero), storing its timestamp.
Cycle Number
Computes the number of full 7-day intervals since the last stored Tuesday, then plots it as a semi-transparent histogram aligned with the NDOS panel.
4. Visualization & Styles
Oscillator Plot
Thick line for NDOS, colored blue above line_up, red below line_dn, neutral otherwise—overlaid with the same gradient as the histogram.
Horizontal Levels
Distinct plots for each user level (High, Low, Mid-High, Mid-Low).
Filled Zones
Buy Zone: area between NDOS and High Level
No-Trade Zone: between High and Low Levels
Sell Zone: area between NDOS and Low Level
Optional Coloring
Background and candlesticks can be tinted based on whether NDOS is in buy or sell territory.
5. Typical Use Case
*Scalping & Swing: Quickly spot overbought/oversold conditions on 5-minute bars.
*Cycle Awareness: Ensure entries/exits align with your preferred phase of the weekly cycle (e.g., early vs. late in a Tuesday→Tuesday loop).
*Customization: Adjust levels, gradient colors, and trendline source to match your strategy’s sensitivity and preferred look.
✅ 10 Monday's 1H Avg Range + 30-Day Daily RangeThis script is particularly useful for traders who need to measure the range of the first four 15-minute candles of the week . It provides three key values:
🕒 Highlights the First 4 Candles
It 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 historical patterns.
📈 30-Day Daily Candle Average (Green Line)
Displays the a verage range of the last 30 daily candles. This is especially useful for defining Stop Loss levels , since a range greater than one-third of the daily average may reduce the likelihood of the trade closing the same day.
Feel free to contact me for upgrades or corrections.
– Bernardo Ramirez
🇵🇹 Versão em Português
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
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
MSS, BOS, and FVG Trend ConfirmationSwing High and Swing Low Detection:
We're identifying the swing high and swing low using a length parameter that helps us find significant peaks and troughs. This is essential for both the MSS and BOS checks.
Market Structure Shift (MSS):
We check if the recent swing high is greater than the previous swing high (for an uptrend) and if the recent swing low is higher than the previous swing low. The same logic applies for a downtrend.
Break of Structure (BOS):
The script checks if the current price breaks above the last swing high for an uptrend or below the last swing low for a downtrend.
Fair Value Gap (FVG):
A FVG is detected when there's a significant imbalance. The script looks for cases where the price has moved sharply, and there might be a gap to fill.
Candle Color:
If MSS, BOS, and FVG all align to confirm an uptrend, the candle will turn blue.
If all three indicators align to confirm a downtrend, the candle will turn grey.
Signals:
For visual confirmation, we plot shapes above or below bars indicating when the uptrend or downtrend is confirmed.
Whale Zones (Accumulation & Distribution)Zone d'accumulation - Défendue / Zone de Distribution - Zone d'achat impulsive
Buy/Sell Signal - RSI + EMA + MACDSignal 'Buy' if all of the following three conditions are true
Rsi crosses above 55
Ema 9 crosses over ema 21
Macd histogram shows second green on
Signal 'Sell' if all of the following three conditions are true
Rsi crosses below 45
Ema 9 crosses below Ema 21
Macd histogram shows second red on
Daily Range % with Conditional SPX DirectionThis indicator visualizes the short-term market sentiment by combining the trend of the S&P 500 index (SPX) with daily price volatility (DP%).
Key Features:
Calculates a 5-period Exponential Moving Average (EMA) of SPX to detect trend direction:
Rising EMA → Uptrend
Falling EMA → Downtrend
Calculates a 5-period Simple Moving Average (SMA) of Daily Price Range % (DP%) to assess volatility trend:
Rising DP% → Increasing volatility
Falling DP% → Decreasing volatility
Background Colors:
Green: SPX trend up & volatility down → Bullish
Yellow:
SPX trend up & volatility up, or
SPX trend down & volatility down → Neutral
Red: SPX trend down & volatility up → Bearish
On-screen Labels:
Displays SPX trend direction (⬆️ / ⬇️)
Displays volatility direction (⬆️ / ⬇️)
Displays overall market sentiment: Bullish / Neutral / Bearish
This tool is designed to help traders quickly assess the relationship between trend and volatility, aiding in market environment analysis and discretionary trading decisions.
Bitcoin Monthly Seasonality [Alpha Extract]The Bitcoin Monthly Seasonality indicator analyzes historical Bitcoin price performance across different months of the year, enabling traders to identify seasonal patterns and potential trading opportunities. This tool helps traders:
Visualize which months historically perform best and worst for Bitcoin.
Track average returns and win rates for each month of the year.
Identify seasonal patterns to enhance trading strategies.
Compare cumulative or individual monthly performance.
🔶 CALCULATION
The indicator processes historical Bitcoin price data to calculate monthly performance metrics
Monthly Return Calculation
Inputs:
Monthly open and close prices.
User-defined lookback period (1-15 years).
Return Types:
Percentage: (monthEndPrice / monthStartPrice - 1) × 100
Price: monthEndPrice - monthStartPrice
Statistical Measures
Monthly Averages: ◦ Average return for each month calculated from historical data.
Win Rate: ◦ Percentage of positive returns for each month.
Best/Worst Detection: ◦ Identifies months with highest and lowest average returns.
Cumulative Option
Standard View: Shows discrete monthly performance.
Cumulative View: Shows compounding effect of consecutive months.
Example Calculation (Pine Script):
monthReturn = returnType == "Percentage" ?
(monthEndPrice / monthStartPrice - 1) * 100 :
monthEndPrice - monthStartPrice
calcWinRate(arr) =>
winCount = 0
totalCount = array.size(arr)
if totalCount > 0
for i = 0 to totalCount - 1
if array.get(arr, i) > 0
winCount += 1
(winCount / totalCount) * 100
else
0.0
🔶 DETAILS
Visual Features
Monthly Performance Bars: ◦ Color-coded bars (teal for positive, red for negative returns). ◦ Special highlighting for best (yellow) and worst (fuchsia) months.
Optional Trend Line: ◦ Shows continuous performance across months.
Monthly Axis Labels: ◦ Clear month names for easy reference.
Statistics Table: ◦ Comprehensive view of monthly performance metrics. ◦ Color-coded rows based on performance.
Interpretation
Strong Positive Months: Historically bullish periods for Bitcoin.
Strong Negative Months: Historically bearish periods for Bitcoin.
Win Rate Analysis: Higher win rates indicate more consistently positive months.
Pattern Recognition: Identify recurring seasonal patterns across years.
Best/Worst Identification: Quickly spot the historically strongest and weakest months.
🔶 EXAMPLES
The indicator helps identify key seasonal patterns
Bullish Seasons: Visualize historically strong months where Bitcoin tends to perform well, allowing traders to align long positions with favorable seasonality.
Bearish Seasons: Identify historically weak months where Bitcoin tends to underperform, helping traders avoid unfavorable periods or consider short positions.
Seasonal Strategy Development: Create trading strategies that capitalize on recurring monthly patterns, such as entering positions in historically strong months and reducing exposure during weak months.
Year-to-Year Comparison: Assess how current year performance compares to historical seasonal patterns to identify anomalies or confirmation of trends.
🔶 SETTINGS
Customization Options
Lookback Period: Adjust the number of years (1-15) used for historical analysis.
Return Type: Choose between percentage returns or absolute price changes.
Cumulative Option: Toggle between discrete monthly performance or cumulative effect.
Visual Style Options: Bar Display: Enable/disable and customize colors for positive/negative bars, Line Display: Enable/disable and customize colors for trend line, Axes Display: Show/hide reference axes.
Visual Enhancement: Best/Worst Month Highlighting: Toggle special highlighting of extreme months, Custom highlight colors for best and worst performing months.
The Bitcoin Monthly Seasonality indicator provides traders with valuable insights into Bitcoin's historical performance patterns throughout the year, helping to identify potentially favorable and unfavorable trading periods based on seasonal tendencies.
BTC EMA+RSI Strong Signals//@version=5
indicator("BTC EMA+RSI Strong Signals", overlay=true)
ema100 = ta.ema(close, 100)
ema200 = ta.ema(close, 200)
rsi = ta.rsi(close, 14)
// Фильтры тренда
isUptrend = ema100 > ema200
isDowntrend = ema100 < ema200
// Условия входа
longCondition = isUptrend and ta.crossover(close, ema100) and rsi < 30
shortCondition = isDowntrend and ta.crossunder(close, ema100) and rsi > 70
// TP/SL
tpLong = close * 1.025
slLong = close * 0.985
tpShort = close * 0.975
slShort = close * 1.015
// Отображение
plot(ema100, color=color.orange, title="EMA 100")
plot(ema200, color=color.red, title="EMA 200")
plot(longCondition ? tpLong : na, title="TP LONG", color=color.green)
plot(longCondition ? slLong : na, title="SL LONG", color=color.red)
plot(shortCondition ? tpShort : na, title="TP SHORT", color=color.green)
plot(shortCondition ? slShort : na, title="SL SHORT", color=color.red)
// Метки сигнала
plotshape(longCondition, location=location.belowbar, color=color.green, style=shape.labelup, text="LONG")
plotshape(shortCondition, location=location.abovebar, color=color.red, style=shape.labeldown, text="SHORT")
// Alertconditions
alertcondition(longCondition, title="BTC LONG", message='BTC LONG сигнал по цене {{close}}')
alertcondition(shortCondition, title="BTC SHORT", message='BTC SHORT сигнал по цене {{close}}')
// Webhook Alerts
if longCondition
alert('{"chat_id": "@exgosignal", "text": "BTC LONG сигнал по цене ' + str.tostring(close) + ' (TP +2.5%, SL -1.5%)"}', alert.freq_once_per_bar_close)
if shortCondition
alert('{"chat_id": "@exgosignal", "text": "BTC SHORT сигнал по цене ' + str.tostring(close) + ' (TP +2.5%, SL -1.5%)"}', alert.freq_once_per_bar_close)
if close >= tpLong
alert('{"chat_id": "@exgosignal", "text": "BTC LONG: цель достигнута по цене ' + str.tostring(close) + '"}', alert.freq_once_per_bar_close)
if close <= slLong
alert('{"chat_id": "@exgosignal", "text": "BTC LONG: сработал стоп по цене ' + str.tostring(close) + '"}', alert.freq_once_per_bar_close)
if close <= tpShort
alert('{"chat_id": "@exgosignal", "text": "BTC SHORT: цель достигнута по цене ' + str.tostring(close) + '"}', alert.freq_once_per_bar_close)
if close >= slShort
alert('{"chat_id": "@exgosignal", "text": "BTC SHORT: сработал стоп по цене ' + str.tostring(close) + '"}', alert.freq_once_per_bar_close)
Aroon Buy & Sell (5m Trend, 100% Signal on 1m)Purpose of the Script:
This Pine Script creates a buy and sell signal system that:
Tracks trend direction on the 5-minute (5m) chart using Aroon indicators.
Generates buy and sell signals on the 1-minute (1m) chart based on the 5-minute trend and when Aroon Up/Down reaches 100%.
Components of the Script:
1. Aroon Calculation Function (f_aroon):
This function calculates the Aroon Up and Aroon Down values based on the high and low of the last 14 bars:
Aroon Up: Measures how recently the highest high occurred over the last 14 bars.
Aroon Down: Measures how recently the lowest low occurred over the last 14 bars.
Both values are expressed as a percentage:
Aroon Up is calculated by 100 * (14 - barssince(high == highest(high, 14))) / 14
Aroon Down is calculated by 100 * (14 - barssince(low == lowest(low, 14))) / 14
2. Getting Aroon Values for 5m and 1m:
aroonUp_5m, aroonDown_5m: These are the Aroon values calculated from the 5-minute chart (Aroon Up and Aroon Down).
aroonUp_1m, aroonDown_1m: These are the Aroon values calculated for the 1-minute chart, on which we will plot the signals.
3. Trend Detection (5-minute):
Bullish trend: When the Aroon Up crosses above the Aroon Down on the 5-minute chart, indicating a potential upward movement (uptrend).
Bearish trend: When the Aroon Down crosses above the Aroon Up on the 5-minute chart, indicating a potential downward movement (downtrend).
These are detected using ta.crossover() functions:
bullishCross_5m: Detects when Aroon Up crosses above Aroon Down.
bearishCross_5m: Detects when Aroon Down crosses above Aroon Up.
We then track these crossovers using two variables:
inBullishTrend_5m: This is set to true when we are in a bullish trend (Aroon Up crosses above Aroon Down on 5m).
inBearishTrend_5m: This is set to true when we are in a bearish trend (Aroon Down crosses above Aroon Up on 5m).
4. Cooldown Logic:
This prevents the signals from repeating too frequently:
buyCooldown: Ensures that a buy signal is only generated every 20 bars (approx. every 100 minutes).
sellCooldown: Ensures that a sell signal is only generated every 20 bars (approx. every 100 minutes).
We use:
buyCooldown := math.max(buyCooldown - 1, 0) and sellCooldown := math.max(sellCooldown - 1, 0) to decrease the cooldown over time.
5. Buy/Sell Signal Logic:
Buy signal: A buy signal is generated when:
The 5-minute trend is bullish (Aroon Up > Aroon Down on 5m).
Aroon Down on the 1-minute chart reaches 100% (indicating an extreme oversold condition in the context of the current bullish trend).
The signal is only generated if the cooldown (buyCooldown == 0) allows it.
Sell signal: A sell signal is generated when:
The 5-minute trend is bearish (Aroon Down > Aroon Up on 5m).
Aroon Up on the 1-minute chart reaches 100% (indicating an extreme overbought condition in the context of the current bearish trend).
The signal is only generated if the cooldown (sellCooldown == 0) allows it.
6. Plotting the Signals:
Plot Buy Signals: When a buy signal is triggered, a green "BUY" label is plotted below the bar.
Plot Sell Signals: When a sell signal is triggered, a red "SELL" label is plotted above the bar.
The signal conditions are drawn on the 1-minute chart but rely on the trend from the 5-minute chart.
7. Alert Conditions:
Alert for Buy signal: An alert is triggered when the buy signal condition is met.
Alert for Sell signal: An alert is triggered when the sell signal condition is met.
How It Works:
Trend Tracking (5m): The script looks for the trend on the 5-minute chart (bullish or bearish based on Aroon Up/Down crossover).
Signal Generation (1m): The script then checks the 1-minute chart for an Aroon value of 100% (for either Aroon Up or Aroon Down).
Signals: Based on the trend, if the conditions are met, the script plots buy/sell signals and sends an alert.
Key Points:
5-minute trend: The script determines the market trend on the 5-minute chart.
1-minute signal: Signals are plotted on the 1-minute chart based on Aroon values reaching 100%.
Cooldown: Prevents signals from repeating too frequently.
Automated Trading Session: London KillzoneAutomated Trading Session: London Killzone (Timezone & DST Aware)
This indicator automatically tracks the London Killzone session using intraday data and real-time timezone adjustments. Designed for traders who use session-based strategies, it draws the high/low box of the session and highlights it visually on the chart.
Key Features
Timezone & DST Support
Automatically adjusts to your selected timezone, accounting for daylight saving time changes to ensure accurate session timing.
Custom Session Input
Allows you to define the start and end time of the London Killzone to suit your trading style.
Visual Session Boxes
Draws a dynamic box marking the session's high and low after it ends, with optional background coloring and session labeling.
Alert Trigger
Built-in alert condition that notifies you when the session ends—helpful for automation or manual review.
Info Table Overlay
Displays the active session time and timezone directly on the chart for quick reference.
Suggested Use
This tool is useful for identifying significant market ranges formed during the London Killzone, which is often associated with institutional activity and early market volatility.
Daily Range % with Conditional SPX DirectionThis indicator visualizes the short-term market sentiment by combining the trend of the S&P 500 index (SPX) with daily price volatility (DP%).
Key Features:
Calculates a 5-period Exponential Moving Average (EMA) of SPX to detect trend direction:
Rising EMA → Uptrend
Falling EMA → Downtrend
Calculates a 5-period Simple Moving Average (SMA) of Daily Price Range % (DP%) to assess volatility trend:
Rising DP% → Increasing volatility
Falling DP% → Decreasing volatility
Background Colors:
Green: SPX trend up & volatility down → Bullish
Yellow:
SPX trend up & volatility up, or
SPX trend down & volatility down → Neutral
Red: SPX trend down & volatility up → Bearish
On-screen Labels:
Displays SPX trend direction (⬆️ / ⬇️)
Displays volatility direction (⬆️ / ⬇️)
Displays overall market sentiment: Bullish / Neutral / Bearish
This tool is designed to help traders quickly assess the relationship between trend and volatility, aiding in market environment analysis and discretionary trading decisions.
Daily Range % with Conditional SPX DirectionThis indicator visualizes the short-term market sentiment by combining the trend of the S&P 500 index (SPX) with daily price volatility (DP%).
Key Features:
Calculates a 5-period Exponential Moving Average (EMA) of SPX to detect trend direction:
Rising EMA → Uptrend
Falling EMA → Downtrend
Calculates a 5-period Simple Moving Average (SMA) of Daily Price Range % (DP%) to assess volatility trend:
Rising DP% → Increasing volatility
Falling DP% → Decreasing volatility
Background Colors:
Green: SPX trend up & volatility down → Bullish
Yellow:
SPX trend up & volatility up, or
SPX trend down & volatility down → Neutral
Red: SPX trend down & volatility up → Bearish
On-screen Labels:
Displays SPX trend direction (⬆️ / ⬇️)
Displays volatility direction (⬆️ / ⬇️)
Displays overall market sentiment: Bullish / Neutral / Bearish
This tool is designed to help traders quickly assess the relationship between trend and volatility, aiding in market environment analysis and discretionary trading decisions.
Automated Trading Session: New York KillzoneAutomated Trading Session: New York Killzone (Timezone & DST Aware)
This indicator tracks the New York Killzone session using intraday data and real-time timezone adjustments. It draws high/low boxes after the session ends and highlights the active session on your chart, making it ideal for traders focused on U.S. market volatility.
Key Features
Timezone & DST Support
Accurately reflects session timing based on your selected timezone and daylight saving settings.
Custom Session Input
Set your preferred New York Killzone hours (default: 08:00–09:30 New York time).
Visual Session Boxes
High/low ranges of the session are boxed on the chart for quick reference.
End-of-Session Alert
Get notified when the session closes, supporting both manual and automated workflows.
On-Chart Info Table
Displays active session time and timezone directly on the chart.
6 Moving Averages Difference TableIndicator Summary: 6 Moving Averages Difference Table (6MADIFF)
This TradingView indicator calculates and plots up to six distinct moving averages (MAs) directly on the price chart. Users have extensive control over each MA, allowing selection of:
Type: SMA, EMA, WMA, VWMA, HMA, RMA
Length: Any positive integer
Color: User-defined
Visibility: Can be toggled on/off
A core feature is the on-chart data table, designed to provide a quick overview of the relationships between the MAs and the price. This table displays:
$-MA Column: The absolute difference between the user-selected Input Source (e.g., Close, Open, HLC3) and the current value of each MA.
MA$ Column: The actual calculated price value of each MA for the current bar.
MA vs. MA Matrix: A grid showing the absolute difference between every possible pair of the calculated MAs (e.g., MA1 vs. MA2, MA1 vs. MA3, MA2 vs. MA5, etc.).
Customization Options:
Input Source: Select the price source (Open, High, Low, Close, HL2, HLC3, OHLC4) used for all MA calculations and the price difference column.
Table Settings: Control the table's visibility, position on the chart, text size, decimal precision for displayed values, and the text used for the column headers ("$-MA" and "MA$").
Purpose:
This indicator is useful for traders who utilize multiple moving averages in their analysis. The table provides an immediate, quantitative snapshot of:
How far the current price is from each MA.
The exact value of each MA.
The spread or convergence between different MAs.
This helps in quickly assessing trend strength, potential support/resistance levels based on MA clusters, and the relative positioning of short-term versus long-term averages.
Forex Sessions - Simple//@version=5
indicator("Forex Sessions - Simple", overlay=true)
// === INPUTS === //
showSydney = input.bool(true, "Show Sydney")
showTokyo = input.bool(true, "Show Tokyo")
showLondon = input.bool(true, "Show London")
showNY = input.bool(true, "Show New York")
// Color customization
colorSydney = input.color(color.new(color.blue, 70), "Sydney Color")
colorTokyo = input.color(color.new(color.orange, 70), "Tokyo Color")
colorLondon = input.color(color.new(color.green, 70), "London Color")
colorNY = input.color(color.new(color.red, 70), "New York Color")
// === SESSION LOGIC (UTC TIME) === //
sydneySession = showSydney and ((hour >= 22) or (hour < 7))
tokyoSession = showTokyo and (hour >= 0 and hour < 9)
londonSession = showLondon and (hour >= 8 and hour < 17)
nySession = showNY and (hour >= 13 and hour < 22)
// Determine active session (priority order: NY > London > Tokyo > Sydney)
sessionColor = color(na)
if nySession
sessionColor := colorNY
else if londonSession
sessionColor := colorLondon
else if tokyoSession
sessionColor := colorTokyo
else if sydneySession
sessionColor := colorSydney
// === BACKGROUND COLOR === //
bgcolor(sessionColor, title="Session Highlight")
// === SESSION LEGEND === //
var table legend = table.new(position.top_right, 1, 5, border_width=1)
if bar_index == 0
table.cell(legend, 0, 0, "Sessions", bgcolor=color.gray, text_color=color.white)
table.cell(legend, 0, 1, "Sydney", bgcolor=colorSydney)
table.cell(legend, 0, 2, "Tokyo", bgcolor=colorTokyo)
table.cell(legend, 0, 3, "London", bgcolor=colorLondon)
table.cell(legend, 0, 4, "New York", bgcolor=colorNY)
TTM Squeeze Overlay (Wave A/B/C Visible)This script overlays three MACD-based wave structures directly on the price chart — giving you a clear, time-based view of market momentum without needing a sub-panel.
🔴 Wave A (Short-Term) – fast reactions, shows immediate price pressure
⚫ Wave B (Mid-Term) – smoother movements, ideal for swing context
🔵 Wave C (Long-Term) – area-style macro trend overlay
All waves are dynamically scaled and centered around price action, so you don’t need to manually stretch or shift anything.
Built for traders who want trend clarity at a glance — right where it matters.
TTM Squeeze Overlay (Wave A/B/C Visible)This indicator shows three different cycle wave energy ( long, short and now )
Sessioni di Trading - Londra & New YorkIndicator for mechanics 3.0 marking the London and New York sessions with vertical dotted lines
Sessioni di Trading - Londra & New YorkMarks the London and New York trading sessions with vertical colored lines (Mechanics 3.0)