ES Open-Close 9:30-16:00 TableDisplays a daily table showing the open at 9:30 and close at 16:00 (New York time) for ES
Penunjuk dan strategi
Stochastic RSI with MTF TableShort Description of the Script
The provided Pine Script indicator, titled "Stochastic RSI with MTF Table," calculates and displays the Stochastic RSI for the current timeframe and multiple other timeframes (5m, 15m, 30m, 60m, 240m, and daily). The Stochastic RSI is a momentum indicator that blends the Relative Strength Index (RSI) and Stochastic Oscillator to identify overbought and oversold conditions, as well as potential trend reversals via K and D line crossovers.
Key features of the script include:
Inputs: Customizable parameters such as K smoothing (default 3), D smoothing (default 3), RSI length (default 14), Stochastic length (default 14), source price (default close), and overbought/oversold levels (default 80/20).
MTF Table: A table displays the Stochastic RSI status for each timeframe:
"OB" (overbought) if K > 80, "OS" (oversold) if K < 20, or "N" (neutral) otherwise.
Crossovers: "K↑D" for bullish (K crosses above D) and "K↓D" for bearish (K crosses below D).
Visualization: Plots the K and D lines for the current timeframe, with horizontal lines at 80 (overbought), 50 (middle), and 20 (oversold), plus a background fill for clarity.
Table Position: Configurable to appear in one of four chart corners (default: top-right).
This indicator helps traders assess momentum across multiple timeframes simultaneously, aiding in the identification of trend strength and potential entry/exit points.
Trading Strategy with 50EMA and 200EMA for Highest Winning Rate
To create a strategy with the best probability of a high winning rate using the Stochastic RSI MTF indicator alongside the 50-period Exponential Moving Average (50EMA) and 200-period Exponential Moving Average (200EMA), we can combine trend identification with momentum-based entry timing. The 50EMA and 200EMA are widely used to determine medium- and long-term trends, while the Stochastic RSI MTF table provides multi-timeframe momentum signals. Here’s the strategy:
1. Determine the Overall Trend
Bullish Trend: The 50EMA is above the 200EMA on the current timeframe (e.g., daily or 60m chart). This suggests an uptrend, often associated with a "Golden Cross."
Bearish Trend: The 50EMA is below the 200EMA on the current timeframe. This indicates a downtrend, often linked to a "Death Cross."
Implementation: Plot the 50EMA and 200EMA on your chart and visually confirm their relative positions.
2. Identify Entry Signals Using the Stochastic RSI MTF Table
In a Bullish Trend (50EMA > 200EMA):
Look for timeframes in the MTF table showing:
Oversold (OS): K < 20, indicating a potential pullback in the uptrend where price may rebound.
Bullish Crossover (K↑D): K crosses above D, signaling rising momentum and a potential entry point.
Example: If the 60m and 240m timeframes show "OS" or "K↑D," this could be a buy signal.
In a Bearish Trend (50EMA < 200EMA):
Look for timeframes in the MTF table showing:
Overbought (OB): K > 80, suggesting a rally in the downtrend where price may reverse downward.
Bearish Crossover (K↓D): K crosses below D, indicating declining momentum and a potential short entry.
Example: If the 30m and daily timeframes show "OB" or "K↓D," this could be a sell/short signal.
Current Timeframe Check: Use the plotted K and D lines on your trading timeframe for precise entry timing (e.g., confirm a K↑D crossover on a 60m chart for a long trade).
3. Confirm Signals Across Multiple Timeframes
Strengthen the Signal: A higher winning rate is more likely when multiple timeframes align with the trend and signal. For instance:
Bullish trend + "OS" or "K↑D" on 60m, 240m, and daily = strong buy signal.
Bearish trend + "OB" or "K↓D" on 15m, 60m, and 240m = strong sell signal.
Prioritize Higher Timeframes: Signals from the 240m or daily timeframe carry more weight due to their indication of broader trends, increasing reliability.
4. Set Stop-Loss and Take-Profit Levels
Long Trades (Bullish):
Stop-Loss: Place below the most recent swing low or below the 50EMA, whichever is closer, to protect against trend reversals.
Take-Profit: Target a key resistance level or use a risk-reward ratio (e.g., 2:1 or 3:1) based on the stop-loss distance.
Short Trades (Bearish):
Stop-Loss: Place above the most recent swing high or above the 50EMA, whichever is closer.
Take-Profit: Target a key support level or apply a similar risk-reward ratio.
Trailing Stop Option: As the trend progresses, trail the stop below the 50EMA (for longs) or above it (for shorts) to lock in profits.
5. Risk Management
Position Sizing: Risk no more than 1-2% of your trading capital per trade to minimize losses from false signals.
Volatility Consideration: Adjust stop-loss distances and position sizes based on the asset’s volatility (e.g., wider stops for volatile stocks or crypto).
Avoid Overtrading: Wait for clear alignment between the EMA trend and MTF signals to avoid low-probability setups.
Example Scenario
Chart: 60-minute timeframe.
Trend: 50EMA > 200EMA (bullish).
MTF Table: 60m shows "OS," 240m shows "K↑D," and daily is "N."
Action: Enter a long position when the 60m K line crosses above D, confirming the table signal.
Stop-Loss: Below the recent 60m swing low (e.g., 2% below entry).
Take-Profit: At the next resistance level or a 3:1 reward-to-risk ratio.
Outcome: High probability of success due to trend alignment and multi-timeframe confirmation.
Why This Strategy Works
Trend Following: Trading in the direction of the 50EMA/200EMA trend reduces the risk of fighting the market’s momentum.
Momentum Timing: The Stochastic RSI MTF table pinpoints pullbacks or reversals within the trend, improving entry timing.
Multi-Timeframe Confirmation: Alignment across timeframes filters out noise, increasing the win rate.
Risk Control: Defined stop-loss and position sizing protect against inevitable losses.
Caveats
No strategy guarantees a 100% win rate; false signals can occur, especially in choppy markets.
Test this strategy on historical data or a demo account to verify its effectiveness for your asset and timeframe.
This approach leverages the strengths of both trend-following (EMA) and momentum (Stochastic RSI) tools, aiming for a high-probability, disciplined trading system.
Session Open-Close Table 9:30-16:00 with Date RangeDisplays a daily table showing the open at 9:30 and close at 16:00 (New York time) for any asset. Includes a date range filter to extract session-based open-close values.
פתיחה וסגירה 9:30–16:00 לפי טווח תאריכיםהאינדיקטור מציג בטבלה פתיחה וסגירה של מסחר יומי
this indicator shows in tablet open / close prices in a daily basis from date to date
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
Bull-Bear Strength Strategy (manual sum, ATR, filters)This strategy is based on the indicator we created that calculates bullish and bearish momentum.
CPR-Based Fib S/R with Circles by Arthavidhi📌 **CPR-Based Fibonacci S/R with Circles – Description**
This indicator combines the power of **CPR (Central Pivot Range)** and **Fibonacci ratios** to plot highly probable intraday and swing Support/Resistance levels derived from the **daily price structure**.
### 🧠 **How It Works**
* It uses the **Daily High, Low, and Close** to calculate the **Pivot Point** (P) as:
`P = (High + Low + Close) / 3`
* Then it calculates the **daily range**:
`Range = High - Low`
* Using this pivot and range, it derives both **Fibonacci-based Support and Resistance levels**:
* **Support levels** at: 0.382, 0.5, 0.618, 1.0, 1.272, 1.618 below pivot
* **Resistance levels** at: 0.382, 0.5, 0.618, 1.0, 1.272, 1.618 above pivot
These are **plotted as small colored circles** on your chart, with **labels on the left** for easy identification of each Fib level (e.g., "0.382", "1.618").
---
### 📈 **How to Use It**
🔹 **Intraday or Swing Traders**:
* Use these levels to **anticipate reversals**, **breakouts**, or **targets**.
* The levels act like a **natural price magnet** — price tends to pause, bounce, or reverse near them.
🔹 **Entry/Exit Zones**:
* Combine with price action (like pin bars, engulfing, or inside bars) or volume near these levels to plan entries.
* **R1.618 and S1.618** are great for extended targets or aggressive reversal setups.
🔹 **CPR Center Line**:
* Acts as a key mean-reversion zone or midline. You can combine this with VWAP or RSI for confirmation.
---
### 🧩 **Best Practices**
* **Higher Timeframe Confluence**: Align this with HTF S/R or trendlines.
* **Use Alerts**: Combine this with price action alerting tools (manually or with separate indicators).
* **Do Not Use Alone**: For best results, combine with a strategy (e.g., Supply/Demand, VWAP bounce, Trendline breaks).
Rabbit Moves - Buy Sell Signals [No Repaint]Buy and sell signals no repaint on the chart...reversal indicator
Percentage SDThis TradingView indicator, called "Percentage SD," measures how much the price of an asset is fluctuating (its volatility) and shows this as a percentage.
You can choose which price to track (like the closing price) and the period over which to measure this volatility.
The indicator then draws a yellow line in a separate panel below your main chart. When this line is higher, it means the price is more volatile relative to its current level. A lower line suggests less volatility. This can help you see when price movements are becoming more or less active.
Davsabs 10-20-50 EMA strategyThis is a 10-20-50 day EMA strategy.
Buy signals are generated on price being over the 50 EMA, 10 EMA over the 20 EMA.
Sell signals are generated when price closed below the 10 ema
RSI + Supertrend + ATR TP/SLUSE ON 5-MIN OR 12-MIN CHART FOR OPTIMAL PERFORMANCE!!!
This Pine Script strategy combines the RSI, Supertrend, and ATR-based Take Profit/Stop Loss levels for trading. Here's a breakdown of how it works:
Inputs:
RSI Length: Period for the RSI calculation (default: 6).
RSI Overbought: Threshold above which the market is considered overbought (default: 80).
RSI Oversold: Threshold below which the market is considered oversold (default: 20).
ATR Period: The period for calculating the ATR (default: 10).
Factor: Multiplier for the ATR and Supertrend calculation (default: 3).
Calculations:
RSI: The relative strength index, used to identify overbought and oversold conditions.
ATR: The average true range, used to measure volatility and set stop loss/take profit levels.
Supertrend: A trend-following indicator using ATR to create upper and lower bands. If the price is above the Supertrend, it is a bullish trend, and if below, it’s a bearish trend.
Entry Conditions:
Long: If RSI is below the oversold level and the trend is bullish (price above the Supertrend).
Short: If RSI is above the overbought level and the trend is bearish (price below the Supertrend).
ATR-Based TP/SL:
Long SL: Set at a distance from the entry price using ATR.
Long TP: Set at a distance from the entry price using ATR.
Short SL: Set at a distance from the entry price using ATR.
Short TP: Set at a distance from the entry price using ATR.
Strategy Execution:
Long Entry: Executes a long trade if the long condition is met, with an ATR-based stop loss and take profit.
Short Entry: Executes a short trade if the short condition is met, with an ATR-based stop loss and take profit.
Plots:
Supertrend: Plots the Supertrend line on the chart.
Buy/Sell Signals: Plots triangles when long or short conditions are met.
TP/SL Lines: Plots the ATR-based take profit and stop loss lines when a position is open.
This strategy aims to capitalize on short-term price movements with defined risk/reward levels.
Moving Averages with ADR%/ATR/52W TableOption to select Moving Averages as per different time frames.
ADR%: It should be above 5% as it is a sign of strength and stop loss should be lower than the ADR%. It should be calculated for last 20 Days.
ATR%: It is calculated as per the previous 14 Candles.
Minervini’s 52-Week High and Low Principles:
52-Week High:
Key Principle: Minervini prefers stocks trading near or at their 52-week highs, as this indicates strong bullish momentum and institutional buying interest. A stock at or close to its 52-week high is often breaking out of consolidation or resistance, signaling potential for further upside.
Criteria:
The stock should ideally be within 25% of its 52-week high (i.e., no more than 25% below the high). This is considered the “pivot point” or “buy zone” where the stock is still in a strong uptrend.
A breakout above the 52-week high, especially on high volume, is a bullish signal, often marking the start of a new uptrend.
Rationale: Stocks near their 52-week highs are less likely to face overhead resistance (supply from previous buyers at higher prices) and are attractive to momentum traders and institutions.
52-Week Low:
Key Principle: Minervini advises avoiding stocks trading close to their 52-week lows, as they often indicate weakness, lack of demand, or bearish sentiment. Instead, he looks for stocks that are significantly above their 52-week lows, demonstrating strength and recovery.
Criteria:
The stock should be at least 30% above its 52-week low to confirm it has moved away from a downtrend and is showing relative strength.
Stocks too close to their 52-week lows are considered risky, as they may be in a prolonged downtrend or lack institutional support.
Rationale: A stock well above its 52-week low has likely absorbed selling pressure and is attracting buyers, indicating a healthier trend and potential for further gains.
Application in Trading:
Stock Selection: Minervini uses these criteria as part of his SEPA (Specific Entry Point Analysis) methodology to filter stocks. Stocks meeting the 52-week high/low criteria are more likely to be in a “Stage 2” uptrend (per his adaptation of Stan Weinstein’s stage analysis).
Breakout Strategy: He focuses on buying stocks breaking out from consolidation patterns (e.g., volatility contractions, cup-and-handle) near their 52-week highs, ideally with strong volume and tight price action.
Risk Management: Stocks too far from their 52-week highs or too close to their 52-week lows may have higher risk, either due to overextension or lack of momentum.
Dynamic Color Logic in Your Script:
Based on our previous discussions, your Pine Script incorporates Minervini’s criteria for dynamic coloring in the ADR%/ATR/52W Table:
Below 52-Week High: Text turns green if the stock is within -25% to 0% of the 52-week high (i.e., high_52w_dist >= -25 and high_52w_dist <= 0), highlighting stocks in the bullish “buy zone.”
Above 52-Week Low: Text turns green if the stock is ≥30% above the 52-week low (i.e., low_52w_dist >= 30), indicating strength and distance from weakness.
These thresholds align with Minervini’s principles to visually flag stocks meeting his momentum criteria.
Integration with Your Pine Script:
Your script already implements Minervini’s 52-week high/low principles in the table’s dynamic color logic. Here’s how it reflects his strategy:
Below 52-Week High (high_52w_dist): The condition high_52w_dist >= -25 and high_52w_dist <= 0 ensures the stock is within 25% of its 52-week high, marking it as a potential candidate for a breakout or continuation trade.
Above 52-Week Low (low_52w_dist): The condition low_52w_dist >= 30 confirms the stock is at least 30% above its 52-week low, filtering out weak stocks and highlighting those with bullish strength.
The table displays these metrics on intraday and daily charts, using daily data via request.security for accurate calculations, which supports Minervini’s focus on daily price action for entry points.
Moving Averages with ADR%/ATR/52W TableOption to select Moving Averages as per different time frames.
ADR%: It should be above 5% as it is a sign of strength and stop loss should be lower than the ADR%. It should be calculated for last 20 Days.
ATR%: It is calculated as per the previous 14 Candles.
Minervini’s 52-Week High and Low Principles:
52-Week High:
Key Principle: Minervini prefers stocks trading near or at their 52-week highs, as this indicates strong bullish momentum and institutional buying interest. A stock at or close to its 52-week high is often breaking out of consolidation or resistance, signaling potential for further upside.
Criteria:
The stock should ideally be within 25% of its 52-week high (i.e., no more than 25% below the high). This is considered the “pivot point” or “buy zone” where the stock is still in a strong uptrend.
A breakout above the 52-week high, especially on high volume, is a bullish signal, often marking the start of a new uptrend.
Rationale: Stocks near their 52-week highs are less likely to face overhead resistance (supply from previous buyers at higher prices) and are attractive to momentum traders and institutions.
52-Week Low:
Key Principle: Minervini advises avoiding stocks trading close to their 52-week lows, as they often indicate weakness, lack of demand, or bearish sentiment. Instead, he looks for stocks that are significantly above their 52-week lows, demonstrating strength and recovery.
Criteria:
The stock should be at least 30% above its 52-week low to confirm it has moved away from a downtrend and is showing relative strength.
Stocks too close to their 52-week lows are considered risky, as they may be in a prolonged downtrend or lack institutional support.
Rationale: A stock well above its 52-week low has likely absorbed selling pressure and is attracting buyers, indicating a healthier trend and potential for further gains.
Application in Trading:
Stock Selection: Minervini uses these criteria as part of his SEPA (Specific Entry Point Analysis) methodology to filter stocks. Stocks meeting the 52-week high/low criteria are more likely to be in a “Stage 2” uptrend (per his adaptation of Stan Weinstein’s stage analysis).
Breakout Strategy: He focuses on buying stocks breaking out from consolidation patterns (e.g., volatility contractions, cup-and-handle) near their 52-week highs, ideally with strong volume and tight price action.
Risk Management: Stocks too far from their 52-week highs or too close to their 52-week lows may have higher risk, either due to overextension or lack of momentum.
Dynamic Color Logic in Your Script:
Based on our previous discussions, your Pine Script incorporates Minervini’s criteria for dynamic coloring in the ADR%/ATR/52W Table:
Below 52-Week High: Text turns green if the stock is within -25% to 0% of the 52-week high (i.e., high_52w_dist >= -25 and high_52w_dist <= 0), highlighting stocks in the bullish “buy zone.”
Above 52-Week Low: Text turns green if the stock is ≥30% above the 52-week low (i.e., low_52w_dist >= 30), indicating strength and distance from weakness.
These thresholds align with Minervini’s principles to visually flag stocks meeting his momentum criteria.
Integration with Your Pine Script:
Your script already implements Minervini’s 52-week high/low principles in the table’s dynamic color logic. Here’s how it reflects his strategy:
Below 52-Week High (high_52w_dist): The condition high_52w_dist >= -25 and high_52w_dist <= 0 ensures the stock is within 25% of its 52-week high, marking it as a potential candidate for a breakout or continuation trade.
Above 52-Week Low (low_52w_dist): The condition low_52w_dist >= 30 confirms the stock is at least 30% above its 52-week low, filtering out weak stocks and highlighting those with bullish strength.
The table displays these metrics on intraday and daily charts, using daily data via request.security for accurate calculations, which supports Minervini’s focus on daily price action for entry points.
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
ADR% / ATR / 52W Range TableIndicator to know the -
Average Dynamic Range: Usual parameter is of 20 Days and ideally it should be above 5%. Stop Loss should not be more than the ADR.
ATR: It is measured for 14 days.
Below 52-Week High: As per Mark Minervini, stock should be in uptrend and less than 25% below its 52-Weeks High.
Above 52-Low: Stock should be minimum 30% above its 52-Week Low. The Higher the better.
0830-0845 High/Low Marker (Accurate Start + History)This indicator marks the high and low of the 15-minute candle between 08:30 and 08:45 (local time) of the trading session. The high and low are tracked dynamically, with the lines drawn once the 08:45 candle closes.
Key Features:
Session-based Tracking: Automatically tracks and records the high and low of the 15-minute period starting at 08:30 and ending at 08:45.
Excludes 08:45 High : If a high is created exactly at 08:45, the indicator will ignore it and use the highest value before 08:45, ensuring it only references the price action during the specified window.
Line Extension : The high and low lines are drawn and extended to the right for a user-defined number of bars, making them visible beyond the session's close.
Customizable Parameters : Adjust the start and end times of the session, line colors, and line width to fit your preferences.
Use Case :
Ideal for traders who focus on the price action during the early part of the trading session (08:30 to 08:45) and want to track significant levels of support and resistance from that period.
The extended lines help identify potential price zones for the rest of the session or the trading day.
My_moon_LibraryLibrary "My_moon_Library"
getJulianDate(Year, Month, Day, Hour, Minute)
Parameters:
Year (int)
Month (int)
Day (int)
Hour (int)
Minute (int)
julianCenturyInJulianDays()
julianEpochJ2000()
Julian date on J2000 epoch start (2000-01-01)
Returns: 2451545.0
GET_MOON_LONGITUDE_f(jd_century)
Parameters:
jd_century (float)
julianCenturiesSinceEpochJ2000(julianDate)
Parameters:
julianDate (float)
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.
ATR Volatilità giua64🇬🇧 FULL GUIDE – ATR Punti++++ (per la lingua italiana scorri dopo la spiegazione in inglese)
📌 What is this script?
ATR Volatilità is a visual dashboard that analyzes market volatility, using:
ATR and its moving average
ATR as % of price
Range in points (current candle & extended timeframe)
External volatility index (e.g., VIX)
Directional arrows and color-coded volatility levels (🔴🟡🔵)
Ideal for traders who want to understand volatility at a glance, across any asset.
🧭 Table – Column by Column
Column Meaning
🔼 / 🔽 / → ATR Direction: shows whether volatility is rising, falling, or stable
🔴 / 🟡 / 🔵 Volatility Level: calculated by comparing ATR with its moving average
ATR: Current ATR value based on the selected length (e.g. 14 bars)
MA: ATR Moving Average, baseline to classify volatility levels
ATR %: ATR as a percentage of current price = (ATR / price) × 100
VIX: Last daily close of external volatility index (e.g., VIX or others)
Punti Curr: Range of current candle, converted into standardized points
Punti D: Daily (or chosen TF) range, shows broader price movement
⚙️ Inputs – Explained One by One
Input Setting What It Does
ATR Length Number of periods for ATR calculation
ATR Smoothing Method: RMA, SMA, EMA, or WMA
ATR MA Length Period for the ATR moving average
Show ATR Line on Chart Enables optional ATR line plot
Asset Class Preset Auto-configures multiplier & thresholds:
Manual, Forex, Indices, Gold
Points Multiplier Converts price movement into "points" (e.g. 10 for Gold, 10000 for EUR/USD)
Volatility Thresholds Define when volatility is LOW (< MA×0.8) or HIGH (> MA×1.0)
Extended Timeframe Used for the Punti D column (D, W, 4H, etc.)
External Volatility Index (VIX) Custom symbol for fear index (e.g. “VIX”, “CBOE:VIX”, “VSTOXX”)
VIX Low / High Thresholds Color background green/red based on these thresholds
Table Position Where the table appears on the chart
🔍 How to Use in Practice
ATR rising + 🔴 + wide Punti Curr → Volatility breakout likely → Good for momentum trades
ATR falling + 🔵 + narrow Punti Curr → Calm or ranging market → Good for mean reversion
Compare Punti Curr vs Punti D:
If current range is much smaller than daily → breakout could be coming
If current range is larger than daily → volatility spike in play
Watch the VIX:
High VIX with low ATR may mean tension is rising before price reacts
🇮🇹 GUIDA COMPLETA – ATR Punti++++
📌 Cos’è questo script?
ATR Volatilità è una dashboard visiva che analizza la volatilità del mercato tramite:
ATR e media mobile
ATR in % rispetto al prezzo
Range in punti (candela attuale + timeframe esteso)
Indice esterno di volatilità (es. VIX)
Frecce direzionali e livelli colorati di volatilità (🔴🟡🔵)
Perfetto per trader che vogliono capire subito quanto è "nervoso" il mercato.
🧭 Tabella – Spiegazione Colonna per Colonna
Colonna Significato
🔼 / 🔽 / → Direzione ATR: indica se la volatilità sta salendo, scendendo o è stabile
🔴 / 🟡 / 🔵 Livello Volatilità: calcolato confrontando l’ATR con la sua media mobile
ATR: Valore attuale dell’ATR basato sulla lunghezza impostata (es. 14 barre)
MA: Media mobile dell’ATR, usata come riferimento per definire le soglie
ATR %: L’ATR in percentuale rispetto al prezzo = (ATR / prezzo) × 100
VIX: Ultima chiusura giornaliera dell’indice di volatilità esterno
Punti Curr: Range della candela attuale, convertito in punti standardizzati
Punti D: Range su timeframe esteso (es. giornaliero), utile per confronti ampi
⚙️ Impostazioni – Spiegazione Completa
Impostazione Cosa fa
Periodo ATR Numero di barre usate per calcolare l’ATR
Smoothing ATR Metodo di calcolo: RMA, SMA, EMA o WMA
Lunghezza Media ATR Periodi usati per la media dell’ATR
Mostra Linea ATR sul Grafico Attiva/disattiva la linea ATR sul grafico
Preset Classe Asset Imposta automaticamente moltiplicatore e soglie:
Manuale, Forex, Indici, Oro
Moltiplicatore Punti Converte la differenza prezzo in “punti” (es. 10 per Oro, 10000 per Forex)
Soglie Volatilità Manuali Soglie per classificare la volatilità come BASSA / MEDIA / ALTA
Timeframe Esteso Usato per il calcolo di Punti D (es. 1D, 4H, 1W...)
Simbolo Indice VIX Inserisci simbolo dell’indice (es. VIX, CBOE:VIX, VSTOXX)
Soglie VIX Colora lo sfondo VIX in rosso, verde o bianco
Posizione Tabella Dove posizionare la dashboard sul grafico
🎯 Come Usarlo nel Trading
ATR in salita + 🔴 + Punti Curr larghi → Volatilità in crescita → Buono per breakout o trend
ATR in calo + 🔵 + Punti Curr bassi → Mercato calmo → Meglio range o reversal
Confronta Punti Curr con Punti D:
Se Punti Curr ≪ Punti D → probabile esplosione di volatilità
Se Punti Curr ≫ Punti D → siamo già in fase esplosiva
Controlla il VIX:
Se il VIX è alto ma l’ATR è ancora basso → attenzione: possibile shock imminente
✅ Note Finali
Il moltiplicatore adatta il calcolo dei punti al tipo di asset (Gold = 10, EURUSD = 10000)
Il confronto tra candela attuale e range daily è visivamente immediato
Nessun segnale, nessun rumore: solo dati concreti e ben visualizzati
Session High/Low Lines (Anchored)//@version=6
indicator("Session High/Low Lines (Anchored)", overlay=true)
// Timezone
nyTZ = "America/New_York"
// Session time ranges (in NY time)
asianStart = timestamp(nyTZ, year, month, dayofmonth, 19, 0)
asianEnd = timestamp(nyTZ, year, month, dayofmonth, 3, 0) + 86400000
londonStart = timestamp(nyTZ, year, month, dayofmonth, 3, 0)
londonEnd = timestamp(nyTZ, year, month, dayofmonth, 11, 0)
nyStart = timestamp(nyTZ, year, month, dayofmonth, 8, 30)
nyEnd = timestamp(nyTZ, year, month, dayofmonth, 17, 0)
midNY = timestamp(nyTZ, year, month, dayofmonth, 12, 30)
// Session conditions
inAsian = time >= asianStart and time < asianEnd
inLondon = time >= londonStart and time < londonEnd
inNY = time >= nyStart and time < nyEnd
newAsian = not inAsian and inAsian
endAsian = inAsian and not inAsian
newLondon = not inLondon and inLondon
endLondon = inLondon and not inLondon
newNY = not inNY and inNY
endNY = inNY and not inNY
// Asian session tracking
var float asianHigh = na
var float asianLow = na
var int asianHighTime = na
var int asianLowTime = na
if newAsian
asianHigh := high
asianLow := low
asianHighTime := time
asianLowTime := time
else if inAsian
if high > asianHigh
asianHigh := high
asianHighTime := time
if low < asianLow
asianLow := low
asianLowTime := time
// London session tracking
var float londonHigh = na
var float londonLow = na
var int londonHighTime = na
var int londonLowTime = na
if newLondon
londonHigh := high
londonLow := low
londonHighTime := time
londonLowTime := time
else if inLondon
if high > londonHigh
londonHigh := high
londonHighTime := time
if low < londonLow
londonLow := low
londonLowTime := time
// NY session tracking
var float nyHigh = na
var float nyLow = na
var int nyHighTime = na
var int nyLowTime = na
if newNY
nyHigh := high
nyLow := low
nyHighTime := time
nyLowTime := time
else if inNY
if high > nyHigh
nyHigh := high
nyHighTime := time
if low < nyLow
nyLow := low
nyLowTime := time
// Draw lines and labels using absolute time
drawLine(fromTime, price, color, labelTxt, isHigh) =>
if not na(fromTime)
line.new(x1=fromTime, y1=price, x2=midNY, y2=price, xloc=xloc.bar_time, color=color, width=1)
offset = price * 0.002
yPos = isHigh ? price + offset : price - offset
label.new(x=fromTime, y=yPos, text=labelTxt, style=label.style_label_left,
xloc=xloc.bar_time, color=color, textcolor=color.white,
size=size.small, yloc=yloc.price)
// Draw lines at end of each session
if endAsian
drawLine(asianHighTime, asianHigh, color.blue, "Asian High", true)
drawLine(asianLowTime, asianLow, color.blue, "Asian Low", false)
if endLondon
drawLine(londonHighTime, londonHigh, color.green, "London High", true)
drawLine(londonLowTime, londonLow, color.green, "London Low", false)
if endNY
drawLine(nyHighTime, nyHigh, color.red, "NY High", true)
drawLine(nyLowTime, nyLow, color.red, "NY Low", false)
Moving Volume-Weighted Avg Price, % Channel, BBsThis script includes:
- Moving Volume-Weighted Average Price line.
- User-defined % band above and below, very useful for "breakout" signals, and mentally adjusting to the magnitude of price swings when viewing an automatic scale on the price axis.
- Volume-Weighted Bollinger Bands, which are more sensitive to volume.
More detail:
- This is like TV's basic VWAP in concept, except the major flaw in that is that it has reset periods that you can't override, and the volume is cumulative until the next hard reset. The 'reset' is OK for securities trading, that resets every day anyway. But not for crypto - and not if/when securities trading goes 24/7. Also, the denominator accumulating over the entire period is also *not* OK, because then what is shown means something different as the day progresses - which kind of makes it useless. In other words, it starts out very sensitive to volume, and gets progressively more numb to it as they day progresses, and starts flattening out.
- This fixes both problems, by using a user-definable moving window for the average. Essentially combining SMA with volume-weighting.
- You may also find an invaluable trading aid, in the % bands above and below.
- What can optionally be shown is standard deviation bands, aka Bollinger bands. The advantage over regular BB is that it's volume-weighted. Since it is already calculated on a moving average, the period for the standard deviation has been shortened by default, and the magnitude increased, to better approximate regular Bollinger Bands - but it's still more responsive to volume.