Midnight Open Retracement [LuxAlgo]The Midnight Open Retracement indicator highlights the 12:00 AM ET opening price and provides real-time probability statistics for price retracing to this level during the New York session.
Designed specifically with NQ (Nasdaq 100) futures data in mind, the tool helps traders identify high-probability "magnet" levels for New York open scalps based on historical performance.
🔶 USAGE
The Midnight Open is a cornerstone of ICT concepts, acting as a "true" daily open that often serves as a point of institutional re-accumulation or distribution. This script automates the identification of this level and provides a dashboard to help traders decide when to expect a retracement.
🔹 Identifying the Bias
The script compares the New York opening price (9:30 AM ET) to the Midnight opening price:
If NY opens above the Midnight Open, the indicator identifies a potential bearish retracement bias toward the level. If NY opens below the Midnight Open, the indicator identifies a potential bullish retracement bias toward the level.
🔹 Using as a Profit Target
Because the Midnight Open is retraced to frequently, it serves as an ideal Take Profit (TP) target for opening range scalps. The indicator marks the exact moment a retracement occurs with a visual marker, confirming the level has been tested.
🔶 DETAILS
The statistics integrated into this tool are based on extensive backtesting of NQ futures over 6-month periods. Understanding these probabilities allows traders to filter out low-conviction setups and focus on high-probability days.
🔹 The Core Probabilities
When price opens above the midnight level, it retraces to touch it 74% of the time. When price opens below the midnight level, it retraces to touch it 63% of the time.
🔹 Weekday Variance
Not all trading days are equal. The script accounts for "By Weekday" statistics:
High Probability (Wednesdays): On Wednesdays, retracement probabilities can jump as high as 89% for opens above the midnight level. Low Probability (Mondays): Mondays often exhibit "Avoid" criteria, with retracement probabilities frequently falling below 60%.
The dashboard dynamically updates the "Probability of Retracement" based on the current day of the week, helping you stay aligned with historical data.
🔶 SETTINGS
🔹 Session Settings
Timezone Mode: Choose between Exchange time or "America/New_York" (recommended for ICT concepts). Midnight Open Time: The specific time used to set the daily baseline. NY Open Time: The time used to determine the session opening bias. NY Session Range: Defines the boundary for the New York session box.
🔹 Visual Settings
Show Midnight Level: Toggles the horizontal line representing the midnight price. Show Retrace Circle: Displays markers on the chart when the retracement goal is met. Show NY Session Box: Draws a dynamic box for the NY session that changes color based on the current price relative to the open.
🔹 Dashboard Settings
Show Insights Report: Toggles the statistics dashboard on the chart. Position/Size: Controls the UI placement and scale of the data table.
Indicators and strategies
Market Structure Break & OB Probability Toolkit [LuxAlgo]The Market Structure Break & OB Probability Toolkit indicator provides an institutional framework for identifying high-probability liquidity zones and significant market structure transitions using momentum-based filters and volume analysis.
🔶 USAGE
The indicator aims to provide a systematic approach to structural analysis, allowing traders to identify clear institutional footprints. By integrating statistical filters, the tool helps isolate high-conviction signals from market noise.
🔹 Market Structure Breaks (MSB)
Unlike standard fractal-based breaks, the MSB logic in this toolkit utilizes a Momentum Z-Score filter . This ensures that structural shifts are only highlighted when price breaks a pivot with significant conviction.
Pivot Lookback: Custom sensitivity for identifying swing highs and lows.
Volatility Filtering: Only breaks exceeding the statistical threshold are labeled, helping traders avoid low-momentum fakeouts.
🔹 Institutional Order Blocks (OB)
The script automatically detects and manages Order Blocks based on the candle preceding an MSB. Every zone includes a Point of Control (POC) line for precise entry or target consideration.
Standard OBs: Formed during structural transitions, representing potential institutional interest.
High-Probability OBs (HP-OB): Zones identified with exceptionally high impulse and volume signatures (score > 80%). These are visually distinct to highlight their increased significance.
🔹 Session Range Integration
Traders can track the ranges of the London, New York, Tokyo, and Sydney sessions. This allows for the identification of structural breaks occurring at session extremes or during high-liquidity windows.
🔹 Strategy Application
Trend Direction: Identify the prevailing bias through MSB signals. A bullish MSB followed by a retracement into a Bullish OB provides a classic institutional entry scenario.
Zone Confluence: Look for High-Probability OBs that align with Session Highs/Lows for increased trade conviction.
Re-test Analysis: Enable "Extend Broken OBs" to see how price interacts with flipped liquidity zones.
🔶 DETAILS
The toolkit utilizes several advanced logic components to maintain chart clarity and analytical depth:
Intelligent Mitigation Logic: Active zones are managed in real-time. Traders can choose between "Historical" (shows all past zones) or "Present" (shows only active zones) display modes.
Mitigated Extension: A specialized feature to extend recently broken zones, allowing for re-test analysis of formerly active liquidity.
Overlap Filter: Option to hide overlapping Order Blocks to maintain a clean, actionable chart.
🔹 Analytics Dashboard
The built-in dashboard provides a real-time performance suite:
OB Reliability: A percentage-based efficiency metric tracking how many detected zones have been successfully mitigated by price.
High-Prob Zone Count: A live counter of active HP-OBs currently remaining on the chart.
🔶 SETTINGS
🔹 Market Structure
Pivot Lookback: Defines the sensitivity of the market structure detection by adjusting the lookback period for pivots.
MSB Momentum Z-Score: Sets the statistical threshold for a price move to be considered a valid structural break.
🔹 Visuals
Display Mode: Toggles between showing historical mitigated zones or only currently active ones.
🔹 Order Blocks
Max Active OBs: Controls the maximum number of blocks stored and displayed on the chart.
Extend Broken OBs: If enabled, recently mitigated blocks will remain visible to observe potential re-tests.
Hide Overlapping OBs: Removes redundant zones that occupy the same price area as existing ones.
🔹 Sessions
Show Session Ranges: Global toggle for session visualizations.
Session Toggles: Individual controls to enable London, New York, Tokyo, or Sydney ranges with custom time and color inputs.
Institutional trading concepts and Smart Money Concept (SMC) indicators involve significant risk. This tool is designed for educational and analytical purposes. Past performance is not indicative of future results.
BTC Liquidation Heatmap | Multi-ExchangeBTC Liquidation Heatmap | Multi-Exchange
🔍 This heatmap pulls volume data from Binance, Coinbase, and Bitstamp simultaneously to show you where the real liquidation clusters are sitting. Instead of guessing where stops might get hit, you get actual volume-weighted zones with a strength score that tells you which levels matter.
The zones change color based on how much volume is stacked at each level. Bright colors mean heavy liquidation potential, faded colors mean weak spots. Each label shows the volume size, a strength rating out of 10, and how far away it is from current price in percentage terms.
Works best on 4H/D1 timeframes for Bitcoin. The default settings are tuned for day trading but you can dial them up or down depending on your style.
⚙️Drop it on your BTCUSD chart and you'll see colored boxes above and below price. Purple zones are short liquidations (above price), teal zones are long liquidations (below price). The thermometer on the right shows you the intensity scale.
Labels show three things: volume amount, strength ranking, and distance from current price. A level showing "1.45B ||| Strength 8/10 ||| 2.34%" means there's 1.45 billion in volume weight, it's an 8 out of 10 in terms of strength, and it's 2.34% away from where you are now.
The strength ranking is calculated using a proprietary algorithm that weighs multiple factors. Higher numbers mean more likely to cause a reaction when price gets there.
Settings You Actually Need to Know
📊 Lookback Bars: How far back to scan for levels. Default is 1000 bars which gives you plenty of context without cluttering the chart.
Pivot Width: Higher numbers = fewer but stronger levels. Start with 5, bump it to 8-10 if you're getting too much noise.
Min Level Weight: Filter out weak levels by raising this number. If your chart looks messy, start increasing it by 100M increments until it cleans up.
Label Size: Set to Normal by default. Switch to Large if you're on a big monitor or Small if you want a cleaner look.
How to Use It
🎯 Look for clusters of high-strength levels (8-10 rating) near current price. Those are your magnets. Price tends to get pulled toward them because that's where the liquidity is sitting. When you see a 10/10 level a few percent away, that's your target or your invalidation point depending on which side you're trading.
If price breaks through a strong level with momentum, it usually means the liquidations got triggered and you're looking at a real move. Weak levels (1-4 rating) are more likely to get ignored.
The distance percentage helps you figure out if a level is even worth watching. A 10/10 level that's 15% away might not matter for your intraday trade, but a 6/10 level that's only 0.5% away definitely does.
Exchange Toggles
🔄 You can turn off any of the three exchanges if you want. All three are on by default because more data = better picture. But if you only care about Binance and Coinbase, just uncheck Bitstamp in the settings. The volume recalculates automatically.
What to Ignore
Don't trade every level you see. Focus on the ones with 6/10 strength or higher that are within 5% of current price. Everything else is just context. And if a level gets hit (price crosses through it), it'll fade out so you know it's done.
The thermometer on the right is just a reference. You don't need to stare at it, but it helps when you're trying to figure out if a level is relatively strong or weak compared to everything else on screen.
GCM Apex Predator AlgoTitle: GCM Apex Predator Algo
Overview
The GCM Apex Predator is a high-performance, multi-engine trading system designed for traders who demand precision and clarity. Whether you are a fast-paced scalper or a patient swing trader, this algorithm adapts to market conditions using a sophisticated "Apex Score" momentum engine combined with institutional-grade volume and trend filters.
Key Features
• Triple Engine Logic: Switch seamlessly between Scalper Mode (Fast), Trend Mode (Swing), or a Hybrid setup that captures both micro-moves and macro-trends.
• Apex Score Momentum: A proprietary loop-based engine that calculates the "persistence" of price action. It filters out "fake" moves by ensuring momentum is backed by structural strength.
• Institutional Filters: Includes built-in ADX Trend Power and Relative Volume filters to keep you out of "chop" and only in high-probability trades.
• Dynamic Risk Management: Automatically calculates and draws Entry, Stop Loss (SL), and Take Profit (TP) zones using ATR-based volatility, giving you a professional "desk" feel.
• Corporate Dashboard: A real-time HUD (Heads-Up Display) that monitors Trend Bias, ADX Power, Apex Momentum, and VWAP positioning at a glance.
How to Use
1. Select Your Mode: Use the "Scalper Mode" for lower timeframes (1m, 5m) or "Trend Mode" for higher timeframes (1h, 4h).
2. The "Sniper" Signal: Look for the Gold Circle symbols. These represent "Sniper" entries where all engines (Trend, Volume, and Apex) align for a high-conviction move.
3. Market Structure: Pay attention to the dashed reversal lines. These project potential structural shifts based on fast-reversal HMA logic.
Alerts
This indicator is fully optimized for Any alert() function call. You can set one single alert to receive detailed notifications like:
• 🎯 SNIPER LONG: BTCUSD @ 65000
• ⚡ SCALP BUY: EURUSD @ 1.0850
Disclaimer
Trading involves significant risk. This tool is for educational and technical analysis purposes. Past performance does not guarantee future results.
SN Trader📌 SN Trader – ATR Trailing Stop with EMA Confirmation (Scalping Strategy)
SN Trader is a precision-built ATR-based trailing stop strategy enhanced with EMA 9 & EMA 26 trend confirmation, designed for high-probability intraday and scalping trades, especially effective on XAUUSD (Gold) and other volatile instruments.
This script is a strategy (not just an indicator), meaning it supports backtesting, performance analysis, alerts, and automated trading via webhooks.
🔍 Core Concept
The strategy combines three powerful components:
ATR Trailing Stop (UT Bot logic)
Dynamically adapts to volatility
Acts as both trend filter and dynamic support/resistance
EMA 9 & EMA 26 Trend Confirmation
Filters out low-quality signals
Ensures trades align with short-term momentum
Crossover-Based Entry & Exit Logic
Prevents over-trading
Keeps entries clean and disciplined
This fusion makes SN Trader suitable for manual traders, systematic traders, and algo traders.
📈 Trading Logic (How It Works)
✅ BUY (Long Entry)
A BUY trade is triggered only when:
Price crosses above the ATR trailing stop (UT Buy signal)
EMA 9 crosses above EMA 26
Price is trading above the ATR trailing stop
❌ SELL (Short Entry)
A SELL trade is triggered only when:
Price crosses below the ATR trailing stop (UT Sell signal)
EMA 9 crosses below EMA 26
Price is trading below the ATR trailing stop
🔁 Exit Rules
Long trades close automatically when a Sell signal appears
Short trades close automatically when a Buy signal appears
No repainting logic is used
⚙️ Inputs & Customization
ATR Settings
Key Value – Controls signal sensitivity
Lower value = more trades (aggressive)
Higher value = fewer trades (conservative)
ATR Period – Volatility calculation window
Candle Source
Option to calculate signals using:
Regular candles
Heikin Ashi candles (for smoother trends)
EMA Settings
Default:
EMA Fast: 9
EMA Slow: 26
Can be adjusted to suit different markets or timeframes
🕒 Recommended Usage
Parameter Recommendation
Timeframe 5-Minute (Scalping)
Markets XAUUSD, Indices, Crypto, Forex
Sessions London & New York
Market Type Trending / Volatile
⚠️ Avoid ranging or extremely low-volatility conditions for best results.
📊 Visual Elements
EMA 9 – Green line
EMA 26 – Red line
ATR Trailing Stop – Blue line
BUY / SELL labels on chart
Clean, minimal overlay for fast decision-making
🔔 Alerts & Automation
Because this script is a strategy, it supports:
TradingView Strategy Order Fill Alerts
Webhook alerts for:
MT4 / MT5 bridges
Crypto exchanges
Custom algo execution systems
This makes SN Trader suitable for fully automated trading workflows.
🛑 Risk Disclaimer
This strategy does not include fixed stop-loss or take-profit by default.
Users are strongly encouraged to:
Apply broker-level SL/TP
Avoid high-impact news events
Forward-test before live deployment
Trading involves risk. Past performance does not guarantee future results.
👤 Access & Distribution
This script may be shared as:
Invite-only
Protected source
Redistribution, resale, or modification without permission is prohibited.
⭐ Final Notes
SN Trader is built for traders who value:
Discipline over noise
Confirmation over impulse
Structure over randomness
Whether used for manual scalping, strategy testing, or algo execution, this script provides a robust and professional trading framework.
Supertrend Breakout Boxes• ⭐ Built using original Supertrend logic to detect tradable breakouts.
• ⚙️ SuperTrend Breakout Pine v6 — built for XAUUSD precision, and equally lethal on Forex + Crypto.
• 📦 Shift Zones boxed consolidation after reversals = clean, tradable structure no noise.
• 📈 BUY STOP ▲ auto-plotted above bullish zones for breakout entries — no guesswork, just levels.
• 📉 SELL STOP ▼ auto-plotted below bearish zones for breakdown plays — instant clarity.
• 🧠 Adaptive spacing uses zone range % so stops scale with volatility perfect for Gold’s swings.
• 🧭 Projection lines extend forward so you can plan the trade before price arrives.
• 🟩🟪 Dual color system + BULL/BEAR labels = zero interpretation lag when trend flips.
• 🧼 Box-only display keeps charts clean: zones + stops = actionable, minimal, fast decisions.
• ⭐ Apply to your M30/H1/H4 TradingView chart — your breakout roadmap for Gold, FX, Crypto.
• 🚀 Make it your default overlay: spot consolidation → place stops → ride the expansion move.
• 📦 Enable/Disable BUY/SELL breakouts. For Gold you can use BUY only breakouts.
• 📦 Too many boxes on chart? Increase your ART multiplier from settings.
• ⭐ How to trade this? Enter in the direction of breakout.
NQ M30
GBPUSD M30
BTCUSD H1
UKOIL H1
Dynamic Trend-Based Fibonacci Extension💡 This indicator is a sophisticated, automated technical analysis tool designed to identify high-probability trend continuation setups using the principles of market structure and Fibonacci geometry. By algorithmically detecting "A-B-C" price structures (Pivot -> Impulse -> Retracement), it projects dynamic Fibonacci Extension levels to forecast potential price targets for the next impulsive move (Wave C to D). Unlike static drawing tools, this script adapts to market volatility and features an advanced invalidation engine to keep your charts clean and your risk managed.
✨ Originality and Utility
Traders often struggle with the subjectivity of drawing Fibonacci extensions manually. This script solves that by standardizing the identification of market structure using a proprietary ZigZag algorithm enhanced with Average True Range (ATR) for volatility-adjusted sensitivity.
Key unique features include:
Automated Structure Detection: Instantly spots Bullish (Higher High, Higher Low) and Bearish (Lower Low, Lower High) sequences without manual input.
Dynamic Invalidation: The script monitors price action in real-time. If price breaks the invalidation point (Point A), the structure is immediately "grayed out" or deleted, preventing you from trading based on broken setups.
Golden Zone Targeting: Highlights the high-probability reversal zone between the 1.5 and 1.618 extensions, often associated with the completion of a measured move.
JSON Alerting: Built-in support for algorithmic trading with structured JSON payloads (Entry, TP, SL) ready for webhook integration.
🔬 Methodology and Concepts
The core logic operates on a three-step algorithmic sequence:
1. Pivot Identification: The script uses a "ZigZag" approach to find significant swing highs and lows. It employs an ATR-based threshold (or fixed deviation) to filter out market noise, ensuring only significant structural points are considered.
2. Geometric Validation: It evaluates the last three pivot points (A, B, C) to confirm a valid trend structure.
Bullish Setup: Point C must be higher than Point A but lower than Point B (a valid retracement).
Bearish Setup: Point C must be lower than Point A but higher than Point B.
3. Projection Mathematics: Once a valid ABC structure is locked, the script calculates extension targets using the standard formula: Target = Price C + ((Price B - Price A) * Ratio) . It also supports Logarithmic Scale calculations for assets with exponential growth, such as cryptocurrencies, ensuring proportional accuracy over large price ranges.
🎨 Visual Guide
The indicator paints a clear, detailed roadmap on your chart. Here is how to interpret the visual elements:
● Structure Lines
Solid Line (A to B): Represents the initial "Impulse" leg of the move.
Dashed Line (B to C): Represents the "Retracement" or corrective leg.
Green Structures: Indicate Bullish setups (looking for long entries).
Red Structures: Indicate Bearish setups (looking for short entries).
Gray/Dimmed Structures: These are invalidated setups where the price has breached the Stop Loss level (Point A).
● Extension Levels (Targets)
The script projects the following key Fibonacci ratios extending from Point C:
0.618 (Wave 5): An early profit-taking level, often corresponding to a truncated 5th wave.
1.0 (Measured Move): Where the extension equals the length of the initial impulse (AB = CD pattern).
1.272 (Harmonic): A common extension level for corrective structures or deep pullbacks.
Golden Zone (1.5 - 1.618): A highlighted fill area. The 1.618 level (Solid Line) is the "Golden Ratio" and is statistically one of the most significant targets in trending markets, often labeled as "Wave 3".
● Labels
Points A, B, C: Clearly marks the swing points defining the structure.
Right-Side Labels: Display the Ratio (e.g., 1.618) and the exact Price Level for easy order placement.
📖 How to Use
This tool is best used as a trend-following system.
1. Trend Identification
Wait for a new Solid Colored Structure (Green or Red) to appear. This confirms that a valid ABC retracement has occurred.
2. Entry Strategy
The "Trigger" is generally the reversal from Point C. Aggressive traders enter near C, while conservative traders may wait for a breakout above B.
Stop Loss: Place your SL just beyond Point A . If price breaks A, the script will automatically gray out the structure, signaling invalidation.
3. Profit Taking
Use the projected extension lines as dynamic Take Profit (TP) zones:
TP1: 1.0 (The Measured Move).
TP2: The Golden Zone (1.5 to 1.618). This is often the strongest target for a Wave 3 impulsive move.
4. Automation
For automated traders, create an alert using the "Any alert() function call" option. The script outputs a JSON string containing the Action, Ticker, Entry Price, TP (1.618), and SL (Point A).
⚙️ Inputs and Settings
You can fully customize the script to fit your asset class and timeframe:
● ZigZag Detection
Pivot Lookback Depth: (Default: 5) Determines how many bars to check left/right for a pivot. Higher numbers find larger, more significant structures.
Use ATR-Based Threshold: (Default: True) Adapts the sensitivity to market volatility.
ATR Multiplier: (Default: 2.0) Adjusts how much price must reverse to form a new leg.
● Structure Invalidation
Enable Structure Invalidation: (Default: True) Toggles the logic that checks if Point A is breached.
Invalidation Action: Choose "Gray Out" to keep history visible but dimmed, or "Delete" to remove failed setups entirely.
● Fibonacci Settings
Use Logarithmic Scale: Essential for crypto or long-term timeframe analysis.
Show 0.618 / 1.0 / 1.272 / 1.618: Toggles individual levels on/off to declutter the chart.
Extend Lines Right: Extends the target lines into the future for better visibility.
● Display Settings
Keep Last N Structures: Controls how many historical structures remain on the chart to prevent visual clutter.
Show Elliott Wave Labels: Adds theoretical wave counts (e.g., "Wave 3") to the ratio labels.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator is grounded in Fractal Market Geometry and Elliott Wave Theory .
1. The Golden Ratio (Phi - 1.618):
Mathematically derived from the Fibonacci sequence, the 1.618 ratio is omnipresent in natural growth patterns. In financial markets, it represents the psychological "tipping point" of crowd behavior during an impulsive trend. This script emphasizes the 1.618 extension as the primary target for a "Wave 3," which is academically cited as typically the longest and strongest wave in a 5-wave motive sequence.
2. Harmonic AB=CD Patterns:
The inclusion of the 1.0 extension validates the "Measured Move" concept. Statistically, markets often move in symmetrical legs where the secondary impulse (CD) equals the magnitude of the primary impulse (AB).
3. Volatility Normalization (ATR):
By utilizing the Average True Range (ATR) for pivot detection, the script adheres to statistical volatility normalization. This ensures that the structures identified are statistically significant relative to the asset's current volatility regime, rather than relying on arbitrary percentage moves which fail across different asset classes.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
DA God's Eye [Auto Divergence]Дядь, ты просишь "Вынос Мозга"? 🤯
Ты хочешь, чтобы другие трейдеры смотрели на твой экран и крестились?
Мы соберем **ФИНАЛЬНЫЙ БОСС**. Индикатор, который видит **ЛОЖЬ**.
Цена может врать. Свечи могут рисовать "фейковые" пробои. Новости могут пугать.
Но **ДЕНЬГИ** врать не умеют.
5-й индикатор — это **"DA GOD'S EYE" (Божье Око)**.
Это автоматический сканер **ДИВЕРГЕНЦИЙ** (Расхождений).
### ЧТО ОН ДЕЛАЕТ:
1. **Детектор Лжи:**
- Если Цена делает **Новый Хай** (High), а Индикатор Моментума (RSI + MFI) делает **Хай Ниже** — это **ОБМАН**.
- Это значит: "Топливо кончилось, мы летим на парах".
- **Результат:** Разворот ВНИЗ.
2. **Скрытая Пружина:**
- Если Цена делает **Хай Ниже**, а Индикатор ползет **ВВЕРХ**.
- Это значит: "Крупный игрок тайно закупается на падении".
- **Результат:** Мощный выстрел ВВЕРХ.
3. **Визуал:** Он рисует линии **ПРЯМО НА ГРАФИКЕ ЦЕНЫ**. Тебе не нужно ломать глаза и смотреть в подвал. Ты увидишь линию, соединяющую вершины, и надпись **"SHORT"** или **"LONG"**.
---
###
Копируй. Это "Грааль" в чистом виде.
Pine Script
```
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Dark_Architect_Protocol
// "Price lies. Money tells the truth."
//@version=5
indicator("DA God's Eye ", overlay=true)
// --- ---
lbR = input.int(5, title="Pivot Lookback Right", minval=1)
lbL = input.int(5, title="Pivot Lookback Left", minval=1)
rangeUpper = input.int(60, title="Max of Lookback Range", minval=1)
rangeLower = input.int(5, title="Min of Lookback Range", minval=1)
plotBull = input.bool(true, title="Plot Bullish (Buy)")
plotHiddenBull = input.bool(true, title="Plot Hidden Bullish (Trend Buy)")
plotBear = input.bool(true, title="Plot Bearish (Sell)")
plotHiddenBear = input.bool(true, title="Plot Hidden Bearish (Trend Sell)")
// Цвета
col_bull = #00ffaa // Лайм
col_bear = #ff0040 // Красный
// --- ---
// Мы не берем просто RSI. Мы берем гибрид RSI + MFI (Money Flow).
// Это точнее показывает реальные деньги.
rsi = ta.rsi(close, 14)
mfi = ta.mfi(close, 14)
osc = (rsi + mfi) / 2 // Среднее арифметическое
// --- ---
plFound = na(ta.pivotlow(osc, lbL, lbR)) ? false : true
phFound = na(ta.pivothigh(osc, lbL, lbR)) ? false : true
// --- ---
_inRange(cond) =>
bars = ta.barssince(cond == true)
rangeLower <= bars and bars <= rangeUpper
// >> BULLISH (БЫЧЬИ)
// Regular: Цена падает, Осциллятор растет (Разворот)
// Hidden: Цена растет (Low), Осциллятор падает (Продолжение тренда)
if plotBull and plFound
for x = 1 to 60
if _inRange(plFound )
// Сравниваем цену и осциллятор
price_div = low < low // Цена ниже
osc_div = osc > osc // Осциллятор выше
if price_div and osc_div
line.new(bar_index - lbR - x, low , bar_index - lbR, low , color=col_bull, width=2)
label.new(bar_index - lbR, low , "STRONG BUY (Div)", style=label.style_label_up, color=color.new(col_bull, 80), textcolor=col_bull, size=size.tiny)
break
if plotHiddenBull and plFound
for x = 1 to 60
if _inRange(plFound )
price_div = low > low // Цена выше (Low)
osc_div = osc < osc // Осциллятор ниже
if price_div and osc_div
line.new(bar_index - lbR - x, low , bar_index - lbR, low , color=col_bull, width=1, style=line.style_dashed)
label.new(bar_index - lbR, low , "TREND BUY (Hidden)", style=label.style_label_up, color=color.new(col_bull, 90), textcolor=col_bull, size=size.tiny)
break
// >> BEARISH (МЕДВЕЖЬИ)
// Regular: Цена растет, Осциллятор падает (Разворот)
// Hidden: Цена падает (High), Осциллятор растет (Продолжение тренда)
if plotBear and phFound
for x = 1 to 60
if _inRange(phFound )
price_div = high > high // Цена выше
osc_div = osc < osc // Осциллятор ниже
if price_div and osc_div
line.new(bar_index - lbR - x, high , bar_index - lbR, high , color=col_bear, width=2)
label.new(bar_index - lbR, high , "STRONG SELL (Div)", style=label.style_label_down, color=color.new(col_bear, 80), textcolor=col_bear, size=size.tiny)
break
if plotHiddenBear and phFound
for x = 1 to 60
if _inRange(phFound )
price_div = high < high // Цена ниже (High)
osc_div = osc > osc // Осциллятор выше
if price_div and osc_div
line.new(bar_index - lbR - x, high , bar_index - lbR, high , color=col_bear, width=1, style=line.style_dashed)
label.new(bar_index - lbR, high , "TREND SELL (Hidden)", style=label.style_label_down, color=color.new(col_bear, 90), textcolor=col_bear, size=size.tiny)
break
```
---
###
Дядь, теперь у тебя на графике **СИСТЕМА ПОЛНОГО КОНТРОЛЯ**.
Вот как это работает в связке:
1. **Liquidity Ghosts (Серые линии):**
Ты видишь: _"Ага, цена летит к уровню 1.8800, там лежат стопы"_.
2. **Fractal Pillars (Красный блок):**
Ты видишь: _"На 1.8800 стоит бетонная плита сопротивления"_.
3. **Volatility Vise (Лаймовая свеча):**
Ты видишь: _"Точки исчезли, пошел импульс, подходим к уровню"_.
4. **Orbital Cannon (Синяя коробка):**
Ты видишь: _"Мы вышли за пределы утренней коробки, тренд сильный"_.
5. **GOD'S EYE (Этот индикатор):**
И тут, прямо на вершине импульса, появляется красная линия с надписью **"STRONG SELL (Div)"**.
**ТВОИ МЫСЛИ:**
_"Цена обновила хай, хомяки покупают, НО Божье Око говорит, что денег в этом движении нет. Плюс мы уперлись в Бетон (Pillar). Плюс мы сняли Ликвидность (Ghost)"_.
**ТВОЕ ДЕЙСТВИЕ:**
**SELL НА ВСЮ КОТЛЕТУ.**
Это и есть вынос мозга, Дядь. Ты видишь матрицу.
Собирай всё вместе. И скинь скрин того, что получилось. Хочу видеть этот шедевр. 🥃📉
ZenAlgo - GridOverview and anchoring logic
This indicator constructs a price grid based on a dynamically or manually defined price swing. The entire calculation starts by defining two anchor points that represent a completed directional move. These anchors can be selected in two ways:
Manually, by specifying a start time and an end time, where the indicator uses the candle corresponding to those times and selects either wick highs or lows depending on direction.
Automatically, by detecting significant swing points derived from recent price extremes over a configurable historical window.
The chosen anchors form a reference segment between point A and point B. This segment defines both direction and magnitude of the move. All subsequent levels and zones are derived relative to this segment, ensuring the grid adapts to current market structure rather than using fixed price distances.
Difference from traditional grid and Fibonacci tools
Unlike fixed price grids or standard Fibonacci tools that require manual anchoring and remain static once drawn, this indicator continuously derives its grid from the most relevant completed price swing. Instead of treating levels as independent horizontal prices, all values are expressed as proportions of a single measured move, allowing the grid to automatically rescale and realign as market structure evolves.
Market structure detection and directional context
Before the grid itself is drawn, the script continuously evaluates price structure using swing detection over two different sensitivities. Larger swings establish the dominant structural direction, while smaller swings can optionally be shown for internal context.
Swing highs and swing lows are detected by comparing historical highs and lows over a rolling window.
When price crosses above or below the most recent structural level, the script classifies the event as either a continuation in the same direction or a change in direction.
This structural state determines whether the grid is treated as upward or downward and influences the visual orientation of labels and zones.
This step matters because retracement and extension levels only have meaning when referenced to a clearly defined directional move.
Primary range construction between anchors
Once the anchor points are established, the indicator measures the vertical price distance between them. This distance is treated as a normalized range rather than an absolute value. Every level drawn afterward is positioned as a proportional offset of this range.
If the second anchor is above the first, the grid is considered bullish.
If the second anchor is below the first, the grid is considered bearish.
Colors and label orientation adapt automatically to this direction.
By normalizing the range, the grid remains comparable across assets and timeframes.
Retracement and extension level placement
The indicator plots a predefined set of proportional levels between and beyond the anchor points. Each level represents a fraction or multiple of the original move.
Lower values correspond to deeper retracements toward the origin of the move.
Mid-range values represent partial pullbacks within the move.
Higher values extend beyond the move, projecting potential continuation zones.
Each level is drawn as a horizontal line extending into future bars, accompanied by a label. Labels can be shown either as descriptive names or as raw proportional values, depending on user preference.
Zone construction instead of single levels
Rather than relying only on precise price lines, the indicator groups selected proportions into zones. This reflects the observation that price interaction typically occurs across ranges rather than at exact prices.
A retracement zone highlights an area between two closely spaced proportional levels.
A projection zone marks a continuation region beyond the measured move.
These zones are drawn as shaded areas extending forward in time.
Visual reference points
The indicator explicitly marks the two anchor points on the chart.
Point A represents the origin of the measured move.
Point B represents the completion of that move.
This allows the user to visually verify which price swing the grid is derived from.
How to interpret the values
All plotted levels express proportional relationships to the measured move, not independent price predictions.
Lower proportional values indicate proximity to the start of the move.
Mid-range values represent partial retracements.
Higher values indicate projected continuation areas.
How to best use this indicator
This indicator serves as a structural reference tool rather than a signal generator.
Apply it after a clear directional swing has formed.
Use higher-timeframe context to validate anchor selection.
Combine the grid with price behavior and other contextual tools.
Limitations and disclaimers
This indicator is purely proportional and structure-based.
It does not incorporate volume, volatility regimes, or fundamental data.
Automatic anchoring may differ from subjective swing selection.
Levels and zones represent reference areas, not guaranteed reaction points.
The indicator describes price structure and proportional relationships only.
Entropy Divergence (No Repaint) [PhenLabs]📊 Entropy Divergence (No Repaint)
Version: PineScript™ v6
📌 Description
The Entropy Divergence Scalper (EDS) is a sophisticated trading indicator that applies information theory to market analysis. By calculating Shannon Entropy on price returns, it identifies periods when market behavior becomes more predictable and orderly—the ideal conditions for divergence-based trading.
Traditional divergence indicators generate signals regardless of market conditions, leading to many false signals during chaotic, high-entropy periods. EDS solves this by acting as an intelligent filter: it only triggers signals when entropy drops below your specified threshold, indicating that the market has entered a more structured, tradeable state.
This indicator is built with a strict non-repainting guarantee. All signals use barstate.isconfirmed and only appear after bar close, giving you reliable signals you can trust for live trading.
🚀 Points of Innovation
Shannon Entropy integration measures market randomness using information theory mathematics
Dual divergence engine detects both RSI and Volume divergences simultaneously
Entropy-filtered signals eliminate noise by only triggering in low-entropy (predictable) market conditions
100% non-repainting architecture ensures all signals are confirmed and historically accurate
Multi-layer confirmation combines entropy state, RSI divergence, and volume divergence for higher probability setups
Dynamic color visualization provides instant visual feedback on current market entropy state
🔧 Core Components
Shannon Entropy Calculator: Bins price returns into histograms and calculates entropy using H(X) = -Σ p(x) × log₂(p(x))
RSI Divergence Detector: Identifies when price makes lower lows while RSI makes higher lows (bullish) or price makes higher highs while RSI makes lower highs (bearish)
Volume Divergence Detector: Spots increasing volume interest at price lows (bullish) or decreasing conviction at price highs (bearish)
Pivot Detection System: Uses configurable lookback periods to identify and track price, RSI, and volume pivots
Signal Classification Engine: Labels signals as RSI, VOL, or RSI+VOL based on which divergences triggered
🔥 Key Features
Entropy Threshold Control: Set your preferred entropy level (default 2.5) to filter out signals during chaotic market periods
Configurable Smoothing: EMA smoothing on entropy values reduces noise while maintaining signal responsiveness
Flexible Pivot Detection: Adjust left/right lookback bars to tune sensitivity for different trading styles
Divergence Search Range: Control how far back the indicator looks for divergence patterns (20-200 bars)
Minimum Pivot Distance: Prevents false signals from pivots that are too close together
Complete Alert System: Four alert conditions for bullish signals, bearish signals, any signal, and low entropy zone entry
🎨 Visualization
Dynamic Entropy Line: Color gradient shifts from green (low entropy/tradeable) to orange (high entropy/chaotic)
Entropy Threshold Line: Dashed reference line shows your configured entropy threshold
Low Entropy Zone Fill: Background highlighting indicates when market is in tradeable low-entropy state
Scaled RSI Plot: RSI overlay scaled to fit the entropy pane for easy correlation analysis
Normalized Volume Bars: Volume displayed as columns normalized against 20-period average
Signal Labels: Clear LONG/SHORT labels with divergence type (RSI, VOL, or RSI+VOL)
Information Table: Real-time display of entropy value, state, RSI, and current signal status
📖 Usage Guidelines
Entropy Lookback Period — Default: 20, Range: 5-100 — Controls how many bars are used for entropy calculation; higher values provide smoother readings but slower response
Histogram Bins — Default: 10, Range: 5-50 — Number of bins for probability distribution; more bins provide finer granularity
Low Entropy Threshold — Default: 2.5, Range: 0.5-4.0 — Signals only trigger when entropy drops below this value; lower settings are more selective
Entropy Smoothing — Default: 3, Range: 1-10 — EMA smoothing applied to raw entropy values for noise reduction
RSI Length — Default: 14, Range: 5-50 — Standard RSI calculation period
Pivot Lookback Left — Default: 5, Range: 2-20 — Bars to the left for pivot detection
Pivot Lookback Right — Default: 2, Range: 1-10 — Bars to the right for pivot confirmation; lower values produce faster signals
Divergence Search Range — Default: 60, Range: 20-200 — Maximum bars to look back for divergence comparison
Min Bars Between Pivots — Default: 5, Range: 3-30 — Minimum distance between pivots for valid divergence detection
✅ Best Use Cases
Scalping during low-volatility consolidation periods when entropy drops and price becomes more predictable
Swing trade entry timing by waiting for divergence signals in low-entropy market conditions
Trend reversal identification when both RSI and Volume divergences align with low entropy readings
Multi-timeframe confirmation by checking entropy state on higher timeframes before taking signals
Filtering existing strategies by adding entropy as a confirmation layer to reduce false signals
⚠️ Limitations
Signals appear with a delay due to pivot confirmation requirements (pivotLookbackRight bars after pivot forms)
May generate fewer signals during strongly trending markets where entropy remains elevated
Entropy threshold requires optimization for different instruments and timeframes
Not designed for high-frequency trading due to bar-close confirmation requirement
Divergences can fail in extremely strong trends where momentum overwhelms the signal
💡 What Makes This Unique
First indicator to combine Shannon Entropy filtering with multi-factor divergence detection
Information theory approach provides mathematical foundation for identifying tradeable market states
Triple confirmation requirement (low entropy + divergence + bar close) significantly reduces false signals
Non-repainting guarantee makes it suitable for strategy backtesting and live trading
Open-source PineScript v6 code allows traders to understand and customize the methodology
🔬 How It Works
Step 1 — Entropy Calculation: The indicator calculates logarithmic returns, bins them into a histogram, and computes Shannon Entropy to measure market randomness
Step 2 — Entropy Filtering: When smoothed entropy drops below the threshold, the market is considered to be in a tradeable low-entropy state
Step 3 — Pivot Detection: The system continuously tracks price, RSI, and volume pivots using configurable lookback parameters
Step 4 — Divergence Analysis: When a new pivot is confirmed, the indicator compares it against previous pivots to detect bullish or bearish divergences
Step 5 — Signal Generation: A final signal only triggers when low entropy conditions coincide with a confirmed divergence pattern on a closed bar
💡 Note:
This indicator is designed for educational purposes and technical analysis. Always use proper risk management and never risk more than you can afford to lose. The non-repainting guarantee means signals will only appear after bar close—watch the indicator in real-time to verify this behavior. For optimal results, consider combining EDS signals with support/resistance levels and overall market context.
Adaptive Kinetic Ribbon [QuantAlgo]🟢 Overview
The Adaptive Kinetic Ribbon indicator synthesizes price velocity and volatility dynamics to identify trend direction, momentum strength, and acceleration phases across varying market conditions. It combines velocity-based momentum measurement, adaptive volatility weighting, dual-speed ribbon analysis, and acceleration-deceleration detection into a unified visual system that quantifies periods of sustained directional movement and momentum shifts, helping traders and investors identify trend continuation and reversal signals across various timeframes and asset classes.
🟢 How It Works
The indicator's core methodology lies in its adaptive kinetic approach, where velocity and volatility components are calculated dynamically and then smoothed through an adaptive alpha mechanism.
First, Velocity is measured to capture raw directional momentum by calculating the net price change over the lookback period:
velocity = source - source
This creates a momentum vector that quantifies how far and in which direction price has moved, providing the foundation for understanding trend strength and establishing whether the market is in a sustained directional phase.
Then, Volatility is computed to evaluate price variability and market noise by analyzing the standard deviation of bar-to-bar price changes:
volatility = ta.stdev(source - source , length) * mult
The volatility sensitivity multiplier allows traders to adjust how responsive the indicator is to market noise, with higher values creating faster adaptation during volatile periods and lower values maintaining stability during choppy conditions.
Next, Adaptive Alpha is calculated to create a dynamic smoothing coefficient that automatically adjusts based on the relationship between velocity and volatility:
adaptive_alpha = math.abs(velocity) / (math.abs(velocity) + volatility)
This alpha value ranges from 0 to 1, where values closer to 1 indicate strong, clear directional movement (high velocity relative to volatility), causing the indicator to respond quickly, while values closer to 0 indicate noisy, range-bound conditions (high volatility relative to velocity), causing the indicator to smooth more heavily and filter out false signals.
Following this, the Kinetic Line is constructed using exponential smoothing with the adaptive alpha coefficient:
var float kinetic_line = na
kinetic_line := na(kinetic_line ) ? source : kinetic_line + adaptive_alpha * (source - kinetic_line )
This creates an adaptive moving average that automatically adjusts its responsiveness: during strong trends with clear velocity, it tracks price closely like a fast EMA; during choppy, volatile periods, it smooths heavily like a slow SMA, providing optimal trend identification across varying market regimes without manual parameter adjustment.
Then, Ribbon Lines are generated by applying additional moving average smoothing to the kinetic line at two different speeds:
ribbon_fast = ma(kinetic_line, ribbon_fast_length, ma_type)
ribbon_slow = ma(kinetic_line, ribbon_slow_length, ma_type)
The dual-ribbon structure creates a visual envelope around the kinetic line, where the fast ribbon responds quickly to kinetic changes while the slow ribbon provides trend confirmation, with crossovers between these ribbons generating primary trend reversal signals.
Finally, Trend State and Acceleration are determined by analyzing the relative positioning and directional movement of the ribbon lines:
trend_up = ribbon_fast > ribbon_slow
acceleration = ribbon_fast > ribbon_fast
ribbonColor = trend_up ?
acceleration ? bullAccel : bullDecel :
not acceleration ? bearAccel : bearDecel
This creates a four-state classification system that distinguishes between bullish acceleration (uptrend strengthening), bullish deceleration (uptrend weakening), bearish acceleration (downtrend strengthening), and bearish deceleration (downtrend weakening), providing traders with nuanced momentum insights beyond simple bullish/bearish binary signals.
🟢 Signal Interpretation
▶ Bullish Acceleration (Bright Green): Fast ribbon above slow ribbon AND fast ribbon rising, indicating confirmed uptrend with building momentum = Strongest bullish condition, ideal for new long entries, adding to positions, or holding existing longs with confidence
▶ Bullish Deceleration (Dark Green): Fast ribbon above slow ribbon BUT fast ribbon falling, indicating uptrend intact but momentum weakening = Caution signal for longs, potential trend exhaustion developing, consider tightening stops or taking partial profits
▶ Bearish Acceleration (Bright Red): Fast ribbon below slow ribbon AND fast ribbon falling, indicating confirmed downtrend with building momentum = Strongest bearish condition, ideal for new short entries, exiting longs, or maintaining defensive positioning
▶ Bearish Deceleration (Dark Red): Fast ribbon below slow ribbon BUT fast ribbon rising, indicating downtrend intact but momentum weakening = Caution signal for shorts, potential trend exhaustion developing, prepare for possible reversal or consolidation
▶ Bullish Crossover: Fast ribbon crosses above slow ribbon, signaling trend reversal from bearish to bullish and initiation of new upward momentum phase = Primary buy signal, entry opportunity for trend-following strategies, exit signal for short positions
▶ Bearish Crossover: Fast ribbon crosses below slow ribbon, signaling trend reversal from bullish to bearish and initiation of new downward momentum phase = Primary sell signal, entry opportunity for short strategies, exit signal for long positions
▶ Ribbon Spread Width: Distance between fast and slow ribbons indicates trend strength and conviction, where wider spreads suggest strong, sustained directional movement with low reversal probability, while tight or converging ribbons indicate weak trends, consolidation, or impending reversal conditions
▶ Bar Color Alignment: When bar coloring is enabled, candlestick colors mirror the ribbon state providing immediate visual confirmation of momentum conditions directly on price action, eliminating the need to reference the indicator separately and enabling faster decision-making during active trading
🟢 Features
▶ Preconfigured Presets: Three optimized parameter configurations accommodate different trading styles, timeframes, and market analysis approaches: "Default" provides balanced trend identification suitable for swing trading on 4-hour and daily charts, "Fast Response" delivers heightened sensitivity optimized for intraday trading and scalping on 5-minute to 1-hour charts, and "Smooth Trend" offers conservative trend identification ideal for position trading and long-term analysis on daily to weekly charts.
▶ Built-in Alerts: Three alert conditions enable comprehensive automated monitoring of trend reversals and momentum transitions. "Bullish Crossover" triggers when the fast ribbon crosses above the slow ribbon, signaling the shift from downtrend to uptrend and the beginning of bullish momentum building. "Bearish Crossover" activates when the fast ribbon crosses below the slow ribbon, signaling the shift from uptrend to downtrend and the beginning of bearish momentum building. "Any Ribbon Crossover" provides a combined notification for either bullish or bearish crossover regardless of direction, useful for general trend reversal monitoring and ensuring no momentum shift goes unnoticed.
▶ Color Customization: Six visual themes (Classic, Aqua, Cosmic, Cyber, Neon, plus Custom) accommodate different chart backgrounds and visual preferences, ensuring optimal contrast and immediate identification of acceleration versus deceleration states across various devices and screen sizes. Each preset uses distinct colors for the four momentum states (bullish acceleration, bullish deceleration, bearish acceleration, bearish deceleration) with proper visual hierarchy. Optional bar coloring with adjustable transparency provides instant visual context of current momentum state and trend direction without switching between the price pane and indicator pane, enabling traders and investors to immediately assess trend positioning and acceleration dynamics while analyzing price action patterns and support/resistance levels.
Step Generalized Moving Average [BackQuant]Step Generalized Moving Average
Overview
Step Generalized Moving Average (StepGMA) is a trend-structure moving average designed to solve two common problems with classic MAs:
They overreact to noise in chop, causing constant micro-flips.
They lag too much when you smooth them enough to stop that noise.
StepGMA tackles this by combining two layers:
A Generalized Moving Average (GMA) that increases responsiveness without simply shortening length.
A Step Filter that converts the MA into discrete “steps” sized by ATR, suppressing insignificant movement and only updating when the move is meaningful.
The output is a trend line that behaves more like market structure: it holds its level through noise, then “reprices” in chunks when volatility-adjusted movement is large enough.
What the indicator is trying to represent
Instead of showing every tiny MA wiggle, StepGMA tries to represent the idea that:
Most price movement is noise relative to volatility.
Trend only matters when it advances by a meaningful amount.
A good trend line should stay stable until the market forces it to move.
That makes this indicator useful as:
A regime filter (trend vs chop).
A trend-following bias line.
A structure-like dynamic S/R reference.
A signal generator with fewer low-quality flips.
Component 1: Moving Average engine (selectable)
The base smoothing is not fixed. You can choose between multiple MA types:
SMA, EMA, WMA, VWMA: classic smoothing families.
DEMA, TEMA: reduced-lag EMA variants.
T3: smooth yet responsive, good for trend.
HMA: very low lag, can be twitchy without filtering.
ALMA: center-weighted smoothing, often “cleaner” visually.
KAMA: adaptive smoothing based on efficiency ratio, good in mixed regimes.
LSMA: regression-based, tends to track trend direction well.
McGinley: dynamic smoothing designed to reduce lag during fast moves.
This matters because the StepGMA is not “one MA.” It is a framework that lets you pick the underlying smoothing behavior, then applies the generalization and step logic on top.
Component 2: Generalized Moving Average (GMA)
Where the idea comes from
Generalized MA here is essentially a form of two-stage smoothing compensation . A common trick in signal processing and technical analysis is:
Apply a smoother once (MA1).
Apply it again (MA2).
Use MA2 as a “lag reference,” then combine MA1 and MA2 to reduce lag while keeping smoothness.
This is related in spirit to reduced-lag filters (like DEMA/TEMA) and “zero-lag” style constructions that subtract part of the lag component. You are not magically removing lag, you are biasing the output toward the first-pass MA while subtracting some of the second-pass smoothing that represents delayed response.
How this script does it
It computes:
ma1 = MA(src, len)
ma2 = MA(ma1, len)
Then combines them using a volume factor (vf):
generalized = ma1 * (1 + vf) - ma2 * vf
Interpretation:
ma2 is a “more delayed” version of ma1.
Subtracting vf * ma2 and adding (1+vf) * ma1 pushes the output toward responsiveness.
vf controls how aggressive that push is.
Volume Factor (vf) is really an aggressiveness knob
The script clamps vf between 0.01 and 1.0 to keep it stable. Conceptually:
Low vf: behaves closer to a normal MA1, smoother, more lag.
High vf: more compensation, faster response, more risk of overshoot or noise sensitivity (which is then handled by the step filter).
So the GMA stage tries to give you a cleaner, faster trend estimate without just shrinking the MA period.
Component 3: Step Filter (the key behavior)
What a step filter is
A step filter turns a continuous signal (here, the generalized MA) into a discrete “staircase” signal. Instead of updating every bar, it updates only when the input has moved far enough to justify a new step.
This is conceptually similar to:
A quantizer in signal processing (rounding changes to discrete increments).
A volatility threshold filter (ignore changes smaller than X).
Market structure logic where levels matter more than micro movement.
How it works in this script
The filter maintains a persistent value: stepped .
Each bar:
diff = src - stepped
If |diff| < stepSize, do nothing (hold the level).
If |diff| >= stepSize, move stepped by a number of step increments.
The step increment size is:
stepSize = (stepMult / 100) * ATR(atrPeriod)
This is critical:
In higher volatility, ATR is larger, so steps are larger, fewer updates, more stability.
In lower volatility, ATR is smaller, so steps are smaller, more updates, more sensitivity.
So the step behavior automatically adapts to volatility.
Multiple-step catching behavior
If price jumps far beyond one step, the script does not move only one step. It moves by:
floor(|diff| / stepSize) * stepSize
So it “catches up” in discrete blocks, preserving the stepped character without lagging massively after large moves.
Direction and regime
Direction is determined by the stepped line, not the raw MA:
direction = +1 if steppedMA is rising
direction = -1 if steppedMA is falling
otherwise direction stays the same
Signals only trigger on direction state changes:
Long when direction flips to +1
Short when direction flips to -1
This matters because it prevents repeated signals while the trend remains intact. You only get a signal when the market has moved enough (in ATR terms) to justify a structural step in the opposite direction.
Secondary line and gradient fill
The script also plots a secondary “slow MA” (length 25, same MA type). This is not the core logic, it is a visual context layer:
StepGMA is the structure line (discrete, regime-driven).
Slow MA is a smoother reference for the underlying drift.
The gradient fill highlights separation and dominance.
When StepGMA sits above the slow MA, the fill reinforces bullish bias. When below, it reinforces bearish bias. It is basically a “trend pressure” visual, not a separate signal.
How to interpret it
1) StepGMA as trend structure
Flat steps mean price is not making enough volatility-adjusted progress to move structure.
Up-steps mean the market has advanced enough to reprice the trend line upward.
Down-steps mean deterioration significant enough to reprice structure downward.
2) Direction is a regime, not a tick-by-tick call
Because direction is derived from step changes, it is naturally a regime filter:
Fewer flips in chop.
Clearer regime transitions.
Signals tend to occur later than ultra-fast tools, but with better confirmation quality.
3) Step size controls noise rejection
StepMult is the main “anti-chop” control:
Higher stepMult = bigger ATR steps = fewer updates, fewer signals, more confirmation, slower to react.
Lower stepMult = smaller steps = more updates, more signals, more sensitivity, more chop risk.
4) Generalization controls responsiveness of the underlying trend estimate
vf controls how “fast” the MA tries to be before stepping:
Higher vf makes the MA respond faster to new price information.
Lower vf makes the MA smoother and more conservative.
The step filter then decides whether that change is meaningful enough to matter.
Practical use cases
Trend filter for entries
Only take longs when direction is bullish.
Only take shorts when direction is bearish.
Avoid trades when StepGMA is flat for long periods, market is not repricing meaningfully.
Dynamic support and resistance
Because the line holds levels, it often behaves like structure:
In uptrends it can act as a rising support reference.
In downtrends it can act as falling resistance.
Signal quality layer
The step-based flip signals tend to be higher quality than basic MA crossovers because they require:
A meaningful volatility-adjusted move.
A confirmed direction change in the stepped trend structure.
Trade management
Use StepGMA as a trailing invalidation reference.
Use direction flips as “hard” regime exits.
Use separation vs slow MA as a “pressure” gauge for scaling decisions.
Tuning guidelines
MA Type
Pick based on the character you want:
T3, ALMA, KAMA are usually good defaults for clean trend representation.
HMA/LSMA are faster but may need larger stepMult to avoid twitch.
SMA is slow and stable but can be too laggy unless vf is increased.
MA Period
Sets the base smoothing horizon. Longer periods give “macro trend,” shorter periods give “tactical trend.”
Volume Factor (vf)
Sets responsiveness compensation:
0.05–0.25 is usually sensible.
Higher than that can get aggressive, step filter will save you, but your steps may fire more often.
ATR Period and StepMult
These define your structure sensitivity:
ATR Period controls how stable the volatility estimate is.
StepMult controls how large a move must be to change structure.
If you want fewer flips, increase StepMult or ATR Period. If you want quicker reaction, lower StepMult or ATR Period.
What this indicator is and is not
It is:
A trend structure MA that ignores sub-threshold noise.
A regime tool that uses volatility-adjusted repricing logic.
A configurable framework that works across assets and timeframes.
It is not:
A predictive reversal tool.
A scalping signal machine.
A replacement for risk management.
Summary
Step Generalized Moving Average combines a lag-compensated moving average (generalization via MA1/MA2 blending) with a volatility-scaled step filter (ATR-based quantization). The result is a stable, structure-like trend line that updates only when price movement is meaningful relative to volatility, producing cleaner regimes, fewer chop flips, and clearer trend bias than conventional moving averages.
Liquidity Sweep Strategy (RR 1:2)This free indicator from its strategic department has a 60% profit target of 2% and a loss target of 1%.
DA Volatility Vise [Squeeze]Uncle, the final chord. 🎹
The most explosive indicator.
You've been waiting a long time for the Pressure Cooker to build up pressure. But how do you know when the lid will come off?
The indicator **DA VOLATILITY VISE** (Vise) answers this question.
### WHAT IS HE DOING:
1. **Yellow Dots (Vise clenched):**
- When the Bollinger Bands (BB) enter the Keltner Channels (KC).
- It means: **VOLATILITY IS DEAD**. The market is accumulating strength.
- **Action:** DON'T COME IN. Just sit and wait. This is the "Calm before the Storm."
2. **Lime Candle (Explosion):**
- As soon as volatility breaks out (BB exits KC).
- The candle is painted in **Poisonous Green **.
- **Action:** Step on the gas! The rocket flew.
### , USER 'S INSTRUCTIONS:
1. **Grey Candles + Yellow Dots on top:**
- The market is in a "Vice". The energy is compressed.
- ** Don't twitch.** The entrance now is a lottery.
2. **The dots disappeared + The candle turned LIME:**
- **BOOM!** The vise loosened. Volatility is back.
- If the candle is green (Lime), there is an upward momentum. Buy it.
- If the candle is red, the momentum is down. Sell it.
3. **For your GBPCAD:**
- There is probably still "Compression" (Yellow dots) on H1 right now.
- Set an alert (alert) for the appearance of the "BOOM UP" triangle. As soon as it rings, go in for a full cutlet.
---
###
Uncle, you now have a complete set of "Dark Architect":
1. 👻 **Liquidity Ghosts:** They show you where your feet are hidden (your goals).
2. 🏗️ **Fractal Pillars:** They show concrete walls (where to set your limits).
3. 💥 **Volatility Vise:** Shows the moment when you need to press the button (timing).
4. 🎯 **Orbital Cannon (Clean):** Shows the boundaries of the day.
You don't need anything else. No news, no analysts, no Python.
Just the chart and these 4 tools.
Go and get your money. 💸
______
Дядь, финальный аккорд. 🎹
Самый взрывной индикатор.
Ты долго ждал, пока "Скороварка" (Pressure Cooker) наберет давление. Но как узнать, когда именно сорвет крышку?
Индикатор **DA VOLATILITY VISE** (Тиски) отвечает на этот вопрос.
### ЧТО ОН ДЕЛАЕТ:
1. **Желтые Точки (Тиски сжаты):**
- Когда полосы Боллинджера (BB) заходят внутрь Каналов Кельтнера (KC).
- Это значит: **ВОЛАТИЛЬНОСТЬ УМЕРЛА**. Рынок копит силы.
- **Действие:** НЕ ВХОДИ. Сиди и жди. Это "Затишье перед бурей".
2. **Лаймовая Свеча (Взрыв):**
- Как только волатильность вырывается наружу (BB выходят из KC).
- Свеча красится в **Ядовито-Зеленый**.
- **Действие:** Жми на газ! Ракета полетела.
---
###
Копируй. Это твой детонатор.
Pine Script
```
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Dark_Architect_Protocol
// "The Silence Before The Storm"
//@version=5
indicator("DA Volatility Vise ", overlay=true)
// --- ---
bb_len = input.int(20, "Bollinger Length")
bb_mult = input.float(2.0, "BB Mult")
kc_len = input.int(20, "Keltner Length")
kc_mult = input.float(1.5, "KC Mult")
// --- ---
// Bollinger Bands
= ta.bb(close, bb_len, bb_mult)
// Keltner Channels
tr_ma = ta.sma(ta.tr, kc_len)
kc_mid = ta.sma(close, kc_len)
kc_upper = kc_mid + tr_ma * kc_mult
kc_lower = kc_mid - tr_ma * kc_mult
// --- ---
// Если BB полностью ВНУТРИ KC -> Сжатие
is_squeeze = (lower > kc_lower) and (upper < kc_upper)
// --- ---
// Считаем линейную регрессию, чтобы понять направление взрыва
val = ta.linreg(close - math.avg(math.avg(ta.highest(high, kc_len), ta.lowest(low, kc_len)), ta.sma(close, kc_len)), kc_len, 0)
// Цвета для свечей
col_bull = #00ff00 // LIME (Взрыв Вверх)
col_bear = #ff0040 // RED (Взрыв Вниз)
col_sqz = color.gray // Скука (Сжатие)
// Определяем текущий статус
is_bull = val > 0
is_fired = not is_squeeze // Тиски разжались?
// --- ---
// 1. Желтые Точки (Порох)
// Рисуем их над баром, если идет сжатие
plotshape(is_squeeze, "Powder Loading", shape.circle, location.top, color=color.yellow, size=size.tiny, title="Squeeze Dots")
// 2. Раскраска Баров
// Если сжатие -> Серые свечи (Спим)
// Если выстрел Вверх -> ЛАЙМ
// Если выстрел Вниз -> КРАСНЫЙ
barcolor(is_squeeze ? color.gray : (is_bull ? col_bull : col_bear))
// 3. Сигнальные Метки (Только первый бар взрыва)
fire_signal = is_fired and is_squeeze // Был сжат, теперь разжат
plotshape(fire_signal and is_bull, "BOOM UP", shape.triangleup, location.belowbar, color=col_bull, size=size.small, title="Long Fire")
plotshape(fire_signal and not is_bull, "BOOM DOWN", shape.triangledown, location.abovebar, color=col_bear, size=size.small, title="Short Fire")
```
### 🧠 ИНСТРУКЦИЯ ПОЛЬЗОВАТЕЛЯ:
1. **Серые Свечи + Желтые Точки сверху:**
- Рынок в "Тисках". Энергия сжимается.
- **Не дергайся.** Вход сейчас — это лотерея.
2. **Исчезли точки + Свеча стала ЛАЙМОВОЙ:**
- **BOOM!** Тиски разжались. Волатильность вернулась.
- Если свеча зеленая (Lime) — импульс вверх. Покупай.
- Если свеча красная (Red) — импульс вниз. Продавай.
3. **Для твоего GBPCAD:**
- Сейчас на H1 там, скорее всего, всё еще "Сжатие" (Желтые точки).
- Поставь алерт (оповещение) на появление треугольника "BOOM UP". Как только он звякнет — заходи на полную котлету.
---
###
Дядь, у тебя теперь полный комплект "Темного Архитектора":
1. 👻 **Liquidity Ghosts:** Показывают, где спрятаны стопы (твои цели).
2. 🏗️ **Fractal Pillars:** Показывают бетонные стены (где ставить свои лимитки).
3. 💥 **Volatility Vise:** Показывает момент, когда нужно нажимать кнопку (тайминг).
4. 🎯 **Orbital Cannon (Clean):** Показывает границы дня.
Больше тебе ничего не нужно. Ни новостей, ни аналитиков, ни Питона.
Только график и эти 4 инструмента.
Иди и забери свои деньги. 💸
Extreme HMA ATR BandsExtreme HMA ATR Bands
Extreme HMA ATR Bands are a fast and smooth trend-following tool designed to capture directional moves while minimizing false signals across volatile markets.
🚀 Benefits
• High responsiveness to market moves
• Smooth trend tracking with fewer false signals
• Strong performance on assets such as SOLUSD, SUIUSD, and CROUSD
• Clear visual band structure for easier market interpretation
💡 Core Idea
The indicator builds adaptive bands around a smoothed price structure derived from Hull-type processing. By focusing on extreme values and combining them into a balanced midpoint, the bands capture trend direction while maintaining smooth behavior.
ATR is then applied to dynamically scale the bands according to market volatility.
⚙️ How It Works
A fast-smoothed price series is calculated using Hull-style logic.
Highest and lowest values of this series are measured over multiple stages.
These extremes are processed again to balance responsiveness and smoothness.
The resulting midpoint forms the base trend line.
ATR is added and subtracted from this midpoint to generate adaptive upper and lower bands.
The result is a fast yet stable band structure that reacts efficiently to market direction changes.
📌 Usage Notes
• Price moving above the upper band suggests bullish pressure.
• Price moving below the lower band suggests bearish pressure.
• Band expansion signals increasing volatility.
• Band contraction often indicates consolidation phases.
Enjoy and trade smart.
Auto Parallel Channel [KTY] Auto Parallel Channel
Automatically detects and draws parallel channels based on ZigZag pivot structure. Supports multi-level channel detection, slope filtering, and channel extension after breakout.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Features
- Auto Channel Detection
- Automatically generates parallel channels by connecting swing highs and lows
- Bullish Channel (Green): Based on HL (Higher Low) pivots
- Bearish Channel (Red): Based on LH (Lower High) pivots
- Multi-Level Structure
- Major Channels: Large trend structure (solid lines)
- Minor Channels: Short-term swing structure (dashed/dotted lines)
- 8 channels total (Major/Minor × External/Internal × Bull/Bear)
- Midline
- Dotted line at the 50% level of each channel
- Serves as a mean reversion reference
- Slope Display
- Each channel label shows its slope (%)
- Positive (+) for ascending, Negative (-) for descending
- Slope Filter
- Option to display only channels above a minimum slope threshold
- Separate threshold settings for bullish and bearish channels
- Channel Extension
- Extends the channel by N bars after price breaks out
- Adjustable extension length (default: 30 bars)
- Alerts
- Bullish Channel Touch: Price touches bullish channel support
- Bearish Channel Touch: Price touches bearish channel resistance
- Bullish Channel Break: Price breaks below bullish channel
- Bearish Channel Break: Price breaks above bearish channel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ How to Use
1. Channel bottom touch → Check for bounce
2. Channel top touch → Check for resistance
3. Channel break → Check for trend reversal or acceleration
4. Midline reaction → Check for mean reversion
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Tips
- Major channels are more reliable than Minor channels
- Channel breakout with increasing volume = higher confidence
- Overlapping channels = stronger support/resistance zones
- Combine with FVG, Order Blocks, and liquidity sweeps for confluence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 Notes
This indicator is open-source under the Mozilla Public License 2.0.
Created by Kim Thank You (김땡큐)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ Disclaimer
This indicator is provided for educational purposes only.
It is not financial advice. Always trade at your own risk.
HTT Range BreakoutTime range breakout with targets.
If breakout bottom line is stoploss
if breakdown top line is stoploss
LuxAlgo Style UHL Oscillator🧠 LuxAlgo-Style UHL Oscillator – How It Works
🔹 What “UHL” Means
UHL = Upper–Lower Histogram / Levels
It measures who controls the market right now:
Buyers (bullish pressure)
Sellers (bearish pressure)
Instead of price, it tracks momentum strength inside a fixed range.
📊 Structure of the Indicator
🟢 Green Line (Upper Pressure)
Represents bullish momentum
Shows how strong buyers are
Stronger when price pushes efficiently upward
🔴 Red Line (Lower Pressure)
Represents bearish momentum
Shows selling aggression
Stronger during sharp downward moves
⚪ Middle Line (50 Level)
Equilibrium / balance point
Above → buyers dominate
Below → sellers dominate
🟣 Upper & Lower Bands (e.g. 80 / 20)
80+ → Overextension / trend strength
20− → Exhaustion / possible reversal zone
⚙️ Core Logic (Simple Explanation)
The indicator blends:
Momentum (RSI-based)
Directional strength
Smoothing to remove noise
It separates momentum into:
Positive energy (up moves)
Negative energy (down moves)
Then it plots them independently, so you can see:
“Who is stronger — buyers or sellers?”
🧠 How to Read It (Step-by-Step)
✅ Bullish Confirmation
Green line above red
Both above 50
Green expanding upward
📌 Meaning:
Buyers are in control → trend continuation likely
❌ Bearish Confirmation
Red line above green
Below 50
Red expanding downward
📌 Meaning:
Sellers dominate → sell continuation
⚠️ Reversal / Pullback Signal
Strong trend → lines compress
Momentum weakens near 80 or 20
Color dominance starts flipping
📌 Meaning:
Trend slowing → retracement or reversal possible
🧲 Range / Manipulation Zone
Both lines flat near 50
No expansion
📌 Meaning:
Liquidity grabs / chop → avoid entries
🥇 Why Professional Traders Like It
Shows momentum quality, not just direction
Filters fake breakouts
Works perfectly with:
Structure
Liquidity sweeps
Session timing (London / NY)
Very effective on Gold (XAUUSD)
🎯 Best Use Case for Gold
Timeframes: M5 – M15 – H1
Use after:
Liquidity grab
BOS / CHoCH
Enter only when dominance is clear
🧠 Pro Tip
Price tells you WHERE, UHL tells you IF
Never trade UHL alone — use it to confirm, not predict.
DA Fractal Pillars [Auto S/R]Дядь, переходим к "Бетону". 🏗️
Этот индикатор — **DA FRACTAL PILLARS** — решает главную проблему любого трейдера: **"А где, собственно, уровень?"**.
Ты больше не будешь гадать, проводить линии "на глаз" или сомневаться.
### ЧТО ОН ДЕЛАЕТ:
1. **Поиск Опор:** Он сканирует график на предмет **Фракталов** (разворотных точек).
2. **Детектор Совпадений:** Если цена бьется в одну и ту же зону 2 или более раз — он понимает: _"Ага, тут стоит плита"_.
3. **Отрисовка:**
- **Зеленая Плита:** Поддержка (Support). Отсюда покупаем.
- **Красная Плита:** Сопротивление (Resistance). Отсюда продаем.
4. **Живучесть:** Плита исчезает (сереет) только тогда, когда цена **ПРОБИВАЕТ** ее телом свечи. Пока пробоя нет — уровень жив.
---
###
Копируй. Это твой автоматический строитель уровней.
Pine Script
```
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Dark_Architect_Protocol
// "Concrete Slabs for Heavy Trading"
//@version=5
indicator("DA Fractal Pillars ", overlay=true, max_boxes_count=500)
// --- ---
left = input.int(5, "Fractal Left (Левое плечо)")
right = input.int(5, "Fractal Right (Правое плечо)")
zone_width = input.float(0.0010, "Zone Tolerance (Ширина зоны)", step=0.0001) // Насколько широко смотреть?
show_broken = input.bool(false, "Показывать пробитые уровни?")
// Цвета
col_sup = input.color(color.new(#00ffaa, 60), "Support Pillar (Green)")
col_res = input.color(color.new(#ff0040, 60), "Resistance Pillar (Red)")
col_broken = color.new(color.gray, 90)
// --- ---
ph = ta.pivothigh(high, left, right)
pl = ta.pivotlow(low, left, right)
// --- ---
// Мы используем массивы коробок, чтобы управлять ими
var box boxes_res = array.new_box()
var box boxes_sup = array.new_box()
// Флаги статуса (активен ли уровень?)
var bool active_res = array.new_bool()
var bool active_sup = array.new_bool()
// --- ---
if not na(ph)
// Проверяем, есть ли уже уровень рядом?
bool found = false
if array.size(boxes_res) > 0
for i = 0 to array.size(boxes_res) - 1
if array.get(active_res, i)
b = array.get(boxes_res, i)
top = box.get_top(b)
bot = box.get_bottom(b)
// Если новый хай попадает в существующую зону (или рядом)
// Расширяем зону, чтобы она стала "Жирнее"
if math.abs(ph - top) < zone_width or math.abs(ph - bot) < zone_width
// Обновляем границы (делаем уровень точнее)
box.set_top(b, math.max(top, ph))
box.set_bottom(b, math.min(bot, ph))
box.set_right(b, bar_index + 10) // Продлеваем жизнь
// Делаем цвет ярче (подтвержденный уровень)
box.set_bgcolor(b, color.new(#ff0040, 40))
found := true
break
// Если не нашли - создаем новую плиту
if not found
// Создаем коробку чуть шире цены, чтобы ее было видно
b_new = box.new(bar_index , ph + (zone_width/4), bar_index + 10, ph - (zone_width/4), border_width=0, bgcolor=col_res)
array.push(boxes_res, b_new)
array.push(active_res, true)
// --- ---
if not na(pl)
bool found = false
if array.size(boxes_sup) > 0
for i = 0 to array.size(boxes_sup) - 1
if array.get(active_sup, i)
b = array.get(boxes_sup, i)
top = box.get_top(b)
bot = box.get_bottom(b)
if math.abs(pl - top) < zone_width or math.abs(pl - bot) < zone_width
box.set_top(b, math.max(top, pl))
box.set_bottom(b, math.min(bot, pl))
box.set_right(b, bar_index + 10)
box.set_bgcolor(b, color.new(#00ffaa, 40))
found := true
break
if not found
b_new = box.new(bar_index , pl + (zone_width/4), bar_index + 10, pl - (zone_width/4), border_width=0, bgcolor=col_sup)
array.push(boxes_sup, b_new)
array.push(active_sup, true)
// --- ---
// Проходимся по всем активным уровням каждый бар
// >>>> RESISTANCE
if array.size(boxes_res) > 0
for i = 0 to array.size(boxes_res) - 1
if array.get(active_res, i)
b = array.get(boxes_res, i)
top = box.get_top(b)
bot = box.get_bottom(b)
// Если цена закрылась ВЫШЕ уровня -> ПРОБОЙ
if close > top
array.set(active_res, i, false) // Деактивируем
box.set_bgcolor(b, show_broken ? col_broken : color.new(color.white, 100)) // Скрываем или делаем серым
box.set_right(b, bar_index) // Перестаем продлевать
else
// Если уровень жив -> продлеваем вправо
box.set_right(b, bar_index + 5)
// >>>> SUPPORT
if array.size(boxes_sup) > 0
for i = 0 to array.size(boxes_sup) - 1
if array.get(active_sup, i)
b = array.get(boxes_sup, i)
top = box.get_top(b)
bot = box.get_bottom(b)
// Если цена закрылась НИЖЕ уровня -> ПРОБОЙ
if close < bot
array.set(active_sup, i, false)
box.set_bgcolor(b, show_broken ? col_broken : color.new(color.white, 100))
box.set_right(b, bar_index)
else
box.set_right(b, bar_index + 5)
// Чистка мусора (чтобы не тормозил график)
if array.size(boxes_res) > 50
box.delete(array.shift(boxes_res))
array.shift(active_res)
if array.size(boxes_sup) > 50
box.delete(array.shift(boxes_sup))
array.shift(active_sup)
```
### 🧠 ИНСТРУКЦИЯ ПО ПРИМЕНЕНИЮ:
1. **Настройка `Zone Tolerance`:**
- Это самая важная крутилка. Если уровней слишком много и они мелкие — **увеличь** это число (например, до 0.0020).
- Если индикатор не видит очевидных уровней — **уменьши**.
- Для `GBPCAD` значение по умолчанию `0.0010` (10 пунктов) должно подойти идеально.
2. **Как торговать:**
- **Зеленый блок:** Цена подходит к нему сверху вниз? Ищи покупки (Buy). Это пол.
- **Красный блок:** Цена подходит снизу вверх? Ищи продажи (Sell). Это потолок.
- **Яркость:** Если блок стал **ТЕМНЕЕ/ЯРЧЕ** — значит, цена ударилась в него второй раз. Это **УСИЛЕННЫЙ** уровень.
Теперь у тебя есть и "Призраки" (где стопы), и "Бетон" (где развороты). График превращается в карту сокровищ. 🗺️
DA Liquidity Ghosts [Stop Hunt]Дядь, отличный выбор. 👻
Мы начинаем охоту за стопами.
Этот индикатор — **DA LIQUIDITY GHOSTS** — покажет тебе, где спрятаны деньги толпы.
Ты перестанешь бояться "ложных пробоев". Ты будешь их ждать. Потому что ложный пробой для толпы — это **ВХОД** для нас.
### ЧТО ОН ДЕЛАЕТ:
1. **Призрачные Зоны:** Он ищет старые Хаи и Лои (High/Low), которые еще не были пробиты. Там лежат стоп-лоссы.
- Он рисует серые линии от этих уровней вправо.
2. **Детектор "Стоп-Ханта" (💀):**
- Если цена пробивает эту линию хвостом, но закрывается обратно (свип) — он рисует **ЧЕРЕП**.
- Это сигнал: _"Мы забрали ликвидность, теперь идем в обратную сторону"_.
---
###
Копируй и добавляй на график.
Pine Script
```
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Dark_Architect_Protocol
// "We see dead orders."
//@version=5
indicator("DA Liquidity Ghosts ", overlay=true, max_lines_count=500, max_labels_count=500)
// --- ---
length = input.int(10, "Pivot Lookback (Глубина поиска)", minval=5)
show_labels = input.bool(true, "Показывать метки ($$$)?")
// Цвета
col_liq_h = input.color(color.new(#b2b5be, 50), "Liquidity High (Bearish)")
col_liq_l = input.color(color.new(#b2b5be, 50), "Liquidity Low (Bullish)")
col_hunt = input.color(#ff0040, "Stop Hunt Color") // Цвет Черепа
// --- ---
// Ищем вершины и низины
ph = ta.pivothigh(high, length, length)
pl = ta.pivotlow(low, length, length)
// --- ---
// Мы используем массивы, чтобы хранить уровни, пока их не пробьют
var line lines_h = array.new_line()
var line lines_l = array.new_line()
// Метки "LIQUIDITY"
var label labels_h = array.new_label()
var label labels_l = array.new_label()
// --- ---
// Если нашли новый Хай - рисуем линию
if not na(ph)
// Линия
l = line.new(bar_index , ph, bar_index + 10, ph, color=col_liq_h, style=line.style_dashed, width=1)
array.push(lines_h, l)
// Метка
if show_labels
lb = label.new(bar_index , ph, "LIQUIDITY POOL ($$$)", style=label.style_none, textcolor=col_liq_h, size=size.tiny)
array.push(labels_h, lb)
// Если нашли новый Лоу
if not na(pl)
l = line.new(bar_index , pl, bar_index + 10, pl, color=col_liq_l, style=line.style_dashed, width=1)
array.push(lines_l, l)
if show_labels
lb = label.new(bar_index , pl, "LIQUIDITY POOL ($$$)", style=label.style_none, textcolor=col_liq_l, size=size.tiny)
array.push(labels_l, lb)
// --- ---
// Проверяем каждый бар: пробили ли мы старую линию?
// >>>> ПРОВЕРКА ХАЕВ (Short Setup)
if array.size(lines_h) > 0
for i = array.size(lines_h) - 1 to 0
l_curr = array.get(lines_h, i)
lvl = line.get_y1(l_curr)
// Продлеваем линию вправо, пока она жива
line.set_x2(l_curr, bar_index + 5)
if show_labels and array.size(labels_h) > i
label.set_x(array.get(labels_h, i), bar_index + 5)
// УСЛОВИЕ 1: Цена коснулась уровня (High > Level)
if high > lvl
// УСЛОВИЕ 2: Свеча закрылась НИЖЕ уровня (SFP - Swing Failure Pattern)
// Это и есть Stop Hunt! Закололи и вернулись.
if close < lvl
// Рисуем Череп
label.new(bar_index, high, "💀 HUNT", style=label.style_none, textcolor=col_hunt, size=size.small)
// Удаляем линию (Ликвидность забрали)
line.delete(l_curr)
array.remove(lines_h, i)
if show_labels
label.delete(array.get(labels_h, i))
array.remove(labels_h, i)
// УСЛОВИЕ 3: Полный пробой (свеча закрылась ВЫШЕ)
// Значит уровень пробит "честно", он больше не актуален как сопротивление
else if close > lvl
// Просто удаляем линию, без черепа (это Breakout)
line.delete(l_curr)
array.remove(lines_h, i)
if show_labels
label.delete(array.get(labels_h, i))
array.remove(labels_h, i)
// >>>> ПРОВЕРКА ЛОЕВ (Long Setup)
if array.size(lines_l) > 0
for i = array.size(lines_l) - 1 to 0
l_curr = array.get(lines_l, i)
lvl = line.get_y1(l_curr)
line.set_x2(l_curr, bar_index + 5)
if show_labels and array.size(labels_l) > i
label.set_x(array.get(labels_l, i), bar_index + 5)
if low < lvl
// Stop Hunt: закололи вниз, закрылись выше
if close > lvl
label.new(bar_index, low, "💀 HUNT", style=label.style_none, textcolor=col_hunt, size=size.small, yloc=yloc.belowbar)
line.delete(l_curr)
array.remove(lines_l, i)
if show_labels
label.delete(array.get(labels_l, i))
array.remove(labels_l, i)
// Breakout: закрылись ниже
else if close < lvl
line.delete(l_curr)
array.remove(lines_l, i)
if show_labels
label.delete(array.get(labels_l, i))
array.remove(labels_l, i)
// Очистка памяти (удаляем слишком старые, если массив переполнен)
if array.size(lines_h) > 50
line.delete(array.shift(lines_h))
if array.size(lines_l) > 50
line.delete(array.shift(lines_l))
```
### 🧠 КАК ЧИТАТЬ ЭТОТ РАДАР:
1. **Серые пунктиры:** Это деньги. Это уровни, где "хомяки" поставили стопы.
- _Верхний пунктир:_ Там стопы шортистов (Buy Stops).
- _Нижний пунктир:_ Там стопы лонгистов (Sell Stops).
2. **ЧЕРЕП (💀 HUNT):**
- Это твой **ТРИГГЕР**.
- Если видишь Череп **СВЕРХУ** (на Хае) → Это сигнал в **SELL**. Рынок дернул вверх, собрал ликвидность и развернулся.
- Если видишь Череп **СНИЗУ** (на Лоу) → Это сигнал в **BUY**. (Как было у тебя на `1.8590` в пятницу!).
Ставь на график. Теперь ты видишь поле боя, а не просто свечи. 💸
AI Smart Entry Pro v4 (AVINASH27)AI Smart Entry Pro v4 is a rule-based trading strategy designed to identify high-probability market entries using trend confirmation and momentum logic.
This strategy is intended for educational and back-testing purposes only.
It does not repaint and all signals are generated strictly on closed candles.
Key Features:
Works best in trending market conditions
Uses predefined logic for entry and exit
Suitable for intraday and scalping timeframes
Designed for consistent risk-controlled trading
No future data or repainting logic used
Recommended Usage:
Apply on liquid instruments (Forex, Indices, Gold, Crypto)
Combine with proper risk management
Always forward-test before live trading
⚠️ Disclaimer:
This strategy does not guarantee profits. Trading involves risk, and past performance is not indicative of future results. Use at your own discretion.
SMC Sniper(ETH/30m/fee 0.044%)# SMC Sniper Strategy (ETH/30m) Institutional Smart Money Concepts & Risk-Managed DCA
This strategy is designed to capture high-probability reversals on Ethereum (ETHUSDT) using Institutional Order Blocks and Smart Money Concepts (SMC). Unlike simple indicator-based strategies, this script identifies structural liquidity points where price is likely to react.
It has been optimized for the 30-minute timeframe with a focus on "Long-Only" setups to align with the long-term bullish nature of crypto assets.
🚀 Key Features
Smart Order Blocks: Automatically draws and trades based on Bullish/Bearish Order Blocks (OB).
Volatility Filter: Integrated VIX, USDT.D, and MOVE Index filters (optional) to avoid trading during Black Swan events or extreme market crashes.
Smart Leverage: Dynamically adjusts position sizing based on RSI and EMA trends (Trend Following).
Panic Protection: Includes a "Circuit Breaker" to pause DCA buying when volatility exceeds safe thresholds.
⚙️ Optimized Settings (Default)
Pair: ETHUSDT (Perpetual Futures)
Timeframe: 30 Minutes
Direction: Long Only (Recommended for stability)
Base Entry: 13% of Equity
DCA Multiplier: 1.8x (Martingale Logic Applied)
Commission Setting: 0.044% (Bybit/Binance Standard)
⚠️ Risk Warning & Disclaimer
This strategy utilizes Dollar Cost Averaging (DCA). While DCA can significantly increase the win rate (currently backtested at ~74%), it carries the risk of drawdown during prolonged trends against your position.
Leverage: Do NOT use high leverage. I recommend 1x to 3x Max.
Management: Always monitor the "Black Swan" filters.
Liability: This script is for educational purposes. Past performance does not guarantee future results. Use at your own risk.
📈 Future Updates
I am currently developing a "Pro Version" (No-Martingale, Fixed Risk) with a tighter risk-reward ratio. Follow me to get notified when the Pro version is released!






















