TSL Drunken BirdA huge shoutout to @anotherDAPTrader for inspiration and support in developing this system!
Overview:
The Accurate Swing Trading System is a powerful technical analysis tool designed for swing traders on TradingView. It generates precise buy and sell signals based on price action crossing a dynamic Trailing Stop Loss (TSL) level, calculated from recent highs and lows. Enhanced with optional Higher Time Frame (HTF) confluence, the system aligns short-term signals with broader market trends, making it ideal for traders seeking to optimize entries and exits. Visual indicators include signal labels, customizable horizontal lines, a colored TSL line, and optional bar/background coloring. Alerts support trade execution across various assets, such as NASDAQ E-mini futures, stocks, forex, and more. A special shoutout to AnotherDAPTrader for inspiration and support in developing this system!
Key Features:
Swing Signals: Generates "BUY" and "SELL" signals when the closing price crosses above/below the TSL, based on a user-defined lookback period (Swing).
HTF Confluence: Adjusts signals based on the HTF trend (e.g., "EXIT LONG" instead of "SELL" if HTF is bullish), toggleable via Use HTF Confluence.
HTF Selection: Choose from 8 timeframes: 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, Daily, Weekly, or Monthly.
Horizontal Lines: Plots green (buy) and red (sell) lines at the closing price of signal bars, with a toggle to extend lines 50 or 500 bars.
TSL Visualization: Displays a TSL line (green if close >= TSL, red if close < TSL) to highlight dynamic support/resistance levels.
Bar/Background Coloring: Optionally colors candlesticks and chart background green (bullish) or red (bearish) based on price relative to TSL.
Alerts: Configurable alerts for "Buy Signal" and "Sell Signal" on price crossovers/crossunders.
Persistent Behavior: All components (signals, labels, lines, TSL, coloring) remain on the chart indefinitely, consistent with the original design.
Use Cases:
Perfect for swing trading on any timeframe (e.g., 1-minute for scalping, 1-hour for swing trading) and asset (e.g., NASDAQ E-mini futures, stocks, forex).
Enhances decision-making by aligning short-term trades with higher timeframe trends.
Supports both manual trading (via visual cues) and automated trading (via alerts).
License:
Released under the Mozilla Public License 2.0. Created by ceyhun, with a shoutout to AnotherDAPTrader.
How to Use the Accurate Swing Trading System in TradingView
Add the Script to TradingView:
Open TradingView (www.tradingview.com) in a browser or desktop app.
Navigate to the Pine Editor (bottom panel of any chart).
Copy and paste the provided Pine Script code.
Click "Add to Chart" to apply the indicator to your active chart.
Configure Indicator Settings:
Access settings by clicking the gear icon next to the indicator name on the chart.
Adjust the following inputs:
Swing (default: 3): Defines the lookback period for calculating the highest high and lowest low used in the TSL. Higher values produce smoother but potentially delayed signals.
Barcolor (default: true): Enables/disables green (bullish) or red (bearish) candlestick coloring based on close vs. TSL.
Bgcolor (default: false): Enables/disables green/red background coloring for trend visualization.
Use HTF Confluence (default: true): Enables/disables HTF trend filtering. When enabled, signals adjust to reflect HTF trend (e.g., "EXIT LONG" for sell signals if HTF is bullish).
Higher Time Frame (default: "60"): Select from for 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, Daily, Weekly, or Monthly HTF analysis.
Use Long Horizontal Lines (500 bars) (default: true): Toggles horizontal line length between 500 bars (long) and 50 bars (short).
Interpret Signals and Visuals:
Signal Labels:
"BUY" (green, below bar): Triggered when close crosses above TSL (and HTF is bullish or use_htf is off).
"SELL" (red, above bar): Triggered when close crosses below TSL (and HTF is bearish or use_htf is off).
"EXIT SHORT" (orange, below bar): Triggered on buy signals when HTF is bearish (with use_htf on).
"EXIT LONG" (orange, above bar): Triggered on sell signals when HTF is bullish (with use_htf on).
Horizontal Lines:
Green lines (buy signals) and red lines (sell signals) are plotted at the close price of the trigger bar, aligning with TSL color changes (green to red or vice versa).
Lines extend 50 bars (if long_lines is false) or 500 bars (if true) to the right.
TSL Line: A continuous line (linewidth=3) showing the TSL level, colored green (close >= TSL) or red (close < TSL).
Bar/Background Coloring: If enabled, candlesticks and background are colored green (bullish) or red (bearish) based on close vs. TSL.
Set Up Alerts:
Right-click the indicator name on the chart and select "Add Alert."
Choose "Buy Signal" or "Sell Signal" as the condition.
Configure alert settings (e.g., notification method, frequency: once per bar, etc.).
Alerts trigger on Buy (crossover) or Sell (crossunder) events, ideal for trade execution or monitoring.
Test on a Chart:
Apply to a chart (e.g., NASDAQ E-mini futures, 1-minute timeframe, as per your metadata from July 10, 2025, 05:41 PM CDT).
Verify:
Labels: "BUY", "SELL", "EXIT LONG", "EXIT SHORT" appear only on crossover/crossunder bars.
Horizontal Lines: Green/red lines plot at the close price where TSL changes color (green to red for Sell, red to green for Buy), extending 50 or 500 bars based on long_lines.
TSL Line: Updates continuously, colored green/red based on close vs. TSL.
Coloring: Bar/background coloring (if enabled) reflects trend direction.
HTF Confluence: With use_htf on, test htf_res = "M" (and others like "60", "D") to ensure signals adjust correctly (e.g., "EXIT LONG" for sell signals if monthly HTF is bullish).
Alerts: Confirm alerts trigger on crossovers/crossunders.
Ensure all components persist indefinitely (no decay).
Best Practices:
Timeframe: Use on any timeframe (e.g., 1m for scalping, 1h for swing trading). Adjust Swing to balance signal frequency and reliability.
Asset: Suitable for volatile assets like NASDAQ E-mini futures, stocks, or forex.
HTF Alignment: Enable use_htf for trend-aligned trades, especially on higher timeframes like "D" or "M".
Line Length: Use long_lines = true for longer-term visualization (500 bars) or false for shorter-term (50 bars).
Risk Management: Combine with stop-loss/take-profit levels and proper position sizing, as the system does not include risk management.
Acknowledgments:
License Note:
This script is provided under the Mozilla Public License 2.0. Users are free to use, modify, and distribute it per the license terms.
Göstergeler ve stratejiler
PUNPORTFX MARKET STRUCTURE CHECK LiteIt is used for viewing trends with MACD and trend, showing it in a simple graphic.
EdgeXplorer - Profit Bottoms EdgeXplorer – Profit Bottoms
⸻
🔍 What This Indicator Does
Profit Bottoms is a custom momentum oscillator designed to reveal price strength inflections through correlation logic. It identifies potential market exhaustion zones, highlights overbought/oversold conditions, and visually marks swing tops and bottoms — helping traders pinpoint profit-taking opportunities or early reversals across any asset or timeframe.
It features a flexible histogram view, color-coded background trends, and precision labels for clearer insight into market sentiment momentum shifts.
⸻
⚙️ How It Works
At the core of this indicator is a correlation function:
• It measures how strongly the price (close) correlates with bar index progression over a lookback window — essentially evaluating how directional recent price action has been.
• This results in a “strength index” ranging between +1 (strong uptrend) and -1 (strong downtrend).
• It tracks the slope of this index to infer trend direction and visually represent shifts.
From there, the indicator layers on:
• Dynamic overbought/oversold zones (±0.9)
• Swing high/low detection based on local peaks and troughs
• Trend background shading based on momentum slope
• Optional histogram and fill display styles
⸻
📈 Visual Components Explained
Element Meaning
🔮 Pulse Strength Line (purple line) Primary oscillator showing strength of directional movement
🌈 Colored Fill Fills above/below baseline to represent bullish/bearish intensity
🟢 Green Background Slope of strength index is rising (trend gaining)
🔴 Red Background Slope of strength index is falling (trend weakening)
🔼 ↑ Label Price is entering extreme overbought territory
🔽 ↓ Label Price is entering extreme oversold territory
🟠 Circle Markers Swing Top (Teal) or Swing Bottom (Orange)
📊 Histogram / Line Style Alternate visualizations of the oscillator based on user preference
⸻
📊 Input Settings Explained
Setting Description
Window Size Lookback period for correlation calculation
Bull Fill / Bear Fill Gradient colors for up/down momentum
Mark Tops/Bottoms Enables visual detection of swing highs/lows
Highlight Overbought/Oversold Displays zone entry markers (↑/↓) near extremes
Show Pulse Histogram Adds either histogram or line view
Histogram Style Choose between histogram bars, a thin line, or hide the visual entirely
⸻
🧠 How to Interpret in Different Market Conditions
Condition Interpretation
Strength Index near +1 Strong upward correlation — trend likely maturing or overbought
Strength Index near -1 Strong downward correlation — trend possibly exhausted or oversold
Cross below 0 Momentum shift from bullish to bearish
Cross above 0 Momentum shift from bearish to bullish
Swing Top Detected Potential short-term exhaustion — profit zone for longs
Swing Bottom Detected Early reversal zone or buying opportunity
The colored background makes it easy to visually segment the chart by trend environment, while the swing markers and zone labels add precision entry/exit timing cues.
⸻
🧪 Use Cases & Strategy Tips
• Scalpers & intraday traders: Use swing tops/bottoms with zone labels for tight entries.
• Swing traders: Watch for strength fading as a warning sign to exit positions.
• Divergence Spotting: Compare price action to the oscillator for hidden signals.
• Momentum Riders: Use histogram mode with background coloring to stay in trend longer.
For example:
If you see a swing bottom occur just below the -0.9 zone, paired with a background color flip from red to green — that’s a high-probability setup for reversion or breakout.
⸻
🧷 Alerts Included
This indicator provides built-in alerts for key conditions:
• EPS+ Top Detected → Swing Top
• EPS+ Bottom Detected → Swing Bottom
• EPS+ Overbought Zone → Strength Index > 1
• EPS+ Oversold Zone → Strength Index < -1
These can be used in alert-based automation or simply for manual signal confirmation.
Enhanced Swing + Intraday Strategy + Entry/Exit LabelsPurpose
This TradingView Pine Script is designed for swing traders who hold trades for 3–5 days, but also occasionally do intraday trading. It combines momentum indicators, moving averages, and support/resistance tools to give a complete picture of trend direction, entries, and exits.
Features and Logic Breakdown
1. 20-Day Simple Moving Average (Daily Timeframe)
Fixed to the daily chart, regardless of your active chart timeframe.
Acts as a trend filter and price magnet, especially useful for mean reversion setups.
Helps assess whether the stock is overbought/oversold relative to its 1-month average.
2. VWAP (Volume-Weighted Average Price)
Useful for intraday trades.
Acts as an intraday "fair value" and gravity zone.
Helps identify entries near institutional support/resistance.
3. 9-EMA and 20-EMA (Current Timeframe)
Short-term trend signals.
When 9 EMA crosses above 20 EMA → bullish entry.
When 9 EMA crosses below 20 EMA → bearish exit.
4. Entry/Exit Labels
Plots "Enter" label (green) when 9 EMA crosses above 20 EMA.
Plots "Exit" label (red) when 9 EMA crosses below 20 EMA.
Helps visually track signals without guesswork.
5. Alerts
Built-in conditions to trigger alerts for:
Bullish cross (9 EMA above 20 EMA)
Bearish cross (9 EMA below 20 EMA)
6. Bollinger Bands (20-period, 2 Std Dev)
Shows volatility expansion/contraction around the 20-period SMA.
Can help identify overextended prices or squeeze setups.
Plotted as gray upper/lower bands with shading.
7. MACD (12/26/9) – Hidden
Measures momentum and trend strength.
Lines and histogram are hidden by default but can be toggled on in settings.
8. RSI (14) – Hidden
Measures overbought/oversold conditions.
Hidden by default but plotted between 0–100 with 30/70 lines.
How to Use
On Daily Charts:
Use the script for core swing entries. Enter long on 9 EMA > 20 EMA when price is near the 20-day SMA. Confirm with RSI/MACD if needed.
On Intraday Charts:
Use VWAP and EMAs to manage exits or find sharp intraday pullbacks.
The 20-day SMA still acts as an anchor.
Recommended Trade Flow
1. Identify price trend: Is it above or below the 20-day SMA?
2. Wait for EMA cross entry signal ("Enter" label).
3. Check if RSI is in neutral (not overbought) and MACD histogram is rising.
4. Manage trade using VWAP and 20-day SMA as guide.
5. Exit when "Exit" label triggers or price extends from VWAP.
EdgeXplorer - Dynamic Price ActionEdgeXplorer – Dynamic Price Action
Dynamic Price Action by EdgeXplorer is a high-precision structural framework that detects and maps market structure shifts, liquidity zones, and sweep events in real time. Built for traders who prioritize price behavior over indicators, this suite intelligently interprets swing pivots, volatility ranges, and institutional footprints to surface key decision-making zones on your chart.
Whether you trade Smart Money Concepts (SMC), classical price action, or hybrid strategies, Dynamic Price Action helps you visualize where price is reacting, where it’s hunting stops, and when structure is shifting — without the noise.
⸻
🔍 What Does Dynamic Price Action Do?
This indicator tracks three core elements:
1. Market Structure Shifts – Bullish and bearish swing breaks (BOS and MSS)
2. Liquidity Zones – Dynamic detection of potential buy-side and sell-side liquidity pools
3. Sweep Events – Real-time detection when liquidity is taken out (aka stop hunts or raids)
It also contains logic for Order Block detection, giving you a foundational structure for further Smart Money analysis (note: OB visuals are currently off by default but fully supported).
⸻
⚙️ How It Works – Technical Breakdown
1. Market Structure (BOS / MSS)
• Detects swing highs and lows using a 3-bar pivot system
• When a valid swing is confirmed:
• A BOS (Break of Structure) line is drawn for bullish shifts
• An MSS (Market Structure Shift) line is drawn for bearish transitions
• Lines are plotted with customizable styles and optional labels
2. Liquidity Detection
• Liquidity zones are marked based on:
• Recent confirmed swing highs or lows
• ATR-based range check (swing must exceed Liquidity Sensitivity threshold)
• Post-swing candle direction (bullish or bearish close)
• Sell-Side Liquidity = swing highs likely containing stop clusters
• Buy-Side Liquidity = swing lows likely containing stop clusters
• Each zone is tagged visually and stored for later sweep checks
3. Sweep Recognition
• If price breaches a previously tagged liquidity level:
• A “Sell Sweep” label appears above the former sell-side zone
• A “Buy Sweep” label appears below the former buy-side zone
• Zones are removed after being swept to reduce clutter
4. Order Block Logic (Optional)
• The script includes full logic to detect bullish/bearish order blocks based on:
• Body-based or wick-based structure (user preference)
• Candle volume criteria
• Visuals are turned off for now but can be easily re-enabled
⸻
📈 What You See on the Chart
Visual Element Meaning
Green BOS Line Bullish break of market structure (higher high)
Red MSS Line Bearish shift in structure (lower low)
“Sellside Liquidity” Label Area above a swing high likely to hold resting liquidity
“Buyside Liquidity” Label Area below a swing low likely to hold resting liquidity
“Sell Sweep” Label A stop hunt above a prior high
“Buy Sweep” Label A stop hunt below a prior low
All elements are dynamically drawn, adapting to price behavior with zero repainting.
⸻
📊 Inputs & Settings Explained
Market Structures
Setting Description
Enable Market Structures Toggle BOS/MSS logic
Detection Mode Conceptual filter: Short-Term, Mid-Term, Long-Term (doesn’t affect logic)
Show Labels Display BOS and MSS labels above/below structure
Line Style Choose between Solid, Dashed, or Dotted
Bullish/Bearish Colors Customize line and label appearance
Liquidity Zones
Setting Description
Liquidity Sensitivity How large a swing must be (ATR multiplier) to qualify as a liquidity point
Order Blocks
Setting Description
Use Candle Body If true, OB zones are based on open/close instead of high/low
⸻
🧠 How Traders Can Interpret Dynamic Price Action
Structure-Based Bias:
• BOS = bullish structure continuing → look for long setups
• MSS = bearish structure breaking down → caution for reversals
Liquidity Zones:
• Price nearing a Sellside Liquidity zone? Watch for sweep + rejection
• Price tapping Buyside Liquidity? Look for absorption or reversal
Sweep Events:
• A Buy Sweep can signal accumulation
• A Sell Sweep can mark distribution or a trap breakout
Use sweeps as confirmation, trap detection, or entry filters.
⸻
🧪 Strategy Use Cases
• 🔍 Smart Money Concepts (SMC): Combine BOS/MSS + sweeps for refined CHoCH entries
• 🔄 Reversal Traders: Wait for sweep + structure shift before entering against prior trend
• 📉 Trend Continuation: Use BOS + liquidity clears to confirm direction
• 🎯 Scalping: Sweep zones act as high-probability entry areas on LTFs
Support & Resistance by O Dinesh BabuThis Script is Specifically Designed to Work with NIFTY, BANKNIFTY & FINNIFTY Indices Only..
For Optimal Results, Please Wait for the 1st 15-Minute Candle to Complete Before Initiating Any Trades..
Wishing All Traders the Very Best in Their Journey..
Warm Regards,
O. Dinesh Babu
Son of Mr. & Mrs. O. Asha Rama Krishna
Crypto Breadth | AlphaNatt\ Crypto Breadth | AlphaNatt\
A dynamic, visually modern market breadth indicator designed to track the strength of the top 40 cryptocurrencies by measuring how many are trading above their respective 50-day moving averages. Built with precision, branding consistency, and UI enhancements for fast interpretation.
\ 📊 What This Script Does\
* Aggregates the performance of \ 40 major cryptocurrencies\ on Binance
* Calculates a \ breadth score (0.00–1.00)\ based on how many tokens are above their moving averages
* Smooths the breadth with optional averaging
* Displays the result as a \ dynamic, color-coded line\ with aesthetic glow and gradient fill
* Provides automatic \ background zones\ for extreme bullish/bearish conditions
* Includes \ alerts\ for key threshold crossovers
* Highlights current values in an \ information panel\
\ 🧠 How It Works\
* Pulls real-time `close` prices for 40 coins (e.g., XRP, BNB, SOL, DOGE, PEPE, RENDER, etc.)
* Compares each coin's price to its 50-day SMA (adjustable)
* Assigns a binary score:
• 1 if the coin is above its MA
• 0 if it’s below
* Aggregates all results and divides by 40 to produce a normalized \ breadth percentage\
\ 🎨 Visual Design Features\
* Smooth blue-to-pink \ color gradient\ matching the AlphaNatt brand
* Soft \ glow effects\ on the main line for enhanced legibility
* Beautiful \ multi-stop fill gradient\ with 16 transition zones
* Optional \ background shading\ when extreme sentiment is detected:
• Bullish zone if breadth > 80%
• Bearish zone if breadth < 20%
\ ⚙️ User Inputs\
* \ Moving Average Length\ – Number of periods to calculate each coin’s SMA
* \ Smoothing Length\ – Smooths the final breadth value
* \ Show Background Zones\ – Toggle extreme sentiment overlays
* \ Show Gradient Fill\ – Toggle the modern multicolor area fill
\ 🛠️ Utility Table (Top Right)\
* Displays live breadth percentage
* Shows how many coins (e.g., 27/40) are currently above their MA
\ 🔔 Alerts Included\
* \ Breadth crosses above 50%\ → Bullish signal
* \ Breadth crosses below 50%\ → Bearish signal
* \ Breadth > 80%\ → Strong bullish trend
* \ Breadth < 20%\ → Strong bearish trend
\ 📈 Best Used For\
* Gauging overall market strength or weakness
* Timing trend transitions in the crypto market
* Confirming trend-based strategies with broad market support
* Visual dashboard in macro dashboards or strategy overlays
\ ✅ Designed For\
* Swing traders
* Quantitative investors
* Market structure analysts
* Anyone seeking a macro view of crypto performance
Note: Not financial advise
Bitcoin 12/26 EMA Crossover with ADX Filter [5min Intraday]A trend-following strategy for Bitcoin on a 5-minute intraday chart, using 12/26 EMA crossovers with ADX and volume filters to reduce false signals in ranging markets.
Key Features:
Entries: Long: 12 EMA crosses above 26 EMA, ADX > 25, volume > 1.5x 20-period average.
Short: 12 EMA crosses below 26 EMA, ADX > 25, volume > 1.5x 20-period average.
Exits: Long: 2% stop loss or 12 EMA crosses below 26 EMA.
Short: 2% stop loss, 3% take profit, or 12 EMA crosses above 26 EMA.
Filters: ADX (14-period) > 25 ensures trending markets; volume filter confirms strong participation.
Triangular Fib🔍 Features
- Dynamic Lookback & Projection: Automatically adjusts the range and projection horizon based on timeframe changes.
- Triangular Fibonacci Arms: Projects fib levels upward and downward from high/low extremes to highlight potential price inflections.
- Volatility-Shaded Equilibrium: Visual zone highlights areas of consolidation or energy buildup before breakouts.
- Breakout Alerts: Detects and signals bullish/bearish breakouts from triangular fib thresholds.
- Auto-Traced Triangle Wedge: Dotted wedge lines visually represent narrowing price action from range extremes to midpoint.
Ideal for traders who seek visual clarity, price symmetry, and alert-driven decision-making across multiple timeframes. Whether you're swing trading or intraday scouting, this script provides a richly layered roadmap of market potential.
Not financial advice.
Hidden Markov ModelOverview
This model uses a Hidden Markov Model to identify and predict market regimes in real-time. It is designed to probabilistically identify market regime changes and predict potential reversal point using a forward algorithm to calculate the probability of a state.
Unlike traditional technical indicators that rely on price patterns or moving averages, this HMM analyses the underlying statistical structure of market movements to detect when the market transitions between different behavioural states such as trending, ranging, or volatile periods
How it works
The HMM assumes that market behavior follows hidden states that aren't directly observable, but can be inferred from observable market data (emissions). The model uses a (somewhat simplified) Bayesian inference to estimate these probabilities.
State 0: (Normal Trading): Market continuation patterns, balanced buying/selling
State 1: (Top Formation): Exhaustion patterns at price highs
State 2: (Bottom Formation): Capitulation patterns at price lows
How to use
1) Identify the trend (you can also use it counter-trend)
2) For longing, look for a green arrow. The probability values should be red. For shorting, look for a red arrow. The probability values should be green
3) For added confluence, look for high probability values of above 25%.
Advantages and what makes it unique
Unlike moving averages or oscillators that react to price changes, the HMM proactively identifies the underlying market structure. This forward-looking approach can signal regime changes before they become apparent in price action, providing traders with an informational edge.
CRT + PO3 Range Theory Hey everyone, I’ve put together a little script for TradingView that tries to show the classic CRT + PO3 (Power of Three) pattern. It’s still a work in progress, so please use it on a demo account and let me know what you think!
What It Does
Accumulation Phase: On each higher‐timeframe bar (e.g. 2-hour), it draws a shaded zone where price is hanging out. That’s when we assume “big players” are quietly building positions.
Manipulation Phase: If price briefly pokes above or below that zone but then slips back inside, it marks that wick as a shake-out.
Distribution Phase: When price finally closes cleanly outside the zone, it draws another shaded area and drops a “Distribution” label plus a big LONG or SHORT arrow on that bar.
You can tweak it so it only shows signals when a bar closes (no more weird flashing mid-bar), or even allow “direct” Distribution on a clean breakout without waiting for a fake wick first.
How to Set It Up
Add the script from your Indicators list.
Pick your HTF (I like 2-hour or 4-hour).
Turn “Show Zone Labels” on or off—these are the little “Accumulation/Manipulation/Distribution” tags.
Turn “Show Entry Signals” on to get the big LONG/SHORT arrows.
If you hate flicker, check “Show signals only at bar close.”
If you want to catch a swift breakout (no fake-out needed), check “Allow direct Distribution on clean breakout.”
There are also sliders for zone colors, transparency, label size, and how far above/below the bars the labels sit.
Why It’s Still a Beta
I’m not a CRT/PO3 guru—this is more of a hobby project and a little facination for this strategy.
There might be edge cases where it misses a shake-out or flags a Distribution too early.
I take no responsibility for your trades—please only run it on a demo account until we’ve worked out the quirks.
Feedback Wanted!
If you try it out, I’d love to hear:
Did the Manipulation wicks line up where you expected?
Were the Distribution arrows on the right bars?
Any ideas for easier settings or extra alerts?
Thanks for testing and helping me turn this into something solid!
Enhanced Neowave Wave 1 Finder with ZigZagThis script is an advanced technical analysis indicator for the TradingView platform, written in Pine Script version 5. Its primary goal is to identify potential Elliott Wave "Wave 1" patterns, enhanced with principles from Neowave theory and a custom ZigZag indicator for more accurate pivot detection. The script is designed to be overlaid on the main price chart.
Core Functionality: Blending ZigZag and Neowave
The indicator's methodology is a two-part process. First, it identifies significant price swings using a robust ZigZag indicator. Then, it analyzes these swings based on a set of rules derived from Neowave and classic technical analysis to validate them as potential Wave 1 patterns.
Part 1: ZigZag Integration
The first major component is a comprehensive ZigZag indicator that forms the foundation for all subsequent analysis.
Pivot Detection: The pivots() function is the engine of the ZigZag. It scans the historical price data for significant high and low points (pivots) over a user-defined Length.
Segment Drawing: Once pivots are identified, the script draws lines connecting them, creating the classic ZigZag pattern on the chart.
Extended Direction & Ratios: This is an enhanced feature. The script doesn't just identify highs and lows; it categorizes them as:
Higher High (HH) or Lower High (LH)
Lower Low (LL) or Higher Low (HL)
This classification is crucial for understanding the market structure. It also calculates the price ratio of the most recent ZigZag leg relative to the previous one, which is used later for pattern validation.
Dynamic Updates: The ZigZag is not static. On each new bar, it can update its most recent pivot point if a new, more extreme price (a higher high or a lower low) is printed before the direction officially changes. This ensures the ZigZag is always reflecting the most current and significant price action.
Part 2: Neowave Wave 1 Finder
With the market structure defined by the ZigZag, the second part of the script applies a rigorous set of rules to identify potential Wave 1 patterns. A Wave 1 is the initial move of a new trend in Elliott Wave theory.
Key Validation Criteria
For a price move between two ZigZag pivots to be considered a valid Wave 1, it must pass a series of checks:
Significance: The move must have a minimum percentage change (Minimum Wave Length) and last for a minimum number of bars, filtering out insignificant noise.
Volume Confirmation: A genuine impulse wave is typically supported by increasing volume. The script checks if the volume during the potential Wave 1 is significantly higher than the recent average (Volume Increase Threshold).
Momentum Alignment: The direction of the wave must be confirmed by momentum indicators.
For a bullish (upward) Wave 1, the Relative Strength Index (RSI) must be in a bullish regime (above 50) and the MACD line must be above its signal line.
For a bearish (downward) Wave 1, the RSI must be below 50 and the MACD line must be below its signal line.
Structural Analysis (Impulse vs. Diagonal): The script attempts to differentiate between two types of Wave 1:
Impulse Wave: A strong, clean, and direct move.
Diagonal Wave: A more complex, overlapping, and often wedge-shaped pattern. This is identified by analyzing the time and price complexity of the move, along with the ZigZag leg ratios.
Wave 2 Retracement Check: A critical Neowave rule is that a valid Wave 1 must be followed by a valid Wave 2 retracement. The script looks at the next ZigZag leg to ensure it doesn't retrace more than 100% of the potential Wave 1. It also uses the ZigZag ratios to confirm the retracement falls within typical Fibonacci levels (e.g., 38.2% to 78.6%).
Display and User Interface
The script provides a rich visual experience to aid the trader in their analysis.
Wave Labels and Boxes: When a valid Wave 1 is detected, it is highlighted with a colored line (green for bullish, red for bearish) and a shaded background box. A label clearly marks it as "Wave 1 IMPULSE" or "Wave 1 DIAGONAL".
Fibonacci Retracement Levels: Upon detection of a Wave 1, the script automatically draws key Fibonacci retracement levels (38.2%, 50%, 61.8%, 78.6%). These levels are potential targets for the end of the subsequent Wave 2, offering potential entry points for a Wave 3 trade.
Information Labels: Additional labels provide at-a-glance confirmation of the conditions, showing whether volume and momentum criteria were met.
Customizable Inputs: Users have extensive control over the indicator's parameters, including the ZigZag length, volume thresholds, RSI levels, and the colors of all visual elements.
Alerts: The indicator can be configured to generate an alert whenever a new bullish or bearish Wave 1 pattern is confirmed, allowing traders to be notified of potential opportunities in real-time.
QEMO: Quantum Electromagnetic Oscillator (Safe Adjusted)This is a highly conceptual and oscillator and It attempts to model market dynamics by borrowing concepts from quantum physics and electromagnetism to create a unique oscillator. It does not represent any real physical phenomena but uses these concepts as metaphors for market forces.
Here is a breakdown of its core components:
1. Quantum Price Wavefunction (The Core Price Engine)
This is the most abstract part of the script. It tries to model price not as a single point, but as a "wavefunction" representing a distribution of probable future prices.
Volatility & Price Grid: It first calculates recent market volatility. Based on this volatility, it creates a dynamic grid of possible price levels (price_bins) around the current price.
Probability Density: It assigns a probability to each price level in the grid.
"Energy" Operators:
Kinetic Energy: Metaphorically represents the "momentum" or rate of change of the price probabilities.
Potential Energy: A force field that influences the probabilities, derived from a combination of volatility and trading volume.
Expected Price: After evolving these probabilities, it calculates a single "expected price" which is the weighted average of all prices in the grid, based on their final probabilities.
2. Electromagnetic Fields (Buying vs. Selling Pressure)
This section models the battle between buyers and sellers in a more familiar way:
E-Field (Electric/Buying): Represents buying pressure, calculated from upward price moves (close - open) multiplied by volume.
B-Field (Magnetic/Selling): Represents selling pressure, calculated from downward price moves (open - close) multiplied by volume.
Lorentz Force (F_net): This is the net force (E - B), representing the overall directional pressure in the market. A positive value means buyers are in control; a negative value means sellers are.
3. Entanglement Entropy (Systemic Risk/Stability)
This component aims to measure the market's stability or "systemic risk."
It calculates a form of auto-correlation on recent price returns.
A high degree of instability in this correlation results in a high "Entropy" (S) value.
Essentially, a high S suggests the market is chaotic and unpredictable (low stability), while a low S suggests it is more stable and trending.
4. Final QEMO Calculation & Plotting
All the components are combined to create the final oscillator value:
Final Value: The qemo value is a product of the expected_price, the amplified net force, and the market stability (1 - S).
Smoothing: This raw qemo value is then smoothed with an Adaptive Moving Average (AMA) to produce the final line that gets plotted on the chart.
Visualization:
The main oscillator line is plotted below the chart. Its color changes based on its value (e.g., blue for positive, red for negative).
The background color of the indicator pane changes based on the Entropy (S), providing an immediate visual cue of market stability (e.g., black for stable, white for chaotic).
The script also plots 99th and 1st percentile bands to help identify statistically extreme readings in the oscillator's value.
Anpassbare Zeitintervall LinienThe indicator offers the ability to draw vertical lines at custom-defined time intervals.
Within each of these intervals, the highest and lowest prices are automatically marked, providing clear visual reference points for market extremes.
Smart BB Reversal + Tick Volume Table [NR]This script combines:
Smart Bollinger Band Reversal Detection to identify high-probability reversal zones,
A real-time tick volume table showing Buy vs Sell strength over the last 10 trades (ticks),
Color-coded candles for trend clarity,
Buy/Sell signals based on volume pressure and support/resistance touches.
✅ Ideal for intraday and scalping traders.
✅ Works best on Nifty, BankNifty, and Gold.
✅ No repaint.
✅ Clear entry & exit with visual confirmations.
Use with Bollinger Band and MACD confirmation for best results.
Break & Retest Strategy V2 (Clean Visuals)This strategy is built on a high-probability EMA breakout and retest model, designed for traders who want clean structure-based entries filtered by trend alignment and strong price action. It leverages:
• ✅ A 44 EMA trend filter on the 4H chart
• ✅ HTF directional bias from the Daily 44 EMA
• ✅ Breakout above the EMA followed by a wick-based retest
• ✅ Strong bullish candle confirmation (body > 50% of range)
• ✅ Dynamic stop loss using either the pivot low or a buffer below the EMA
• ✅ Fixed 1:3 Risk:Reward ratio for consistent reward targeting
• ✅ Cooldown system to prevent overtrading
• ✅ Clean, minimal visuals using smart RR boxes instead of chart clutter
This system is fully backtestable and designed with prop firm challenge criteria in mind — prioritizing risk control, clarity, and high-quality trade conditions.
⸻
🔧 Current Development Goals (V3 Roadmap)
We’re actively refining the system to improve win rate and profit factor, while keeping drawdown low. Key upgrades in progress:
1. 📈 Liquidity Trap Filter
• Add logic to confirm a wick below recent lows (liquidity sweep) before retesting the EMA
2. 🧠 Partial Take Profits + Breakeven Logic
• TP1 at 1.5R → move SL to breakeven
• TP2 at 3R → close remaining position
3. 🔁 Trade Session Filter
• Limit entries to London & New York AM sessions to avoid false signals in low volume periods
4. 📉 Short Entry Engine
• Mirror logic for bearish break + retest setups below the EMA
5. 🔔 Live Alerts System
• Entry signal alerts for hands-free, real-time trading decisions
6. 📊 Optimizer Toolkit (future)
• Add ATR/volatility filters
• Add market structure confluence zones (HH/HL filters)
• Smart cooldown timer based on wins/losses or volatility shifts
Futures Support & Resistance LevelsMulti-Timeframe Support & Resistance Levels for Futures Trading
Description:
This indicator automatically identifies and displays key support and resistance levels using multiple technical analysis methods. Designed specifically for futures traders (ES, NQ, etc.), it provides a clean, organized view of important price levels.
Key Features:
Multiple Detection Methods: Combines pivot points, daily ranges, and psychological levels
Smart Ranking System: Levels are numbered by strength (1 = strongest)
Clean Visualization: Extended lines across the chart with clear price labels
Confluence Detection: Highlights areas where multiple levels converge
Customizable Display: Adjust colors, line styles, and label sizes
Level Types Identified:
Daily High/Low (current session)
Previous Daily High/Low
Pivot-based Support/Resistance
Psychological Round Numbers
Confluence Zones (multiple levels clustering)
Technical Approach:
The indicator uses a strength-scoring algorithm to rank levels by importance. Daily levels receive the highest weighting (2.0), followed by previous daily levels (1.5), pivot points (1.0), and psychological levels (0.5). This helps traders focus on the most significant levels.
Visual Elements:
Solid lines = Strong levels
Dashed lines = Medium levels
Dotted lines = Weak levels
Optional technical condition markers for educational analysis
Best Used For:
Identifying key intraday levels for futures trading
Finding high-probability reversal zones
Setting logical stop-loss and take-profit levels
Recognizing confluence areas for stronger setups
Note:
This is a technical analysis tool for educational purposes. No indicator can predict future price movements. Always use proper risk management and combine with other forms of analysis.
Candle Range Theory (CRT) indicator📌 Indicator Name: Candle Range Theory (CRT) indicator
This indicator detects potential bullish and bearish reversal setups based on specific candlestick price action behavior. It is designed to highlight moments when the market may be rejecting extremes and preparing to reverse direction — but only after confirmation with the closing price.
🔍 How It Works:
Bullish Setup (Long Signal):
The previous candle is bearish (closes lower than it opens).
The current candle makes a lower low than the previous one.
The current candle closes above the previous candle’s close.
Bearish Setup (Short Signal):
The previous candle is bullish (closes higher than it opens).
The current candle makes a higher high than the previous one.
The current candle closes below the previous candle’s close.
Signals are only triggered after the bar is fully closed, to avoid premature entries.
🔔 The script includes alert conditions for both long and short setups so you can receive notifications instantly.
🎥 Inspiration:
The idea for this indicator came from the excellent educational content presented in this video:
"How to Read Candlesticks Like a Pro"
We highly recommend watching it to better understand the price action principles behind this signal.
DCA by Vuong Thai v2 %verview of "DCA by Vuong Thai %" – Upgraded Version
Main Function:
This script automatically detects optimal DCA (Dollar-Cost Averaging) buy points and smart profit-taking zones based on a combination of technical signals: EMA, candlestick patterns, volume, RSI, and price distance from EMA.
It helps you optimize capital allocation using a structured averaging-down strategy and exit trades when a target price range is reached.
✅ Buy Logic (Buy Signal)
A buy signal is triggered when all of the following conditions are met:
Strong bullish candlestick: Green candle with a longer lower wick than upper wick
Price is below the EMA → indicating a downtrend
Volume is above the moving average (if volume filtering is enabled)
Price is at least a certain percentage below the EMA (e.g., ≥ 1%)
RSI is below 30 → indicating an oversold condition
No repeat buys unless price makes a new low → helps avoid premature entries
👉 When a buy signal appears:
A DCA Zone (buy region) is drawn on the chart
A label with the corresponding DCA percentage is displayed automatically (e.g., "DCA 5%", "DCA 10%")
10/50 EMA Cloud + 21 EMA + VWAP + FractalsThis indicator is designed for active traders and combines several popular technical analysis tools into a single, easy-to-use overlay. It helps traders identify trend direction, dynamic support and resistance, and potential reversal points, all while providing optional fractal signals for added clarity.
Features and Components
1. EMA Cloud (10/50 EMA)
10-period EMA (Exponential Moving Average): Tracks short-term price momentum.
50-period EMA: Represents a longer-term trend.
Cloud Visualization: The area between the 10 and 50 EMA is filled with color:
Green cloud when the 10 EMA is above the 50 EMA, signaling bullish momentum.
Red cloud when the 10 EMA is below the 50 EMA, signaling bearish momentum.
Purpose: Quickly visualize the prevailing trend and potential trend shifts.
2. 21-period EMA
21 EMA: Plotted as a blue line, this moving average is widely used to gauge intermediate-term trend and dynamic support/resistance.
Purpose: Acts as a reference for trend-following entries and exits.
3. VWAP (Volume Weighted Average Price)
VWAP Line: Plotted in orange, VWAP gives the average price weighted by volume for the session.
Purpose: Useful for identifying fair value, potential bounce/reversal zones, and institutional interest levels.
4. Fractals (Toggleable)
User Option: A setting allows the user to turn fractal signals on or off.
Fractal Logic: Uses a 5-bar pattern:
Up Fractal: Plots a green triangle above the bar if the high of the middle bar (2 bars ago) is higher than the highs of the two bars before and after.
Down Fractal: Plots a red triangle below the bar if the low of the middle bar (2 bars ago) is lower than the lows of the two bars before and after.
Purpose: Highlights potential short-term reversal points or swing highs/lows.
5. Volume Bars
Volume Histogram: Plotted in gray at the bottom of the chart.
Purpose: Provides context for price action, helping to confirm breakouts or identify exhaustion.
How to Use This Indicator
Trend Identification: Use the EMA cloud and 21 EMA to determine the prevailing trend. Trade in the direction of the cloud color and EMA alignment.
VWAP Strategies: Look for price reactions at the VWAP for possible rebounds, breakouts, or reversals.
Fractal Signals: Enable fractals to spot potential reversal zones or to fine-tune entries/exits at swing points.
Volume Confirmation: Use volume bars to validate the strength of moves, especially near key EMAs or VWAP.
Customization
Fractals On/Off: Easily toggle fractal signals in the indicator settings to reduce chart clutter or focus on other signals as needed.