Son Fiyat, Limitler ve RVOL (Garantili)This script shows you the status/condition of the latest (current) bar and the previous bar.
If your platform/package includes RVOL (Relative Volume) data, it also displays that information
Candlestick analysis
Crypto RSI AdvancedThe Crypto RSI Advanced Indicator: A Multi-Dimensional Market Assessment Tool
This document outlines the unique features, functionality, implementation, and theoretical foundation of the "Crypto RSI Advanced" indicator. It is designed to be far more than a simple oscillator; it is a comprehensive analytical suite that enhances the classic Relative Strength Index (RSI) by incorporating trend-filtered signals, visual context, and real-time market state diagnostics.
Core Originality & Unique Value Proposition
The primary innovation of this script lies in its multi-layered, context-aware approach to momentum analysis. While traditional RSI indicators often generate signals based solely on crossing static levels (like 30/70), leading to false signals in strong trends, this script synthesizes four critical dimensions of information:
Momentum Value: The raw RSI reading.
Momentum Trend: The direction of the RSI itself, determined by its short-term trajectory.
Zone Persistence: Whether the RSI is coming from an overbought/oversold condition, adding conviction to breakouts.
Integrated Signal Confirmation: The use of a smoothed signal line (EMA of RSI) for additional validation.
This synthesis transforms the RSI from a standalone oscillator into a cohesive trading system framework that helps distinguish between potential reversal points and mere pauses within a strong trend.
What It Does & How It Achieves It
The indicator performs several interconnected functions, presented in a single pane below the price chart:
Enhanced RSI & Signal Line Plotting:
It calculates the standard RSI based on a user-defined source and length.
It plots a smoothed Signal Line (an EMA applied to the RSI values), which acts as a dynamic filter. Crosses between the RSI and this signal line can provide earlier or more refined entry clues than static level crosses alone.
Dynamic Visual Context and Alerts:
Colored Background Bands: The plot area is dynamically shaded to visually telegraph the market state at a glance: blue for oversold, orange for overbought, and white for the neutral zone.
Conditional RSI Line Coloring: The RSI line itself changes color based on its zone and position relative to the 50 mid-line, providing instant visual feedback on momentum strength and bias.
Multi-Tiered Signal Detection: The script identifies four distinct signal types:
Buy/Sell Signal: Triggered when the RSI crosses back inside the oversold/overbought band from an extreme. This aims to catch early reversals as momentum exits an extreme state.
Strong Buy/Strong Sell Signal: A higher-conviction signal triggered when the RSI crosses the oversold/overbought level from within the extreme zone. This suggests a more powerful shift in momentum as the market exits a deeply overextended condition.
Integrated Market Intelligence Panel:
A key original feature is the fixed information table in the top-right corner. This panel synthesizes all calculations into a concise, actionable snapshot for the latest bar, including:
Current precise RSI value.
Market State (e.g., Overbought, Bullish Bias, Neutral).
RSI Trend (Rising, Falling, Consolidating), assessing the oscillator's own momentum.
Active Signal Status (e.g., "Strong Buy", "No Signal").
Zone Intensity (e.g., "Extreme Overbought", "Normal").
Clear Level Annotation:
On the final bar, it draws labeled markers at the key levels (Oversold, Mid, Overbought) for a clean and permanent reference on the chart.
How to Use It
Application: This tool is designed for momentum confirmation, divergence spotting, and identifying potential reversal zones within a broader trend context. It is particularly useful for swing traders and position traders looking for higher-probability entry points, rather than for pure, high-frequency scalping.
Usage Guidelines:
Parameter Setup: Adjust the core RSI Length and Signal Length to match the volatility of your asset and trading timeframe. The default (14, 9) offers a balanced approach.
Signal Hierarchy: Prioritize "Strong" signals over regular signals, as they carry the added context of a zone breakout. A "Strong Buy" signal appearing in an overall uptrend on the higher timeframe presents a high-conviction scenario.
Synthesize Information: Do not trade on signals alone. Use the Information Panel for context. For example, a "Buy Signal" occurring while the panel shows "Market State: Oversold" and "RSI Trend: Rising" offers a congruent, multi-factor setup.
Visual Context: Use the colored bands and line colors for quick assessment. A blue (bullish) RSI line forming in the blue (oversold) shaded area provides immediate visual congruence for a potential long setup.
Confirmation: As with any oscillator, use this tool in conjunction with price action analysis (support/resistance, chart patterns) and other non-correlated indicators (e.g., a trend-following indicator like a moving average) to filter trades and avoid whipsaws in ranging markets.
Underlying Computational Philosophy
The script's logic is built upon the principle of "Contextual Momentum Analysis." The core premise is that the absolute value of the RSI is less important than its behavior relative to its recent state and trajectory.
Trend-Filtered Momentum: By analyzing the RSI's own trend (rsi_trend_up/down), the script introduces a crucial filter. A sell signal occurring while the RSI's internal trend is still rising may be less reliable, warning of a potential false signal.
Zone-Based Conviction: The distinction between a regular and a "Strong" signal is philosophically significant. It applies the concept of "impulse from an extreme." A reversal signal that originates from deep inside an extreme zone is considered to have more kinetic energy (conviction) than one that forms near the boundary.
Synthesis Over Isolation: The script deliberately avoids providing a single "answer." Instead, it presents multiple, simultaneous data points (value, trend, zone, signal line interaction, historical state) and presents them together in the information panel. This empowers the trader to make a reasoned decision based on a confluence of factors, mimicking the analytical process of a seasoned chartist.
In essence, this indicator automates and visualizes a sophisticated, multi-step analytical process that a trader would otherwise have to perform manually, thereby enhancing speed, consistency, and depth of market analysis.
My script// @version=6
indicator("ORB-FVG-Sweep Alert", overlay=true)
start = input.session("2300-2330", title="ORB session UTC")
level = input.float(2.0, "Min FVG size ($)")
// ---- ORB box ----
t = time(timeframe.period, start)
inRange = not na(t)
h = ta.valuewhen(inRange, high, 0)
l = ta.valuewhen(inRange, low, 0)
plot(inRange ? h : na, color=color.gray, style=plot.style_linebr)
plot(inRange ? l : na, color=color.gray, style=plot.style_linebr)
// ---- FVG detection (simplified) ----
fvg = (high < low and close < open ) or (low > high and close > open )
plotshape(fvg and math.abs(high -low ) >= level, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.tiny, title="Bull FVG")
plotshape(fvg and math.abs(low -high ) >= level, style=shape.triangledown,location=location.abovebar, color=color.red, size=size.tiny, title="Bear FVG")
// ---- Sweep of ORB high/low ----
sweepHigh = high > h and close < h and high <= h
sweepLow = low < l and close > l and low >= l
plotshape(sweepHigh, style=shape.arrowdown, location=location.abovebar, color=color.maroon, size=size.small, title="Sweep High")
plotshape(sweepLow, style=shape.arrowup, location=location.belowbar, color=color.green, size=size.small, title="Sweep Low")
// ---- Combined alert condition ----
alertcondition(sweepHigh and fvg, title="Short setup", message="ORB sweep+FVG short")
alertcondition(sweepLow and fvg, title="Long setup", message="ORB sweep+FVG long")
FADE GIGA CANDLE STRAT# 🔥 FADE GIGA CANDLE STRATEGY
## Overview
The **Fade Giga Candle Strategy** is a contrarian trading indicator designed to identify extreme price movements (called "Giga Candles") and predict mean reversion opportunities. This strategy is specifically optimized for Polymarket's 15-minute crypto prediction markets (BTC, ETH, SOL, XRP) but can be applied to any timeframe.
**Core Concept:** When price makes an unusually large move with extreme RSI and high volume, it often reverses in the next period. This indicator detects those moments and signals to "fade" (bet against) the move.
---
## 📊 What Does It Do?
### Signal Generation
- **FADE BEARISH (📉)**: Detects massive green candles → Predicts price will go DOWN next
- **FADE BULLISH (📈)**: Detects massive red candles → Predicts price will go UP next
### Real-Time Stats
- Win Rate tracking
- Total Return calculation
- Expected Value (EV) analysis
- Breakeven threshold display (57.14% for 75% win / 100% loss structure)
### Visual Alerts
- Chart labels showing predictions
- Background highlighting on signal candles
- Stats table in top-right corner
- RSI indicator with overbought/oversold zones
---
## ⚙️ How It Works
### 1. Giga Candle Detection
The indicator analyzes the last 500 candles and identifies "Giga Candles" based on:
- **Body Size Percentile** (default 93rd): Only the top 7% largest candles qualify
- **Minimum Body %** (default 0.5%): Filters out noise on small moves
### 2. Confirmation Filters
Before generating a signal, the indicator checks:
**RSI Filter (Optional)**
- RSI must be ≥70 (overbought) OR ≤30 (oversold)
- Indicates price is at an extreme level
**Volume Filter (Optional)**
- Current volume must be ≥1.5x the 20-period average
- Confirms the move has conviction
### 3. Fade Logic
```
IF Giga Green Candle + RSI Extreme + High Volume
→ FADE BEARISH (predict DOWN)
IF Giga Red Candle + RSI Extreme + High Volume
→ FADE BULLISH (predict UP)
```
---
## 🎛️ Settings & Parameters
### Giga Candle Detection
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| **Giga Candle Percentile** | 93.0 | 80-99 | Top X% of candles by body size. 93 = only top 7% qualify as "giga" |
| **Min Body % (Safety)** | 0.5 | 0.1-2.0 | Minimum body size as % of price. Prevents false signals on low volatility |
### RSI Filter
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| **Use RSI Filter** | ON | ON/OFF | Require RSI to be extreme before signaling |
| **RSI Length** | 14 | 5-50 | Period for RSI calculation |
| **RSI Overbought** | 70 | 60-85 | Threshold for overbought condition |
| **RSI Oversold** | 30 | 15-40 | Threshold for oversold condition |
### Volume Filter
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| **Use Volume Filter** | ON | ON/OFF | Require high volume before signaling |
| **Volume SMA Length** | 20 | 10-50 | Period for average volume calculation |
| **Volume Multiplier** | 1.5 | 1.0-3.0 | Current volume must be X times the average |
### Display Options
- **Show Signal Labels**: Display prediction labels on chart
- **Highlight Signal Candles**: Background color on signal bars
- **Show Stats Table**: Performance statistics in top-right
- **Enable Alerts**: Push notifications when signals occur
---
## 🚀 How to Use
### For Polymarket Trading (Recommended)
1. **Set timeframe to 15 minutes** (matches Polymarket market duration)
2. **Apply to BTC, ETH, SOL, or XRP charts**
3. **Wait for signal:**
- 📉 FADE BEARISH → Buy "DOWN" on Polymarket
- 📈 FADE BULLISH → Buy "UP" on Polymarket
4. **Hold until market resolves** (15 minutes)
5. **Track your performance** using the stats table
### For Regular Trading
1. Use on any liquid crypto market
2. When signal appears, consider entering a mean-reversion trade
3. Set stop-loss at 100% of entry (built into expected value calculation)
4. Take profit at 75% gain (matches the 57.14% breakeven math)
### Understanding the Stats Table
**Win Rate**: Your prediction accuracy percentage
- **Target: >57.14%** (breakeven for 75% win / 100% loss structure)
- Green if profitable, red if unprofitable
**Expected Value (EV)**: Average % return per trade
- **Positive EV** = Strategy is profitable long-term
- **Negative EV** = Strategy is losing long-term
- Formula: `(WinRate% × 75) - (LossRate% × 100)`
**Total Return**: Cumulative % gain/loss across all signals
---
## 📈 Interpretation Guide
### Strong Signals
✅ Large giga candle (top 3-5%)
✅ RSI >75 or <25 (very extreme)
✅ Volume >2x average
✅ Signal appears after sustained trend
✅ Win rate >60% in recent trades
### Weak Signals (Consider Skipping)
⚠️ Borderline giga candle (barely above threshold)
⚠️ RSI only slightly extreme (71 or 29)
⚠️ Volume just meets minimum (1.5x)
⚠️ Signal appears during choppy/sideways market
⚠️ Win rate <50% in recent trades
---
## 💡 Pro Tips
### 1. Timeframe Matters
- **15-min**: Best for Polymarket, captures intraday exhaustion
- **1-hour**: Better for swing trading
- **5-min**: Too noisy, not recommended
### 2. Market Context
- Works best in **trending markets** that overextend
- Less effective in **tight ranges** (consolidation)
- Avoid during **low liquidity** hours (weekends, holidays)
### 3. Filter Tuning
**More Aggressive (More Signals)**
- Lower Giga Percentile (90th)
- Disable RSI filter
- Lower volume multiplier (1.2x)
**More Conservative (Fewer, Higher Quality)**
- Raise Giga Percentile (95th)
- Tighter RSI thresholds (75/25)
- Higher volume multiplier (2.0x)
### 4. Bankroll Management
- **Never bet >5% of capital** on a single signal
- Maintain 20+ bet bankroll minimum
- Use Kelly Criterion: `Bet% = (WinRate - LossRate) / 2`
- Example: 60% win rate → Bet ~10% of bankroll
### 5. Track Your Performance
- Monitor the stats table actively
- If win rate drops below 55% for 20+ trades, **stop trading**
- If EV goes negative, **reassess filters or market conditions**
- Keep a trading journal outside the indicator
---
## ⚠️ Risk Disclosure
### Important Warnings
1. **Past performance ≠ future results**: Backtested win rates may not hold in live trading
2. **Market conditions change**: Strategy may stop working if market dynamics shift
3. **Gambler's ruin risk**: Even profitable strategies can lose multiple trades in a row
4. **Polymarket specific**:
- Carries smart contract risk
- Subject to liquidity constraints
- Markets can resolve unexpectedly
5. **Not financial advice**: This is an educational tool, not a recommendation to trade
### Best Practices
- Start with **small position sizes** to test
- Track at least **50 signals** before evaluating performance
- Consider **paper trading** first (simulated trades)
- Never trade with money you can't afford to lose
- Understand the **57.14% breakeven** requirement
---
## 🔧 Troubleshooting
### "No signals appearing"
- Check if filters are too strict (try disabling RSI/Volume filters temporarily)
- Reduce Giga Percentile to 90th
- Ensure sufficient chart history loaded (>500 candles)
### "Too many signals"
- Increase Giga Percentile to 95th
- Enable both RSI and Volume filters
- Raise volume multiplier to 2.0x
### "Win rate seems low"
- Check if you're trading during low liquidity periods
- Verify you're using 15-min timeframe for Polymarket
- Consider market is in tight consolidation (strategy works best in trends)
---
## 📚 Technical Details
### Calculations
- **Body Size**: `|close - open|`
- **Body %**: `(bodySize / open) × 100`
- **Giga Threshold**: `percentile_nearest_rank(last 500 candles, 93rd)`
- **RSI**: Standard 14-period RSI
- **Volume Ratio**: `current_volume / SMA(volume, 20)`
### Performance Tracking
- Checks if previous signal was correct after 1 bar
- Win = +75% to total return
- Loss = -100% to total return
- Win Rate = `(correct_predictions / total_signals) × 100`
---
## 🎯 Ideal Use Cases
### ✅ Perfect For:
- Polymarket 15-minute crypto prediction markets
- Mean-reversion trading on liquid crypto pairs
- Contrarian traders who fade extremes
- Systematic traders who follow rules-based signals
### ❌ Not Ideal For:
- Trend-following strategies (this is contrarian)
- Low volatility assets (needs large moves)
- Illiquid markets (won't have "giga" candles)
- Sub-5-minute scalping (too much noise)
---
## 📞 Support & Updates
**Version**: 6.0
**Last Updated**: January 2025
**Compatible With**: TradingView Pine Script v6
### Feedback Welcome
If you find this indicator useful or have suggestions for improvement, please:
- ⭐ Leave a rating
- 💬 Comment with your results
- 🚀 Share your settings for different markets
**Good luck, and trade responsibly!** 🎯
---
## Quick Start Checklist
- Set timeframe to 15 minutes
- Load BTC, ETH, SOL, or XRP chart
- Verify stats table shows in top-right
- Enable alerts for signal notifications
- Start with paper trading to validate
- Track at least 20 signals before going live
- Never bet more than 5% of bankroll per trade
- Monitor win rate and stop if <55%
**Remember: The goal is >57.14% win rate for profitability!**
Optimal Day Trading System🚥 How to Trade with ODTS
The indicator provides visual cues on the chart (triangles) and a real-time Status Table to help you make decisions.
Signal Definitions
Buy Signal (Green Triangle): Price is above the Sunya line and the Primary Cycle is trending up.
Strong Buy (Lime Triangle): All criteria are met, plus the Secondary Cycle has also turned bullish. This indicates "confluence".
Sell Signal (Red Triangle): Price is below the Sunya line and the Primary Cycle is trending down.
Strong Sell (Maroon Triangle): Both Primary and Secondary cycles are aligned with a price break below the Sunya line.
Real-Time Status Table
Located at the top right, this table gives you an instant "health check" of the current asset:
Price > Sunya: Confirms if the current price is above or below the FLD.
Cycle Dir: Shows the slope of the primary trend.
Position: Tells you if price is "Inside" the envelope (ranging) or "Above/Below" (overextended).
📈 Best Practices
Confluence is Key: The strongest trades occur when the Signal column in the table shows "STRONG BUY" or "STRONG SELL," meaning multiple cycles are in agreement.
Envelope Extremes: If the Status Table shows the Position as "ABOVE" or "BELOW" the envelope, be cautious about entering new trades, as the price may be overextended and due for a reversion to the Basis (mean).
Timeframe Synergy: Use the 15-minute timeframe for swing trade entries and the 1-minute or 5-minute for precise day trading executions.
[uxo] Delta Heatmap - Open Sourcedtheres genuinely no reason that a delta heatmap should be closed source
MA4 Alignment with Forward ProjectionThis indicator is a moving-average alignment and projection overlay built on a simple core idea:
MA4 (a 4-period moving average) represents the current short-term mean of price.
MA4 is the prior value of that same moving average, used as a 1-bar delayed reference.
From those two series, the script provides four layers of information:
Live alignment (MA4 vs MA4 )
A forward projection of a sampled historical MA pattern
Projected cross markers (vertical lines) when the projected MA4 would cross projected MA4
A compact table summarizing current alignment and the most recent live cross event
This is designed to help traders visualize:
whether short-term mean behavior is strengthening or weakening, and
where a future cross could plausibly occur if a selected historical pattern repeats.
This script is informational only and does not place trades.
Chart Setup Note (Important)
Because this tool samples a historical pattern window and projects it forward, it is important to let the chart fully load/merge historical data before interpreting the projection.
If the chart history is not fully loaded, the sampled window may be incomplete, which can shift the projection and projected cross markers.
Once the chart is fully merged, the projection remains stable and consistent during scrolling and replay.
What Makes It Different
This is not a basic “MA crossover” indicator. The core differentiator is:
The script extracts a historical MA4 pattern from a user-defined window,
shifts it forward into the future, and
marks projected future crosses between the projected MA4 and projected MA4 .
It also builds projected deviation envelopes from the sampled window and uses those envelopes for optional stretch/invalidation alerts.
How the Projection Works (Concept)
1) Sample a historical MA “pattern window”
You define a window in the past using:
Pattern Start (bars back)
Pattern End (bars back)
The script collects MA4 values across that window into an internal pattern array.
2) Shift the pattern forward
Shift Pattern Forward (bars) controls how far into the future the sampled pattern is plotted.
3) Delta-anchor projection (optional)
If Delta-anchor projection is enabled, the script projects the shape of the pattern while re-centering it around the current MA4 level.
This keeps the projection visually relevant to current price scale instead of “pasting” old absolute values.
Projected Cross Vertical Lines
When projection is enabled, the script checks for projected cross events:
Bull projected cross: projected MA4 rises through projected MA4
Bear projected cross: projected MA4 falls through projected MA4
When a projected cross occurs, a vertical line marks that projected bar as a possible timing point.
Vertical line visibility is made more consistent by using a deviation-based height (with ATR fallback) so the marker remains readable across different symbols and volatility regimes.
Projected Deviation Envelopes + Alerts (Band 3 / Band 4)
The script measures historical deviation from MA4 within the sampled window using the standard deviation of:
(close − MA4)
That deviation is then applied to the projected MA4 path to form projected envelopes:
Band 3 (Stretch): ±(StDev × 1.618 by default)
Band 4 (Invalidation): ±(StDev × 2.618 by default)
Optional alerts can trigger when price breaches these projected envelopes:
Band 3 Breach: price stretched outside the projected range
Band 4 Breach: price exceeded the larger projected boundary (often treated as invalidation context)
Alerts can be set to use wicks or close.
Table: What It Shows
The table summarizes the current state at a glance:
MA4 value
MA4 value
Alignment: Bullish / Bearish / Neutral
Most recent live cross event:
BUY (MA4 crossed above MA4 )
SELL (MA4 crossed below MA4 )
This helps confirm what you’re seeing without relying on visual estimation.
How to Use It (Simple Workflow)
Read live alignment
MA4 above MA4 = bullish bias
MA4 below MA4 = bearish bias
Enable projection for timing awareness
Turn on Projection
Watch projected cross VLines as “possible next inflection timing” markers
Use Band 3 / Band 4 as context
Band 3 breach can indicate stretch vs the projected path
Band 4 breach can indicate the projected path is less reliable (invalidation context)
Use the table for quick confirmation
It summarizes alignment and the latest live cross state.
DOL EngineEMA FILTERED
WAVE BASED
these highs / lows can be seen or used in sweeps, turtle soups & inducements.
have high probability of equals being formed in these areas
Historical Price LevelsHistorical Price Levels is a lightweight indicator that visualizes key price extremes over multiple recent time windows.
The indicator automatically calculates and displays the highest high and lowest low for the following periods:
• Last 1 Day
• Last 7 Days
• Last 15 Days
• Last 30 Days
Core Purpose
• Quickly identify recent support and resistance zones
• Provide objective historical context without subjective drawing
• Help traders assess range expansion, compression, and breakout potential
STRAT + Timeframe Continuity + 50% RuleTheSTRAT is a multi-timeframe strategy that focuses on three primary components: Inside Bars, Directional Bars, and Outside Bars. The approach also emphasizes several key principles, including Full Time Frame Continuity, Broadening Formations, and the significance of Inside Bars.
Neeson Vegas ChannelVegas Channel Indicator: A Comprehensive Multi-Timeframe Trend-Following System
Originality and Conceptual Foundation
This script implements an enhanced version of the classic "Vegas Tunnel" or "Vegas Channel" methodology, popularized by traders who follow the work associated with the "Vegas" technique. Its primary original contribution lies in its specific, rule-based multi-layered trend identification and visualization system. While the core uses well-known Exponential Moving Averages (EMAs), the originality is in the precise combination of periods and the strict, hierarchical logic for defining trend states and generating signals.
Unlike simpler moving average crossovers or single-tunnel systems, this script employs three distinct EMA pairs, each serving a unique purpose within the trend hierarchy:
Short-Term Momentum Pair (EMA 12 & 24): Acts as the primary signal trigger and momentum gauge.
Core Trend Tunnel (EMA 144 & 169): Serves as the central "channel" or "tunnel." A key visual and logical component is the shading between these two lines, which thickens and changes color with the trend, creating a dynamic channel.
Long-Term Foundation Pair (EMA 580 & 670): Represents the underlying, slower-moving trend foundation, providing context for the higher-timeframe bias.
The system's true innovation is its binary and exclusive trend definition logic. It does not rely on a single crossover. Instead, it defines a confirmed Uptrend only when both the short-term EMAs (12 and 24) are established above both lines of the core tunnel (144 and 169). Conversely, a Downtrend is confirmed only when both short-term EMAs are established below both core tunnel lines. This creates a high-confidence filter, reducing whipsaw signals that can occur when price oscillates around a single moving average.
Functionality, Implementation, and Usage
What It Does:
This indicator is a multi-timeframe trend identification and signal-generation tool. It visually condenses trend information from short, medium, and long-term perspectives onto a single chart. Its primary functions are:
Trend State Classification: It dynamically classifies the market into one of three states: Bull Trend (Blue), Bear Trend (Orange), or Sideways/Congestion (Gray). This is reflected in the chart's background color, the color of all EMA lines, and the fill of the central 144/169 channel.
Signal Generation: It plots discrete buy and sell arrows. A Buy Signal (blue upward triangle) appears the first bar the market transitions into the defined "Uptrend" state from a non-uptrend state. A Sell Signal (orange downward triangle) appears the first bar the market transitions into the defined "Downtrend" state.
Visual Structuring: It plots all six EMAs and prominently highlights the interaction zone between the 144 and 169 EMAs with a colored fill, making the "tunnel" a focal point for support/resistance and trend quality assessment.
How It's Implemented:
The logic is implemented through a clear sequence of conditional checks:
Calculation: All six EMAs are calculated based on user-definable periods (defaults as listed).
Trend Logic: The script continuously evaluates the position of EMA12 and EMA24 relative to EMA144 and EMA169 using strict AND conditions to define the uptrend and downtrend Boolean variables.
Signal Logic: A signal (buy or sell) is generated only on the change of the trend state. It uses a check of the form current_trend_state AND (NOT previous_bar_trend_state) to pinpoint the exact bar of transition.
Visual Feedback: All plot colors, the channel fill color, and the background color are unified and determined by the current trend state variable. Labels for the trend and each EMA line are drawn on the last bar for clarity.
How to Use It:
Traders employ this indicator primarily for trend-following and breakout confirmation. It is suited for swing trading or higher-timeframe positional trades rather than scalping, due to the lag inherent in its longer EMAs and its focus on confirmed states.
Trend Bias: The overall color scheme (blue/orange/gray background) provides an immediate, at-a-glance assessment of the dominant trend force. Trading in the direction of the colored background is considered aligned with the system's trend.
Signal Entry: The arrow signals are not meant for blind entry. They mark the point of a confirmed trend state transition.
A Buy Signal suggests the short-term momentum (12,24) has decisively broken above and established itself over the medium-term trend framework (144,169). This could be used as a trigger for long entries, preferably with the long-term EMAs (580,670) sloping upwards or flat, adding confluence.
A Sell Signal suggests the opposite breakdown.
Channel as Dynamic S/R: The filled area between EMA144 and EMA169 acts as a dynamic support zone in an uptrend and a resistance zone in a downtrend. Pullbacks into this "tunnel" that hold without triggering a sell signal (i.e., without both EMA12 & 24 closing back below both tunnel lines) can be viewed as potential continuation opportunities.
Filter for Other Systems: The clear trend state (uptrend/downtrend) can be exported or used as a filter for other trading systems or discretionary decisions, ensuring actions are only taken in the direction of the script's defined trend.
Core Computational Philosophy and Strategic Rationale
The script's logic is rooted in the philosophy of trend hierarchy and confirmation. It belongs to the category of Multi-Moving Average Convergence/Divergence Systems with State-Based Rules.
The 144/169 Tunnel: These numbers are derived from Fibonacci sequences (144, 169 is 12^2 and 13^2). They are believed by proponents to represent a natural rhythm or "heartbeat" of the market, defining a robust intermediate-term trend framework.
The 12/24 Pair: A standard fast-moving average pair commonly used to gauge short-term momentum and trigger entries.
The Strategic Innovation (Dual-Condition Crossover): The core idea is that a crossover of a single fast MA above a single slow MA can be false and noisy. By requiring both members of a fast pair to establish position relative to both members of a slower "tunnel" pair, the system demands a broader, more concerted move. This seeks to filter out weak, unsustainable breaks and only capture shifts in momentum strong enough to flip the entire short-term structure's position relative to the medium-term structure.
The 580/670 Pair: These very slow EMAs represent the "secular" trend. While not part of the direct signal logic, they provide critical context. A buy signal that occurs while price is above the 580/670 pair (which would be sloping up in a healthy bull market) carries more weight than one that occurs while price is below this long-term foundation, which might indicate a counter-trend rally.
In essence, this script is more than just moving averages on a chart. It is a systematic, rule-based framework for identifying when the market's short-term energy (12,24) has converged sufficiently to overcome and reposition itself against its medium-term equilibrium (144/169 tunnel), thereby signaling a high-probability phase change in trend, all while considering the backdrop of a long-term trend (580/670).
Multi-Timeframe Inside Bar Breakout (4-Symbol Simultaneous)Multi-Timeframe Inside Bar Breakout (4-Symbol Simultaneous)
Overview
Monitors 4 symbols across 4 timeframes simultaneously, displaying labeled alerts when all 4 symbols break out from inside bar compression on any tracked timeframe. See 15-minute, 30-minute, 60-minute, and daily breakouts all on one chart — complete multi-timeframe compression analysis.
When all 4 symbols compress into inside bars and then ALL break the same direction, you get clear directional confirmation across different timeframes. Perfect for Rob Smith's "The Strat" methodology and traders who use multi-timeframe analysis for entry confirmation.
🎯 Why This Matters
Multi-timeframe breakout confluence = stronger signals.
When SPY, QQQ, IWM, and DIA simultaneously:
✅ Compress into inside bars (bar )
✅ ALL break same direction (bar )
✅ Across multiple timeframes
You get layered confirmation — not just one timeframe saying "go," but multiple timeframes agreeing on direction.
Example: 15m breakout + 60m breakout + Daily breakout = alignment across timeframes.
✅ Key Features
✅ 4 Timeframes Tracked — Monitor 15m, 30m, 60m, Daily (fully customizable)
✅ 4 Symbols Per Timeframe — All must break together for signal
✅ Staggered Labels — Each timeframe displays at different distance (no overlap)
✅ Adaptive Positioning — Works on futures, stocks, forex, crypto
✅ Customizable Colors — Bullish/bearish colors with opacity control
✅ Alert-Ready — 8 alert conditions (bull/bear per timeframe)
✅ Works on Any Chart — See higher timeframe signals on lower timeframe charts
📊 How It Works
Inside Bar Check (Bar ):
All 4 symbols had inside bars (high < prior high AND low > prior low)
Breakout Check (Bar ):
Bullish: All 4 close > prior high
Bearish: All 4 close < prior low
Label Display:
📈IBSB 15 = Bullish breakout on 15-minute timeframe
📉IBSB D = Bearish breakout on daily timeframe
Each timeframe operates independently — you might see multiple timeframe labels on the same bar when breakouts align.
⚙️ Settings Guide
Symbols (Default: SPY, QQQ, IWM, DIA)
Customize to any 4 symbols
Popular: ES/NQ/YM/RTY (futures), XLF/XLK/XLE/XLV (sectors)
Timeframes (Default: 15, 30, 60, D)
Set any 4 timeframes to monitor
Examples: 5/15/60/240 (intraday stack), 60/D/W/M (swing stack)
Display Options:
Bullish/Bearish colors + opacity control
Label distance (% of bar range)
Stagger spacing (prevents overlap)
Max labels per timeframe (default: 25)
Debug Mode:
Shows which symbols are inside/breaking per timeframe
Useful for troubleshooting
🔔 Setting Up Alerts
Create alerts for any combination:
"IBSB Bull - TF1" (first timeframe bullish)
"IBSB Bear - TF4" (fourth timeframe bearish)
Set to "Once Per Bar Close" for confirmed signals
💡 Example Trading Approach
Note: Educational example, not trading advice.
Watch for compression across symbols on higher timeframes
IBSB label appears → all 4 broke same direction
Multiple timeframe labels = stronger confluence
Enter with your strategy using proper risk management
Example: Daily IBSB bullish + 60m IBSB bullish = aligned timeframes for potential long entry.
🎯 Why Multi-Timeframe Matters
Single timeframe breakout = one piece of data.
Multi-timeframe breakout = confirmation across time horizons.
When 15m, 60m, and Daily all show simultaneous 4-symbol breakouts → market structure aligning across timeframes.
🔧 Technical Details
✅ PineScript v6 (latest)
✅ Adaptive label positioning (scales with price)
✅ Smart staggering (prevents label overlap)
✅ Label management (max 500 total across timeframes)
✅ NA-safe logic (handles missing data)
✅ Works across all chart timeframes
⚠️ Important Disclaimers
Not financial advice: Educational and informational purposes only
No performance guarantees: Past breakouts don't predict future results
Risk management essential: Always use proper position sizing
Test before trading: Backtest and paper trade first
⚡ Quick Start
Add indicator to chart
Set symbols (default: SPY/QQQ/IWM/DIA)
Set 4 timeframes (default: 15/30/60/D)
Customize colors if desired
Create alerts (optional)
Watch for 📈IBSB or 📉IBSB labels with timeframe designation
📞 Support
Follow for updates and new indicators.
Questions? Leave a comment below — I respond to all feedback.
💬 Final Thoughts
Multi-timeframe compression breakouts with 4-symbol confirmation. Instead of monitoring dozens of charts manually, see all your timeframe breakouts in one place. When multiple timeframes align with simultaneous 4-symbol breakouts, you get clearer directional signals.
Use as one component of your analysis, combine with your risk management, and always trade with discipline.
Happy trading! 📈
Free and open-source for personal use. If you find this valuable:
👍 Like | 📝 Review | 🔔 Follow
Hammer Alert by Marcos TavaresIndicador que sinaliza quando uma vela martelo fecha próximo das médias móveis de 20 e 200
XAUSNIPERThis is for all subscribers
1. Use color candles
2. Use mitigation
3. Use lux algo structure shifts
Multi-Symbol Inside Bar Detector (4-Symbol Compression)Multi-Symbol Inside Bar Detector (4-Symbol Compression)
Overview
Detects simultaneous inside bars across 4 symbols in real-time — a signal of market-wide compression that may precede directional moves. When all 4 symbols are "inside" (trading within the prior bar's range), the market is consolidating.
Monitor SPY, QQQ, DIA, IWM (or any 4 symbols you choose) on a single timeframe. No more chart hopping. Designed for Rob Smith's "The Strat" methodology and price action traders who trade compression setups.
🎯 Why This Matters
Inside bars indicate compression and consolidation.
When all 4 major ETFs simultaneously compress into inside bars:
Market is consolidating within a range
Volatility is contracting (not expanding)
A directional move may follow (direction unknown)
This is NOT a directional signal — it's a consolidation detector. You determine direction based on your analysis. This indicator identifies WHEN compression exists across multiple symbols.
✅ Key Features
✅ 4-Symbol Monitoring — Track 4 symbols simultaneously on one timeframe
✅ Visual Alerts — Bar coloring + optional "4-Inside" labels
✅ TradingView Alerts — Get notified when all 4 go inside simultaneously
✅ Live vs Confirmed Mode — Toggle between real-time (repaints) or bar-close confirmation (no repaint)
✅ Customizable — Any 4 symbols, any timeframe, custom colors
✅ Debug Table — See which symbols are inside (troubleshooting)
📊 How It Works
Inside Bar Definition (Rob Smith Standards)
An inside bar forms when:
High < Prior High AND
Low > Prior Low
Current bar trades entirely within prior bar's range.
Technical Implementation
pinescriptisInside(h, l, ph, pl) =>
na(h) or na(l) or na(ph) or na(pl) ? false : (h < ph and l > pl)
NA-safe: Handles missing data gracefully
Strict comparison: Uses < and > (not <= or >=)
Rob Smith compliant: Tick-perfect inside bar detection per Strat methodology
4-Symbol Requirement
Signal fires when ALL 4 symbols are inside bars simultaneously. If only 3 are inside → no signal. All 4 must compress together.
⚙️ Settings Guide
Symbols
Default: SPY, QQQ, DIA, IWM (broad market coverage)
Customize: Click to change to ANY 4 symbols
Popular Combinations:
Futures: ES, NQ, YM, RTY
Sectors: XLF, XLK, XLE, XLV
Mega Caps: AAPL, MSFT, GOOGL, AMZN
Timeframe
Default: 60 (1-hour bars)
What it does: Applies SAME timeframe to all 4 symbols
Examples: 5 (5min), 15 (15min), D (Daily)
Live Intrabar Mode
ON (default): Shows forming bars in real-time (repaints until close)
OFF: Waits for bar close (no repaint, confirmed only)
Use ON for: Live monitoring, intraday setups
Use OFF for: Alerts, backtesting, confirmed signals
Display Options
Show Labels: Toggle "4-Inside" labels on/off
Inside Bar Color: Default yellow (customize)
Show Debug Table: See per-symbol status (for troubleshooting)
🔔 Setting Up Alerts
Right-click chart → "Add Alert"
Condition: Select this indicator
Frequency: "Once Per Bar Close" (recommended for confirmed mode)
Alert fires when all 4 symbols go inside simultaneously (edge detection, not every bar)
💡 Example Trading Approaches
Note: These are educational examples, not trading advice. Past compression patterns do not guarantee future directional moves.
Approach 1: Higher TF Compression → Lower TF Trigger
1H chart: 4-symbol inside bar forms (compression)
15m chart: Monitor for directional break
Await confirmation with your analysis before entry
Approach 2: Daily Compression → Intraday Entries
Daily chart: All 4 compress (consolidation)
1H chart: Monitor for range expansion
Use your directional bias to determine position
Approach 3: Sector Analysis
Use sector ETFs (XLF, XLK, XLE, XLV)
When all 4 compress → observe which breaks first
Analyze sector strength/weakness patterns
🎯 Why 4 Symbols?
Market coverage: When SPY, QQQ, DIA, and IWM all compress together, it indicates broad market consolidation across multiple market-cap segments.
SPY: S&P 500 (large caps)
QQQ: Nasdaq 100 (tech)
DIA: Dow 30 (blue chips)
IWM: Russell 2000 (small caps)
Using 4 major indices helps filter noise from single-symbol compression.
⚡ Quick Start
Add indicator to chart
Choose symbols (default: SPY/QQQ/DIA/IWM)
Set timeframe (default: 60min)
Toggle live mode (ON for real-time, OFF for confirmed)
Create alert (optional)
Yellow bars = all 4 inside
Use with your directional analysis
🔒 Technical Details
Code Quality
✅ PineScript v6 (latest)
✅ NA-safe logic (handles missing data)
✅ Rob Smith Strat standards (strict tick tolerance)
✅ No repainting (in confirmed mode)
✅ Efficient performance (max_bars_back=2)
✅ Open-source (educational transparency)
Repainting Behavior
Live Mode (ON): Repaints until bar closes (shows forming bars)
Confirmed Mode (OFF): No repaint, waits for bar close
Alert recommendation: Use Confirmed Mode to avoid false alerts
📞 Support
Follow me on TradingView for updates and new indicators.
Questions? Leave a comment below. I respond to all feedback.
⚠️ Important Disclaimers
Not financial advice: This indicator is for educational purposes and market analysis
No performance guarantees: Past patterns do not predict future results
Directional bias required: Inside bars indicate consolidation, not direction
Risk management essential: Always use proper position sizing and stops
Test before trading: Backtest on historical data and paper trade first
💬 Final Thoughts
Compression often precedes expansion, but direction remains uncertain. When multiple major indices compress simultaneously, it indicates market-wide consolidation. This indicator helps identify those moments across 4 symbols — no more chart hopping, easier pattern recognition.
Use it as one component of your analysis, combine with your directional methodology, and always manage risk appropriately.
Happy trading! 📈
Free and open-source for personal use. If you find this valuable:
👍 Like | 📝 Review | 🔔 Follow
Multi-Session H/L - Sweep & Grab v5# Multi-Session High/Low Levels with Liquidity Sweep & Grab Detection
## Overview
This indicator automatically identifies and plots the High and Low levels of key trading sessions (Asia, London, New York AM, New York PM) and Previous Day levels. It features advanced **Liquidity Sweep** and **Liquidity Grab** detection based on ICT/SMC methodology.
## Key Features
### 📊 Multi-Session Tracking
- **Asia Session** - Captures the Asian trading range
- **London Session** - Tracks the London open volatility
- **New York AM Session** - Monitors the NY morning session
- **New York PM Session** - Follows the afternoon price action
- **Previous Day High/Low** - Key daily reference levels
### 💧 Liquidity Detection (ICT/SMC Concepts)
**Liquidity Grab:**
- Detected when price **wicks through** a level but **closes back** inside
- Single candle event with rejection
- Often signals a potential reversal
- Label shows: `"Session H/L (Grab)"`
**Liquidity Sweep:**
- Detected when price **closes beyond** the level
- Indicates liquidity has been fully taken
- Label shows: `"Session H/L (Swept)"`
### 🎯 Visual Features
- Lines automatically **stop at the candle** where liquidity was grabbed or swept
- Different line styles for Active / Grabbed / Swept levels
- Customizable colors for each session
- Optional session background highlighting
- Information table showing all levels and their status
### ⚙️ Customization Options
- Adjustable session times for any timezone (GMT+0 to GMT+5)
- Calculation timeframe selection
- Line width and style settings
- Label size options
- Toggle each session on/off
- "Stop Line on Grab" option
### 🔔 Alerts
- Separate alerts for **Liquidity Grab** events
- Separate alerts for **Liquidity Sweep** events
- Available for all sessions and Previous Day levels
## How to Use
1. **Identify Key Levels:** The indicator automatically marks session highs and lows
2. **Watch for Liquidity Events:** Monitor when price approaches these levels
3. **Grab = Potential Reversal:** A liquidity grab (wick rejection) often signals smart money has collected orders and price may reverse
4. **Sweep = Liquidity Taken:** A sweep (close beyond level) confirms the liquidity pool has been cleared
5. **Plan Your Trades:** Use these levels in confluence with other SMC concepts like Fair Value Gaps (FVG) and Order Blocks (OB)
## Status Colors in Table
- 🟢 **Green (Active)** - Level has not been touched
- 🟠 **Orange (Grab)** - Wick touched the level, potential reversal zone
- 🔴 **Red (Swept)** - Close beyond level, liquidity fully taken
## Settings Explained
| Setting | Description |
|---------|-------------|
| Calculation Timeframe | Timeframe used for session calculations |
| Timezone | Your broker's timezone (GMT+0 to GMT+5) |
| Extend Lines | Extend active lines into the future |
| Stop Line on Grab | If enabled, lines stop when grabbed (not just swept) |
| Swept/Grab Line Style | Visual differentiation for liquidity events |
## Notes
- Works on all markets (Forex, Crypto, Stocks, Indices, Commodities)
- Best used on timeframes from 1min to 1H
- Session times are fully customizable to match your time zone
- The indicator respects the ICT/SMC definition where a **Grab** is a single-candle wick rejection and a **Sweep** involves price closing beyond the level
Aggressive Growth Strategyagressive growth strategy for day trading sample script testing purpose only. do not copy this strategy
Options X-Level Lock Tracker (Weekly Fri PM)What this indicator is
Options X Lock Tracker is a weekly trade‑management dashboard for defined‑risk premium selling where the “trade thesis” is primarily about finishing on the correct side of a single level (X) by expiration. In this framework, X is the short strike (the “line”) you sell, and the goal is to remain on the correct side of X through settlement.
This script helps you:
Compute candidate PUT X and/or CALL X levels using a volatility‑based model,
Lock those X levels on specific weekdays (Mon/Tue/Wed),
Track touches/breaches during the week, and
Evaluate win/loss at weekly settlement.
Core features
1) X‑Level computation (PUT and/or CALL)
Can compute PUT X, CALL X, or both.
Can use a target delta approach or a 1‑sigma move approach.
Volatility input can be HV (log returns) or ATR, with configurable lookback lengths and caps/floors.
2) Expiry / settlement controls
Settlement is aligned to next Friday with a configurable timezone + settle hour/minute (e.g., Fri 16:00 New York).
3) Strike rounding + optional “snap”
Rounds strikes to your chosen strike increment (e.g., 5‑point spacing for index products).
Optional “snap” can align X to nearby prior daily/weekly key levels (H/L/C/Mid) rather than purely model output.
4) Locking workflow (Mon / Tue / Wed)
You can enable locking on Monday, Tuesday, and/or Wednesday.
Locks occur on the daily close (confirmed bar), and once locked, the level is held for the week.
5) Visual plotting
Plots the locked X levels as horizontal lines extended to the right:
PUT lines are solid, CALL lines are dashed, and
Lines are color‑coded by lock day (Mon/Tue/Wed).
6) Touch/Breach tracking
Tracks whether price touched/breached the locked X during the week (after the lock moment).
7) Friday settlement result (win/loss)
On Friday’s confirmed close, evaluates results:
Short PUT considered a win if settle > put strike
Short CALL considered a win if settle < call strike
8) Table dashboard (weekly “control panel”)
The table is meant to be your weekly at‑a‑glance tracker. For each lock day and each side it can show:
Locked strike (X),
“Now” distance from price,
Touch status,
Settle status (once Friday passes),
W% = a real‑time probability estimate (normal approximation).
Important: W% is a real‑time probability estimate, not a historical win‑rate backtest.
9) RSI context + RSI alerts
Optional RSI context in the table and RSI‑based bias framing.
Includes alert conditions for RSI crossing above/below 50 (useful for regime shifts).
Recommended chart setup / best practices
This tracker is intentionally built around daily locking, and is designed for 1D charts where the lock event is the daily close.
Make sure your settlement timezone/time matches the product you’re trading (and your intended settlement convention).
If you trade instruments with different strike spacing, update Strike increment accordingly.
Limitations / notes
Probability outputs (W%) are model estimates and can diverge from real option pricing (skew, kurtosis, jumps, event risk, liquidity, etc.).
This is a decision support / tracking tool. It is not an automated execution system, and it does not include slippage/fees in outcomes.
Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice. Options involve substantial risk and are not suitable for all traders. Always use defined risk controls and trade within your plan.
Futures Trend SignalerWhat this indicator is
Futures Trend Signaler is a compact trend/bias dashboard built for futures (and any liquid symbol) that combines:
EMA trend alignment (EMA9 vs EMA21), and
Micro price positioning versus a higher‑timeframe EMA (e.g., 15s and 1s price relative to the 1m EMA9),
plus crossover markers on the chart to timestamp regime shifts.
It’s designed to answer, in seconds:
“Is the market in a bullish or bearish EMA structure?”
“Are the lower timeframes aligned with the higher timeframe?”
“When was the most recent bull/bear crossover?”
What it shows (table)
The table includes:
1m EMA9 vs EMA21
State: EMA9 > EMA21 / EMA9 < EMA21 / neutral
Bias: Bullish / Bearish / Neutral
“Last cross” context (so you know what the most recent regime shift was)
15s EMA9 vs EMA21
Same state/bias logic as the 1m row
1s EMA9 vs EMA21
Same state/bias logic as the 1m row
15s Price vs 1m EMA9
Shows whether micro price is above or below the 1m EMA9
1s Price vs 1m EMA9
Same, but even more “micro”
This structure gives you a quick “stacked timeframe” view:
1m EMA structure = your baseline regime,
15s/1s EMA structure = your momentum alignment,
15s/1s price vs 1m EMA9 = your immediate pressure/positioning vs the baseline.
What it plots (crossover markers)
For each EMA crossover set (1m, 15s, 1s), the script plots:
Bull cross marker (arrow up)
Bear cross marker (arrow down)
To keep the chart clean:
It keeps only the most recent bull cross and most recent bear cross per tracked timeframe.
When a new bull/bear cross happens, the prior marker of that same type/timeframe is removed.
Markers are differentiated by:
Color and/or a mini label on the marker (e.g., “1m”, “15s”, “1s”), so you can instantly tell which timeframe produced the signal.
Inputs / customization
Typical controls include:
Show/hide table
Table position + text size
Lower‑timeframe selections (so you can change 15s/1s if your symbol or plan doesn’t support seconds data)
Optional marker sizing / visibility settings (if you decide to expose them)
Recommended usage
Use the 1m EMA9/EMA21 as your baseline bias filter.
Use 15s & 1s EMA alignment to confirm momentum is in agreement before entries.
Use 15s/1s price vs 1m EMA9 as a quick “pressure” check (continuation vs mean‑reversion risk).
Use the most recent crossover markers to avoid trading into a fresh regime change without confirmation.
Limitations / notes
Seconds‑based signals require seconds data availability for your symbol/account. If not supported, switch those inputs to a higher LTF (e.g., 1m / 5m).
Because the indicator uses multi‑timeframe data, responsiveness can depend on your current chart timeframe and how often TradingView updates each series.
Disclaimer
This indicator is for educational/informational purposes only and does not constitute trading or investment advice. Futures trading involves substantial risk and can result in significant losses. Always manage risk and follow your plan.
Custom Timeframe Candles [Metrify]This script lets you build custom timeframe candles (like 7m, 11m, 2h, 3D, etc.) by manually aggregating price data from a lower chart timeframe.
While it doesn’t fully replace TradingView’s native custom TF — especially in terms of perfect timestamp alignment, it gives you a very close (same calculation) and practical alternative for analysis.
How it works
Candles are manually aggregated from the current chart timeframe
Instead of relying on request.security(), candles are constructed directly from the current chart data.
For best results, use a chart timeframe that is divisible and as close as possible to your custom timeframe
Example: Custom TF = 10m → use 5m chart (1m chart also works, but the gap will be larger and less efficient)
Smaller gaps = cleaner candles, better visual accuracy, and smoother updates
SPY 5m Scalper + Auto Exit 3PM ET5m chart scalper for Spy/QQQ. It uses the 9,21,50 ema and the vwap to time puts and calls while trading options, you can also use it on other stocks.
PERRY the close of the 8:30 candle with give you the highs and lows of the wicks all the way across your chart and will clear automatically the next day






















