Dkoderweb repainting issue fix indicator# Harmonic Pattern Trading Indicator for TradingView
This indicator, called "Dkoderweb repainting issue fix indicator," is designed to identify and trade harmonic chart patterns in financial markets. It uses Fibonacci relationships between price points to detect various patterns like Bat, Butterfly, Gartley, Crab, Shark, and others.
## Key Features:
- **Pattern Recognition**: Automatically identifies over a dozen harmonic patterns including standard and anti-patterns
- **Customizable Settings**: Options to use Heikin Ashi candles and alternate timeframes
- **Fibonacci Levels**: Configurable display of key Fibonacci retracement levels
- **Entry and Exit Signals**: Clear buy/sell signals with visual triangles above/below bars
- **Trade Management**: Automatic take-profit and stop-loss levels based on Fibonacci relationships
- **Visual Aids**: Color-coded backgrounds to highlight active trade zones
- **Alert System**: Customizable alert messages for trade entries and exits
## How It Works:
The indicator uses a zigzag function to identify significant price pivots, then analyzes the relationships between these pivots to detect specific harmonic patterns. When a valid pattern forms and price reaches the entry zone (defined by a Fibonacci level), the indicator generates a trade signal.
Each pattern has specific Fibonacci ratio requirements between its points, and the indicator continuously scans for these relationships. Trade management is handled automatically with predefined take-profit and stop-loss levels.
This version specifically addresses repainting issues that are common in pattern-detection indicators, making it more reliable for both backtesting and live trading.
차트 패턴
furs Inside Bar FailureAs it says. If an inside bar breakout fails and closes back inside, target the other side of the Inside Bar.
SMC + ICT Strategy | 5-Min | No Repaint | TP/SL LinesSmc+ Ict clear signal with no repaint also in 5 min perfect for intraday
Multi-Timeframe S/R Confluence - EnhancedOverview
The "Multi-Timeframe S/R Confluence - Enhanced" indicator is a powerful tool designed to identify high-probability support and resistance zones for trading BTC/USDT on a 15-minute chart. By analyzing pivot highs and lows across multiple timeframes (1-hour, 4-hour, and 8-hour), it pinpoints confluence zones—price levels where significant alignments occur—enhancing their reliability. These zones are visualized as dashed horizontal lines with dynamic labels, making it easy to spot potential reversal or bounce areas in real-time.
What It Does
Multi-Timeframe Analysis: Aggregates pivot points from 1h, 4h, and 8h charts to detect zones where price has historically reversed or consolidated.
Confluence Detection: Identifies levels where pivot highs (resistance) or lows (support) across different timeframes align within a user-defined threshold (default 1%), indicating stronger zones.
Dynamic Visualization: Plots dashed lines that extend across the chart, locked horizontally for visibility, and updates their positions as new confluence levels emerge.
Color Coding: Lines are green when above the current price (potential resistance or broken support) and red when below (potential support or broken resistance), adapting dynamically.
Labeled Zones: Adds labels (e.g., "R1" for resistance, "S1" for support) to each line, numbered sequentially, for quick identification.
How It Works
Pivot Detection: Uses ta.pivothigh and ta.pivotlow to find significant highs and lows on 1h, 4h, and 8h timeframes, with a configurable lookback period (default 5 bars).
Confluence Calculation: Compares pivot levels across timeframes. If two levels (e.g., 1h and 4h pivot highs) are within the threshold (default 1% relative difference), their average is plotted as a confluence zone.
Resistance: Alignments of pivot highs (1h-4h, 1h-8h, 4h-8h).
Support: Alignments of pivot lows (1h-4h, 1h-8h, 4h-8h).
Line Drawing: Renders dashed lines at these levels, extending them rightward to span the chart. Lines update dynamically as new pivots form, ensuring relevance to current price action.
Labeling: Attaches labels ("R1", "R2", etc. for resistance; "S1", "S2", etc. for support) to each zone, with resistance labels below the line and support labels above for clarity.
Key Features
High-Probability Zones: Confluence across multiple timeframes increases the likelihood of price reactions, ideal for swing or scalping strategies on BTC/USDT.
Dynamic Updates: Lines adjust to the latest pivot data, keeping the indicator responsive without manual intervention.
Customizable Inputs:
Pivot Lookback: Controls pivot sensitivity (default 5). Higher values (e.g., 10) detect broader zones; lower values (e.g., 3) focus on recent extremes.
Threshold: Sets confluence tolerance (default 0.01 or 1%). Increase (e.g., 0.02) for more zones, decrease (e.g., 0.005) for stricter alignment.
Line Width: Adjusts line thickness (default 2) for visibility.
Enhanced Visuals: Dashed lines and labeled zones provide a clean, professional look, avoiding chart clutter.
How to Use
Setup:
Add the indicator to a 15-minute BTC/USDT chart (e.g., BINANCE:BTCUSDT) via TradingView’s Pine Editor.
Apply it by clicking “Add to Chart.”
Interpretation:
Green Lines (e.g., "R1", "R2"): Resistance zones above the current price. Watch for reversals or resistance if price approaches from below.
Red Lines (e.g., "S1", "S2"): Support zones below the current price. Anticipate bounces or support if price nears from above.
Color Shifts: As price crosses a line, its color changes (green to red or vice versa), signaling a potential breakout or breakdown.
Trading Applications:
Reversal Trades: Enter short near resistance (e.g., "R1") or long near support (e.g., "S1") when price shows rejection (e.g., candlestick patterns).
Breakout Trades: Trade breakouts above resistance or below support if confirmed by volume or momentum.
Risk Management: Place stops just beyond these zones to protect against false breaks.
Customization:
Adjust Pivot Lookback to match your trading style (e.g., higher for swing trading, lower for scalping).
Tweak Threshold based on BTC/USDT volatility—wider thresholds may suit choppy markets.
Set Line Width for better visibility on your screen.
Example
Price at 83,000:
"R1" at 85,200 (green): Resistance confluence from 1h and 4h pivot highs. Expect selling pressure if price rises.
"S1" at 80,400 (red): Support confluence from 4h and 8h pivot lows. Look for a bounce if price drops.
Outcome: Price hits 85,200, forms a shooting star, and reverses—validating "R1" as a key level.
Notes
Initial Delay: Lines may take a few bars to appear as pivot data accumulates from higher timeframes.
Chart Compatibility: Optimized for BTC/USDT 15m but can work on other pairs/timeframes with adjustments.
Not a Standalone Signal: Combine with other indicators (e.g., RSI, volume) or price action for confirmation.
Purpose
This indicator empowers traders by highlighting multi-timeframe confluence zones, offering a clear, actionable view of where BTC/USDT is likely to react. Whether you’re scalping, day trading, or swing trading, it provides a robust framework for identifying critical price levels with enhanced precision and visual appeal.
5ADR @nothingveryrealThis script calculates the average daily range for the last 5 complete days (excluding today) and displays it as on‑chart text. It lets you switch between showing the value as a raw price difference or as pips/points, with an editable pip conversion factor (for example, 10000 for most pairs or 100 for JPY pairs).
Trigger Candle Sweep Strategy - Bearish & BullishIdentifying Trigger Candle sweeps. Sweeps of liquidity with momentum
5ADR @nothingveryrealAverage Daily Range (5 Day Look Back)
Calculates and plots the 5-day average daily range (5ADR) from daily high-low values, displaying it in the chart corner.
Multi Asset Comparative
This script allows you to compare two groups of cryptocurrencies by displaying a visual ratio in the form of candlesticks.
You can:
Select up to 20 assets in Group 1 (main basket)
Select up to 5 assets in Group 2 (comparison basket)
Enable or disable the cryptocurrencies you want to include
The script calculates the sum of prices for each group, then plots the Group 1 / Group 2 ratio as a candlestick chart.
Live Atilon Fibonacci Levels Buy/Sell SignalsLive Atilon Fibonacci Levels Buy/Sell Signals
Purpose:
This Pine Script indicator dynamically calculates Fibonacci-based support and resistance levels using a user-defined historical price range. It visually displays these levels on the chart and generates basic buy/sell signals based on price crossovers.
Key Features & Functionality:
1. User Input:
Lookback Period:
The script allows users to specify a length input (default: 50), which determines the number of bars to look back when calculating the highest high and lowest low for the Fibonacci levels.
2. Dynamic High and Low Calculation:
The highest high (fibHigh) and lowest low (fibLow) over the lookback period are dynamically calculated using:
ta.highest(high, length)
ta.lowest(low, length)
3. Fibonacci Level Calculation:
Based on the dynamic range (fibHigh - fibLow), the following Fibonacci levels are computed:
0.00 (Low)
0.45
0.55
0.64
1.00 (High)
4. Visualization:
Each of the Fibonacci levels is plotted on the price chart with subtle transparency and distinct colors for clarity and emphasis.
5. Signal Logic:
Buy Signal:
Triggered when the closing price crosses above the 0.45 level (ta.crossover(close, fib_45)).
Sell Signal:
Triggered when the closing price crosses below the 0.55 level (ta.crossunder(close, fib_55)).
6. Last-Bar Labeling:
On the most recent bar (barstate.islast), labels are added to each Fibonacci level to enhance visual guidance:
"Buy" near the 0 level
"Sell" near the 1.00 level
Labels showing 0.45, 0.55, and 0.64
Use Case:
This indicator helps traders identify potential buy and sell zones based on price movement relative to dynamically calculated Fibonacci levels. It's particularly useful for spotting early momentum shifts and gauging potential support or resistance zones within a defined trend range.
SMC+The "SMC+" indicator is a comprehensive tool designed to overlay key Smart Money Concepts (SMC) levels, support/resistance zones, order blocks (OB), fair value gaps (FVG), and trap detection on your TradingView chart. It aims to assist traders in identifying potential areas of interest based on price action, swing structures, and volume dynamics across multiple timeframes. This indicator is fully customizable, allowing users to adjust lookback periods, colors, opacity, and sensitivity to suit their trading style.
Key Components and Functionality
1. Key Levels (Support and Resistance)
This section plots horizontal lines representing support and resistance levels based on highs and lows over three distinct lookback periods, plus daily nearest levels.
Short-Term Lookback Period (Default: 20 bars)
Plots the highest high (short_high) and lowest low (short_low) over the specified period.
Visualized as dotted lines with customizable colors (Short-Term Resistance Color, Short-Term Support Color) and opacity (Short-Term Resistance Opacity, Short-Term Support Opacity).
Adjustment Tip: Increase the lookback (e.g., to 30-50) for less frequent but stronger levels on higher timeframes, or decrease (e.g., to 10-15) for scalping on lower timeframes.
Long-Term Lookback Period (Default: 50 bars)
Plots broader support (long_low) and resistance (long_high) levels using a solid line style.
Customizable via Long-Term Resistance Color, Long-Term Support Color, and their respective opacity settings.
Adjustment Tip: Extend to 100-200 bars for swing trading or major trend analysis on daily/weekly charts.
Extra-Long Lookback Period (Default: 100 bars)
Identifies significant historical highs (extra_long_high) and lows (extra_long_low) with dashed lines.
Configurable with Extra-Long Resistance Color, Extra-Long Support Color, and opacity settings.
Adjustment Tip: Use 200-500 bars for monthly charts to capture macro-level key zones.
Daily Nearest Resistance and Support Levels
Dynamically calculates the nearest resistance (daily_res_level) and support (daily_sup_level) based on the current day’s price action relative to historical highs and lows.
Displayed with Daily Resistance Color and Daily Support Color (with opacity options).
Adjustment Tip: Works best on intraday charts (e.g., 15m, 1h) to track daily pivots; combine with volume profile for confirmation.
How It Works: These levels update dynamically as new highs/lows form, providing a visual guide to potential reversal or breakout zones.
2. SMC Inputs (Smart Money Concepts)
This section identifies swing structures, order blocks, fair value gaps, and entry signals based on SMC principles.
SMC Swing Lookback Period (Default: 12 bars)
Defines the period for detecting swing highs (smc_swing_high) and lows (smc_swing_low).
Adjustment Tip: Increase to 20-30 for smoother swings on higher timeframes; reduce to 5-10 for faster signals on lower timeframes.
Minimum Swing Size (%) (Default: 0.5%)
Filters out minor price movements to focus on significant swings.
Adjustment Tip: Raise to 1-2% for volatile markets (e.g., crypto) to avoid noise; lower to 0.2-0.3% for forex pairs with tight ranges.
Order Block Sensitivity (Default: 1.0)
Scales the size of detected order blocks (OBs) for bullish reversal (smc_ob_bull), bearish reversal (smc_ob_bear), and continuation (smc_cont_ob).
Visuals include customizable colors, opacity, border thickness, and blinking effects (e.g., SMC Bullish Reversal OB Color, SMC Bearish Reversal OB Blink Thickness).
Adjustment Tip: Increase to 1.5-2.0 for wider OBs in choppy markets; keep at 1.0 for precision in trending conditions.
Minimum FVG Size (%) (Default: 0.3%)
Sets the minimum gap size for Fair Value Gaps (fvg_high, fvg_low), displayed as boxes with Fair Value Gap Color and FVG Opacity.
Adjustment Tip: Increase to 0.5-1% for larger, more reliable gaps; decrease to 0.1-0.2% for scalping smaller inefficiencies.
How It Works:
Bullish Reversal OB: Detects a bearish candle followed by a bullish break, marking a potential demand zone.
Bearish Reversal OB: Identifies a bullish candle followed by a bearish break, marking a supply zone.
Continuation OB: Spots strong bullish momentum after a prior high, indicating a continuation zone.
FVG: Highlights bullish gaps where price may retrace to fill.
Entry Signals: Plots triangles (SMC Long Entry) when price retests an OB with a liquidity sweep or break of structure (BOS).
3. Trap Inputs
This section detects potential bull and bear traps based on price action, volume, and key level rejections.
Min Down Move for Bear Trap (%) (Default: 1.0%)
Sets the minimum drop required after a bearish OB to qualify as a trap.
Visualized with Bear Trap Color, Bear Trap Opacity, and blinking borders.
Adjustment Tip: Increase to 2-3% for stronger traps in trending markets; lower to 0.5% for ranging conditions.
Min Up Move for Bull Trap (%) (Default: 1.0%)
Sets the minimum rise required after a bullish OB to flag a trap.
Customizable with Bull Trap Color, Bull Trap Border Thickness, etc.
Adjustment Tip: Adjust similarly to bear traps based on market volatility.
Volume Lookback for Traps (Default: 5 bars)
Compares current volume to a moving average (avg_volume) to filter low-volume traps.
Adjustment Tip: Increase to 10-20 for confirmation on higher timeframes; reduce to 3 for intraday sensitivity.
How It Works:
Bear Trap: Triggers when price drops significantly after a bearish OB but reverses up with low volume or support rejection.
Bull Trap: Activates when price rises after a bullish OB but fails with low volume or resistance rejection.
Boxes highlight trap zones, resetting when price breaks out.
4. Visual Customization
Line Width (Default: 2)
Adjusts thickness of support/resistance lines.
Tip: Increase to 3-4 for visibility on cluttered charts.
Blink On (Default: Close)
Sets whether OB/FVG borders blink based on Open or Close price interaction.
Tip: Use "Open" for intraday precision; "Close" for confirmed reactions.
Colors and Opacity: Each element (OBs, FVGs, traps, key levels) has customizable colors, opacity (0-100), border thickness (1-5 or 1-7), and blink effects for dynamic visualization.
How to Use SMC+
Setup: Apply the indicator to any chart and adjust inputs based on your timeframe and market.
Key Levels: Watch for price reactions at short, long, extra-long, or daily levels for potential reversals or breakouts.
SMC Signals: Look for entry signals (triangles) near OBs or FVGs, confirmed by liquidity sweeps or BOS.
Traps: Avoid false breakouts by monitoring trap boxes, especially near key levels with low volume.
Notes:
This indicator is a visual aid and does not guarantee trading success. Combine it with other analysis tools and risk management strategies.
Performance may vary across markets and timeframes; test settings thoroughly before use.
For optimal results, experiment with lookback periods and sensitivity settings to match your trading style.
The default settings are optimal for 1 minute and 10 second time frames for small cap low float stocks.
Continuation OB are Blue.
Bullish Reversal OB color is Green
Bearish Reversal OB color is Red
FVG color is purple
Bear Trap OB is red with a green border and often appears with a Bearish Reversal OB signaling caution to a short position.
Bull trap OB is green with a Red border signaling caution to a long position.
All active OB area are highlighted and solid in color while other non active OB area are dimmed.
My personal favorite setups are when we have an active bullish reversal with an active FVG along with an active Continuation OB.
Another personal favorite is the Bearish reversal OB signaling an end to a recent uptrend.
The Trap OB detection are also a unique and Original helpful source of information.
The OB have a white boarder by default that are colored black giving a simulated blinking effect when price is acting in that zone.
The Trap OB border are colored with respect to direction of intended trap, all of which can be customized to personal style.
All vaild OB zones are shown compact in size ,a unique and original view until its no longer valid.
SMC Volumetric Blocks + ATR Bands [SDTrades]SMC Volumetric Blocks + ATR Bands Indicator
Overview
This advanced trading system combines Smart Money Concepts (SMC) with quantitative trend analysis, featuring:
Volumetric Order Blocks - Identifies institutional-level supply/demand zones
ATR Trend Bands - Dynamic support/resistance levels with trend-color coding
Break/Retest Signals - Clear "BUY"/"SELL" labels at key levels
Key Features
1. Volumetric Order Blocks
Detects swing highs/lows using configurable swing length (default: 8)
Plots two types of order blocks:
Breaker Blocks (Teal/Red): Recent significant rejection zones
Order Blocks (Semi-transparent): Historical high-volume areas
Volume-weighted strength calculation for block validity
Auto-removal of violated blocks (Wick/Close basis)
2. Smart ATR Bands
Adaptive bands using 3-layer trend confirmation:
RSI momentum (15-85 normalized)
SuperTrend trend direction
EMA crossover strength
Golden Ratio multiplier (1.618) for band spacing
Auto-coloring: Bearish (Red) > Neutral (Gray) > Bullish (Green)
3. Trading Signals
BUY: Retest of lower ATR band + Bullish block confirmation
SELL: Retest of upper ATR band + Bearish block violation
BE (Break Even): Price closes beyond bands
Minimum 2-bar spacing between signals
Input Settings
Category Parameters
Core Swing Length (8)
Blocks Show Last X Blocks (4), Violation Check (Wick/Close), Hide Overlap
ATR Length (10), Multiplier (1.618), Trend Smoothing (10)
Visual 8 Color Options, Label Sizes, Transparency Levels
Usage Notes
Bullish Scenario
Look for "BUY" labels near bullish order blocks
Confirm with ATR band turning green
Bearish Scenario
Watch for "SELL" labels near bearish blocks
Verify with ATR band turning red
Risk Management
Use block boundaries as natural stop levels
BE signals indicate potential trend exhaustion
Style Customization
Blocks: Adjust teal/red colors and opacity
Bands: Modify gradient colors and fill transparency
Labels: Customize text colors/sizes for BUY/SELL/BE
Trading Philosophy
This indicator combines:
Order Flow Analysis (Block zones)
Volatility-adjusted Levels (ATR bands)
Algorithmic Trend Scoring (RSI+EMA+SuperTrend fusion)
Ideal for swing trading and institutional-level price analysis.
17 hours ago
Release Notes
SMC Volumetric Blocks + ATR Bands Indicator
Overview
This advanced trading system combines Smart Money Concepts (SMC) with quantitative trend analysis, featuring:
Volumetric Order Blocks - Identifies institutional-level supply/demand zones
ATR Trend Bands - Dynamic support/resistance levels with trend-color coding
Break/Retest Signals - Clear "BUY"/"SELL" labels at key levels
Key Features
1. Volumetric Order Blocks
Detects swing highs/lows using configurable swing length (default: 8)
Plots two types of order blocks:
Breaker Blocks (Teal/Red): Recent significant rejection zones
Order Blocks (Semi-transparent): Historical high-volume areas
Volume-weighted strength calculation for block validity
Auto-removal of violated blocks (Wick/Close basis)
2. Smart ATR Bands
Adaptive bands using 3-layer trend confirmation:
RSI momentum (15-85 normalized)
SuperTrend trend direction
EMA crossover strength
Golden Ratio multiplier (1.618) for band spacing
Auto-coloring: Bearish (Red) > Neutral (Gray) > Bullish (Green)
3. Trading Signals
BUY: Retest of lower ATR band + Bullish block confirmation
SELL: Retest of upper ATR band + Bearish block violation
BE (Break Even): Price closes beyond bands
Minimum 2-bar spacing between signals
Input Settings
Category Parameters
Core Swing Length (8)
Blocks Show Last X Blocks (4), Violation Check (Wick/Close), Hide Overlap
ATR Length (10), Multiplier (1.618), Trend Smoothing (10)
Visual 8 Color Options, Label Sizes, Transparency Levels
Usage Notes
Bullish Scenario
Look for "BUY" labels near bullish order blocks
Confirm with ATR band turning green
Bearish Scenario
Watch for "SELL" labels near bearish blocks
Verify with ATR band turning red
Risk Management
Use block boundaries as natural stop levels
BE signals indicate potential trend exhaustion
Style Customization
Blocks: Adjust teal/red colors and opacity
Bands: Modify gradient colors and fill transparency
Labels: Customize text colors/sizes for BUY/SELL/BE
Trading Philosophy
This indicator combines:
Order Flow Analysis (Block zones)
Volatility-adjusted Levels (ATR bands)
Algorithmic Trend Scoring (RSI+EMA+SuperTrend fusion)
SmartTrend Indicator @tradingbauhausOverview
"SmartTrend Indicator @tradingbauhaus" is a technical indicator designed to identify buy and sell signals in trending markets, filtering out ranging conditions through a trend strength analysis. It combines multiple technical analysis tools, including moving averages, RSI, and candlestick patterns, to generate precise entry and exit signals, along with take-profit markers. Additionally, it features a visual trend cloud and a metrics table to provide a comprehensive market analysis.
Purpose and Differentiation
This indicator is tailored for traders looking to trade in markets with clear trends, avoiding false signals during ranging conditions. Unlike traditional indicators that rely solely on moving average crossovers or RSI levels, "SmartTrend Indicator @tradingbauhaus" uses a trend strength filter based on RSI to ensure signals are only generated in markets with sufficient momentum. It also includes confirmation levels (2, 3, 4) to indicate signal strength and primary/secondary take-profit markers for more effective risk management.
How It Works: Detailed Explanation
1. Trend Calculation
-Utilizes two Simple Moving Averages (SMAs): a short SMA (default: 9 periods) and a long SMA (default: 21 periods).
-An uptrend is identified when the short SMA is above the long SMA (trend_up = ma_short > ma_long).
-A downtrend is identified when the short SMA is below the long SMA (trend_down = ma_short < ma_long).
-A trend cloud is plotted between the two SMAs, colored green for uptrends and red for downtrends, providing a clear visual representation of market direction.
2. Trend Strength
-Trend strength is calculated using the Relative Strength Index (RSI) with an adjustable period (default: 14).
-RSI is normalized between -1 and 1: trend_strength = (rsi - 50) / 50.
-Signals are only generated if the trend strength exceeds a user-defined threshold (trend_strength_threshold, default: 0.5), filtering out ranging markets and reducing false signals.
3. Signal Logic
-Buy Signal: Generated when the price crosses above the short SMA (ta.crossover(close, ma_short)), the trend is bullish, RSI is not overbought (rsi < rsi_overbought), and the trend strength is sufficient (strong_trend).
-Sell Signal: Generated when the price crosses below the short SMA (ta.crossunder(close, ma_short)), the trend is bearish, RSI is not oversold (rsi > rsi_oversold), and the trend strength is sufficient.
-Signals are represented by triangles: green below bars for buys and red above bars for sells.
4. Confirmation Levels
-Each signal is assigned a confirmation level (2, 3, or 4) based on RSI levels:
Level 2: Base signal (minimum conditions met).
Level 3: More favorable RSI (below 40 for buys, above 60 for sells).
Level 4: Extreme RSI (below 30 for buys, above 70 for sells).
These levels are displayed as numbers near the signals to indicate their strength.
5. Take-Profit Markers
-Primary (Blue): Generated when the price crosses the long SMA in the opposite direction of the trend (ta.crossunder(close, ma_long) for buys, ta.crossover(close, ma_long) for sells), indicating a potential trend reversal.
-Secondary (Orange): Generated when RSI reaches overbought/oversold levels (ta.crossunder(rsi, rsi_overbought) for buys, ta.crossover(rsi, rsi_oversold) for sells), suggesting a potential correction.
These markers are represented by blue or orange "X" symbols on the chart.
6. Metrics Table
A table in the top-right corner displays key metrics:
Trend Strength: Percentage based on normalized RSI.
Volatility: High or Low, based on the 14-period Average True Range (ATR).
Squeeze: Yes or No, based on the 20-period standard deviation of prices.
Volume Sentiment: Bullish or Bearish, comparing current volume to a 20-period SMA of volume.
Settings
Short MA Length: Default 9. Adjusts the sensitivity of the short SMA.
Long MA Length: Default 21. Adjusts the long SMA for the trend cloud.
RSI Length: Default 14. Sets the period for RSI to measure trend strength.
RSI Overbought/Oversold: Default 70 and 30, respectively. Adjusts levels for signals and secondary markers.
Trend Strength Threshold: Default 0.5. Defines the minimum trend strength for signal generation.
Usage Guidelines
Markets and Timeframes:
Suitable for stocks, forex, cryptocurrencies, and futures.
Recommended for 5-minute to 1-hour timeframes for day trading, and 4-hour to daily for swing trading.
Entry Strategy:
Use buy signals (green triangle) and sell signals (red triangle) as entry points.
Pay attention to the confirmation level (2, 3, 4) to gauge signal strength.
Exit Strategy:
Use primary take-profit markers (blue) for exits based on potential trend changes.
Use secondary markers (orange) for partial exits or corrections.
Additional Analysis:
Check the metrics table for trend strength, volatility, and volume sentiment before trading.
Combine with other indicators (e.g., support/resistance levels) for additional confirmation.
Disclaimer
Disclaimer: This indicator is for informational and educational purposes only and is not financial advice. Trading carries a high risk of loss, and past price movements do not guarantee future results. Always do your own research and consider consulting a financial advisor before making trading decisions. The creator of this indicator is not responsible for any financial losses you may experience while using it.
Unusual Whale - Unusual Options Volume Data ScreenerHow to Use:
Custom Expiration Date: Use the calendar/date picker to select the expiration date. The chosen date is automatically converted to the "YYMMDD" format.
Custom Base Strike: Enter a round strike value from the options chain (for example, "270"). This value serves as the starting point (at-the-money) for the scan.
Strike Increment: Select the increment (e.g., 0.50, 1.00, 2.5, 5, or 10) to determine how the scan moves outward from the custom base strike.
Options per Side (Max 20): Choose the number of valid option strikes to scan on each side. The script scans downward (for calls) and upward (for puts) from the custom base strike.
Base Symbol: The base symbol is always taken from the chart (using syminfo.ticker); no manual entry is needed.
Scanning & Aggregation: The script automatically constructs option symbols using the base symbol, custom expiration date, option type (C or P), and the formatted strike. It retrieves volume data for these options and aggregates the cumulative volume for calls and puts separately.
Plotting: Cumulative call volume is plotted in green, and cumulative put volume is plotted in red—only if the required number of valid options is found.
Benefits of Scanning Options Volume for Unusual Activity:
Offers a comprehensive view of volume across multiple strikes, making unusual or extreme volume patterns easier to detect.
Helps gauge market sentiment by comparing aggregated call and put volumes, which may signal shifts in investor behavior.
Aggregating volume from several strike levels provides smoother, more reliable data than using a single strike, enhancing your analytical insights.
What to Do If Combinations Don't Yield Results:
Verify Your Inputs: Ensure that the Custom Base Symbol, Expiration Date, and Custom Base Strike are entered correctly and correspond to an active options chain.
Adjust Strike Increment: If the options aren’t loading as expected, try selecting a different strike increment that more closely matches the spacing in your options chain.
Reduce Options per Side: Lower the number of Options per Side (e.g., from 20 to a lower value) if the scan fails to find enough valid strikes.
Review Your Options Chain: Confirm that the contracts for the specified expiration and strike range exist and are available in your data feed.
Check Data Subscription: Make sure your TradingView plan includes access to the options data required for the selected symbols.
Cumulative Call Volume is Green, Put Volume is Red
Aggressive Predictor+ (Last Bar, Vol, Wick)# Aggressive Predictor+ Pine Script Indicator
**Version:** Based on the script incorporating Last Bar analysis, Volume Confirmation, and Wick Rejection.
## Overview
This TradingView Pine Script indicator aims to predict the likely directional bias of the **next** candle based on an aggressive analysis of the **last closed candle's** price action, volume, and wick characteristics relative to recent market volatility (ATR).
It is designed to be **highly reactive** to the most recent bar's information. The prediction is visualized directly on the chart through shapes, a projected line, a text label, and an information table.
**Please Note:** Predicting the next candle is inherently speculative. This indicator provides a probability assessment based on its specific logic and should be used as a supplementary tool within a broader trading strategy, not as a standalone signal. Its performance heavily depends on market conditions and the chosen settings.
## Core Logic Explained
The indicator follows these steps for each new bar, looking back at the **last closed bar** (` `):
1. **Calculate Recent Volatility:** Determines the Average True Range (ATR) over the specified `ATR Lookback Period` (`atr_len`). This provides context for how volatile the market has been recently.
2. **Analyze Last Bar's Body:** Calculates the price change from open to close (`close - open `) of the last completed bar.
3. **Compare Body to Volatility:** Compares the absolute size of the last bar's body to the calculated ATR (`prev_atr`) multiplied by a sensitivity threshold (`threshold_atr_mult`).
* If the body size (positive) exceeds the threshold, the initial prediction is "Upward".
* If the body size (negative) exceeds the negative threshold, the initial prediction is "Downward".
* Otherwise, the initial prediction is "Neutral".
4. **Check Volume Confirmation:** Compares the volume of the last bar (`volume `) to its recent average volume (`ta.sma(volume, vol_avg_len) `). If the volume is significantly higher (based on `vol_confirm_mult`), it adds context ("High Vol") to directional predictions.
5. **Check for Wick Rejection:** Analyzes the wicks of the last bar.
* If the initial prediction was "Upward" but there was a large upper wick (relative to the body size, defined by `wick_rejection_mult`), it indicates potential selling pressure rejecting higher prices. The prediction is **overridden to "Neutral"**.
* If the initial prediction was "Downward" but there was a large lower wick, it indicates potential buying pressure supporting lower prices. The prediction is **overridden to "Neutral"**.
6. **Determine Final Prediction:** The final state ("Upward", "Downward", or "Neutral") is determined after considering potential wick rejection overrides. Context about volume or wick rejection is added to the display text.
## Visual Elements
* **Prediction Shapes:**
* Green Up Triangle: Below the bar for an "Upward" prediction (without wick rejection).
* Red Down Triangle: Above the bar for a "Downward" prediction (without wick rejection).
* Gray Diamond: Above/Below the bar if a directional move was predicted but then neutralized due to Wick Rejection.
* **Prediction Line:**
* Extends forward from the current bar's close for `line_length` bars (Default: 20).
* Color indicates the final predicted state (Green: Upward, Red: Downward, Gray: Neutral).
* Style is solid for directional predictions, dotted for Neutral.
* The *slope/magnitude* of the line is based on recent volatility (ATR) and the `projection_mult` setting, representing a *potential* magnitude if the predicted direction holds, scaled by recent volatility. **This is purely a visual projection, not a precise price forecast.**
* **Prediction Label:**
* Appears at the end of the Prediction Line.
* Displays the final prediction state (e.g., "Upward (High Vol)", "Neutral (Wick Rej)").
* Shows the raw price change of the last bar's body and its size relative to ATR (e.g., "Last Body: 1.50 (120.5% ATR)").
* Tooltip provides more detailed calculation info.
* **Info Table:**
* Displays the prediction state, color-coded.
* Shows details about the last bar's body size relative to ATR.
* Dynamically positioned near the latest bar (offsets configurable).
## Configuration Settings (Inputs)
These settings allow you to customize the indicator's behavior and appearance. Access them by clicking the "Settings" gear icon on the indicator name on your chart.
### Price Action & ATR
* **`ATR Lookback Period` (`atr_len`):**
* *Default:* 14
* *Purpose:* Number of bars used to calculate the Average True Range (ATR), which measures recent volatility.
* **`Body Threshold (ATR Multiplier)` (`threshold_atr_mult`):**
* *Default:* 0.5
* *Purpose:* Key setting for **aggression**. The last bar's body size (`close - open`) must be greater than `ATR * this_multiplier` to be initially classified as "Upward" or "Downward".
* *Effect:* **Lower values** make the indicator **more aggressive** (easier to predict direction). Higher values require a stronger price move relative to volatility and result in more "Neutral" predictions.
### Volume Confirmation
* **`Volume Avg Lookback` (`vol_avg_len`):**
* *Default:* 20
* *Purpose:* Number of bars used to calculate the simple moving average of volume.
* **`Volume Confirmation Multiplier` (`vol_confirm_mult`):**
* *Default:* 1.5
* *Purpose:* Volume on the last bar is considered "High" if it's greater than `Average Volume * this_multiplier`.
* *Effect:* Primarily adds context "(High Vol)" or "(Low Vol)" to the display text for directional predictions. Doesn't change the core prediction state itself.
### Wick Rejection
* **`Wick Rejection Multiplier` (`wick_rejection_mult`):**
* *Default:* 1.0
* *Purpose:* If an opposing wick (upper wick on an up-candle, lower wick on a down-candle) is larger than `body size * this_multiplier`, the directional prediction is overridden to "Neutral".
* *Effect:* Higher values require a much larger opposing wick to cause a rejection override. Lower values make wick rejection more likely.
### Projection Settings
* **`Projection Multiplier (ATR based)` (`projection_mult`):**
* *Default:* 1.0
* *Purpose:* Scales the projected *magnitude* of the prediction line. The projected price change shown by the line is `+/- ATR * this_multiplier`.
* *Effect:* Adjusts how far up or down the prediction line visually slopes. Does not affect the predicted direction.
* **`Prediction Line Length (Bars)` (`line_length`):**
* *Default:* 20
* *Purpose:* Controls how many bars forward the **visual** prediction line extends.
* *Effect:* Purely visual length adjustment.
### Visuals
* **`Upward Color` (`bullish_color`):** Color for Upward predictions.
* **`Downward Color` (`bearish_color`):** Color for Downward predictions.
* **`Neutral Color` (`neutral_color`):** Color for Neutral predictions (including Wick Rejections).
* **`Show Prediction Shapes` (`show_shapes`):** Toggle visibility of the triangles/diamonds on the chart.
* **`Show Prediction Line` (`show_line`):** Toggle visibility of the projected line.
* **`Show Prediction Label` (`show_label`):** Toggle visibility of the text label at the end of the line.
* **`Show Info Table` (`show_table`):** Toggle visibility of the information table.
### Table Positioning
* **`Table X Offset (Bars)` (`table_x_offset`):**
* *Default:* 3
* *Purpose:* How many bars to the right of the current bar the info table should appear.
* **`Table Y Offset (ATR Multiplier)` (`table_y_offset_atr`):**
* *Default:* 0.5
* *Purpose:* How far above the high of the last bar the info table should appear, measured in multiples of ATR.
## How to Use
1. Open the Pine Editor in TradingView.
2. Paste the complete script code.
3. Click "Add to Chart".
4. Adjust the input settings (especially `threshold_atr_mult`) to tune the indicator's aggressiveness and visual preferences.
5. Observe the prediction elements alongside your other analysis methods.
## Disclaimer
**This indicator is for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset.** Trading financial markets involves significant risk, and you could lose money. Predictions about future price movements are inherently uncertain. The performance of this indicator depends heavily on market conditions and the settings used. Always perform your own due diligence and consider multiple factors before making any trading decisions. Use this indicator at your own risk.
Supply and Demand Zones with TP @tradingbauhausSupply and Demand Zones with Take Profit Indicator: Explanation for Users
What This Indicator Does
This indicator is a tool designed to help you spot key areas on a price chart where the price of an asset (like a stock, cryptocurrency, or forex pair) might reverse or continue moving. It highlights these areas as "zones" and provides target levels for taking profits, along with a signal to sell when the price reaches a certain point. Here’s a breakdown of what it does in simple terms:
1. Finds Key Price Zones:
Red Zones (Selling Areas): These are areas where the price has previously turned downward after reaching a high point. It’s like a "ceiling" where sellers might step in to push the price down again.
Blue Zones (Buying Areas): These are areas where the price has previously turned upward after hitting a low point. It’s like a "floor" where buyers might step in to push the price up.
2. Sets Profit Targets:
When the price is at a blue zone (a buying area), the indicator draws three green dotted lines above it, labeled "TP1," "TP2," and "TP3." These are suggested levels where you might consider taking profits if you buy at the blue zone.
The profit targets are calculated based on the distance between the blue and red zones, with TP1 being the closest target, TP2 farther, and TP3 the farthest.
3. Gives a Sell Signal:
When the price moves up and touches a red zone (a selling area), the indicator shows a "Sell" label in red. This is a warning that the price might reverse downward, suggesting it could be a good time to sell or take a short position.
4. Marks Turning Points:
The indicator also places small red triangles above the chart where the price made a significant high (indicating a potential selling area) and small blue triangles below the chart where the price made a significant low (indicating a potential buying area). These help you see where the zones are coming from.
How to Use the Indicator
- Look for Blue Zones to Buy: If the price approaches a blue zone, it might be a good area to consider buying because the price has bounced up from this level before. The green TP1, TP2, and TP3 lines above show where you might aim to take profits if the price moves up.
- Look for Red Zones to Sell: If the price approaches a red zone, it might be a good area to consider selling because the price has dropped from this level before. The "Sell" label will appear when the price hits this zone, signaling a potential reversal.
-Adjust Based on Your Strategy: You can tweak the settings to make the zones wider or narrower, change how far apart the profit targets are, or adjust how sensitive the indicator is to price movements. For example, you can make it focus on bigger price swings or smaller ones.
What You’ll See on the Chart
-Red Boxes: These are the selling areas where the price might struggle to go higher.
- Blue Boxes: These are the buying areas where the price might find support and move up.
- Green Dotted Lines (TP1, TP2, TP3): These are your profit targets if you buy at a blue zone.
Red "Sell" Labels: These appear when the price hits a red zone, suggesting it might be time to sell.
Small Red and Blue Triangles: These mark the high and low points the indicator used to create the zones.
Customizable Options
-Sensitivity: You can adjust how big or small the price swings need to be for the indicator to identify a zone. A higher setting will focus on larger, more significant price movements, while a lower setting will pick up smaller ones.
-Profit Target Distance: You can change how far the TP1, TP2, and TP3 levels are from the buying area. For example, you can set them closer for quicker profits or farther for bigger gains.
-Zone Size: You can make the red and blue zones wider or narrower on the chart, depending on how much space you want them to cover.
Tips for Using the Indicator
-Combine with Other Tools: This indicator works best when used alongside other methods, like checking the overall trend (is the price generally going up or down?) or looking at other signals (like volume or news events).
-Be Patient: The zones don’t always appear immediately because the indicator needs to confirm that a high or low is significant. This means there might be a slight delay before a zone shows up.
-Test It Out: Try the indicator on different assets and timeframes (like daily, hourly, or 15-minute charts) to see how it performs in different market conditions.
Disclaimer
Disclaimer: This indicator is for informational and educational purposes only and is not financial advice. Trading carries a high risk of loss, and past price movements do not guarantee future results. Always do your own research and consider consulting a financial advisor before making trading decisions. The creator of this indicator is not responsible for any financial losses you may experience while using it.
Ghost In The MachineScript draws:
-The range of a 5 min candle that extends for 1 hour. This range can be used for ORB strategy.
-Shows the 1 hour candle range. This helps identify price direction.
This indicator only works on the 5 min time frame.
Supply & Demand with Candle SignalsUnlock the power of Supply & Demand Zones combined with high-probability Bullish/Bearish Engulfing patterns to spot strong market reversals and trends. This strategy helps identify key price levels where major market moves are likely to occur. By using Engulfing candlesticks within these zones, you can make more informed and accurate trading decisions, enhancing your chances of success. Ideal for traders looking for a robust technical approach to maximize market opportunities.
GannLvlSHGann Indicator created to display the Support and Resistances levels on Chart based on study of WD Gann
Trendline Breakouts With Targets [ Chartprime ]ITS COPIED FROM TBT WITH TARGETS
What's added: STOP LOSS IS VISIBLE. CAN ADD ALERTS FOR BUY AND SELL SIGNALS.
The Trendline Breakouts With Targets and visible stoploss indicator is meticulously crafted to improve trading decision-making by pinpointing trendline breakouts and breakdowns through pivot point analysis.
Here's a comprehensive look at its primary functionalities:
Upon the occurrence of a breakout or breakdown, a signal is meticulously assessed against a false signal condition/filter, after which the indicator promptly generates a trading signal. Additionally, it conducts precise calculations to determine potential target levels and then exhibits them graphically on the price chart.
🔷Key Features:
🔸Trendline Drawing: The indicator automatically plots trendlines based on significant pivot points and wick data, visually representing the prevailing trend.
Probability Grid [LuxAlgo]The Probability Grid tool allows traders to see the probability of where and when the next reversal would occur, it displays a 10x10 grid and/or dashboard with the probability of the next reversal occurring beyond each cell or within each cell.
🔶 USAGE
By default, the tool displays deciles (percentiles from 0 to 90), users can enable, disable and modify each percentile, but two of them must always be enabled or the tool will display an error message alerting of it.
The use of the tool is quite simple, as shown in the chart above, the further the price moves on the grid, the higher the probability of a reversal.
In this case, the reversal took place on the cell with a probability of 9%, which means that there is a probability of 91% within the square defined by the last reversal and this cell.
🔹 Grid vs Dashboard
The tool can display a grid starting from the last reversal and/or a dashboard at three predefined locations, as shown in the chart above.
🔶 DETAILS
🔹 Raw Data vs Normalized Data
By default the tool displays the normalized data, this means that instead of using the raw data (price delta between reversals) it uses the returns between each reversal, this is useful to make an apples to apples comparison of all the data in the dataset.
This can be seen in the left side of the chart above (BTCUSD Daily chart) where normalize data is disabled, the percentiles from 0 to 40 overlap and are indistinguishable from each other because the tool uses the raw price delta over the entire bitcoin history, with normalize data enabled as we can see in the right side of the chart we can have a fair comparison of the data over the entire history.
🔹 Probability Beyond or Within Each Cell
Two different probability modes are available, the default mode is Probability Beyond Each Cell, the number displayed in each cell is the probability of the next reversal to be located in the area beyond the cell, for example, if the cell displays 20%, it means that in the area formed by the square starting from the last reversal and ending at the cell, there is an 80% probability and outside that square there is a 20% probability for the location of the next reversal.
The second probability mode is the probability within each cell, this outlines the chance that the next reversal will be within the cell, as we can see on the right chart above, when using deciles as percentiles (default settings), each cell has the same 1% probability for the 10x10 grid.
🔶 SETTINGS
Swing Length: The maximum length in bars used to identify a swing
Maximum Reversals: Maximum number of reversals included in calculations
Normalize Data: Use returns between swings instead of raw price
Probability: Choose between two different probability modes: beyond and inside each cell
Percentiles: Enable/disable each of the ten percentiles and select the percentile number and line style
🔹 Dashboard
Show Dashboard: Enable or disable the dashboard
Position: Choose dashboard location
Size: Choose dashboard size
🔹 Style
Show Grid: Enable or disable the grid
Size: Choose grid text size
Colors: Choose grid background colors
Show Marks: Enable/disable reversal markers
H4 3-Candle Pattern (Persistent Signals)Below is an example in Pine Script v5 that detects a pattern using the last three completed 4H candles and then plots a permanent arrow on the fourth candle (i.e. on the current bar) when the conditions are met. The arrow stays on that bar even after new bars form.
In this version, the pattern is evaluated as follows on each bar (when there are enough candles):
Bullish Pattern:
The candle three bars ago (oldest of the three) is bullish (its close is greater than its open).
The candle two bars ago closes above the high of that older candle.
The last completed candle (one bar ago) closes at or above the low of the candle two bars ago.
Bearish Pattern:
The candle three bars ago is bearish (its close is less than its open).
The candle two bars ago closes below the low of that older candle.
The last completed candle closes at or below the high of the candle two bars ago.
When the conditions are met the script draws a green up arrow below the current (fourth) candle for a bullish pattern and a red down arrow above the current candle for a bearish pattern. These arrows are drawn as regular plot symbols and remain on the chart permanently.
Copy and paste the code into TradingView’s Pine Script Editor:
Next Candle PredictorNext Candle Predictor for TradingView
This Pine Script indicator helps predict potential price movements for the next candle based on historical price action patterns. It analyzes recent candles' characteristics including body size, wick length, and volume to calculate a directional bias.
Key Features
Analyzes recent price action to predict next candle direction (Bullish, Bearish, or Neutral)
Visual indicators include small directional arrows and a prediction line
Customizable sensitivity and lookback period
Works best on lower timeframes for short-term price action trading
Displays clear prediction labels that extend into future bars
How It Works
The script analyzes recent candles by examining:
Candle body size (weighted by your preference)
Wick length (weighted by your preference)
Volume activity (weighted by your preference)
These factors combine to create a directional strength indicator that determines if the next candle is likely to be bullish, bearish, or neutral.
Visual Feedback
Green up arrows indicate bullish predictions
Red down arrows indicate bearish predictions
A directional line extends from the last candle showing predicted price movement
A label displays the prediction text at the end of the line
Information table in the top right displays the current prediction
Settings
Lookback Candle Count: Number of historical candles to analyze (2-20)
Wick/Body/Volume Weight Factors: Adjust importance of each component
Prediction Sensitivity: Threshold for triggering directional bias
Prediction Line Length: How far the prediction line extends
Perfect for day traders and scalpers looking for an edge in short-term directional bias.
Ross Cameron-Inspired Day Trading StrategyExplanation for Community Members:
Title: Ross Cameron-Inspired Day Trading Strategy
Description:
This script is designed to help you identify potential buy and sell opportunities during the trading day. It combines several popular trading strategies to provide clear signals.
Key Features:
Gap and Go: Identifies stocks that have gapped up or down at the open.
Momentum Trading: Uses RSI and EMA to identify momentum-based entry points.
Mean Reversion: Uses RSI and SMA to identify potential reversals.
How to Use:
Apply to Chart: Add this script to your TradingView chart.
Set Timeframe: Works best on 5-minute and 10-minute timeframes.
Watch for Signals: Look for green "BUY" labels for entry points and red "SELL" labels for exit points.
Parameters:
Gap Percentage: Adjust to identify larger or smaller gaps.
RSI Settings: Customize the RSI length and overbought/oversold levels.
EMA and SMA Lengths: Adjust the lengths of the moving averages.
Confirmation Period: Set how many bars to wait for confirmation.
Visual Elements:
BUY Signals: Green labels below the price bars.
SELL Signals: Red labels above the price bars.
Indicators: Displays EMA (blue) and SMA (orange) for additional context.
This script is a powerful tool for day trading on NSE and BSE indices, combining multiple strategies to provide robust trading signals. Adjust the parameters to suit your trading style and always combine with your own analysis for best results.