cd_sweep&cisd_CxOverview:
When the price is at a significant zone/level on a higher time frame (HTF), and it sweeps (breaks through and then closes back below/above) the high or low of the previous HTF candle, it is common to look for a Change in State of Delivery (CISD) on a lower time frame (LTF) to enter a trade.
This model can be summarized as:
HTF Sweep → LTF CISD (Optional: SMT / Divergences)
________________________________________
Working Principle & Details:
1. The indicator monitors price action on the selected HTF and tracks any sweep (violation) of the previous HTF candle's high or low. Simultaneously, it identifies CISD levels on the LTF. If SMT is enabled, it will appear as a label on the chart.
When both HTF sweep and LTF CISD conditions are met, the indicator marks the chart at the open of the next candle and triggers an alert if set.
CISD levels are tracked and updated whenever a new HTF high/low is formed.
2. The indicator monitors the formation of entry models on up to six selected pairs, displaying results in two separate tables:
o HTF Sweep Query Table: Monitors live HTF candles and reports pairs that meet the sweep condition.
o CISD Table: Displays the pairs where a valid entry model has formed. A "🔥" symbol indicates the condition has occurred.
3. Bias Visualization:
Based on the selected HTF, a visual band is shown at the bottom of the chart using the chosen bullish/bearish colors.
Bias is determined by:
o Candle closing above/below the previous one suggesting continuation.
o A failed close after a sweep implying potential reversal.
4. HTF Candles:
Displays HTF candles based on the user-defined time frame.
5. Optional SMT (Smart Money Technique):
Must be enabled in the menu and requires the correlated pair to be entered correctly for accurate results.
Displayed only as a visual confirmation, not a requirement for model formation.
If the currently open symbol sweeps the previous candle while the correlated symbol does not (or vice versa), an "SMT" label appears on the chart.
6. Color & Table Positioning:
Controlled via the settings menu.
________________________________________
Warnings:
• The indicator only marks CISDs that form at HTF high/low zones.
• Entering every time the model forms does not guarantee profitability.
• Waiting for the model to appear at significant HTF levels/zones increases the likelihood of success.
• HTF and LTF selections should follow commonly accepted combinations or user-tested time frames.
• If you want to trigger alerts only for symbols entered in the indicator, ensure the "Use indicator alerts" option is enabled.
• To set alerts for the TradingView watchlist instead, disable the "Use indicator alerts" option.
________________________________________
Feel free to share your thoughts and suggestions.
Happy trading! 💫
Multitimeframe
SPY, QQQ, VIX Status TableBased on Ripster EMA and 1 hour MTF Clouds, this custom TradingView indicator displays a visual trend status table for SPY, QQQ, and VIX using multiple timeframes and EMA-based logic to be used on any stock ticker.
🔍 Key Features:
✅ Tracks 3 symbols: SPY, QQQ, and VIX
✅ Multiple trend conditions:
10-min (5/12 EMA) Ripster cloud trend
10-min (34/50 EMA) Ripster cloud trend
1-Hour Multi-Timeframe Ripster EMA trend
Daily open/close trend
✅ Color-coded trend strength:
🟩 Green = Bullish
🟥 Red = Bearish
🟨 Yellow = Sideways
✅ TO save screen space, customizations available:
Show/hide individual rows (SPY, QQQ, VIX)
Show/hide any trend column (10m, 1H MTF, Daily)
Change header/background colors and font color
Bold white top row for readability
✅ Auto-updating table appears on your chart, top-right
This tool is great for active traders looking to quickly scan short-term and longer-term momentum in key market instruments without having to go back and forth market charts.
🟡🔵🟢🔴Beginner's Assistant by carljchapman🟡🔵🟢🔴
Overview
This indicator dynamically marks highs and lows of the premarket (4:00am-9:30amEST) and opening range. It displays Fair Value Gaps, 9 and 21 period Exponential Moving Averages (EMA) and the Volume Weighted Average Price (VWAP). To really help beginners, it marks suggested entry points on the chart with green or red triangles, when a reasonable trend appears.
Features
Automatically draws blue lines for Premarket High and Low values
Dynamically marks the opening Range region
Visual entry signals for long and short opportunities
Primarily used for stocks/funds , but works with forex and crypto
Quick configuration settings to tailor details for your experience level
Mobile friendly mode
Supports alerts
How To Use
Open your chart, and select a 1 or 2 minute timeframe.
Watch for green triangles and red triangles, hinting at entries for long or short positions. Pay particular attention to the price action as it approaches the bounds of the opening range and the premarket levels. I suggest also using a MACD indicator for confirmation of the trend.
For scalping 0dte Options, switch frequently between the 1 ,2 and 5 minute or higher timeframes. Do this so you will not miss an entry opportunity or be unaware of the overall trend.
As a beginner, until you have refined your strategy and develop risk management, take profits as low as 10%. A small profit can quickly become a much larger loss. With 0dte options, time will devour your profits even when the price doesn’t budge.
What makes this indicator so beginner friendly?
Charts with too many lines and colors are are a nightmare for beginners! And empty charts do not tell the whole story. Simple checkboxes in the configuration settings let you turn on and off features to match your comfort level. As you become more familiar you might try turning off the suggested entries to see if you would have selected the same or better ones yourself. Just one example of how you will learn and verify your knowledge. You will quickly spot Opening Range Breakouts and more.
Why are the triangle pointers not simply above or below the bars?
As a beginner, I like to review charts to see how much the price changed, then estimate how much a contract would move based on its delta. A mouthful, I know. But what price does an arrow pointing up below a bar reflect? Would I have entered at the open or close, low or high? This indicator helps by putting the marker close to the price when indicated. It can even display the actual price on the bar. This is helpful for you to make fast calculations without a measuring tool.
I am an experienced trader. Can this help me make winning trades?
Sure. It can also help you make losing ones! Profit is not guaranteed with any indicator or strategy. This indicator is designed to assist you as you learn and while you trade. You won't see the words BUY or SELL. This is not a signal bot! It is merely a tool to assist you. You can learn a lot by spending time observing price movement using this indicator without ever making a single trade.
🟡🔵🟢🔴
Magnet Zones: Trap Detection & Flow Map [@darshakssc]This script detects potential bull and bear trap candles—price actions that may appear strong but are likely to reverse—based on:
🔺 Wick structure
📊 Volume spike behavior
💡 RSI confirmation logic
⏳ Signal cooldown filter to reduce false positives
The indicator then plots:
🟥 Red “🚨 Trap” labels above candles showing possible bull traps
🟩 Green “🧲 Trap” labels below candles showing possible bear traps
➖ Horizontal zone lines to mark these trap levels as “magnet zones,” which may act as future support or resistance
🧠 How It Works:
1. Volume Spike Detection
2. The script first checks for unusually high volume (1.5× the average volume over the last 20 candles).
3. Trap Candle Structure
4. A trap is suspected when there is a long wick opposite the direction of the candle body, signaling a failed breakout or price manipulation.
5. RSI Confirmation
6. Bull Traps: RSI must be above 60
7. Bear Traps: RSI must be below 40
✅ This helps validate whether the price was overbought or oversold.
✅ Cooldown Mechanism
✅ After a trap is detected, it waits for 10 bars before allowing another signal—this reduces noise and overfitting.
✅ How to Use It:
1. Apply on any timeframe, especially effective for intraday trading (e.g. 5m, 15m, 1h).
2. Use the trap signals as early warnings to avoid fake breakouts.
3. Combine with your own strategy or trend-following system for confirmation.
4. The trap lines (magnet zones) can be used as dynamic support/resistance levels for future pullbacks or reversals.
⚠️ Important Note:
This script is for educational purposes only and is not financial advice.
Always use traps in combination with your personal discretion, risk management, and other confluence tools.
[Pandora] Laguerre Ultimate Explorations MulticatorIt's time to begin demonstrations differentiating the difference between known and actual feasibility beyond imagination... Welcome to my algorithmic twilight zone .
INTRODUCTION:
Hot off my press, I present this Laguerre multicator employing PSv6.0, originally formulated by John Ehlers for TASC - July 2025 Traders Tips. Basically I transcended Ehlers' notions of transversal filtration with an overhaul of his Laguerre design with my "what if" Pandora notions included. Striving beyond John Ehlers' original intended design. This action packed indicator is a radically revamped version of his original filter using novel techniques. My aim was to explore whether providing even more enhanced responsiveness and lesser lag is possible and how. Presented here is my mind warping results to witness.
EHLERS' LAGUERRE EXPLAINED:
First and foremost, the concept of Ehlers' Laguerre-izing method deserves a comprehensive deep dive. Ehlers' Laguerre filter design, as it functions originally, begins with his Ultimate Smoother (US) followed by a gang of four LERP (jargon for Linear intERPolation) filters. Following a myriad of cascading LERPs is a window-like FIR filter tapped into the LERP delay values to provide extra smoothness via the output.
On a side note, damping factor controlled LERP filters resemble EMAs indeed, but aren't exactly "periodic" filters that would have a period/length parameter and their subsequent calculations. I won't go into fine-grained relationship details, but EMA and LERP are indeed related in approach, being cousins of similar pedigree.
EXAMINING LAGUERRE:
I focused firstly on US initialization obstacles at Pine's bar_index==0 with nz() in abundance. The next primary notion of intrigue I mostly wondered about was, why are there four LERP elements instead of fewer or more. Why not three or why not two LERPs, etc... 1-4-6-4-1, I remember seeing those coefficients before in high pass filters.
Gathering my thoughts from that highpass knowledge base, I devised other tapped configuration modes to inspect their behavior out of curiosity. Eureka! There is actually more to Laguerre than Ehlers' mind provided, now that I had formulated additional modes. Each mode exhibits it's own lag/smoothness characteristics better than the quad LERPed version. I narrowed it down to a total of 5 modes for exploration. Mode 0 is just the raw US by itself.
ANALYZING FILTER BEHAVIORS:
Which option might be possibly superior, and how may I determine that? Fortunately, I have a custom-built analyzer allowing me to thoroughly examine transient responses across multiple periodicities simultaneously, providing remarkable visual insights.
While Ehlers has meagerly touched upon presenting general frequency responses in his books, I have excelled far beyond that. This robust filter analysis capability enables me to observe finer aspects hidden to others, ultimately leading to the deprecation of numerous existing filters. Not only this, but inventing entirely new species of filtration whether lowpass, highpass, or bandpass is already possible with a thorough comprehensive evaluation.
Revealing what's quirky with each filter and having the ability to discover what filters may be lacking in performance, is one of it's implications. I'm just going to explain this: For example US has a little too much overshoot to my liking, along with nonconformant cutoff frequency compliance with the period parameter. Perhaps Ehlers should inspect US coefficients a bit closer... I hope stating this is not received in an ill manner, as it's not my intention here.
What this technically eludes to is that UltimateSmoother can be further improved, analogous to my Laguerre alterations described above. I will also state Laguerre can indeed be reformulated to an even greater extent concerning group delay, from what I have already discussed. Another exciting time though... More investigative research is warranted.
LAGUERRE CONCLUSIONS:
After analyzing Laguerre's frequency compliance, transient responses, amplitudes, lag, symmetry across periodicities, noise rejection, and smoothness... I favor mode 3 for a multitude of reasons over the mode 4 configuration, but mostly superb smoothing with less lag, AND I also appreciated mode 1 & 2 for it's lower lag performance options.
Each mode and lag (phase shift) damping value has it's own unique characteristics at extremes, yet they demonstrate additional finesse in it's new hybrid form without adding too much more complexity. This multicator has a bunch of Laguerre filters in the overlay chart over many periodicities so you can easily witness it's differing periodic symmetries on an input signal while adjusting lag and mode.
LAGUERRE OSCILLATOR:
The oscillator is integrated into the laguerreMulti() function for the intention of posterity only. I performed no evaluation on it, only providing the code in Pine. That wasn't part of my intended exploration adventure, as I'm more TREND oriented for the time being, focusing my efforts there.
Market analysis has two primary aspects in my observations, one cyclic while the other is trending dynamics... There's endless oscillators, but my expectations for trend analysis seems a little lesser explored in my opinion, hence my laborious trend endeavors. Ehlers provided both indicator facets this time around, and I hope you find the filtration aspect more intriguing after absorption of this reading.
FUNCTION MODULES EXPLAINED:
The Ultimate Smoother is an advanced IIR lowpass smoothing filter intended to minimize noise in time series data with minimal group delay, similar to a traditional biquad filter. This calculation helps to create a smoother version of the original signal without the distortions of short-term fluctuations and with minimal lag, adjustable by period.
The Modified Laguerre Lowpass Filter (MLLF) enhances the functionality of US by introducing a Laguerre mode parameter along side the lag parameter to refine control over the amount of additional smoothing/lag applied to the signal. By tethering US with this LERPed lag mechanism, MLLF achieves an effective balance between responsiveness and smoothness, allowing for customizable lag adjustments via multiple inputs. This filter ends with selecting from a choice of weighted averages derived from a gang of up to four cascading LERP calculations, resulting with smoother representations of the data.
The Laguerre Oscillator is a momentum-like indicator derived from the output of US and a singular LERPed lowpass filter. It calculates the difference between the US data and Laguerre filter data, normalizing it by the root mean square (RMS). This quasi-normalization technique helps to assess the intensity of the momentum on any timeframe within an expected bound range centered around 0.0. When the Laguerre Oscillator is positive, it suggests that the smoothed data is trending upward, while a negative value indicates a downward trend. Adjustability is controlled with period, lag, Laguerre mode, and RMS period.
Extreme Zone Volume ProfileExtreme Zone Volume Profile (EZVP) is a high-resolution, percentile-based volume profile tool designed for intuitive market structure analysis. Unlike standard profiles, EZVP emphasizes extreme zones — highlighting potential value rejection or accumulation areas using user-defined percentile thresholds.
Key Features:
Custom Lookback: Profiles volume over a defined number of bars (no rolling memory creep).
Zoned Percentiles: Segment volume by zones:
Zone B = extreme tails (e.g. 2.5% for one wing of ~2 Standard Deviations)
Zone A = outer wings (e.g. 14% for one wing of ~1 Standard Deviations)
Center = remaining bulk of traded volume
Rightward-Growing Bars: Clean, forward-facing display — avoids clutter in historical areas.
Colored Volume Bars: Each zone gets a distinct tone, helping spot high-interest levels fast.
Optional Lines: Toggle POC, Median, Mean, and zone boundary lines for cleaner setups.
This is built for clarity and control — a great fit for traders who want a visually expressive profile without overcomplication. Tweak the zoning percentages to match your strategy or instrument volatility.
Dual ORB (5 & 15 Min) Retest SignalsThe Dual Orb Indicator allows you to see the orb effortlessly! it also gives you buy/sell signals on both the 5 minute timeframe and the 15 minute timeframe! if you have any questions or suggestions please comment below and let me know what you think!
Multi-Timeframe SMTSummery
The Multi-Timeframe SMT indicator is designed to identify and visualize Higher Timeframe (HTF) data on a Lower Timeframe (LTF) chart, allowing traders to see the broader market context without changing their current chart's resolution. It accurately draws pivots and SMT divergences from higher timeframes on the corresponding candles of your current lower timeframe chart.
Its core features include:
Multi-Timeframe Analysis: Configure and monitor pivots on up to four independent timeframes, from intraday to monthly.
Customizable Pivot Detection: Define the strength of pivots by adjusting the number of bars to the left and right.
SMT Divergence: Automatically identifies bullish and bearish SMT divergences by comparing the price action of the main chart symbol with a chosen correlated asset.
Early SMT Detection: A unique feature that monitors a lower "detection timeframe" to provide early warnings of potential SMT setups before they're confirmed on the main timeframe. Note that this early detection is only shown on timeframes equal to or lower than the "Detection timeframe" you have set.
Visual Cues & Alerts: Clear on-chart labels, lines, and fully customizable alerts notify you of confirmed pivots and SMT divergences, ensuring you don't miss key opportunities.
Important Nuance Regarding Pivot Label Display
Due to a self-imposed limit within this script's drawing management logic, the indicator might quickly reach its drawing capacity if you enable pivot crosses for multiple timeframes simultaneously. When this internal drawing limit is exceeded, the script is designed to automatically remove the oldest drawings to make space for new ones.
Therefore, to ensure optimal performance and visibility of the most recent and relevant pivots, it's highly recommended to only enable the "Show Pivot Crosses" option for one timeframe at a time. If you wish to view pivots for a different timeframe, simply disable the pivot crosses for the currently active timeframe and then enable them for your desired one. This approach prevents the rapid cycling and disappearance of pivot labels, providing a clearer and more stable visual experience.
In-Depth Explanation of the Logic
This script is built on two primary concepts: pivot points and Smart Money Technique (SMT) divergence. It systematically collects historical data on multiple timeframes, identifies pivots, and then compares them between two assets to find divergences.
Pivot Point Identification
A pivot is a turning point in the market. A pivot high is a candle that has a higher high than the candles to its immediate left and right. Conversely, a pivot low is a candle with a lower low than its neighbors.
How it Works in the Script:
The script tracks the highest high and lowest low for each period of the selected timeframe (e.g., for each 4-hour candle). When a new high-timeframe candle closes, it stores that high/low value and its bar index in an array. The checkForPivot() function then checks if a recently stored high or low qualifies as a pivot.
Key Inputs:
Left Strength (leftBars1): The number of candles to the left that must have a lower high (for a pivot high) or higher low (for a pivot low).
Right Strength (rightBars1): The number of candles to the right that must meet the same criteria.
For example, with Left Strength and Right Strength both set to 3, a pivot high is only confirmed when its high is greater than the highs of the 3 previous high-timeframe candles and the 3 subsequent high-timeframe candles. Increasing these values will identify more significant, longer-term pivots.
Smart Money Technique (SMT) Divergence
SMT Divergence is a concept popularized by The Inner Circle Trader (ICT). It occurs when two closely correlated assets fail to move in sync. For instance, if Asset A makes a higher high but Asset B fails to do so and instead makes a lower high, this creates a bearish SMT divergence. It suggests that the "smart money" may not be supporting the move in Asset A, signaling a potential reversal.
Bearish SMT: Main asset makes a higher high, while the correlated asset makes a lower high. This is a potential sell signal.
Bullish SMT: Main asset makes a lower low, while the correlated asset makes a higher low. This is a potential buy signal.
How it Works in the Script:
Data Request: For each timeframe, the script uses the request.security() function to fetch the high and low data for both the main chart symbol (syminfo.tickerid) and the chosen Comparison Asset.
Pivot Comparison: When a new pivot is confirmed on the main asset, the script checks if a corresponding pivot also formed on the comparison asset at the same time.
Divergence Check: It then compares the direction of the pivots. For a bearish SMT, it checks if the main asset's new pivot high is higher than its previous pivot high, while the comparison asset's new pivot high is lower than its previous one. The logic is reversed for bullish SMT.
Visualization: If a divergence is found, the script draws a red (bearish) or green (bullish) line connecting the two pivots on your chart and places an "SMT" label.
Early SMT Detection
This is a proactive feature designed to give you a heads-up. Waiting for a 4-hour or daily pivot to form can take a long time. The early detection system looks for SMT divergences on a much smaller, user-defined Detection timeframe (e.g., 15-minute).
How it Works in the Script:
Awaiting Setup: After a primary pivot (Pivot A) is formed on the main timeframe (e.g., a Daily pivot high), the script begins monitoring.
Intraday Monitoring: It then watches the Detection timeframe (e.g., 15-minute) for smaller intraday pivots.
Potential Divergence: It looks for an intraday pivot that forms a divergence against the primary Pivot A.
Watchline & Alert: When this "potential" divergence occurs, the script draws a dashed white line and triggers a "Potential SMT" alert. This isn't a confirmed SMT on the main timeframe yet, but it's a powerful early warning that one may be forming.
Drawing & Object Management
To keep the chart clean and prevent performance issues, the script manages its drawings (lines and labels) efficiently. It stores them in arrays and uses a drawing limit to automatically delete the oldest drawings as new ones are created, ensuring your TradingView remains responsive.
How to Use the Indicator
Configuration
Enable Timeframes: Use the checkboxes (Enable Timeframe 1, Enable Timeframe 2, etc.) to activate the timeframes you want to monitor. It's often best to start with one or two to keep the chart clean.
Select Timeframes: Choose the higher timeframes you want to analyze (e.g., 240 for 4-hour, D for Daily, W for Weekly).
Set Pivot Strength: The default of 3 for Left/Right strength is a good starting point. Increase it to find more significant market structure points or decrease it for more frequent, shorter-term pivots.
Configure SMT:
Check Enable SMT for the timeframes where you want to detect divergence.
Enter a Comparison Asset . This is crucial. Ensure the assets are correlated.
To use the early warning system, check Enable early SMT detection and select an appropriate Detection timeframe (e.g., 15 or 60 minutes for a Daily analysis).
BB with Heikin Ashi + Reversal CheckThis indicator combines Bollinger Bands (BB) with Heikin Ashi candles to detect potential reversal points after price breaks the BB boundaries. It works on any symbol and timeframe, retrieving Heikin Ashi data via request.security().
Core Features
Heikin Ashi Candle Plot
Smooths price action by using Heikin Ashi candles instead of regular candles.
Candles are plotted directly on the chart with green (bullish) and red (bearish) colors.
Bollinger Bands (BB)
Calculated from Heikin Ashi close price.
Includes Basis (MA), Upper Band, and Lower Band, with customizable MA type, length, and standard deviation multiplier.
Break & Reversal Detection
The indicator tracks whether the price has broken above the Upper Band (p1) or below the Lower Band (p2).
It remembers the last breakout direction until the opposite breakout occurs (mutually exclusive logic).
Signal Logic
Long Signal (▲):
Price was previously below the Lower Band and then reversed upward (BB Lower rising + Heikin Ashi candle rising).
Short Signal (▼):
Price was previously above the Upper Band and then reversed downward (BB Upper falling + Heikin Ashi candle falling).
Alerts
Custom alert conditions trigger when Long or Short signals occur, allowing automated notifications or bot integration.
Use Cases
✅ Swing Trading / Trend Reversal – Identify potential bottom/top reversals after BB breakouts.
✅ Mean Reversion Strategies – Enter trades when the price reverts to the BB mean after an extreme breakout.
✅ Multi-Timeframe Analysis – Works with any timeframe and symbol via request.security().
Customization
MA Type: SMA, EMA, RMA, WMA, VWMA
BB Length & StdDev Multiplier
Timeframe & Symbol Selection
CBC Flip SonBThis script uses several different indicators like vwap, ema's and cbc candle flips.
This script scalping script is best used on the smaller timeframes (10m, 5m)
EMAs + VWAP + SMADaytrade Dream:
5 EMAs
1SMA
VWAP
This script is used to plot on the chart:
5 EMAS:
10,20,50,100 and 200
VWAP:
White Vwap line
1 SMA:
200 SMA
Trinity Multi Time Frame Trend DashboardNote: This is based on trading view indicator but I am unsure the original name or author to give recognition. If you know the name of the indicator or author then please let me know and I can update this script to give recognition.
Below is a list of the changes this code has gone through and all settings are editable.
Changes:
Changed: timeline from 5 to 3 mins for faster scalping, changed the RSI, CCI and MACD values for faster signals as well as the below to update the code to latest pine script and for optimizations.
Structure and Optimization: The original script used individual variables for each timeframe (e.g., emaFast_3min, emaFast_15min), leading to repetitive code. The latest version uses arrays (e.g., emaFast as array.new_float(7, na)) to store values for all timeframes, making the code more compact and maintainable. However, due to Pine Script limitations with loops and request.security, the calculations are unrolled (explicitly computed for each timeframe i=0 to 6) instead of using a loop for security calls.
Timeframe Handling: Removed the timeframes array in the final version (as loops couldn't be used with variable timeframes in request.security due to requiring 'simple string' arguments). Instead, hardcoded the timeframe strings ("3", "15", etc.) directly in each block. Kept timeframe_labels array for display purposes.
Volume Calculation: Precomputed volume3 for the 3M timeframe outside the blocks. For 15M and 30M, used ta.sma(volume3, 3) and ta.sma(volume3, 6) respectively, as in the original, but integrated into unrolled blocks. Renamed volume arrays to tfVolume and tfVma to avoid conflicts with built-in volume.
MACD Calculation: In the original, used to ignore the histogram. The latest version does the same but assigns to temporary variables like macd0, signal0 for each timeframe to avoid tuple assignment issues.
Trend Determination: Used arrays for all boolean conditions (e.g., isBullish as array.new_bool(7, false)). Set values in a loop, which works since no security calls are involved here.
Added Signal Row: Introduced a new row in the table labeled "Signal". For each timeframe, it shows:
"Buy" (green) if EMA, MACD, RSI, and CCI are all bullish.
"Sell" (red) if all are bearish.
"⚠" (yellow) if not fully aligned
Table Dimensions: Updated the table to 9, 8 (columns, rows) to accommodate the new "Signal" row.
Color for Signal: In the table cell for signal, added coloring: green for "Buy", red for "Sell", yellow for "⚠".
Array Declarations: Used array.new_float, array.new_bool, etc., without qualifiers to fix template errors. Initialized with na for floats/colors, false for bools, "" for strings.
Error Fixes: Resolved various syntax/type issues, such as avoiding series in array templates, ensuring 'simple string' for timeframes in request.security, and proper tuple unpacking for MACD.
Overall Code Length: The latest version is longer due to unrolled calculations but more robust and error-free.
Daily Weekly Monthly Highs & Lows [Dova Lazarus]Daily Weekly Monthly Highs & Lows
📊 Overview
This Pine Script indicator displays key support and resistance levels by plotting the highs and lows from Daily, Weekly, and Monthly timeframes on your current chart. It's designed as an educational tool to help traders understand multi-timeframe analysis and identify significant price levels.
🎯 Key Features
Multi-Timeframe Support & Resistance
- Daily Levels: Shows previous daily highs and lows
- Weekly Levels: Displays weekly highs and lows
- Monthly Levels: Plots monthly highs and lows
- Smart Display: Only shows relevant timeframes based on your current chart timeframe
Fully Customizable Appearance
- Individual Colors: Set unique colors for each timeframe
- Line Styles: Choose between Solid, Dashed, or Dotted lines
- Line Width: Adjust thickness from 1-4 pixels
- Lookback Periods: Control how many historical levels to display
User-Friendly Options
- Enable/Disable: Toggle any timeframe on/off
- Line Extension: Option to extend lines into the future
- Clean Interface: Organized settings groups for easy configuration
🔧 Settings
Timeframes Group
- Show Daily/Weekly/Monthly Levels: Enable or disable each timeframe
- Lookback Periods: Number of historical levels to display (1-10)
Line Settings Group
- Color: Choose custom colors for each timeframe
- Style: Select line appearance (Solid/Dashed/Dotted)
- Width: Set line thickness (1-4 pixels)
Display Options Group
- Extend Lines Forward: Project lines 20 bars into the future
📈 How to Use
1. Add to Chart: Apply the indicator to any timeframe chart
2. Configure Timeframes: Enable the timeframes you want to see
3. Customize Appearance: Set colors and line styles for easy identification
4. Identify Levels: Use the plotted levels as potential support/resistance zones
5. Plan Trades: Look for price reactions at these key levels
💡 Trading Applications
- Support & Resistance: Identify key price levels where reversals may occur
- Entry Points: Look for bounces or breaks at these levels
- Stop Loss Placement: Use levels to set logical stop losses
- Target Setting: Previous highs/lows can serve as profit targets
- Multi-Timeframe Analysis: Understand the bigger picture context
🎓 Educational Value
This indicator is perfect for:
- Learning Pine Script: Clean, well-commented code structure
- Understanding Multi-Timeframe Analysis: See how different timeframes interact
- Practicing Technical Analysis: Identify key support/resistance concepts
- Code Study: Full variable names and detailed comments for learning
⚙️ Technical Details
- Version: Pine Script v6
- Overlay: True (plots directly on price chart)
- Max Lines: 500 (handles multiple timeframes efficiently)
- Compatibility: Works on all timeframes (shows relevant levels only)
🔍 What Makes This Different
- Educational Focus: Designed for learning with clear code structure
- Simplified Interface: Easy-to-use settings without overwhelming options
- Visual Clarity: Clean line display with customizable appearance
- Practical Application: Real trading tool, not just a demonstration
📋 Requirements
- TradingView account (any plan)
- Basic understanding of support/resistance concepts
- Any chart timeframe (indicator adapts automatically)
🚀 Quick Start
1. Add indicator to your chart
2. Default settings work great out of the box
3. Customize colors if desired (Green=Daily, Orange=Weekly, Red=Monthly)
4. Watch for price reactions at the plotted levels
5. Use as part of your technical analysis toolkit
---
*This indicator is designed as an educational tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results.*
Market Structure🏗️ Market Structure Indicator for TradingView (Pine Script v6)
Overview:
The Market Structure indicator is a robust tool for identifying swing highs and swing lows across multiple structural levels:
🟤 Short-Term Swings
🟠 Intermediate-Term Swings
🟢 Long-Term Swings
It helps traders visually interpret market structure by detecting confirmed pivot points and promoting them through a hierarchical system. This provides a clear picture of trend direction, breakouts, and reversals.
⚙️ Features and Functionality:
✅ Multi-level Swing Detection:
The indicator promotes confirmed swing points from short-term to intermediate and long-term levels using a structured algorithm.
✅ Full Customization:
Toggle visibility of each swing level independently.
Choose custom colors for short, intermediate, and long-term swings.
✅ Transparent and Commented Logic:
The code contains well-structured functions for identifying and confirming swing highs and lows.
Label arrays are used for precise control over swing detection and display.
✅ Detailed and Open Source Code:
Every function is thoroughly explained with inline comments.
Designed to be easy to understand, modify, and extend — perfect for learning or integrating into more advanced systems.
📜 Open and Documented Source Code
The script is entirely open-source, written in Pine Script v6, and includes full documentation inside the code itself. Key sections include:
🔧 Input settings and visual configuration
🧠 Swing detection and confirmation methods
🔁 Promotion logic between structure levels
📈 Real-time label drawing on each bar
Everything is fully accessible and explained — no obfuscation, no hidden logic.
The Visualized Trader (Fractal Timeframe)The **The Visualized Trader (Fractal Timeframe)** indicator for TradingView is a tool designed to help traders identify strong bullish or bearish trends by analyzing multiple technical indicators across two timeframes: the current chart timeframe and a user-selected higher timeframe. It visually displays trend alignment through arrows on the chart and a condition table in the top-right corner, making it easy to see when conditions align for potential trade opportunities.
### Key Features
1. **Multi-Indicator Analysis**: Combines five technical conditions to confirm trend direction:
- **Trend**: Based on the slope of the 50-period Simple Moving Average (SMA). Upward slope indicates bullish, downward indicates bearish.
- **Stochastic (Stoch)**: Uses Stochastic Oscillator (5, 3, 2) to measure momentum. Rising values suggest bullish momentum, falling values suggest bearish.
- **Momentum (Mom)**: Derived from the MACD fast line (5, 20, 30). Rising MACD line indicates bullish momentum, falling indicates bearish.
- **Dad**: Uses the MACD signal line. Rising signal line is bullish, falling is bearish.
- **Price Change (PC)**: Compares the current close to the previous close. Higher close is bullish, lower is bearish.
2. **Dual Timeframe Comparison**:
- Calculates the same five conditions on both the current timeframe and a user-selected higher timeframe (e.g., daily).
- Helps traders see if the trend on the higher timeframe aligns with the current chart, providing context for stronger trade decisions.
3. **Visual Signals**:
- **Arrows on Chart**:
- **Current Timeframe**: Blue upward arrows below bars for bullish alignment, red downward arrows above bars for bearish alignment.
- **Higher Timeframe**: Green upward triangles below bars for bullish alignment, orange downward triangles above bars for bearish alignment.
- Arrows appear only when all five conditions align (all bullish or all bearish), indicating strong trend potential.
4. **Condition Table**:
- Displays a table in the top-right corner with two rows:
- **Top Row**: Current timeframe conditions (Trend, Stoch, Mom, Dad, PC).
- **Bottom Row**: Higher timeframe conditions (labeled with "HTF").
- Each cell is color-coded: green for bullish, red for bearish.
- The table can be toggled on/off via input settings.
5. **User Input**:
- **Show Condition Boxes**: Toggle the table display (default: on).
- **Comparison Timeframe**: Choose the higher timeframe (e.g., "D" for daily, default setting).
### How It Works
- The indicator evaluates the five conditions on both timeframes.
- When all conditions are bullish (or bearish) on a given timeframe, it plots an arrow/triangle to signal a strong trend.
- The condition table provides a quick visual summary, allowing traders to compare the current and higher timeframe trends at a glance.
### Use Case
- **Purpose**: Helps traders confirm strong trend entries by ensuring multiple indicators align across two timeframes.
- **Example**: If you're trading on a 1-hour chart and see blue arrows with all green cells in the current timeframe row, plus green cells in the higher timeframe (e.g., daily) row, it suggests a strong bullish trend supported by both timeframes.
- **Benefit**: Reduces noise by focusing on aligned signals, helping traders avoid weak or conflicting setups.
### Settings
- Access the indicator settings in TradingView to:
- Enable/disable the condition table.
- Select a higher timeframe (e.g., 4H, D, W) for comparison.
### Notes
- Best used in trending markets; may produce fewer signals in choppy conditions.
- Combine with other analysis (e.g., support/resistance) for better decision-making.
- The higher timeframe signals (triangles) provide context, so prioritize trades where both timeframes align.
This indicator simplifies complex trend analysis into clear visual cues, making it ideal for traders seeking confirmation of strong momentum moves.
Multi-Timeframe EMA Table (Woche, Tag, 4h, 1h)Title: Multi-Timeframe EMA Table (Weekly, Daily, 4h, 1h)
Description:
This Pine Script indicator provides a concise and clear Multi-Timeframe (MTF) Exponential Moving Average (EMA) analysis directly on your TradingView chart. It displays the EMA values for the 1-hour, 4-hour, 1-day, and 1-week timeframes in a customizable table.
Features:
Clear Table Display: Shows the current EMA values for predefined higher timeframes (1h, 4h, Day, Week).
Dynamic Status: The status column immediately visualizes whether the current price of your chart is above (Green) or below (Red) its respective Multi-Timeframe EMA.
Customizable EMA Length: The length of the EMA can be easily adjusted via the indicator settings, allowing you to tailor it to your preferred analysis.
Visual Confirmation: The corresponding Multi-Timeframe EMA lines are optionally plotted directly on the chart to visually confirm the table values.
Non-Repainting: The displayed EMA values and lines are programmed to be non-repainting, meaning their values do not change on already closed candles.
This indicator is a useful tool for traders who want to quickly get an overview of the EMA's position across different timeframes without constantly switching their chart timeframe. It's ideal for confirming trends and identifying support and resistance levels from a higher perspective.
Multi-Time-Frame EMA Sampler (6-pack) [DarthSHO]📈 Multi-Timeframe EMA Sampler (6-Pack)
Author: DarthSHO fpgrainger@gmail.com
Type: Overlay
Category: Moving Averages/Multi-Timeframe Analysis
License: Open-source
This script plots up to six EMAs calculated from a higher timeframe of your choice (e.g., 1H, Daily) and samples them at a user-defined update interval (e.g., every 5 or 15 minutes). The result is a precise, non-repainting display of higher-timeframe EMAs — visible on any chart, including lower timeframes.
🔧 Features
✅ Choose the source timeframe for EMA calculations (e.g., 1H, Daily)
✅ Set a custom update interval (sampling timeframe)
✅ Plot up to 6 EMAs, each with:
Individual length
Color customization
On/off visibility toggle
✅ Fully overlays on current chart timeframe
✅ Updates on bar close of your chosen sampling interval (no repainting)
🧠 Use Cases
See key EMAs from higher timeframes without switching charts
Lock in values only once per sampling interval (e.g., only update 1H EMAs every 15min)
Avoid noisy intra-bar flicker or repainting
Combine with price action or support/resistance for confluence setups
⚙️ Example Settings
EMA Calculation Timeframe: 1H
Update/Sampling Timeframe: 15m
Chart Timeframe: Any (1m, 5m, 1H, etc.)
🚫 No Repainting
This script uses lookahead=barmerge.lookahead_on to ensure EMAs are stable and only update at the end of each sampling bar.
💡 Tip
Use the shorter sampling_tf (like 5 or 15) to keep your EMA lines responsive but reliable — or set it equal to the calculation TF to see them step only once per bar.
✨ Created by Darth SHO
Helping traders "Escape the Matrix" with clarity and confluence.
Discord, education, alerts, and more.
Cross-Correlation Lead/Lag AnalyzerCross-Correlation Lead/Lag Analyzer (XCorr)
Discover which instrument moves first with advanced cross-correlation analysis.
This indicator analyzes the lead/lag relationship between any two financial instruments using rolling cross-correlation at multiple time offsets. Perfect for pairs trading, market timing, and understanding inter-market relationships.
Key Features:
Universal compatibility - Works with any two symbols (stocks, futures, forex, crypto, commodities)
Multi-timeframe analysis - Automatically adjusts lag periods based on your chart timeframe
Real-time correlation table - Shows current correlation values for all lag scenarios
Visual lead/lag detection - Color-coded plots make it easy to spot which instrument leads
Smart "Best" indicator - Automatically identifies the strongest relationship
How to Use:
Set your symbols in the indicator settings (default: NQ1! vs RTY1!)
Adjust correlation length (default: 20 periods for smooth but responsive analysis)
Watch the colored lines:
• Red/Orange: Symbol 2 leads Symbol 1 by 1-2 periods
• Blue: Instruments move simultaneously
• Green/Purple: Symbol 1 leads Symbol 2 by 1-2 periods
Check the table for exact correlation values and the "Best" relationship
Interpreting Results:
Correlation > 0.7: Strong positive relationship
Correlation 0.3-0.7: Moderate relationship
Correlation < 0.3: Weak/no relationship
Highest line indicates the optimal timing relationship
Popular Use Cases:
Index Futures : NQ vs ES, RTY vs IWM
Sector Rotation : XLF vs XLK, QQQ vs SPY
Commodities : GC vs SI, CL vs NG
Currency Pairs : EURUSD vs GBPUSD
Crypto : BTC vs ETH correlation analysis
Technical Notes:
Cross-correlation measures linear relationships between two time series at different time lags. This implementation uses Pearson correlation with adjustable periods, calculating correlations from -2 to +2 period offsets to detect leading/lagging behavior.
Perfect for quantitative analysts, pairs traders, and anyone studying inter-market relationships.
Smart Scalper - Liquidez + Tendência + Confirmação### Crypto Master Indicator (CMI) - Summary for TradingView Users
**Purpose**: The Crypto Master Indicator (CMI) is a versatile Pine Script (v5) tool for traders, combining Moving Averages, RSI, MACD, Bollinger Bands, Volume, and ATR to generate buy/sell signals, identify trends, and support risk management. Ideal for crypto trading but adaptable to other markets.
**Key Features**:
- **Indicators Used**: Fast/Slow EMA (8/21), SMA (50), RSI (14), MACD (12,26,9), Bollinger Bands (20, 2.0), Volume, ATR (14).
- **Buy Signals**: Triggered by uptrend, bullish EMAs, momentum (RSI > 50, MACD bullish), or price breaking above Bollinger Bands. Strong signals (2+ conditions) are bright green triangles.
- **Sell Signals**: Triggered by downtrend, bearish EMAs, negative momentum, or price breaking below Bollinger Bands. Strong signals are bright red triangles.
- **Visuals**: Plots EMAs, Bollinger Bands, signal triangles, and a status table (trend, RSI, MACD, volume, EMAs). Candles are colored by trend (green/red/gray).
- **Alerts**: For buy, sell, strong buy, and strong sell signals.
- **Support/Resistance**: Dynamic levels based on Bollinger Bands and EMAs (not plotted by default).
**How to Use**:
1. **Signals**: Green triangles (buy) below bars, red/orange (sell) above. Stronger signals are brighter.
2. **Confirmation**: Check the status table for trend, momentum, and volume. Prefer high-volume signals in the trend direction.
3. **Risk Management**: Stop-loss at 2x ATR, take-profit at 3x ATR or near support/resistance.
4. **Timeframes**: 15M/1H for day trading, 4H/1D for swing trading.
5. **Customization**: Adjust periods, toggle visuals, or uncomment support/resistance lines.
**Tips**:
- Confirm signals with price action or patterns.
- Avoid trading against extreme RSI levels (>70 or <30).
- Backtest for your market/timeframe.
- Set alerts for real-time notifications.
This indicator simplifies decision-making while offering flexibility for various trading styles. Adjust settings to optimize for your strategy!
CBC scalping indicator SonGohanscript using the cbc flip scalping method.
this is best used on the shorten timeframes (like 2, 5, 10 minutes)
Order-Flow Market StructureOrder-Flow Market Structure by The_Forex_Steward
A precision tool for visualizing internal shifts, swing structure, BOS events, Fibonacci levels, and multi-timeframe alerts.
What It Does
The Order-Flow Market Structure indicator intelligently tracks and visualizes price structure using higher timeframe candles. It automatically detects:
• Internal bullish and bearish structure shifts
• Swing highs and lows (HH, HL, LH, LL)
• Break of Structure (BoS) confirmations
• Fibonacci retracement levels from recent swing moves
• Real-time alerts across LTF, MTF, and HTF modes
It’s a complete tool for traders who follow Smart Money Concepts, ICT, or institutional price action strategies.
How It Works
• You select a Higher Timeframe (HTF) to set the structural context
• Internal shifts are identified using HTF candle closes
• The indicator scans for swing highs/lows after each internal shift
• Breaks of previous swing points confirm BoS and plot horizontal lines
• Zigzag lines visually connect structural points (swings and BoS)
• Fibonacci levels are drawn between the latest swings
• Alerts can be configured for structure shifts, BoS events, and fib level breaks
How to Use It
Set your preferred HTF (e.g., 1H while trading on 5-minute)
Enable Fibonacci levels to visualize retracement zones
Watch for:
• Bullish internal shifts → HL to HH
• Bearish internal shifts → LH to LL
• BOS → Breakout confirmation
Enable alerts to catch structural events in real-time
Adjust the "Safe History Offset" if working with long lookbacks or volatile assets
Who It's For
• Traders using Smart Money, ICT, or market structure-based systems
• Scalpers, day traders, and swing traders
• Anyone needing precise structural insight across multiple timeframes
Features
• BoS detection with custom line styles and width
• HH, HL, LH, LL label plotting
• Optional Fibonacci retracement zones
• Custom alerts for swing shifts and fib level breaks
• LTF, MTF, and HTF alert modes
Stay aligned with structure, trade with precision, and get alerted to key shifts in real time.
RSI, CCI, ADX Panel (Custom TF for Each)RSI, CCI, and ADX Combined – Multi-Timeframe, Fully Customizable Panel Indicator for TradingView
Overview
This Pine Script indicator integrates the Relative Strength Index (RSI), Commodity Channel Index (CCI), and Average Directional Index (ADX) into a single, clean panel for effortless technical analysis. Each indicator operates independently, with customizable length, smoothing, and time frame for maximum flexibility. Traders can now monitor momentum, trend strength, and overbought/oversold conditions across different time frames—all in one place.
Key Features
Independent Controls: Set length, smoothing (ADX), and time frame individually for each indicator via the settings panel.
Multi-Timeframe Support: Each oscillator (RSI, CCI, ADX) can be calculated on its own time frame, enabling nuanced inter-timeframe analysis.
Customizable Visualization: Adjust line color and thickness for each indicator to match your chart style.
Clean, Non-Overlay Display: All three indicators are plotted in a dedicated panel beneath the price chart, reducing clutter.
Reference Levels: Includes standard reference lines for oversold/overbought (RSI, CCI) and trend threshold (ADX) for quick visual cues.
Usage Ideas
Swing Trading: Compare short- and long-term momentum using different time frames for RSI, CCI, and ADX.
Trend Confirmation: Use ADX to filter RSI and CCI signals—only trade overbought/oversold conditions during strong trends.
Divergence Hunting: Spot divergences between time frames for early reversal signals.
Scalping: Set RSI and CCI to lower time frames for entry, while monitoring higher timeframe ADX for trend context.
How to Install
Paste the script into the Pine Editor on TradingView.
Add to chart. Adjust settings as desired.
Save as a template for quick reuse on any chart—all your custom settings will be preserved.
Customization
Edit lengths and time frames in the indicator’s settings dialog.
Toggle reference lines on/off as needed.
Fine-tune line appearance (color, thickness) for clarity.
Note:
This indicator does not provide automated buy/sell signals. It is a customizable analytical tool for manual or semi-automated trading. Use in combination with other technical or fundamental analysis for best results.
Combine Momentum, Trend, and Volatility—Seamlessly and Visually—With One Indicator.
Period Separator with DatesSimple period separator with dates. You can customize lines and colours. Feel free to customize and share your thoughts in the comment section. Remember time is the only thing you need to master the markets. Keep your charts clean and enjoy trading! ;)