Teddy LiteOverview
"Teddy" overlays key price levels—Daily Open (DO), Average Daily Range (ADR), and ADR Extensions (ADE)—on intraday charts. Designed for traders, it provides a clear framework to align with market ranges, avoid choppy price action, and stay out of overbought/oversold conditions, enhancing decision-making in dynamic markets.
Originality and Usefulness
"Teddy" uniquely combines DO, ADR High/Low, and ADE High/Low with dynamic percentage labels, while offering a concise view of price boundaries for daily Highs and Lows.
What It Does
Plots DO, ADR High/Low, and ADE High/Low as levels on the chart.
Labels each level with percentage distances from the current price (e.g., "ADRH (2.34%)").
Customizes visuals for clarity (colors, line styles, label sizes).
How It Works
Data Sources: Retrieves daily open and historical high/low data to compute ranges.
Calculations:
Daily Open (DO): Marks the session’s opening price.
ADR: Estimates typical daily range from past data, centered on DO to set High/Low bounds.
ADE: Extends ADR by a fixed percentage for outer limits.
Visualization: Updates lines and labels live, with user-defined colors, styles, and sizes.
How It Helps Traders
"Teddy" guides traders to avoid chasing markets in extended conditions:
Respecting the range: ADR High/Low define range-friendly zones—price above DO nearing ADR High signals bullish momentum is peaking, while below DO near ADR Low supports bearish momentum peaking.
Avoiding Choppy Conditions: Price lingering near DO often indicates indecision; "Teddy" highlights this level, helping you define balanced market conditions that favor choppy conditions.
Steering Clear of Overbought/Oversold: ADE High/Low mark extended levels where reversals are extremely—price hitting ADE Highlights the trend strength on the day but warns price is extremely over extended.
This structured approach keeps trades aligned with the markets average range, so traders can avoid extremes favorable levels for choppiness.
How to Use It
Apply to an intraday chart (e.g., SPY 5m).
Customize via inputs:
"Appearance Settings": Colors, line styles (Solid, Dotted, Dashed), widths (1-6), label visibility, and sizes (Tiny to Huge).
Watch levels: Consider reducing risk as the market approaches our ADRH/L levels. Trades can also play breakouts/failed breakouts at ADR High/Low or at ADE High/Low. Additionally remaining patient while the auction remains in balance near Day Open is an option as well.
Underlying Concepts
Range Dynamics: ADR reflects average daily volatility, DO anchors context, and ADE flags extensions.
Price Action: Levels highlight Volatility/Range (ADR) versus consolidation (DO) or expansive exhaustion (ADE).
Limitations
Optimized for day traders during live sessions; less effective in low-volatility periods.
Requires sufficient historical data for accurate ADR/ADE.
Levels are contextual and where I expect reactive price action to occur.. They are not guaranteed signals.
Trend Analizi
Trendline Breakout SignalThis indicator automatically draws trendlines and generates a signal:
Bearish when a bullish trendline is broken to the downside
Bullish when a bearish trendline is broken to the upside
Signals are triggered as soon as a wick pierces the trendline, to catch breakouts as early as possible.
We deliberately chose not to wait for a candle body close, in order to detect potential breakouts in advance.
⚠️ Not all signals should be treated as direct entry points.
It is strongly recommended to wait for confirmation, such as a candle close or confluence with another indicator.
🔧 Ideal for breakout, momentum, and price action traders.
Script developed by TheDegenCompany.
🔽Fr🔽
Cet indicateur trace automatiquement les trendlines de tendance et génère un signal :
Bearish si une trendline haussière est cassée à la baisse
Bullish si une trendline baissière est cassée à la hausse
Les signaux sont déclenchés dès qu’une mèche transperce une trendline, afin d’être le plus early possible.
Nous avons volontairement choisi de ne pas attendre une clôture du corps de bougie, pour détecter les cassures au plus tôt.
⚠️ Tous les signaux ne doivent pas être considérés comme des points d’entrée systématiques.
Il est recommandé d’attendre une confirmation, par exemple via une clôture par le corps ou une confluence avec un autre indicateur.
🔧 Idéal pour les traders de breakouts, de momentum ou d’action du prix.
Script développé par TheDegenCompany.
EMA Oscillating Trend📈 EMA Oscillating Trend by AI-123
The EMA Oscillating Trend indicator is a dynamic trend visualizer that enhances traditional EMA behavior by offsetting the line based on trend direction, providing a more intuitive and visually distinct representation of market momentum.
🔍 Key Features:
🔵 Bullish Color Customization – Define your preferred color for bullish trends
🔴 Bearish Color Customization – Set a different tone for bearish phases
🪄 Adjustable Line Thickness – Tailor the EMA's appearance to your chart style
📐 Offset Multiplier Input – Automatically pushes the EMA above price in a downtrend and below price in an uptrend for enhanced clarity
⚙️ User-Friendly Inputs – No coding knowledge required; full customization in the settings panel
🧠 How It Works:
Calculates a primary EMA line (OV) and a sub-component to compare against (OV2)
Determines the trend based on whether OV is above or below OV2
Shifts the EMA line above price during bearish trends and below price during bullish trends
The offset is percentage-based and scales dynamically with the price for optimal readability
✅ Ideal For:
Trend-followers seeking visual clarity
Discretionary traders who want less clutter and more signal
Anyone who likes their EMAs with a little more flair and insight
🛠️ Author: @alphainvestor123
This tool was crafted with simplicity and clarity in mind. If you enjoy the indicator, consider dropping feedback or sharing your use case!
London ORB + Session High/Low + FVGLondon ORB + Session High/Low + FVG
📘 Script Description: London ORB + Session High/Low + Fair Value Gap
This script is designed to assist intraday traders during the London session open by combining:
🕒 1. Opening Range Breakout (ORB)
Captures the high and low of the first 15-minute candle after the London open (08:00–08:15 GMT).
Draws lines and labels for the ORB High and Low levels.
Detects breakouts above or below the ORB and plots a triangle signal at the breakout bar.
🌐 2. Asian & US Session Levels
Automatically marks the highs and lows of the Asian (00:00–06:00 GMT) and US (13:30–20:00 GMT) sessions.
Useful for identifying prior session liquidity zones, key support/resistance levels, and potential reaction areas.
📉 3. Fair Value Gaps (FVG)
Highlights imbalances in price action between non-overlapping candles (also known as FVGs or inefficiencies).
Draws a shaded box between candles where gaps exist:
Green for bullish FVGs
Red for bearish FVGs
🔔 4. Alert Support
Optional alerts are built in for:
Long breakout (price breaks above ORB)
Short breakout (price breaks below ORB)
🎯 Use Case
Perfect for:
Day traders looking to capitalize on early volatility at the London open
Traders using liquidity-based strategies, retests, or gap-fills
Visualizing and aligning with prior session highs/lows for structure and context
Volume NodesVolume Nodes Indicator:
What This Indicator Does:
The Volume Nodes indicator identifies and visualizes statistically significant volume events on your chart, helping you identify important price levels where substantial trading activity has occurred. Unlike standard volume indicators, Volume Nodes:
Uses statistical analysis (z-scores) to identify truly abnormal volume bars
Calculates accurate buy/sell volume ratios by analyzing all lower timeframe data
Identifies the Volume Point of Control (VPOC) for high volume areas
Visualizes significant volume ranges as they extend across the chart
Tracks when price interacts with these important levels
Key Features:
High Volume Detection: Highlights bars with unusually high volume (z-score above threshold)
Low Volume Detection: Highlights bars with unusually low volume (z-score below threshold)
VPOC Lines: Horizontal lines showing the exact price level with maximum volume concentration
Volume Range Fills: Shaded areas showing the entire price range with significant volume
Accurate Volume Metrics: Shows true buy/sell volume ratios or delta percentages derived from lower timeframe data
How to Use It in Your Trading: **Move to front in the visual order on chart**
Step 1: Identify Important Volume Zones
High Volume Bars (green/red candles) indicate where significant buying or selling has occurred
VPOC Lines extending from these bars show you the exact price level with highest volume
Range Fills show you the entire zone where significant volume occurred
Step 2: Use These Levels for Trading Decisions
Support/Resistance: VPOC lines often act as support or resistance levels
Breakout Validation: Breakouts on high volume are more likely to be valid
Low Volume Warning: Low volume bars (yellow) often indicate indecision or potential reversals
Trading with Volume Flow: Use the buy/sell ratio or delta % to confirm the strength and direction of moves
Step 3: Monitor Price Interaction with Volume Zones
When price approaches a VPOC line, watch for reaction (bounce or breakout)
When price enters a volume range area, increased volatility often follows
When price crosses a VPOC line, the line changes transparency indicating it's been tested
Tips for Optimal Use
Higher Timeframes: The indicator works exceptionally well on higher timeframes (4H, daily, weekly) where volume patterns are more significant
Range Trading: Use volume nodes to identify the boundaries of trading ranges
Combine with Price Action: Look for price action confirmation (rejections, engulfing patterns) at VPOC levels
Multiple Timeframe Analysis: Compare volume nodes across different timeframes to find confluent levels
Alert Setup: Set up alerts for when price enters important volume zones or crosses VPOC lines
Reversal Signals: High volume bars with significant wicks often signal exhaustion points where smart money is transferring positions. Bullish candles with long upper wicks suggest sellers absorbing buying pressure at highs, while bearish candles with long lower wicks indicate buyers stepping in at lows - both potentially signaling momentum shifts that precede reversals.
The indicator is particularly valuable for identifying levels where large players have been active in the market and are likely to defend or act again in the future.
Nasan Market Phase ClassifierThe Nasan Market Phase Classifier indicator designed to classify market phases using volume, volatility (or momentum), and statistical analysis. Here's a summary of how it works and what it does:
🔍 Core Concept
This indicator classifies the market into four phases based on volume and ATR (or optionally momentum):
High Volume / High ATR or Momentum (HV/HATR): Strong Trend
Low Volume / High ATR or Momentum (LV/HATR): False Breakout / Exhaustion
High Volume / Low ATR or Momentum (HV/LATR): Consolidation
Low Volume / Low ATR or Momentum (LV/LATR): Stagnation
⚙️ Key Settings
Short-Term Length: Used for the active market phase.
Long-Term Length: Used as the expected/benchmark distribution.
Use Momentum: Replaces volatility (ATR) with momentum (custom ROC-based formula).
Use Fixed Alpha: Toggles adaptive vs. fixed weighting in scoring (this is based on variation of the volatility - standard deviation of true range).
📊 How It Works
Volatility or Momentum Scoring:
Uses ATR-based or Momentum-based score depending on the setting.
Applies weighing (alpha) which is based on variability of the volatility itself.
Market Phase Count:
Measures how often each of the 4 volume/volatility combinations occur in:
Short-term window (observed phase)
Long-term window (expected distribution)
Category Proportions:
Calculates percentage share of each category (e.g., % time in HV/HATR).
Plots these on chart to visually see market phase dominance (can be used for screening of pine screener).
Statistical Testing:
IQV (Index of Qualitative Variation): Measures phase diversity (0 = focused, 1 = mixed).
Chi-Squared Test: Compares current vs. historical phase distribution.
Z-Test: Tests if current phase dominance is statistically significant.
📋 Outputs
On-Chart Plots and Tabels:
Strong Trend, False Breakout/Exhaustion, Consolidation, Stagnation
Strength Quality Plot: Trend strength normalized by IQV.
Dynamic Table (Top Right):
Shows each phase’s proportion (the current phase cell is highlighted in yellow), IQV, Chi² value, and current dominant phase. The current candle classification (text) is in purple.
Highlights the dominant phase classification and color-codes significance (the cell highlighted in green highly confident about the classification, orange intermediate confidence and red low confidence). This color coding is not just based on statistical significance it is based on IQV which takes into account how spread the proportions are.
🧠 Interpretation
A dominant HV/HATR phase with low IQV and high Z-Score indicates a strong and statistically significant trend.
High IQV suggests uncertainty or mixed market behavior.
Chi² spike indicates a shift from historical behavior can be used to see is the market behavior changing by changing the long term length say to 252 and short term length to 21 this will tell if the short term behavior is different from the past 252 day behavior.
[blackcat] L3 Trendmaster XOVERVIEW
The L3 Trendmaster X is an advanced trend-following indicator meticulously crafted to assist traders in identifying and capitalizing on market trends. This sophisticated tool integrates multiple technical factors, including Average True Range (ATR), volume dynamics, and price spreads, to deliver precise buy and sell signals. By plotting dynamic trend bands directly onto the chart, it offers a comprehensive visualization of potential trend directions, enabling traders to make informed decisions swiftly and confidently 📊↗️.
FEATURES
Customizable Input Parameters: Tailor the indicator to match your specific trading needs with adjustable settings:
Trendmaster X Multiplier: Controls the sensitivity of the ATR-based levels.
Trendmaster X Period: Defines the period over which the ATR is calculated.
Window Length: Specifies the length of the moving window for standard deviation calculations.
Volume Averaging Length: Determines how many periods are considered for averaging volume.
Volatility Factor: Adjusts the impact of volatility on the trend bands.
Core Technical Metrics:
Dynamic Range: Measures the range between high and low prices within each bar.
Candle Body Size: Evaluates the difference between open and close prices.
Volume Average: Assesses the cumulative On-Balance Volume relative to the dynamic range.
Price Spread: Computes the standard deviation of the price ranges over a specified window.
Volatility Factor: Incorporates volatility into the calculation of trend bands.
Advanced Trend Bands Calculation:
Upper Level: Represents potential resistance levels derived from the ATR multiplier.
Lower Level: Indicates possible support levels using the same ATR multiplier.
High Band and Low Band: Dynamically adjust to reflect current trend directions, offering a clear view of market sentiment.
Visual Representation:
Plots distinct green and red trend lines representing bullish and bearish trends respectively.
Fills the area between these trend lines and the middle line for enhanced visibility.
Displays clear buy ('B') and sell ('S') labels on the chart for immediate recognition of trading opportunities 🏷️.
Alert System:
Generates real-time alerts when buy or sell conditions are triggered, ensuring timely action.
Allows customization of alert messages and frequencies to align with individual trading strategies 🔔.
HOW TO USE
Adding the Indicator:
Open your TradingView platform and navigate to the "Indicators" section.
Search for " L3 Trendmaster X" and add it to your chart.
Adjusting Settings:
Fine-tune the input parameters according to your preferences and trading style.
For example, increase the Trendmaster X Multiplier for higher sensitivity during volatile markets.
Decrease the Window Length for shorter-term trend analysis.
Monitoring Trends:
Observe the plotted trend bands and labels on the chart.
Look for buy ('B') labels at potential support levels and sell ('S') labels at resistance levels.
Setting Up Alerts:
Configure alerts based on the generated buy and sell signals.
Choose notification methods (e.g., email, SMS) and set alert frequencies to stay updated without constant monitoring 📲.
Combining with Other Tools:
Integrate the Trendmaster X with other technical indicators like Moving Averages or RSI for confirmation.
Utilize fundamental analysis alongside the indicator for a holistic approach to trading.
Backtesting and Optimization:
Conduct thorough backtests on historical data to evaluate performance.
Optimize parameters based on backtest results to enhance accuracy and reliability.
Real-Time Application:
Apply the optimized settings to live charts and monitor real-time signals.
Execute trades based on confirmed signals while considering risk management principles.
LIMITATIONS
Market Conditions: The indicator might produce false signals in highly volatile or sideways-trending markets due to increased noise and lack of clear direction 🌪️.
Complementary Analysis: Traders should use this indicator in conjunction with other analytical tools to validate signals and reduce the likelihood of false positives.
Asset-Specific Performance: Effectiveness can vary across different assets and timeframes; therefore, testing on diverse instruments is recommended.
NOTES
Data Requirements: Ensure adequate historical data availability for accurate calculations and reliable signal generation.
Demo Testing: Thoroughly test the indicator on demo accounts before deploying it in live trading environments to understand its behavior under various market scenarios.
Parameter Customization: Regularly review and adjust parameters based on evolving market conditions and personal trading objectives.
Compare Strength with SLOPE Description
This indicator compares the relative strength between the current asset and a benchmark (e.g., BTC vs. ETH or AAPL vs. SPY) using a linear regression slope of their ratio over time.
The ratio is calculated as: close / benchmark
A linear regression slope is computed over a user-defined window
The slope represents trend strength: if it’s rising, the current asset is outperforming the benchmark
Plots
Gray Line: The raw ratio between the asset and benchmark
Orange Line: The slope of the ratio (shows momentum)
Background Color :
Green: The asset is significantly stronger than the benchmark
Red: The asset is significantly weaker than the benchmark
No color: No clear trend
Settings
Slope Window Length: Number of candles used in the regression (default = 10)
Slope Threshold: Sensitivity of trend detection. Smaller values detect weaker trends.
Example Use Cases
Style Rotation Strategy: Use the slope to determine whether "Growth" or "Value" style is leading.
Pair Trading / Relative Performance: Track which asset is leading in a pair (e.g., BTC vs ETH).
Factor Timing: Serve as a timing model to allocate between different sectors or factors.
Happy trading!
SPY Trend-Based Buy Signals🔹 Overview
This indicator identifies potential buy signals on any asset by combining MACD and Stochastic Oscillator crossovers, while using the SPY’s trend (via exponential moving averages) as a broader market filter.
It helps traders stay aligned with macro momentum and avoid counter-trend entries.
🔍 How it works
SPY Trend Filter (Daily Timeframe):
Pulls SPY (S&P 500 ETF) data using EMAs (5, 20, 80)
Categorizes SPY market trend with color codes:
🟢 Green: Strong uptrend (EMA5 > EMA20 > EMA80)
🟡 Yellow: Potential uptrend / early momentum (EMA5 < EMA20 > EMA80)
🔴 Red: Downtrend (EMA5 < EMA20 < EMA80)
🔵 Blue: Possible trend reversal or mixed trend (EMA5 > EMA20 < EMA80)
Buy Signal Conditions (Combined Logic):
A signal is only triggered when:
- SPY trend is either yellow or blue (indicating a neutral-to-bullish or early recovery environment)
-The Stochastic Oscillator's %D line is below 50, showing possible upside
- A bullish MACD crossover occurs on the current symbol
🟢 Green signal: MACD crossover occurs below 0 (early reversal)
🟠 Orange signal: MACD crossover occurs above 0 (momentum continuation)
📈 Visual Output
🟢 Green label below the bar when an early reversal setup occurs
🟠 Orange label above the bar when a trend continuation signal appears
✅ Best Use Case
Ideal for:
Swing traders and position traders
LEAPS (long-term options) traders aligning entries with SPY trend
Anyone seeking clean, contextual entries filtered by market momentum
⚠️ Note: This indicator is most effective when used on fundamentally strong stocks that are sector leaders with solid earnings growth and market presence. Use technical signals as a complement to quality fundamentals.
ℹ️ Clarification: The moving averages displayed on the chart (e.g., on QQQ) are for visual reference only, to help users understand the color logic of the SPY trend filter. The actual logic and signals are based on SPY’s moving averages, regardless of the charted symbol.
BotBeans Optimizer - MA CrosserBotBeans Optimizer - MA Crosser
This script allows you to:
1. Select up to 12 types of Moving Averages (MA)
2. Backtest 7 combinations of MA crossover strategy at a time with key metrics such as Net Profit%, Profit Factor, Win Rate%, Total Trades and Maximum Drowdown (Max DD)
3. Easy to define slow MA length by using SlowMultiplier. Slow MA length is calculated by fast MA length multiplied by SlowMultipleir.
4. Ability to plot MA lines, trading signals, slop loss and take profit levels for clarification
5. Risk Management is implemented. By default, risk only 2% for each trade.
6. The script uses 14 Average True Range (ATR) multiplied by ATRMultiplier to determine stop loss level
7. Take profit level is calculated by stop loss level multiplied by RiskRewardRatio.
8. Implemented with trading fee for more accurate backtest result
LinReg Heikin Ashi CandlesLinear Regression Heikin Ashi Candles will dramatically change how the candlesticks on your chart will appear. This script creates Heikin Ashi candles from the existing candlesticks and then applies wickless Linear Regression candles as an overlay. The result is an ultra smoothed 'Renko-like' chart that remains time-based and responsive.
Key Features:
Heikin Ashi Base: Provides a smoother representation of price trends by filtering out noise.
Linear Regression Candles on Heikin Ashi: Plots Linear Regression lines as candles on the Heikin Ashi chart, potentially highlighting the immediate trend direction and momentum within the smoothed data. Wicks are intentionally removed for a clearer focus on the linear progression.
Tillson T3 Moving Averages: Includes fast and slow T3 Moving Averages with customizable length and alpha. These smoothed moving averages can help identify trend direction and potential crossover signals. Users can toggle their visibility.
Volatility Bands: Integrates Volatility Bands based on Average True Range (ATR) with customizable length, ATR type (RMA, SMA, EMA, WMA), and inner/outer multipliers. These bands help gauge price volatility and potential reversal zones. Users can toggle the visibility of the basis line.
Customizable Colors: Allows users to customize the colors of the Linear Regression Heikin Ashi bullish and bearish candles.
How to Use:
This is an overlay on your chart so you'll need to 'hide' the existing candlesticks on your chart.
This indicator can be used on any timeframe from seconds to days to quickly identify market trend, gauge volatility, and potentially find entry/exit points. Consider looking for confluence between the candle color/direction, T3 MA crossovers, and price interaction with the Volatility Bands.
Note: This indicator plots Linear Regression directly on Heikin Ashi candles, removing wicks for a focus on the linear trend within the smoothed data. Adjust the input parameters to suit your trading style and the specific market conditions.
HUGE CREDIT to ugurvu who originally created the Linear Regression Candles indicator that my indicator pulls code from.
ICT Turtle Soup Ultimate V2📜 ICT Turtle Soup Ultimate V2 — Advanced Liquidity Reversal System
Overview:
The ICT Turtle Soup Ultimate V2 is a next-generation liquidity reversal indicator built on the principles of smart money concepts (SMC) and the classic ICT Turtle Soup setup. It is designed to detect false breakouts (liquidity grabs) at key swing points, enhanced by proprietary logic that filters out low-quality signals using a combination of trend context, kill zone timing, candle wick behavior, and multi-timeframe imbalance zones.
This tool is ideal for intraday traders seeking high-probability entry signals near liquidity pools and imbalance zones — where smart money makes its move.
🔍 What This Script Does
🧠 Liquidity Grab Detection (Turtle Soup Core Logic)
The script scans for recent swing highs/lows using a user-defined lookback.
A signal is generated when price breaks above/below a previous swing level but closes back inside — indicating a liquidity run and likely reversal.
A special Wick Trap Mode enhances this logic by detecting long-wick fakeouts — where the wick grabs stops but the candle body closes opposite the breakout direction.
📉 Trend Filter with ATR Buffer
Optional trend filter uses a simple moving average (SMA) to gauge market direction.
Instead of hard filtering, it applies an ATR-based buffer to allow for entries near the trend line, reducing signal suppression from micro-fluctuations.
🕰️ Kill Zone Session Filtering
Only show signals during institutional trading hours:
London Session
New York AM
Or any custom user-defined session
Helps traders avoid low-volume hours and focus on where stop hunts and price expansions typically occur.
🧱 Multi-Timeframe FVG Confluence (Optional)
Signal validation is strengthened by checking if price is within a higher timeframe Fair Value Gap — commonly used to identify imbalances or inefficiencies.
Filters out setups that lack underlying displacement or order flow justification.
🎨 Visual Feedback
Plots 🔺 bullish and 🔻 bearish markers at signal candles.
Optionally displays:
Swing High/Low Labels (SH / SL)
Reversal distance labels
Background color shading on valid signals
Includes built-in alerts for automated trade notification.
🔑 Unique Benefits
Wick Trap Detection: A proprietary approach to detecting stop hunts via wick behavior, not just candle closes.
ATR-based trend filtering: Avoids unnecessary filtering while still maintaining directional bias.
All-in-one system: No need to stack multiple indicators — swing detection, reversal logic, session filtering, and imbalance confirmation are all integrated.
💡 How to Use
Enable Wick Trap Mode to detect stealthy liquidity grabs with strong wicks.
Use Kill Zone filters to trade only when institutions are active.
Optionally enable FVG confluence to improve confidence in reversal zones.
Watch for Bullish signals near SL levels and Bearish signals near SH levels.
Combine with your own execution strategy or other SMC tools for optimal results.
🔗 Best Used With:
Maximize your edge by combining this script with complementary SMC-based tools:
✅ First FVG — Opening Range Fair Value Gap Detector
✅ ICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels
✅ Liquidity Levels — Smart Swing Highs and Lows with horizontal line projections
ICT Turtle Soup (Liquidity Reversal)ICT Turtle Soup — Liquidity Reversal Detection
Classic Liquidity Trap Reversal Strategy for Smart Money Traders
This indicator implements the ICT Turtle Soup concept — a classic liquidity-based reversal pattern — which occurs when price runs above or below a recent swing level to grab liquidity, then sharply reverses. This pattern is commonly used in Smart Money Concepts (SMC) and Inner Circle Trader (ICT) strategies to anticipate false breakouts and high-probability reversals.
🔍 What This Script Does:
Identifies Swing Highs & Lows
Detects recent swing highs and lows using a customizable lookback period.
Tracks Liquidity Grabs
A bearish Turtle Soup setup is triggered when price breaks above a recent swing high but closes back below it.
A bullish Turtle Soup setup is triggered when price breaks below a recent swing low but closes back above it.
These conditions often signal liquidity traps, where price sweeps resting orders before reversing.
Plots Signals Directly on the Chart
Turtle Soup setups are marked with 🐢🔻 (bearish) and 🐢🔺 (bullish) labels.
Optional full-text labels can also be displayed for clarity and journaling.
Includes Alert Conditions
Alerts can be enabled to notify you of bullish or bearish Turtle Soup reversals in real-time.
⚙️ Customization Features:
Adjustable swing lookback period
Enable/disable Turtle Soup labels
Set label font size
Choose your preferred bullish/bearish signal colors
💡 How to Use:
Add this script to your chart (ideally on intraday timeframes such as 5m–15m).
Wait for a Turtle Soup signal near a key swing high/low or liquidity zone.
Combine with other confirmation tools (e.g., FVGs, Order Blocks, OTE) for stronger setups.
Use alerts to stay ahead of fast-moving reversals.
🧠 Why It Works:
Turtle Soup setups are rooted in liquidity theory — they exploit the market’s tendency to sweep obvious swing levels before reversing. These moves often trap retail traders and mark the beginning of Smart Money entries.
🔗 Best Used With:
Maximize the edge by combining this with other SMC tools:
✅ First FVG — Opening Range Fair Value Gap Detector
✅ ICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels
✅ Liquidity Levels — Smart Swing Lows
Together, they create a complete ecosystem for identifying, confirming, and executing liquidity-driven trade setups with precision.
Liquidity Levels (Smart Swing Lows)Liquidity Levels — Smart Swing Low Detection
Efficient Liquidity Sweep Visualization for Smart Money Traders
This script automatically identifies and plots liquidity-rich swing lows based on pivot logic, filters them to remove redundant levels, and overlays daily highs/lows for added context — giving Smart Money Concept (SMC) traders a clean, actionable map of liquidity.
It’s designed to be minimal yet powerful: perfect for spotting potential liquidity grabs, mitigation zones, and sweep targets with zero chart clutter.
🔍 What This Script Does:
Detects Smart Swing Lows
Uses fixed pivot detection (left = 3, right = customizable) to identify structurally significant swing lows.
Filters out swing lows that are too close together using a percentage-based spacing threshold to reduce noise.
Mitigation Cleanup Logic
Tracks whether recent price action breaches past swing lows.
If breached, the swing level is automatically removed, keeping only relevant, unmitigated liquidity levels on your chart.
Plots Daily Highs and Lows
Each new trading day, horizontal rays mark the prior day’s high and low — useful for identifying resting liquidity and possible sweep zones.
Labeling and Style Customization
Optional labels for swing lows.
Full control over label size, color, and visibility to match any chart aesthetic.
Timeframe Filtering
Runs exclusively on 5m, 10m, and 15m charts to ensure optimal reliability and signal clarity.
⚙️ Customization Features:
Pivot sensitivity (Right side control)
Minimum distance between swing lows (in %)
Label visibility, size, and color
Line width and colors for both swing levels and daily highs/lows
Mitigation cleanup lookback length
💡 How to Use:
Add the script to a qualifying intraday chart (5–15m).
Use the swing low levels to monitor liquidity-rich zones.
Combine with your personal strategy to identify liquidity grabs, potential reversal zones, or entry points following a sweep.
Let the built-in cleanup logic remove any already-mitigated levels so you can focus on active targets.
🚀 What Makes It Unique:
This isn’t just another pivot plotter — it’s a smart, self-cleaning SMC tool designed for modern liquidity-based trading strategies.
A must-have for traders using concepts like liquidity grabs, mitigation blocks, or sweep-to-reverse trade models.
🔗 Best used in combination with:
✅ First FVG — Opening Range Fair Value Gap Detector: Pinpoint the day’s first imbalance zone for intraday setups.
✅ ICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels: Confluence-based entries powered by liquidity logic, order blocks, and premium/discount zones.
Used together, these scripts form a complete Smart Money toolkit — helping you build high-probability setups with confidence, clarity, and clean charts.
MACD [AlchimistOfCrypto]🌠 MACD Optimized with Python – Decoding the Chaos of Markets 🌠
Category: Trend Analysis 📈
"Like the dynamic systems studied in chaos theory, financial markets appear unpredictable at first glance. Yet, as Edward Lorenz demonstrated, even in apparent chaos reside harmonious mathematical structures. The MACD (Moving Average Convergence Divergence) represents this quest for order within disorder—a mathematical formulation that extracts coherent signals from price noise. By combining moving averages of different periods, this indicator reveals hidden cycles and precise moments when market energy shifts, like a pendulum obeying the immutable laws of physics."
📊 Technical Overview
The MACD Optimized with Python is a revolutionary take on the classic Moving Average Convergence Divergence indicator. Powered by Python-driven optimizations 🐍, it adapts to specific timeframes, delivering razor-sharp signals for traders seeking to navigate the market’s chaos with precision.
⚙️ How It Works
- Python-Optimized Parameters 🔧: Unlike the standard MACD (12,26,9), our version uses mathematically tailored parameters for each timeframe:
- 1H: 11/38/27
- 4H: 9/98/27
- 1D: 45/90/29
- 1W: 9/16/3
- 2W: 5/20/5
- Intuitive Visuals 🎨:
- Crossovers marked by colored dots 🟢🔴 for clear entry/exit signals.
- Histogram with a color gradient 🌈 to show direction and momentum intensity.
- Customizable Signals 🎯: Choose to display long, short, or both signals to match your trading style.
🚀 How to Use This Indicator
1. Select Your Timeframe ⏰: Choose the timeframe aligned with your trading horizon (1H, 4H, 1D, 1W, or 2W).
2. Spot Crossovers 🔍: Watch for the MACD line (green) crossing the signal line (red) to identify potential trend changes.
3. Confirm with Divergence ✅: Combine crossovers with price-MACD divergence for high-probability trend reversal signals.
📅 Release Notes
Unlock the hidden order of markets with this Python-optimized MACD. Stay tuned for future enhancements! ✨
🏷️ Tags
#Trading #TechnicalAnalysis #MACD #TrendAnalysis #Python #MultiTimeframe #Divergence #Momentum #TradingStrategy #RiskManagement #Forex #Stocks #Crypto #ChaosTheory #OptimizedTrading
First FVG Custom Time RangeFirst FVG — Opening Range Fair Value Gap Detector
Smart Money Opening Imbalance Strategy Tool
This script automatically detects and highlights the first Fair Value Gap (FVG) that forms between 9:30 and 10:00 AM Eastern Time (New York session open) — a critical period often referred to as the Opening Range. It’s designed for Smart Money traders looking to isolate early-morning inefficiencies that may influence market behavior throughout the trading day.
🔍 What This Script Does:
Automatically Detects the First FVG in the Opening Range
Scans price action between 9:30 and 10:00 AM ET and identifies the first valid bullish or bearish FVG that forms.
Only one FVG is shown per day — ensuring a clean, focused view.
Draws a Visual Zone
Once detected, the FVG zone is extended forward on the chart (customizable duration).
A labeled zone helps users track how price reacts to it throughout the session.
Optional Retest Alerts
Alerts you when price re-enters the zone — a potential reaction point used by SMC traders.
Customization Options
Set your preferred session time window
Adjust zone duration (in bars)
Customize label font size, colors, and visibility
Enable/disable alert on retest
📈 Why the First FVG Matters:
Time-Sensitive Setup: The first FVG typically forms no earlier than 9:31 AM ET and represents a potential “time distortion” or imbalance zone created by aggressive market participants during the open.
Behavioral Study: Many traders journal how price behaves around this zone each day — whether it acts as support, resistance, or gets traded through later in the session.
Predictive Value: Observing how this zone is respected or broken can provide anticipatory insight into intraday price action, rather than reactive analysis.
Great for New Traders: This opening FVG is often recommended as a starting reference point for building trade models and understanding how institutional imbalances unfold.
🚀 What Makes It Unique:
This tool doesn’t spam your chart with every FVG. It laser-focuses on a single, time-bound zone backed by institutional logic — the first presented imbalance of the day during the opening range.
Use it to:
Monitor price behavior around early inefficiencies
Plan journal entries and pattern recognition
Align intraday setups with a high-probability SMC model
Whether you’re scalping, journaling market structure, or refining entries based on liquidity behavior — this script helps you make the first 30 minutes count.
ICT SMC Liquidity Grabs and OBsICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels
Smart Money Concepts Trading Assistant
This script is built for traders who follow ICT (Inner Circle Trader) and Smart Money Concepts. It intelligently combines three critical components of SMC trading: Liquidity Grabs, Order Blocks, and Fibonacci-based Optimal Trade Entry (OTE) zones — giving traders visual cues for potential high-probability reversals and entry points.
🔍 What This Script Does:
Detects Liquidity Grabs
Identifies swing highs/lows where price sweeps liquidity, then immediately reverses.
Labels them with orange markers when price takes out previous highs/lows but closes back inside.
Draws Order Blocks
After a liquidity grab, the script looks for strong bullish or bearish candles and automatically highlights the OB zone.
These OB zones are visualized with transparent colored boxes extending several bars forward.
Plots Fibonacci OTE Levels
Uses recent swing high/low pivots to dynamically draw customizable OTE retracement levels (e.g., 62% and 75%) for both long and short setups.
Highlights Optimal Entry Zones
Marks valid OTE-based buy/sell opportunities only when:
Liquidity has been taken,
Price enters the OTE zone,
And a strong confirming candle appears.
Adds visual zones, trade labels, and optional alerts for each qualified entry.
Includes Take Profit Targets
Automatically calculates take-profit levels based on previous structure and risk-reward ratios.
TP1 is the previous swing, and TP2 is an extended R-multiple (customizable by user).
⚙️ Customization Options:
Toggle each feature (Liquidity Grabs, OBs, Fibonacci Levels)
Adjust Fibonacci levels (default: 62% and 75%)
Set lookback period for liquidity checks
Customize the R-multiple for TP2 levels
💡 How to Use:
Enable desired features from the input panel.
Watch for Buy/Sell OTE zones highlighted in green/red.
Confirm with liquidity sweep and OB support for stronger signals.
Use the automatically generated TP levels to manage risk.
🚀 What Makes It Unique:
Unlike other open-source mashups, this script synchronizes multiple SMC concepts into a single tool that:
Waits for high-confidence conditions (not just blind fib or OB detection)
Validates entries using multiple confluences
Visually marks actionable setups
Automates trade management zones
Whether you're trend-trading, scalping, or swing trading ICT-style, this tool offers a streamlined, smart-money-aligned workflow directly on your chart.
ICT SMC Liquidity Grabs and OBsICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels
Smart Money Concepts Trading Assistant
This script is built for traders who follow ICT (Inner Circle Trader) and Smart Money Concepts. It intelligently combines three critical components of SMC trading: Liquidity Grabs, Order Blocks, and Fibonacci-based Optimal Trade Entry (OTE) zones — giving traders visual cues for potential high-probability reversals and entry points.
🔍 What This Script Does:
Detects Liquidity Grabs
Identifies swing highs/lows where price sweeps liquidity, then immediately reverses.
Labels them with orange markers when price takes out previous highs/lows but closes back inside.
Draws Order Blocks
After a liquidity grab, the script looks for strong bullish or bearish candles and automatically highlights the OB zone.
These OB zones are visualized with transparent colored boxes extending several bars forward.
Plots Fibonacci OTE Levels
Uses recent swing high/low pivots to dynamically draw customizable OTE retracement levels (e.g., 62% and 75%) for both long and short setups.
Highlights Optimal Entry Zones
Marks valid OTE-based buy/sell opportunities only when:
Liquidity has been taken,
Price enters the OTE zone,
And a strong confirming candle appears.
Adds visual zones, trade labels, and optional alerts for each qualified entry.
Includes Take Profit Targets
Automatically calculates take-profit levels based on previous structure and risk-reward ratios.
TP1 is the previous swing, and TP2 is an extended R-multiple (customizable by user).
⚙️ Customization Options:
Toggle each feature (Liquidity Grabs, OBs, Fibonacci Levels)
Adjust Fibonacci levels (default: 62% and 75%)
Set lookback period for liquidity checks
Customize the R-multiple for TP2 levels
💡 How to Use:
Enable desired features from the input panel.
Watch for Buy/Sell OTE zones highlighted in green/red.
Confirm with liquidity sweep and OB support for stronger signals.
Use the automatically generated TP levels to manage risk.
🚀 What Makes It Unique:
Unlike other open-source mashups, this script synchronizes multiple SMC concepts into a single tool that:
Waits for high-confidence conditions (not just blind fib or OB detection)
Validates entries using multiple confluences
Visually marks actionable setups
Automates trade management zones
Whether you're trend-trading, scalping, or swing trading ICT-style, this tool offers a streamlined, smart-money-aligned workflow directly on your chart.
ENIGMA 369 ENIGMA 369 is a unique Pine Script indicator that combines two complementary trading systems: Break of Structure (BOS) Detection and Session-Based Sniper Signals.
Designed to help traders identify market structure shifts and potential intraday setups, it overlays on the chart to highlight key levels and momentum-driven opportunities. The indicator’s originality lies in its integration of pattern-based BOS analysis (inspired by Smart Money concepts) with time- and trend-filtered Sniper signals, creating a cohesive tool for both swing and intraday trading.
Unlike standalone breakout or scalping indicators, ENIGMA 369 uses:
BOS Logic: A specific two-candle pattern sequence to detect structural shifts, filtered by ATR for significance.
Sniper Logic: Momentum-based signals during high-volatility sessions, optionally aligned with EMA trends.
This synergy allows traders to assess market direction strategically (via BOS) and time entries tactically (via Sniper), all within one indicator.
What It Does
ENIGMA 369 performs two distinct functions:
Break of Structure (BOS) Detection:
Identifies potential support/resistance levels using BullBear (bullish candle followed by bearish) and BearBull (bearish followed by bullish) candle pairs.
Confirms breakouts when price sustains above (bullish) or below (bearish) these levels for a set number of bars.
Draws horizontal lines at confirmed breakout levels, which persist until price crosses a user-defined buffer zone.
Sniper Momentum Signals:
Detects buy/sell setups during user-specified trading sessions (e.g., London/US), based on candle momentum (close relative to midpoint, higher highs/lower lows).
Optionally filters signals with an EMA to align with the broader trend.
Plots lines at the candle’s high/low and 50% wick levels, serving as reference points for entries or stops, removed when price crosses them.
How It Works
ENIGMA 369 relies on price action, market timing, and trend context to generate signals. Here’s how each component operates:
BOS Logic:
Pattern Detection: Scans for two-candle patterns where the first candle is significant (size exceeds an ATR-based threshold) and the second opposes it. For example, a BullBear pair marks the first candle’s high as a potential resistance.
ATR Filter: Uses the Average True Range (default: 14 periods) to ensure the first candle’s range or body is substantial, reducing noise. Users can adjust the ATR multiplier (default: 0.5).
Confirmation: Requires price to close above/below the stored level for a user-defined number of bars (default: 1) to confirm a breakout.
Line Management: Plots green (bullish) or red (bearish) lines at confirmed levels, extending for a set number of bars (default: 10). Lines are deleted if price crosses a buffer (percentage of price or ATR-based, default: 0.1).
Visualization: Optionally highlights pattern candles with transparent green/red backgrounds.
Sniper Logic:
Momentum Signals: Identifies buy signals when a candle closes above its midpoint (high+low)/2 and has a lower low than the prior candle, indicating potential bullish momentum. Sell signals require a close below the midpoint and a higher high.
Session Filter: Limits signals to user-defined London/US session hours (default: 1-23 UTC, adjustable to specific hours like 7-11 UTC for London).
EMA Filter: Optionally uses a 50-period EMA (adjustable) to ensure buy signals occur in uptrends (rising EMA) and sell signals in downtrends (falling EMA).
Line Plotting: Draws blue lines for buy signals (at the low and 50% of the lower wick) and orange lines for sell signals (at the high and 50% of the upper wick). Lines extend right until price crosses them, managed via arrays for efficiency.
Dynamic Removal: Lines are automatically deleted when price breaches them, reflecting changing market conditions.
Why Combine BOS and Sniper?
The integration of BOS and Sniper logic is purposeful and synergistic:
BOS provides a strategic view by identifying structural shifts, helping traders understand the market’s directional bias (e.g., bullish after a confirmed high breakout).
Sniper offers tactical entry points within these trends, focusing on high-volatility sessions where momentum is likely to drive clear moves.
Together, they enable traders to align short-term trades with long-term structure, reducing the risk of trading against the trend. For example, a trader can wait for a bullish BOS confirmation before taking Sniper buy signals, enhancing setup reliability.
This combination is original because it merges Smart Money-inspired BOS detection with a session-based momentum system, a pairing not commonly found in single indicators. It avoids redundant mashups by ensuring each component serves a distinct yet complementary role.
How to Use It
Setup:
Apply ENIGMA 369 to a TradingView chart (Pine Script v5). The chart shown here uses a clean H1 candlestick setup to highlight BOS and Sniper outputs clearly.
Customize settings:
BOS:
ATR Period (default: 14), Min Candle Size (default: 0.5x ATR): Adjust for pattern sensitivity.
Confirmation Bars (default: 1): Set for faster/slower breakouts.
Buffer Type (Percentage/ATR), Buffer Zone Value (default: 0.1): Control line deletion.
Show Lines (default: true), Highlight Candle Pairs (default: false): Enable visuals.
Customize line colors (green/red) and width/length.
Sniper:
London/US Start/End Hours: Set to match your asset’s volatility (e.g., 7-11 UTC for London forex).
EMA Filter (default: true), EMA Period (default: 50): Enable for trend alignment.
Customize line styles (Solid/Dotted/Dashed) and colors (blue/orange) to distinguish from BOS.
Suggested timeframes: H1-H4 for BOS (swing trading), M5-M15 for Sniper (intraday).
Trading with BOS:
Monitor for green (bullish) or red (bearish) lines indicating confirmed breakouts.
Use lines as support/resistance:
Bullish BOS: Consider longs above the line, with stops below the line or buffer.
Bearish BOS: Consider shorts below the line, with stops above the line or buffer.
Line deletion signals a potential reversal or level invalidation.
Trading with Sniper:
Look for blue (buy) or orange (sell) lines during active sessions:
Buy: Enter long at the low or 50% wick line, with stops below the low and targets at resistance.
Sell: Enter short at the high or 50% wick line, with stops above the high and targets at support.
Use EMA filter to avoid counter-trend signals.
Lines disappear when crossed, indicating the setup’s completion or invalidation.
Alerts:
Set alerts for:
“Bullish/Bearish BOS Confirmed” for structural shifts.
“Sniper Buy/Sell Alert” for intraday setups.
Combine with volume, key levels, or news for confirmation.
Best Practices:
Use BOS to confirm trend direction before taking Sniper signals.
Test settings on your asset/timeframe via backtesting.
Apply stop-losses and risk-reward ratios (e.g., 1:2) for discipline.
The chart example shows BOS lines (green/red) and Sniper lines (blue/orange) on an H1 chart, ensuring clarity.
Underlying Concepts
Market Structure (BOS): Identifies turning points where supply/demand shifts, using two-candle patterns to mark significant levels, similar to order block concepts.
Momentum and Timing (Sniper): Targets entries during high-liquidity sessions, using candle midpoint and wick analysis to capture momentum-driven moves.
Trend Context: EMA ensures signals align with the market’s direction, reducing false positives.
Price Action: Both systems rely on raw price behavior, avoiding lagging oscillators for timely signals.
Limitations
BOS may lag in fast markets; reduce confirmation bars for scalping.
Sniper signals depend on session settings; ensure alignment with your asset’s volatility.
Multiple lines may clutter charts; adjust colors/styles for clarity.
Not a standalone system; combine with other analysis for best results.
Disclaimer
ENIGMA 369 is a tool to identify potential trading setups, not a guaranteed profit system. Past performance does not predict future results. Backtest thoroughly and use with proper risk management.
Conclusion
ENIGMA 369 offers a structured approach to trading by combining BOS’s structural insights with Sniper’s precise, session-based entries. Its unique integration makes it suitable for traders seeking to align strategic and tactical decisions. Customize it to your style, test it rigorously, and use it to enhance your market analysis.
MarketTrend [AlchimistOfCrypto]🌌 MarketTrend – Unveil the Cosmic Harmony of Markets 🌌
"What we call 'trend' is merely an illusion of our limited perception of the space-time continuum of markets. Pivots are points of singularity where potential energy ⚡️ transforms into kinetic energy 🚀. The fourth dimension isn’t just time—it’s the simultaneous awareness of all temporal states. By observing mathematical laws across time scales, we unlock the secrets of the cosmic harmony of markets."
📊 Technical Overview
MarketTrend is a multi-timeframe trend analysis powerhouse 🔥 that tracks market direction across six timeframes simultaneously. It pinpoints pivot points 📍 to classify trends as bullish 🐂, bearish 🐻, or neutral ⚖️, presenting results in a sleek, easy-to-read table.
⚙️ How It Works
- The algorithm scans for pivot highs and pivot lows using a 20-bar lookback period 🔍.
- Bullish Trend 🟢: Price breaks above a previous pivot high.
- Bearish Trend 🔴: Price drops below a previous pivot low.
- Neutral Zone 🟡: Price consolidates until a breakout sparks a new trend.
🚀 How to Use This Indicator
1. Master Multi-Timeframe Analysis 🌍: Spot trend alignment across timeframes for a holistic view.
2. Seek Confluence ✅: Stronger signals emerge when multiple timeframes align.
3. Time Your Entries ⏰: Enter trades when shorter timeframes sync with larger ones for maximum precision.
4. Manage Risk 🛡️: Avoid countertrend trades when timeframes show unified direction.
Alpha Trigger CoreAlpha Trigger Core — Trend Momentum Strategy with Dual Take Profit System
Alpha Trigger Core is a precision-engineered trend-following strategy developed for crypto and altcoin markets. Unlike simple indicator mashups, this system was built from the ground up with a specific logic framework that integrates trend, momentum, volatility, and structure validation into a single unified strategy.
It is not a random combination of indicators, but rather a coordinated system of filters that work together to increase signal quality and minimize false positives. This makes it especially effective on trending assets like BTC, ETH, AVAX, and SOL on the 1-hour chart.
🔍 How It Works
This strategy fuses multiple advanced filters into a cohesive signal engine:
🔹 Trend Identification
A hybrid model combining:
Kalman Filter — Smooths price noise with predictive tracking.
SuperTrend Overlay — Confirms directional bias using ATR.
ZLEMA Envelope — Defines dynamic upper/lower bounds based on price velocity.
🔹 Momentum Filter
Uses a ZLEMA-smoothed CCI to identify accelerating moves.
Long entries require a rising 3-bar CCI sequence.
Short entries require a falling 3-bar CCI sequence.
🔹 Volatility Strength Filter (Vortex Indicator)
Validates entries only when Vortex Diff exceeds a customizable threshold.
Prevents low-volatility "chop zone" trades.
🔹 Wick Trap Filter
Filters out false breakouts driven by liquidity wicks.
Validates that body structure supports the breakout.
📈 Entry & Exit Logic
Long Entry: All trend, momentum, volatility filters must align bullishly and wick traps must be absent.
Short Entry: All filters must align bearishly, with no wick rejection.
Early Exit: Uses ZLEMA slope crossover to exit before a full trend reversal is confirmed.
🎯 Take Profit System
TP1: Takes 50% profit at a user-defined % target.
TP2: Closes remaining 100% at second target.
Cooldown: Prevents immediate reentry and ensures clean position transitions.
📊 Real-Time Strategy Dashboard
Tracks and displays:
Position status (Long, Short, Flat)
Entry Price
TP1/TP2 Hit status
Win Rate (%)
Profit Factor
Bars Since Entry
Fully customizable position & font size
🤖 Bot-Ready Multi-Exchange Alerts
Compatible with WonderTrading, 3Commas, Binance, Bybit, and more.
Customizable comment= tags for entry, exit, TP1, and TP2.
Fully alert-compatible for webhook integrations.
📌 Suggested Use
Best used on trending crypto pairs with moderate-to-high volatility. Recommended on the 1H timeframe for altcoins and majors. Can be used for manual confirmation or automated trading.
🔒 Script Transparency
This is a closed-source script. However, the description above provides a transparent breakdown of the strategy’s core logic, filters, and execution model — ensuring compliance with TradingView’s publishing guidelines.
⚠️ Trading Disclaimer
This script is for educational purposes only and is not financial advice. Always conduct your own analysis before making investment decisions. Past performance does not guarantee future results. Use this strategy at your own risk.
Multi-Scale Slope Alignment FilterMulti-Scale Slope Alignment Filter (MSSA)
█ OVERVIEW
This indicator identifies periods where the market trend, measured by the slope of a linear regression line, is aligned across multiple time scales (short, medium, and long-term). It acts as a trend confirmation filter, visually highlighting when different trend perspectives agree. The core idea is that signals or trades taken in the direction of aligned slopes might have a higher probability of success.
It plots the calculated slopes in a separate pane and colors the main chart background based on the alignment status: green for bullish alignment, red for bearish alignment.
█ HOW IT WORKS
The indicator calculates the slope of a linear regression line for three different lookback periods defined by the user inputs (`Short-Term`, `Medium-Term`, `Long-Term`).
The "slope" is determined by comparing the value of the linear regression line at the current bar (`offset=0`) to its value on the previous bar (`offset=1`).
A positive difference indicates an upward sloping regression line (potential uptrend).
A negative difference indicates a downward sloping regression line (potential downtrend).
The core calculation for a single slope is:
ta.linreg(source, length, 0) - ta.linreg(source, length, 1)
Based on these three slopes, the alignment state is determined:
Bullish Alignment: All three slopes (Short, Medium, Long) are positive (greater than 0). This suggests an uptrend is confirmed across all measured scales.
Bearish Alignment: All three slopes are negative (less than 0). This suggests a downtrend is confirmed across all measured scales.
Neutral/Mixed: The slopes do not unanimously agree (i.e., some are positive while others are negative, or some are zero). This indicates conflicting signals or a potential consolidation phase.
█ HOW TO USE
The primary use of the Multi-Scale Slope Alignment Filter (MSSA) is as a trend confirmation tool or trade filter .
Consider taking long trades only when the background is green ( Bullish Alignment ). This acts as confirmation that the broader trend context supports the long idea.
Consider taking short trades only when the background is red ( Bearish Alignment ). This acts as confirmation that the broader trend context supports the short idea.
Consider being cautious or avoiding trades when there is no background color ( Neutral/Mixed Alignment ), as the trend direction is unclear or conflicting across different timeframes.
This indicator is generally not designed to provide direct entry or exit signals on its own. It works best when combined with your primary trading strategy or other indicators to filter their signals based on multi-timeframe trend agreement.
Example filter logic:
// Example Long Condition
primaryLongSignal = ta.crossover(fastMA, slowMA) // Your primary signal
longCondition = primaryLongSignal and isBullishAligned // Filter with MSSA
// Example Short Condition
primaryShortSignal = ta.crossunder(fastMA, slowMA) // Your primary signal
shortCondition = primaryShortSignal and isBearishAligned // Filter with MSSA
█ INPUTS / SETTINGS
Short-Term Slope Length: (Default: 20) The lookback period for calculating the short-term linear regression slope.
Medium-Term Slope Length: (Default: 50) The lookback period for calculating the medium-term linear regression slope.
Long-Term Slope Length: (Default: 100) The lookback period for calculating the long-term linear regression slope.
Source: (Default: close) The price data source used for the linear regression calculations (e.g., close, HLC3, OHLC4).
█ VISUALIZATION
Background Coloring: The background of the main price chart is colored to indicate the alignment state:
Green: Bullish Alignment (all slopes positive).
Red: Bearish Alignment (all slopes negative).
No Color: Neutral/Mixed Alignment.
Indicator Pane: A separate pane below the main chart displays:
Three lines representing the calculated slope values for the short (red), medium (blue), and long (yellow) terms.
A dashed horizontal line at zero, making it easy to visually distinguish positive (above zero) from negative (below zero) slopes.
█ SUMMARY
The MSSA indicator provides a visual filter based on the consensus of trend direction across short, medium, and long-term perspectives using linear regression slopes. It helps traders align their strategies with the prevailing multi-scale trend environment. Remember to use it as part of a comprehensive trading plan and always practice sound risk management. This tool provides analysis and is not financial advice.
GIGANEVA V6.61 PublicThis enhanced Fibonacci script for TradingView is a powerful, all-in-one tool that calculates Fibonacci Levels, Fans, Time Pivots, and Golden Pivots on both logarithmic and linear scales. Its ability to compute time pivots via fan intersections and Range interactions, combined with user-friendly features like Bool Fib Right, sets it apart. The script maximizes TradingView’s plotting capabilities, making it a unique and versatile tool for technical analysis across various markets.
1. Overview of the Script
The script appears to be a custom technical analysis tool built for TradingView, improving upon an existing script from TradingView’s Community Scripts. It calculates and plots:
Fibonacci Levels: Standard retracement levels (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range.
Fibonacci Fans: Trendlines drawn from a high or low point, radiating at Fibonacci ratios to project potential support/resistance zones.
Time Pivots: Points in time where significant price action is expected, determined by the intersection of Fibonacci Fans or their interaction with key price levels.
Golden Pivots: Specific time pivots calculated when the 0.5 Fibonacci Fan (on a logarithmic or linear scale) intersects with its counterpart.
The script supports both logarithmic and linear price scales, ensuring versatility across different charting preferences. It also includes a feature to extend Fibonacci Fans to the right, regardless of whether the user selects the top or bottom of the range first.
2. Key Components Explained
a) Fibonacci Levels and Fans from Top and Bottom of the "Range"
Fibonacci Levels: These are horizontal lines plotted at standard Fibonacci retracement ratios (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range (the "Range"). The Range is typically the distance between a significant high (top) and low (bottom) on the chart.
Example: If the high is $100 and the low is $50, the 0.618 retracement level would be at $80.90 ($50 + 0.618 × $50).
Fibonacci Fans: These are diagonal lines drawn from either the top or bottom of the Range, radiating at Fibonacci ratios (e.g., 0.382, 0.5, 0.618). They project potential dynamic support or resistance zones as price evolves over time.
From Top: Fans drawn downward from the high of the Range.
From Bottom: Fans drawn upward from the low of the Range.
Log and Linear Scale:
Logarithmic Scale: Adjusts price intervals to account for percentage changes, which is useful for assets with large price ranges (e.g., cryptocurrencies or stocks with exponential growth). Fibonacci calculations on a log scale ensure ratios are proportional to percentage moves.
Linear Scale: Uses absolute price differences, suitable for assets with smaller, more stable price ranges.
The script’s ability to plot on both scales makes it adaptable to different markets and user preferences.
b) Time Pivots
Time pivots are points in time where significant price action (e.g., reversals, breakouts) is anticipated. The script calculates these in two ways:
Fans Crossing Each Other:
When two Fibonacci Fans (e.g., one from the top and one from the bottom) intersect, their crossing point represents a potential time pivot. This is because the intersection indicates a convergence of dynamic support/resistance zones, increasing the likelihood of a price reaction.
Example: A 0.618 fan from the top crosses a 0.382 fan from the bottom at a specific bar on the chart, marking that bar as a time pivot.
Fans Crossing Top and Bottom of the Range:
A fan line (e.g., 0.5 fan from the bottom) may intersect the top or bottom price level of the Range at a specific time. This intersection highlights a moment where the fan’s projected support/resistance aligns with a key price level, signaling a potential pivot.
Example: The 0.618 fan from the bottom reaches the top of the Range ($100) at bar 50, marking bar 50 as a time pivot.
c) Golden Pivots
Definition: Golden pivots are a special type of time pivot calculated when the 0.5 Fibonacci Fan on one scale (logarithmic or linear) intersects with the 0.5 fan on the opposite scale (or vice versa).
Significance: The 0.5 level is the midpoint of the Fibonacci sequence and often acts as a critical balance point in price action. When fans at this level cross, it suggests a high-probability moment for a price reversal or significant move.
Example: If the 0.5 fan on a logarithmic scale (drawn from the bottom) crosses the 0.5 fan on a linear scale (drawn from the top) at bar 100, this intersection is labeled a "Golden Pivot" due to its confluence of key Fibonacci levels.
d) Bool Fib Right
This is a user-configurable setting (a boolean input in the script) that extends Fibonacci Fans to the right side of the chart.
Functionality: When enabled, the fans project forward in time, regardless of whether the user selected the top or bottom of the Range first. This ensures consistency in visualization, as the direction of the Range selection (top-to-bottom or bottom-to-top) does not affect the fan’s extension.
Use Case: Traders can use this to project future support/resistance zones without worrying about how they defined the Range, improving usability.
3. Why Is This Code Unique?
Original calculation of Log levels were taken from zekicanozkanli code. Thank you for giving me great Foundation, later modified and applied to Fib fans. The script’s uniqueness stems from its comprehensive integration of Fibonacci-based tools and its optimization for TradingView’s plotting capabilities. Here’s a detailed breakdown:
All-in-One Fibonacci Tool:
Most Fibonacci scripts on TradingView focus on either retracement levels, extensions, or fans.
This script combines:
Fibonacci Levels: Static horizontal lines for retracement and extension.
Fibonacci Fans: Dynamic trendlines for projecting support/resistance.
Time Pivots: Temporal analysis based on fan intersections and Range interactions.
Golden Pivots: Specialized pivots based on 0.5 fan confluences.
By integrating these functions, the script provides a holistic Fibonacci analysis tool, reducing the need for multiple scripts.
Log and Linear Scale Support:
Many Fibonacci tools are designed for linear scales only, which can distort projections for assets with exponential price movements. By supporting both logarithmic and linear scales, the script caters to a wider range of markets (e.g., stocks, forex, crypto) and user preferences.
Time Pivot Calculations:
Calculating time pivots based on fan intersections and Range interactions is a novel feature. Most TradingView scripts focus on price-based Fibonacci levels, not temporal analysis. This adds a predictive element, helping traders anticipate when significant price action might occur.
Golden Pivot Innovation:
The concept of "Golden Pivots" (0.5 fan intersections across scales) is a unique addition. It leverages the symmetry of the 0.5 level and the differences between log and linear scales to identify high-probability pivot points.
Maximized Plot Capabilities:
TradingView imposes limits on the number of plots (lines, labels, etc.) a script can render. This script is coded to fully utilize these limits, ensuring that all Fibonacci levels, fans, pivots, and labels are plotted without exceeding TradingView’s constraints.
This optimization likely involves efficient use of arrays, loops, and conditional plotting to manage resources while delivering a rich visual output.
User-Friendly Features:
The Bool Fib Right option simplifies fan projection, making the tool intuitive even for users who may not consistently select the Range in the same order.
The script’s flexibility in handling top/bottom Range selection enhances usability.
4. Potential Use Cases
Trend Analysis: Traders can use Fibonacci Fans to identify dynamic support/resistance zones in trending markets.
Reversal Trading: Time pivots and Golden Pivots help pinpoint moments for potential price reversals.
Range Trading: Fibonacci Levels provide key price zones for trading within a defined range.
Cross-Market Application: Log/linear scale support makes the script suitable for stocks, forex, commodities, and cryptocurrencies.
The original code was from zekicanozkanli . Thank you for giving me great Foundation.