Market Sessions By Zcointv/ScottfdxThis code has been writted By Zcointv/Scottfdx traders
This is a Market Volatility Box Breakout Strategy designed for intraday trading on 5-minute charts.
How it Works:
Volatility Box: The strategy defines a "volatility box" by capturing the price range (High and Low) around the New York market open.
The box begins one hour before the market open and ends 30 minutes after the market open.
The High and Low of this box are locked for the rest of the day.
Breakout Entry: A trade is opened only after this session period has ended.
Long: A 5-minute candle must close above the High of the box.
Short: A 5-minute candle must close below the Low of the box.
Risk Management:
1% Risk: Each trade risks a maximum of 1% of the total account equity. The position size is calculated dynamically based on this risk.
Stop Loss: The initial stop-loss is placed just outside the opposite side of the box.
1:1 Take Profit: The target is set at a 1:1 risk-to-reward ratio.
Partial Exit & Breakeven: When the take-profit target is hit, 50% of the position is closed. The stop-loss for the remaining 50% is then immediately moved to the entry price (breakeven).
Key Features:
The strategy is limited to one trade per day.
The indicator also has options to display configurable boxes for the Tokyo and London sessions.
The High and Low levels of the volatility box are plotted on the chart for visual reference.
Indicadores de amplitud
Daily / Weekly / Monthly High-Low Levels (Arindam )How it works:
Daily levels are taken from the previous day.
Weekly levels are from the previous week.
Monthly levels are from the previous month.
They extend across the chart for visual reference.
You can customize colors, line styles, or whether they reset each session.
Do you want me to also add labels on the right side (e.g., “Daily High”, “Weekly Low”) so the lines are clearly marked?
BB next+2This indicator extends the standard Bollinger Bands by allowing you to project future Bollinger Bands based on assumed closing prices for the next trading day (+1) and the day after (+2).
Key Features:
Plots standard Bollinger Bands (supports SMA, EMA, etc.)
Allows manual input of assumed closing prices for the next trading day (+1) and the day after (+2)
Displays projected Bollinger Bands (basis, upper, and lower) based on the input values
Option to restrict display to the latest bar or confirmed bars only
BTC Coinbase Premium Index (Adjusted for USDC/USDT)BTC Coinbase Premium Index (Adjusted for USDC/USDT):
監測Coinbase(美國主流交易所)和Binance(全球最大交易所)之間的BTC價格溢價,讓你及時判斷美國投機者的市場情緒或趨勢轉向。與外面類似指標不同的是,它考慮了USDT的匯率波動(透過USDC/USDT調整),避免了USDT脫鉤導致的假訊號,讓數據更精準可靠。
BTC Coinbase Premium Index (Adjusted for USDC/USDT):
This index monitors the BTC price premium between Coinbase (a major US exchange) and Binance (the world's largest exchange), allowing you to promptly assess US speculator sentiment or trend shifts. Unlike similar indicators, it incorporates USDT exchange rate fluctuations (adjusted via USDC/USDT), avoiding false signals caused by USDT decoupling and ensuring more accurate and reliable data.
RSI + Estocástico con Flechas y Divergencias RSIThis indicator combines the Relative Strength Index (RSI) and the Stochastic Oscill ator in one panel, displaying arrows at key overbought and oversold points. It helps traders identify potential reversal zones using two momentum indicators for confirmation.
Fibonacci Averages Oscillator M.Ataoglu============================================================================
FIBONACCI AVERAGES OSCILLATOR - TRADINGVIEW DESCRIPTION
============================================================================
📊 Fibonacci Averages Oscillator - Advanced Trend Analysis Tool
This indicator provides comprehensive trend analysis by combining multiple Fibonacci sequence periods into a single oscillator. It calculates trend strength using the mathematical properties of Fibonacci numbers to create a powerful trend detection system.
🔬 HOW IT WORKS:
The indicator uses a sophisticated algorithm that:
• Calculates moving averages for each Fibonacci period individually
• Combines all periods using weighted averaging techniques
• Normalizes the result to a 0-1 scale for easy interpretation
• Applies smoothing algorithms to reduce market noise
• Provides real-time color gradient visualization
📈 KEY FEATURES:
• MAX_ORTALAMA_FIB Mode: Uses average of all 11 Fibonacci periods (recommended)
• Individual Period Selection: Choose specific Fibonacci numbers
• Adaptive Smoothing: Adjustable smoothing parameter (2-70)
• Color Gradient System: Red (bearish) to Green (bullish) progression
• Detailed Level Lines: Precise support/resistance identification
• Neon Cyan Highlights: Special emphasis on key levels
• Performance Optimized: Advanced caching system for smooth operation
🎯 USAGE GUIDE:
• Values above 0.5: Bullish trend strength
• Values below 0.5: Bearish trend strength
• Color changes: Real-time trend strength progression
• Level lines: Key support/resistance identification
• Neon cyan levels: Critical decision points
⚙️ TECHNICAL SPECIFICATIONS:
• Calculation Method: Fibonacci-weighted moving averages
• Timeframe Compatibility: All timeframes (M1 to Monthly)
• Market Compatibility: Forex, Stocks, Crypto, Commodities
• Performance: Optimized for real-time trading
🔧 PARAMETERS:
• Max Fibonacci Number: Select calculation period or use MAX_ORTALAMA_FIB
• Smoothing Level: Adjust trend line smoothness (2-70)
• Trend Color (Low): Customize bearish trend color
• Trend Color (High): Customize bullish trend color
• Trend Line Thickness: Adjust line visibility (1-10)
⚠️ RISK DISCLAIMER:
This indicator is for educational and analysis purposes only. It does not constitute investment advice. Always conduct your own research and consider multiple factors before making trading decisions. Past performance does not guarantee future results.
🔗 CREDITS:
• Fibonacci calculation library: tkarolak
• Developed by: M._Ataoglu
• Version: 1.0
• Pine Script Version: 6
Smart Money Breakout Moving Strength [GILDEX]🟠OVERVIEW
This script draws breakout detection zones called “Smart Money Breakout Channels” based on volatility-normalized price movement and visualizes them as dynamic boxes with volume overlays. It identifies temporary accumulation or distribution ranges using a custom normalized volatility metric and tracks when price breaks out of those zones—either upward or downward. Each channel represents a structured range where smart money may be active, helping traders anticipate key breakouts with added context from volume delta, up/down volume, and a visual gradient gauge for momentum bias.
🟠CONCEPTS
The script calculates normalized price volatility by measuring the standard deviation of price mapped to a scale using the highest and lowest prices over a set lookback period. When normalized volatility reaches a local low and flips upward, a boxed channel is drawn between the highest and lowest prices in that zone. These boxes persist until price breaks out, either with a strong candle close (configurable) or by touching the boundary. Volume analysis enhances interpretation by rendering delta bars inside the box, showing volume distribution during the channel. Additionally, a real-time visual “gauge” shows where volume delta sits within the channel range, helping users spot pressure imbalances.
Smart Money Breakout Moving Strength [GILDEX]🟠OVERVIEW
This script draws breakout detection zones called “Smart Money Breakout Channels” based on volatility-normalized price movement and visualizes them as dynamic boxes with volume overlays. It identifies temporary accumulation or distribution ranges using a custom normalized volatility metric and tracks when price breaks out of those zones—either upward or downward. Each channel represents a structured range where smart money may be active, helping traders anticipate key breakouts with added context from volume delta, up/down volume, and a visual gradient gauge for momentum bias.
🟠CONCEPTS
The script calculates normalized price volatility by measuring the standard deviation of price mapped to a scale using the highest and lowest prices over a set lookback period. When normalized volatility reaches a local low and flips upward, a boxed channel is drawn between the highest and lowest prices in that zone. These boxes persist until price breaks out, either with a strong candle close (configurable) or by touching the boundary. Volume analysis enhances interpretation by rendering delta bars inside the box, showing volume distribution during the channel. Additionally, a real-time visual “gauge” shows where volume delta sits within the channel range, helping users spot pressure imbalances.
Extended AM Range w/ Breakout Markerscreates a range from market starting till 10 am (half an hour into the market
Trading Sessionsconst string TZ_TOOLTIP_TEXT = "The session's time zone, specified in either GMT notation (e.g., 'GMT-5') or as an IANA time zone database name (e.g., 'America/New_York')."
Trading bot gridsGuide: Price Lines – Arithmetic vs. Geometric
This script draws horizontal price lines (grids) between a start price and an end price.
You can choose whether the lines are distributed evenly (arithmetic) or by percentage (geometric).
🔧 Inputs
Start Price → Lower or upper boundary of the price range.
End Price → Opposite boundary of the price range.
Number of Lines → Total number of lines to be drawn between the start and end prices.
Distribution →
Arithmetic: Fixed USDT distance between each line.
Geometric: Fixed percentage distance between each line.
Grid Color → Color of the drawn lines.
📈 How it Works
The script calculates the lower (lo) and upper (hi) boundaries, regardless of which is entered first.
Arithmetic distribution: Each line is spaced by a fixed amount in USDT.
Geometric distribution: Each line is spaced by the same percentage difference from the previous one.
Lines are created only once at the first bar and remain on the chart.
All lines are extended across the entire visible chart.
💡 Tips
Useful for Grid Bot backtesting or visualizing price zones.
Works for both long and short price ranges.
In geometric mode, lines appear closer together near the lower price range and farther apart toward the upper range.
INCOME STATEMENT BY N' TEEREX HOONJONGPANGConcept
This Pine Script indicator displays a dynamic, customizable table on the TradingView chart.
It is designed for traders who want to monitor annual data, quarterly performance, and key financial ratios directly on the chart without switching to external spreadsheets.
Features
Three Structured Sections:
Yearly Data Table – Displays annual values with adjustable text size and colors.
Quarterly Data Table – Shows quarter-by-quarter figures in a clear, compact format.
Financial Ratios Table – Presents key metrics (e.g., growth rates, margins, or other ratios) for quick analysis.
Customizable Appearance:
Adjustable text size for each table section.
Background and text colors for improved readability.
Option to merge cells for titles and headers.
Flexible Positioning:
Tables can be displayed in various positions on the chart (e.g., top-left, top-center, top-right).
Data Highlighting:
Color-coded cells to highlight important values or trends.
How to Use
1.Add the script to your TradingView chart.
2.Select table position (e.g., top-center for balanced display).
3.Adjust text size and color for yearly, quarterly, and ratio tables according to your preference.
4.Review the merged header cells for section titles and use the table to track key performance data alongside price action.
This tool is especially useful for swing traders, investors, and analysts who need to quickly interpret fundamental data within the same visual context as the chart.
Scanner ADX & VolumenThis indicator is a market scanner specifically designed for scalping traders. Its function is to simultaneously monitor 30 cryptocurrency pairs from the BingX exchange to identify entry opportunities based on the start of a new, strengthening trend.
Strategy and Logic:
The scanner is based on the combination of two key conditions on a 15-minute timeframe:
Trend Strength (ADX): The primary signal is generated when the ADX (Average Directional Index) crosses above the 20 level. An ADX moving above this threshold suggests that the market is breaking out of a consolidation phase and that a new trend (either bullish or bearish) is beginning to gain strength.
Volume Confirmation: To validate the ADX signal, the indicator checks if the current candle's volume is higher than its simple moving average (defaulting to 20 periods). An increase in volume confirms market interest and participation, adding greater reliability to the emerging move.
How to Use It:
The indicator displays a table in the top-right corner of your chart with the following information:
Par: The name of the cryptocurrency pair.
ADX: The current ADX value. It turns green when it exceeds the 20 level.
Volume: Shows "OK" if the current volume is higher than its average.
Signal: This is the most important column. When both conditions (ADX crossover and high volume) are met, it will display the message "¡ENTRADA!" ("ENTRY!") with a highlighted background, alerting you to a potential trading opportunity.
In summary, this scanner saves you the effort of manually analyzing 30 charts, allowing you to focus solely on the assets that present the best conditions for a scalping trade.
Scanner ADX & Volumen This indicator is a market scanner specifically designed for scalping traders. Its function is to simultaneously monitor 30 cryptocurrency pairs from the BingX exchange to identify entry opportunities based on the start of a new, strengthening trend.
Strategy and Logic:
The scanner is based on the combination of two key conditions on a 15-minute timeframe:
Trend Strength (ADX): The primary signal is generated when the ADX (Average Directional Index) crosses above the 20 level. An ADX moving above this threshold suggests that the market is breaking out of a consolidation phase and that a new trend (either bullish or bearish) is beginning to gain strength.
Volume Confirmation: To validate the ADX signal, the indicator checks if the current candle's volume is higher than its simple moving average (defaulting to 20 periods). An increase in volume confirms market interest and participation, adding greater reliability to the emerging move.
How to Use It:
The indicator displays a table in the top-right corner of your chart with the following information:
Par: The name of the cryptocurrency pair.
ADX: The current ADX value. It turns green when it exceeds the 20 level.
Volume: Shows "OK" if the current volume is higher than its average.
Signal: This is the most important column. When both conditions (ADX crossover and high volume) are met, it will display the message "¡ENTRADA!" ("ENTRY!") with a highlighted background, alerting you to a potential trading opportunity.
In summary, this scanner saves you the effort of manually analyzing 30 charts, allowing you to focus solely on the assets that present the best conditions for a scalping trade.
Breakout asia USD/CHF1 — Customizable Parameters
sess1 & sess2: The two time ranges that define the Asian session (e.g., 20:00–23:59 and 00:00–08:00).
Important: format is HHMM-HHMM.
rr: The risk/reward ratio (default = 3.0, meaning TP = 3× risk size).
onePerSess: Toggle to allow only one trade per Asian session or multiple.
bufTicks: Extra margin for the SL beyond the signal candle.
2 — Detecting the Asian Session
The script checks if the candle’s time is inside the first range (sess1) or inside the second range (sess2).
While inside the Asian session, it updates the current high and low.
When the session ends, it locks in these levels as rangeHigh and rangeLow.
3 — Step 1: Detecting the Initial Breakout
Bullish breakout → close above rangeHigh → flag breakoutUp is set to true.
Bearish breakout → close below rangeLow → flag breakoutDown is set to true.
No trade yet — this is just the breakout signal.
4 — Step 2: Waiting for the Retest
If a bullish breakout occurred, wait for the price to return to or slightly below rangeHigh and then close back above it.
If a bearish breakout occurred, wait for the price to return to or slightly above rangeLow and then close back below it.
5 — Entry & Exit
When the retest is confirmed:
strategy.entry() is triggered.
SL = behind the retest confirmation candle (with optional bufTicks margin).
TP = entry price ± RR × risk size.
If onePerSess is enabled, no further trades happen until the next Asian session.
6 — Chart Display
Green line = locked Asian session high.
Red line = locked Asian session low.
Light blue background = active Asian session hours.
Trade entries are shown on the chart when retests occur.
Trading StreetTrading Street Indicator
Trading Street is a comprehensive trading indicator that combines session timing analysis with technical trend analysis. It provides traders with visual cues for optimal trading times and market direction, making it perfect for forex and crypto trading.
Key Features
🕐 Trading Session Detection
Asia Session: 05:30 - 14:30 IST (Indian Standard Time)
London Session: 12:30 - 20:30 IST
New York Session: 18:30 - 02:30 IST (overnight)
Visual Session Backgrounds: Each session is highlighted with distinct colors
Session Overlap Handling: Smart precedence system (NY > London > Asia)
📊 Technical Analysis
50 EMA (Exponential Moving Average): Default golden line for trend analysis
Customizable EMA: Adjustable length (1-200 periods)
Trend Background: Green when price > EMA (bullish), Red when price < EMA (bearish)
Visual Trend Signals: Background colors change based on price vs EMA relationship
🎨 Customization Options
Session Colors: Customize Asia (green), London (blue), New York (orange)
EMA Settings: Adjust color, width, and length
Transparency Control: Adjust background opacity (0-100%)
Individual Toggles: Turn sessions and EMA on/off independently
How to Use
For Session Trading:
Identify Active Sessions: Look for colored backgrounds indicating active trading sessions
Session Overlaps: London-New York overlap (18:30-20:30 IST) is typically high volatility
Session Transitions: Watch for session changes for potential breakout opportunities
For Trend Analysis:
EMA Trend: Golden EMA line shows overall market direction
Background Colors:
Green background = Bullish trend (price above EMA)
Red background = Bearish trend (price below EMA)
Trend Confirmation: Use EMA alignment with session timing for better entries
Trading Strategy:
Session + Trend Alignment: Best trades when session activity aligns with EMA trend
Session Transitions: Look for breakouts during session changes
High Volatility Periods: London-New York overlap often provides best opportunities
Settings
Session Settings:
Show Asia Session: Toggle Asia session background
Show London Session: Toggle London session background
Show New York Session: Toggle New York session background
Background Transparency: Adjust opacity (0-100%)
EMA Settings:
Show EMA: Toggle EMA line on/off
EMA Length: Adjust period (1-200, default: 50)
EMA Color: Customize line color
EMA Line Width: Adjust thickness (1-4)
Best Timeframes
Recommended: 15M, 1H, 4H, Daily
Best for: Forex pairs, Crypto, Major indices
Optimal Use: Combine with price action and support/resistance levels
Pro Tips
Session Awareness: Trade during active sessions for better liquidity
Trend Confirmation: Use EMA trend to confirm session-based setups
Risk Management: Avoid trading during low-activity periods
Multi-Timeframe: Use on higher timeframes for trend, lower for entries
Technical Details
Pine Script Version: v5
Overlay: True (displays on main chart)
Timezone: IST (Indian Standard Time)
Compatibility: All TradingView instruments
Perfect for traders who want to combine session timing with technical analysis for better trading decisions! 🚀
Fabian Z-ScoreFabian Z-Score — % Distance & Z-Scores for SPX / DJI / XLU
What it does
This indicator measures how far three market proxies are from a moving average and standardizes those distances into z-scores so you can spot stretch/mean-reversion and relative out/under-performance.
Universe: S&P 500 (SPX), Dow Jones (DJI) and Utilities (XLU). You can change any of these in Inputs.
Anchor MA: user-selectable MA type (SMA/EMA/RMA/WMA/VWMA/HMA/LSMA/ALMA) and length (default 39; a popular weekly anchor).
Outputs
% from MA: 100 × (𝐶𝑙𝑜𝑠𝑒 − 𝑀𝐴) / 𝑀𝐴
Time-series Z: z-score of the last N % distances (default 39) → “how stretched vs its own history?”
Cross-sectional Z: z-score of each % distance within the trio on this bar → “who’s strongest vs the others right now?”
A compact mini table (top-right) shows the latest values for each symbol: % from MA, Z(ts) and Z(xsec).
Panels & Visualization
Toggle what you want to see in View:
Plot % distance — raw % above/below the MA (0% line shown).
Plot time-series Z — standardized stretch with ±Threshold guides (default ±2σ).
Plot cross-sectional Z — relative z across SPX, DJI, XLU (0 = at the trio’s mean).
Smoothing — optional light MA on the plotted series (set to 1 for none).
A price-panel Moving Average is drawn with your chosen type/length for visual context.
Colors: SPX = teal, DJI = orange, XLU = purple.
Alerts
Two built-in alert conditions (time-series Z only):
“Z(ts) crosses up +Thr” — any of the three crosses above +Threshold.
“Z(ts) crosses down -Thr” — any crosses below −Threshold.
When enabled, the chart background tints faint green (up cross) or red (down cross) on those bars.
How to use (ideas, not advice)
On weekly charts, a 39-length MA/Z lookback often captures major risk-on/off swings. (Fabian Timing)
Deep negative Z(ts) (e.g., ≤ −2σ or −3σ) frequently accompanies panic and mean-reversion setups.
High positive Z(ts) suggests over-extension; watch for momentum fades.
Cross-sectional Z helps rank leadership today:
Z(xsec) > 0 → stronger than the trio’s mean this bar; Z(xsec) < 0 → weaker.
Utilities (XLU) turning positive x-sec while the others are negative can hint at defensive rotation.
If all 3 are above 0, go long, if below 0 go cash.
Combine: look for extreme Z(ts) aligning with lead/lag Z(xsec) to time entries/exits or hedges.
Inputs (quick reference)
Symbols: SPX / DJI / XLU (editable).
MA type & length: SMA, EMA, RMA, WMA, VWMA, HMA, LSMA, ALMA; default EMA(39).
Z-score lookback (ts): default 39.
Smoothing on plots: default 1 (off).
Z threshold (±): default 2.0 (guide lines & alerts).
BTFD 5 Break-Out indyThe "BTFD 5 Break-Out indy" indicator uses background colors and buy/sell triangles to visually represent trading signals and position status based on its logic. Here's a brief explanation of the logic behind the green/red background and buy/sell triangles:
- **Green/Red Background**:
- **Green Background**: Displayed when the indicator is in a "long" position, meaning a buy signal has been triggered and the position is active. This indicates the market is in a favorable state for holding a long trade, based on conditions like an oversold breakout or strong momentum.
- **Red Background**: Shown when not in a long position, either before entering a trade or after exiting due to a sell signal (e.g., trend reversal, overbought conditions, or stop-loss hit). It signals a neutral or unfavorable state for buying.
- **Buy/Sell Triangles**:
- **Buy Triangles (Green, Below Bar)**: Plotted when a buy signal is triggered, indicating a high-probability entry point. This occurs when the market shows signs of recovery from an oversold state (e.g., a significant upward shift in the smoothed Z-score) or strong momentum (e.g., a rapid change in the rate-of-change metric). The triangle marks the exact bar where the long position is initiated.
- **Sell Triangles (Red, Above Bar)**: Plotted when an exit condition is met, signaling the close of a long position. Exits are triggered by a trend reversal (e.g., a trailing moving average turning bearish), a shift to overbought conditions, or a stop-loss breach. The triangle marks the bar where the position is closed.
In summary, the green background reflects an active long trade, while red indicates no position. Buy triangles signal entry points based on oversold breakouts or momentum, and sell triangles mark exits due to trend changes, reversals, or losses, aligning with institutional dip-buying strategies.
Dynamic Trend Bands (DTB)Description:
Dynamic Trend Bands (DTB) is a volatility-based range filter combined with multiple trend confirmation tools to detect and visualize market direction and possible reversals.
Features:
Range Filter: Identifies potential highs/lows and filters out market noise.
Trend Strength: Integrated ADX to validate trend momentum.
VIDYA Bands + ATR: Detects breakout conditions using variable adaptive moving averages and volatility bands.
EMA 200 Filter: Determines long-term trend direction.
Auto Buy/Sell Labels: Generates clear entry and exit signals.
Alerts: Ready-to-use alert conditions for automated notifications.
Recommended Use:
Timeframe: 4H (works on other timeframes as well)
Markets: BTC, ETH, major altcoins, and traditional assets.
Advantages:
Combines short-term and long-term trend detection.
Filters out false signals in choppy markets.
Visual and alert-based trade setups for easier execution.
//@version=6
// ─────────────────────────────────────────────────────────────────────────────
// Title: Dynamic Trend Bands (DTB) + Auto Buy/Sell + EMA 200 + ADX + VIDYA
//
// Description:
// Dynamic Trend Bands (DTB) is a volatility-based range filter combined with
// multiple trend confirmation tools to detect and visualize market direction
// and possible reversals.
//
// Features:
// - Range Filter: Identifies potential highs/lows and filters out market noise.
// - Trend Strength: Integrated ADX to validate trend momentum.
// - VIDYA Bands + ATR: Detects breakout conditions using variable adaptive moving averages and volatility bands.
// - EMA 200 Filter: Determines long-term trend direction.
// - Auto Buy/Sell Labels: Generates clear entry and exit signals.
// - Alerts: Ready-to-use alert conditions for automated notifications.
//
// Recommended Use:
// - Timeframe: 4H (works on other timeframes as well)
// - Markets: BTC, ETH, major altcoins, and traditional assets.
//
// Advantages:
// - Combines short-term and long-term trend detection.
// - Filters out false signals in choppy markets.
// - Visual and alert-based trade setups for easier execution.
// ───────────────────────────────────────────
BTCUSDT Correlation TableThis indicator calculates and displays the correlation between the current chart’s asset and Bitcoin (BTCUSDT) over a selected period. The correlation is shown as a percentage in a compact table on the chart.
Key features:
Customizable BTC symbol – default is BINANCE:BTCUSDT.
Adjustable correlation period – set the number of bars used for correlation calculation.
Color-coded output:
Green for strong positive correlation (above +80%)
Red for strong negative correlation (below –80%)
Blue for neutral correlation
Use this tool to quickly assess whether your asset is moving in sync with Bitcoin, inversely, or independently.
RSI DJ GUTO 2025RSI do Samuca, tem de trocar as cores, esse e o usado nas lives, tem de trocar as cores pra ficar igual ao do Samuca pois aqui nao consegui trocar as cores.
Samuca's RSI, you have to change the colors, this is the one used in the lives, you have to change the colors to be the same as Samuca's because I couldn't change the colors here.