Ingenuity Crazy Strategy Advance IntraThis indicator works — IF you use it correctly.
Wrong settings = bad results.
That’s why we keep:
🔥 The exact settings
🔥 Market-specific presets
🔥 Live trade examples
INSIDE OUR DISCORD ONLY.
🚫 Do not guess
🚫 Do not freestyle settings
👉 Join the Discord and trade it the way it’s meant to be traded.
discord.gg
Chỉ báo và chiến lược
Day of WeekDay of Week is an indicator that runs in a separate panel and colors the panel background according to the day of the week.
Main Features
Colors the background of the lower panel based on the day of the week
Includes all days, from Monday to Sunday
Customizable colors
Time Offset Correction
TradingView calculates the day of the week using the exchange’s timezone, which can cause visual inconsistencies on certain symbols.
To address this, the indicator includes a configurable time offset that allows the user to synchronize the calculated day with the day displayed on the chart.
By simply adjusting the Time Offset (hours) parameter, the background will align correctly with the visible chart calendar.
Follow the "Smart Money" to Capture Altcoin Super-Trends這不是一套普通的趨勢策略。大多數山寨幣 (Altcoins) 的突破策略之所以失效,是因為它們忽略了市場的真實驅動力——比特幣的機構資金流向。 ITAS (Institutional Triggered Alpha System) 是一套結合了「跨市場分析」與「波動率自適應」的量化系統。
核心運作邏輯:
機構資金濾網 (Institutional Filter): 我們監控比特幣 (BTC) 在頂級合規交易所(如 Coinbase)與全球流動性池之間的資金溢價 (Premium)。這是一個領先指標,用來判斷華爾街機構是在「吸籌」還是「派發」。
精準狙擊 (Precision Trigger): 只有當監測到**「機構資金正在買入 BTC」**的時刻,系統才會解鎖山寨幣的交易權限。
拒絕假突破 (False Breakout Rejection): 透過這個濾網,我們能過濾掉市場中 80% 由散戶情緒引起的「假突破」。如果比特幣沒有機構支撐,就算山寨幣漲得再兇,本策略也會判定為雜訊而拒絕進場。
波動率適配 (Volatility Adaptation): 針對高波動資產 (High Beta Assets) 優化的動態通道,確保在劇烈洗盤中能拿住單子,吃到完整的波段利潤。
This is not an ordinary trend-following strategy. Most Altcoin breakout strategies fail because they ignore the true driver of the market—Institutional Money Flow in Bitcoin. ITAS (Institutional Triggered Alpha System) is a quantitative system that combines "Inter-market Analysis" with "Volatility Adaptation."
How It Works:
Institutional Filter: We monitor the Premium Gap of Bitcoin (BTC) between top-tier regulated exchanges (like Coinbase) and global liquidity pools. This serves as a leading indicator to determine whether Wall Street institutions are "Accumulating" or "Distributing."
Precision Trigger: The system only unlocks trading permissions for Altcoins when it detects "Institutional Buying in BTC."
False Breakout Rejection: Through this filter, we effectively filter out 80% of "False Breakouts" driven solely by retail sentiment. If there is no institutional support behind Bitcoin, the strategy will identify any Altcoin pump as noise and refuse to enter.
Volatility Adaptation: Features a dynamic channel optimized for High Beta Assets, ensuring positions are held through aggressive shakeouts to capture the full trend.
免責聲明 (Disclaimer)
補充說明: 以上策略績效源自歷史數據回測,不代表對未來獲利的保證。加密貨幣市場風險極高,本策略僅供量化研究與邏輯分享,使用者應自行評估風險並自負盈虧,本人不承擔任何交易損失。
Disclaimer: The performance above is based on historical backtesting and does not guarantee future results. Cryptocurrency trading involves high risk. This strategy is shared for quantitative research and educational purposes only. Users are solely responsible for their own risk assessment and PnL. I assume no liability for any trading losses incurred.
Batman SignalBATMAN SIGNAL: Identify Potential Reversal Patterns
The Batman Signal is designed to help spot potential reversal patterns that may indicate institutional activity at key price levels. It looks for a distinct "double rejection" structure, with the crucial second rejection accompanied by a liquidity spike (high volume), suggesting significant market participation.
🔑 KEY FEATURES
• Dynamic Support & Resistance Zones: Automatically calculates and draws key zones on your chart, giving an at-a-glance view of major price reaction levels where 'Batman' patterns are most likely to form.
• Momentum Clusters: See market bias instantly. Clusters of green or red dots in the top margin show where bullish or bearish patterns are actively forming. Nested purple diamonds within these clusters highlight high-volume liquidity spikes. Increasing concentration here can provide an early warning for the next major setup.
• Four Powerful, Independent Alerts: Each alert is a robust signal engineered to catch market turns. Use them separately or in sequence based on your style.
• Non-Repainting, Close-Based Signals: All final confirmation triangles plot ONLY AFTER the bar closes, providing dependable execution signals.
• Volume-Spike Confirmation: Core logic identifies "liquidity spikes" (high volume) at key rejection areas, filtering for significant market participation.
• Full Customization: Tune every aspect from trend sensitivity, zone detection, volume filters, pattern timing and structure to match any asset or timeframe.
🦇 THE FOUR BATMAN SIGNALS
The indicator scans for a specific "double rejection" structure:
• "Left Ear" – initial rejection at a key zone.
• "Right Ear" – volume-confirmed rejection at a similar level.
This creates four distinct, non-repainting alerts:
Bullish Right Ear Alert – Early warning at support.
Bearish Right Ear Alert – Early warning at resistance.
Confirmed Bullish Batman Signal – Final trigger after bar close.
Confirmed Bearish Batman Signal – Final trigger after bar close.
HOW TO READ THE CHART:
• Blue Lines – Dynamic support/resistance zones.
• "R" Labels & Purple Diamonds – Mark developing Right Ear rejections with volume spike.
• Green/Red Triangles – Show the confirmed, final Batman pattern signal.
• Clusters of Green/Red Dots – Show active bullish/bearish pattern zones (top margin).
• Nested Purple Diamonds – Highlight high-volume spikes within clusters.
• Gray EMA – Provides trend context.
⚙️ CUSTOMIZABLE INPUTS
Trend & Zones:
– Trend EMA Period – Adjust baseline trend sensitivity.
– Key Zone Lookback – Set how far back to scan for key levels.
– Zone Tolerance % – Fine-tune the zone width.
Pattern Logic:
– Min/Max Consolidation Bars – Control time window between Left and Right Ear.
– Min Wick Ratio for Right Ear – Filter for strong rejection wicks.
– Min Spike Size (ATR) – Set minimum volatility for the Right Ear.
Volume Filter (Right Ear Only):
– Toggle volume confirmation on/off.
– Volume Lookback Period – Bars used for average volume calculation.
– Min Volume Ratio – Right Ear volume must be this many times above average.
Visual Settings:
– Show/Hide labels and key zones.
– Customize bullish, bearish, and zone colors.
📘 HOW TO TRADE WITH IT
Apply the "Batman Signal" to your chart.
Watch price action at the blue zones and monitor the top-margin dot clusters for active momentum. Nested purple diamonds signal volume spikes.
Set alerts for your preferred signal type (Right Ear for early warning, or final Batman Signal for confirmation).
Alerts are robust and will fire on bar after print.
ALWAYS use sound risk management—define stop-loss and take-profit levels.
Recommended timeframes: 15min and 1 hour for optimal balance.
Works on all timeframes with appropriate tuning.
🔔 IMPORTANT ALERT SETUP TIP
When you change any input setting (e.g., Min Spike Size, Volume Filter), you MUST delete any existing alerts and create new ones.
TradingView saves alerts as a static snapshot of your settings at creation.
This ensures your alerts always match the strategy you see on the chart.
DISCLAIMER:
Note: This indicator is for informational purposes only and does not constitute financial advice.
Users are encouraged to backtest thoroughly and evaluate the indicator's performance in their trading strategy.
HIGH BULLISH PROBABILITY SIGNAL Based on Ema, rsi, adr, volume we will determine if the stock is going to explode.
Liquidity Levels Pro Tool - thewallranka
Liquidity Levels Pro Tool is a market-structure and liquidity-mapping indicator designed to help discretionary futures and index traders identify statistically relevant price levels where reactions, continuations, or liquidity sweeps are more likely to occur.
This script is a decision-support tool, not a signal generator. It does not issue buy/sell alerts or predict future price movement. Instead, it organizes and scores liquidity information so traders can make their own contextual decisions.
What this indicator does
The script continuously detects and maintains liquidity zones derived from price pivots, then evaluates those zones using multiple structural and contextual factors:
Repeated price interaction (touches)
Freshness (time since last interaction)
Confluence with key reference levels
Reaction behavior after contact
Session relevance (RTH vs overnight)
Market regime (trend vs mean reversion)
Time-of-day effects (open, midday, power hour)
Only the most relevant zones—based on a dynamic scoring system—are displayed to reduce chart clutter and focus attention on levels that have historically mattered.
Core components
1. Liquidity Zones
Zones are built from pivot highs and lows and expanded into areas using a configurable tick-based padding. Nearby zones are merged to avoid redundancy.
Each zone is continuously evaluated and assigned a score (0–100) reflecting its relative importance.
2. Zone Scoring (No Lookahead)
Zone scores are based on:
Number of confirmed interactions
Recency of the last touch
Confluence with prior day/week levels, VWAP, and Opening Range
Reaction quality after touches (speed and follow-through)
Session alignment (zones that “work” in the current session are favored)
Penalties after liquidity sweeps
Zones are not forward-looking and do not rely on future data.
3. Context Engine
The script classifies the current environment using VWAP slope and distance:
Trend (up or down)
Mean reversion
Mixed/transition
Time-of-day context (Open, Midday, Power Hour) is also tracked internally and influences zone scoring.
This context is displayed in the HUD to support situational awareness, not automated decisions.
4. Liquidity Sweeps
Optional sweep detection highlights situations where price trades beyond a zone and closes back inside, indicating potential stop runs or failed breakouts.
Sweeps are rate-limited and applied conservatively to avoid visual noise.
5. Trade Planning Levels (Optional)
When enabled, the script highlights the nearest high-quality liquidity level above and below price based on score thresholds.
These are intended as reference targets, not trade entries or exits.
HUD (Heads-Up Display)
The on-chart HUD summarizes:
Key reference levels (prior day/week, Opening Range)
Nearest strong liquidity above/below price
Market regime and time-of-day context
Distance to levels (ticks or points)
The HUD is fully optional, positionable, and includes resizable modes (Small / Medium / Large) to fit different chart layouts.
How to use this tool
This indicator is best used as part of a discretionary trading process, for example:
Identifying areas where price is more likely to react or pause
Framing trades around higher-quality structure instead of arbitrary levels
Filtering setups based on session and regime context
Managing expectations near known liquidity rather than chasing price
It is intentionally designed not to provide trade signals.
Limitations and important notes
This script does not predict outcomes or guarantee reactions
High-scoring zones can still fail
Liquidity behavior is context-dependent and probabilistic
No performance claims or backtested results are provided
The indicator should not be used in isolation
Past behavior does not imply future results.
Chart and usage notes
The script is intended for standard time-based charts
Recommended for liquid futures and index products
Use a clean chart for clarity when publishing or sharing
No external indicators are required
Final note
Liquidity Levels Pro (Tool) — v6 is designed to organize complex market structure into a clear, readable framework, allowing traders to focus on execution and risk management rather than raw level detection.
This script reflects an analytical approach to intraday liquidity and structure, not an automated trading system.
SMMA Breakout ATR retest systemA fast, ATR-based SMMA breakout scalping system designed for Gold (XAUUSD). It can also be used on other Forex and Indices pairs. Uses breakout-retest confirmation, no-chase protection, and clean visual risk levels. Optimized for quick TP1 scalps with controlled drawdowns.
Quick Scalp TP1 — Checklist
🔧 Setup
☐ Symbol: XAUUSD
☐ Timeframe: 5m
☐ SMMA Length: 5
☐ ATR Length: 14
⚙️ Settings
☐ Stop Loss: 1.5× ATR
☐ Take Profit: ATR 1.2× (TP1 only)
☐ Show Entry/SL?TP Lines & Labels✅ ON
☐ Show Entry Arrows✅ ON
☐ Show Early Warning Labels on Chart✅ ON
☐ ATR Range Filter: ❌ OFF
☐ HTF Bias (15m / 1H): ❌OFF
☐ 15m Candle Body Filter: ❌ OFF
☐ NY Session Filter: ❌ OFF
☐ Retest Entry: ✅ ON
☐ No-Chase Filter: ✅ ON
📈 BUY and SELL Entry Rules :
✅ Long setup (BUY)
If Retest Entry is ON:
☐ 1. Price breaks above the 5-SMMA (raw breakout begins)
☐ 2. Price pulls back and retests near/into the SMMA
☐ 3. A confirmation candle closes back up and breaks the retest high
➡️ BUY arrow prints + risk panel switches to SIDE: LONG
If Retest Entry is OFF:
• The BUY arrow prints immediately when the price crosses above the 5-SMMA (if filters pass)
✅ Short setup (SELL)
Same idea, reversed:
☐ 1. Break below SMMA
☐ 2. Retest near/into SMMA
☐ 3. Confirmation closes down, and breaks retest low
➡️ SELL arrow prints + panel shows SIDE: SHORT
🎯 Trade Management
When a confirmed entry happens, the script prints/plot lines to show clearly:
• ENTRY
• SL (ATR-based)
• TP1
☐ Do not hold runners in this mode, take full profit at TP1
🔔 Alerts (Recommended) - Tradingview Essential Package will allow you to use alerts
Create these alerts:
Confirmed Entry Alerts
• GG BUY CONFIRMED
• GG SELL CONFIRMED
• Set to: ✅ Once per bar close
•Type in Alert Name and Message - SELL CONFIRMED or BUY CONFIRMED
• Enable: Popup + Sound
Early Warning Alerts (Optional)
• GG EARLY BUY WARNING
• GG EARLY SELL WARNING
• Set to: ✅ Once per bar
•Type in Alert Name and Message - Potential Buy forming of Potential Sell forming
• Used only as a heads-up, not an entry
⚠️ Important Notes / Disclaimer
This script is a technical analysis tool, not financial advice.
All trading involves risk. Always test settings on a demo before live use.
Results will vary depending on market conditions, broker execution, and risk settings.
STAR SPX/NQ/ES Auto Levels Convertergreat for traders using SPX GEX levels
auto convert NQ and ES levels
Multi-Trend + Credit Risk DashboardHello This is showing 20,50,200 as well as some other useful indicators. hope you like it, its my first! D and P is discount or premium to nav
Estrategia Momentum Seguro (EMS) Entry and exit signals, this indicator helps or suggests where to enter, exit, or place a stop loss.
GS Institutional Trend (Vol Target)hedge fund strategy used on a 4 hour chart with a purple bar warning to signal dangerous volitilaty. this strategy will lose money in choppy sideways markets.
Aidous SuperTrader🔑 WHAT IT IS
Aidous SuperTrader is a fully-automized, all-in-one trend-following toolkit for TradingView.
It combines a volatility-adaptive Super-Trend engine with built-in risk-management (entry, stop-loss, up to 10 partial take-profits, breakeven and trailing-stop logic) and real-time visual guidance.
Once added to your chart you immediately see exact entry prices, SL, TP ladders and dynamic trailing levels without writing a single line of code yourself.
🎯 WHO IT IS FOR
• Day- and swing-traders who want to outsource trade mechanics and focus on discretion & market selection.
• Alert-bot users who need clean, JSON-formatted signals that any webhook/automation service can consume.
• Strategy-developers who require a robust, pre-vetted position-manager to pair with higher-time-frame filters of their choice.
📌 HOW TO USE IT (3-MINUTE SET-UP)
Add the indicator
‑ Click “Add to Chart” – the script is locked, so the code stays private.
Choose your risk profile in the settings panel
‑ Risk : Reward ratio (default 1.2)
‑ SL distance in ATRs (default 1.8)
‑ Number of partial TP levels 1-10 (default 3)
‑ Toggle “Move SL to entry after TP1” and/or “Trail after final TP” on/off.
Wait for a signal
‑ Green triangle = LONG, Red triangle = SHORT.
‑ Horizontal white line = entry; coloured dashed line = initial SL; stacked dashed lines = TP ladder.
Act or Automate
‑ Manual: place the exact prices shown on your broker.
‑ Automation: use the built-in alert messages – they already arrive in ready-to-send JSON
{"side":"buy","price":1234.56,"sym":"NASDAQ:AAPL","tf":"15"}
(works with any webhook, Telegram-bot, or trading bridge that ingests JSON).
⚙️ KEY FEATURES
✔ Volatility-adaptive confirmation – fewer false breakouts in choppy markets.
✔ Time-frame-aware multiplier – internally optimises Super-Trend factor for 3 m → 4 H without user input.
✔ Multi-step TP & automatic position sizing helpers (Risk box vs Reward box drawn on chart).
✔ Trailing stop that activates only after the last TP is hit – keeps you in the trend while protecting late gains.
✔ Clean visual feedback: candles colour with the active trend, hit levels are ticked ✔, SL hit is crossed ✖.
✔ Lightweight code – max 50 labels/lines, 25 boxes; runs lag-free on 1 m charts.
⚠️ BEFORE YOU GO LIVE
• The indicator shows hypothetical levels – it cannot place orders for you.
• Always back-test the default values on the instrument AND time-frame you trade; adjust ATR period, RR ratio and SL multiplier until the equity curve fits your style.
• Combine with higher-time-frame bias or fundamental filter to avoid counter-trend signals.
• Never risk more than you can afford to lose; past performance is not indicative of future results.
TDZZ ETH 15min Vault: No-Loss Martin Gale StrategyStrategy Overview
The ETH 15min Vault is an enhanced, high-frequency Martin Gale strategy designed specifically for Ethereum on the 15-minute chart. Its core innovation lies in integrating pre-calculated margin management with a multi-layer exit system, transforming the traditional high-risk Martingale approach into a controlled, calculated growth engine. The strategy aims for sustainable compound growth of small capitals (e.g., 1000U) in ranging markets while systematically eliminating the risk of account blow-up.
Core Concept: The "No-Loss" Guarantee
Unlike conventional Martingale systems that risk infinite losses, this strategy pre-calculates and logically reserves the total margin required for all potential layers (configurable, e.g., up to 30) at the initial entry. This ensures sufficient capital is always available for the next averaging order, preventing liquidation due to margin shortage. Combined with intelligent, proactive take-profit and safety-net closures, it creates a theoretically "No-Loss" framework for the Martin Gale method.
Key Mechanisms
1、Smart Position Averaging:
Averaging distances expand geometrically (configurable multiplier), preventing rapid layer depletion during sharp drops.
Averaging order size increases progressively (configurable multiplier) to effectively lower the break-even point.
2、Dynamic Multi-Stage Exit Logic:
Rebound TP: Partially closes a position when price rebounds a certain percentage from its entry, locking in profits early during oscillations.
Cycle TP: Closes the remaining position upon reaching the primary profit target, which is dynamically recalculated after each average to reflect the new aggregate cost.
Safety-Net Close (Defense Mode): Activates after a defined number of averages. Triggers a full exit if price: a) rallies significantly from the lowest point, b) retraces from a recent high, or c) fails to make a new low within a set time. This forms the final protective layer for capital preservation.
Main Advantages
✅ True Risk Isolation: Transforms Martingale's "unlimited risk" into a "defined and manageable drawdown" via pre-calculated margins and safety-net exits.
✅ Active Profit Capture: The "Rebound TP" mechanism increases win rate and capital efficiency in ranging markets.
✅ Adaptive to Volatility: Adjustable parameters for averaging distance and size allow tuning for different market conditions.
✅ High-Frequency Compounding Potential: Operates on the 15-min timeframe, offering numerous opportunities to complete profit cycles in consolidating phases.
Configuration & Parameters
Key adjustable inputs include: Initial Capital %, Averaging Distance % and Multiplier, Order Size Multiplier, Max Layers, Take-Profit %, Rebound Close %, and all Defense Mode thresholds.
This strategy significantly reduces liquidation risk through its design but does not eliminate trading risk. Substantial drawdowns can occur during strong, sustained trends. "No-Loss" refers to prevention of margin-call liquidation, not guaranteed profitability. Always conduct thorough backtesting and forward testing in a simulated environment before committing real capital. Past performance is not indicative of future results. Trade responsibly.
MACD Signals - TradeMaster (Trend & Momentum Filter) 中文簡介
設計理念: 此指標是為了將經典的 MACD 策略「可視化」並「優化」而設計。傳統 MACD 在盤整震盪期容易出現頻繁的黃金交叉(假訊號),導致虧損。本腳本透過整合 OBV (能量潮) 與 TTM Squeeze (擠壓動能) 作為趨勢濾網,只有在動能與量能皆配合的情況下,才會標示為「✅ 有效金叉」。
核心功能與邏輯:
主圖純淨模式 (Clean Overlay):不顯示雜亂的 MACD 線圖,直接在 K 棒上下方標示買賣訊號,保持圖表乾淨。
MAM 濾網機制 (Smart Filtering):
OBV 趨勢:確認資金流向是否支持價格上漲。
動能擠壓 (Squeeze):結合 Bollinger Bands 與 Keltner Channels,避開無方向的盤整區間。
訊號分類:
✅ 有效金叉 (Valid Buy):MACD 金叉 + 通過 MAM 濾網偵測(高勝率 setup)。
❌ 無效金叉 (Fake Buy):MACD 金叉,但動能不足或處於盤整(建議觀望)。
🔻 死叉出場 (Sell):MACD 死叉,提示波段獲利了結或停損。
如何使用:
當出現 綠色標籤 (✅有效) 時,代表趨勢與動能共振,為潛在進場點。
當出現 灰色標籤 (❌無效) 時,代表僅是指標交叉但缺乏動能,建議忽略或謹慎操作。
當出現 紅色標籤 (🔻出場) 時,代表動能轉弱,建議離場。
English Description
Concept: This script is designed to visualize and optimize the classic MACD strategy directly on your main chart. Traditional MACD often generates false signals during consolidation periods. This indicator integrates OBV (On-Balance Volume) and Squeeze Momentum as a trend filter. It only marks a signal as a "✅ Valid Buy" when both momentum and volume confirm the trend.
Key Features & Logic:
Clean Main Chart Overlay: Instead of occupying a bottom pane with lines, this script plots actionable signals directly on the candlesticks, keeping your workspace clean.
MAM Filter Mechanism:
OBV Trend: Confirms if volume flow supports the price action.
Momentum Squeeze: Combines Bollinger Bands and Keltner Channels to filter out choppy, sideways markets.
Signal Classification:
✅ Valid Buy: MACD Golden Cross + Confirmed by MAM Filter (High probability setup).
❌ Fake Buy: MACD Golden Cross without momentum confirmation (Weak signal, usually ignored).
🔻 Sell Signal: MACD Death Cross, suggesting an exit.
How to Use:
Green Label (✅ Valid): Trend and momentum are in resonance. Potential entry.
Gray Label (❌ Fake): Crossover occurred but failed the filter test. Caution advised.
Red Label (🔻 Exit): Momentum is weakening. Suggested exit point.
免責聲明 (Disclaimer)
免責聲明
本腳本僅供教育與技術分析研究使用,不構成任何形式的金融投資建議。
過去的績效不代表未來的表現。
所有的交易訊號僅供參考,使用者應結合自身的風險管理策略(如停損設置)。
作者不對使用此腳本造成的任何盈虧負責。
Disclaimer
This script is for educational and technical analysis purposes only and does not constitute financial advice.
Past performance is not indicative of future results.
All signals are for reference only. Users should always apply their own risk management strategies (e.g., Stop Loss).
The author is not responsible for any trading losses incurred from using this script.
Smart Money Swing Strategy [All-in-One]# Pro Swing Trader 📈
A comprehensive swing trading indicator for TradingView that combines multiple confluence factors to identify high-probability trade setups with built-in risk management.
## 🎯 Overview
This indicator is designed for swing traders who want to catch momentum pullbacks with precision entries. It filters trades using multiple timeframe analysis, RSI zones, volume confirmation, and EMA trends to deliver only the highest-confidence setups.
### Key Features
✅ **Multi-Timeframe Confluence** - Confirms trades with higher timeframe analysis (Daily, 4H, etc.)
✅ **Smart Entry Signals** - Detects pullback-to-EMA reclaim patterns
✅ **Automatic Risk Management** - Calculates stops, targets, and R-multiples
✅ **Dynamic Stop Loss** - ATR trailing stop + break-even automation
✅ **Real-Time HUD Dashboard** - Live confluence scoring and trade metrics
✅ **Comprehensive Alerts** - Entry, TP1, TP2, and stop-loss notifications
✅ **Visual Trade Levels** - Clear on-chart stop-loss and take-profit lines
---
## 📊 How It Works
### Signal Logic
The indicator identifies two types of signals:
**Base Signals** (Small triangles):
- Price pulls back between Fast EMA and Slow EMA
- RSI is in the swing zone (40-60 by default)
- Price reclaims the Fast EMA with momentum
- Optional: Volume spike confirmation
**High-Confidence Signals** (Large triangles):
- All base signal criteria met
- Higher timeframe confirms the trend direction
- HTF RSI and slope alignment
- These are your primary trade signals
### Entry Conditions
#### Long Entry (🟢 HC L)
1. Fast EMA > Slow EMA (uptrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses above and closes above Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price above EMA50, RSI > 50, positive slope
6. Optional: Volume > 1.5x 20-bar average
#### Short Entry (🔻 HC S)
1. Fast EMA < Slow EMA (downtrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses below and closes below Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price below EMA50, RSI < 50, negative slope
6. Optional: Volume > 1.5x 20-bar average
---
## 🎛️ Settings & Parameters
### Trend Parameters
- **Fast EMA**: Default 20 - Quick trend detection
- **Slow EMA**: Default 50 - Major trend filter
- **Swing Lookback**: Default 10 - Bars to find swing high/low for stops
### RSI Settings
- **RSI Length**: Default 14
- **RSI Min**: Default 40 - Lower bound of swing zone
- **RSI Max**: Default 60 - Upper bound of swing zone
### Risk Management
- **Final TP Risk-Reward (R)**: Default 2.0 - Main profit target multiplier
- **TP1 R Multiple**: Default 1.0 - Partial profit target
- **Use Break-even Stop**: Move stop to entry after 1R profit
- **ATR Trailing Stop**: Dynamic stop based on ATR(14) x 2.0
### Filters
- **Require Volume Spike**: Optional volume confirmation filter
- **Use Higher TF Confirmation**: Enable multi-timeframe analysis
- **Higher TF**: Default "D" (Daily) - Can use 240 (4H), W (Weekly), etc.
---
## 📈 Dashboard (HUD)
The top-center dashboard shows real-time confluence status:
| Column | Meaning |
|--------|---------|
| **Trend** | Current trend direction (UP/DOWN/Flat) |
| **HTF** | Higher timeframe alignment (Bull/Bear/Flat) |
| **RSI Zone** | Is RSI in swing zone? (YES/NO) |
| **Volume** | Volume spike detected? (YES/NO) |
| **Signal** | Active signal type (HC LONG/HC SHORT/None) |
| **R Risk** | Current profit in R-multiples |
| **Stop** | Current stop-loss level |
| **TP1** | Partial take-profit status |
| **TP2** | Final take-profit status |
| **Conf %** | Overall confluence score (0-100%) |
### Confidence Score Breakdown
- **20%** - Trend present (up or down)
- **30%** - HTF confirmation aligned (or 15% if HTF off)
- **20%** - RSI in swing zone
- **10%** - Volume spike
- **20%** - High-confidence signal triggered
**Scoring**:
- 🟢 70%+ = High probability setup
- 🟡 40-69% = Moderate setup
- 🔴 <40% = Low probability
---
## 🔔 Alert Setup
The indicator includes 8 alert conditions:
### Entry Alerts
- **HC LONG ENTRY** - High-confidence long signal triggered
- **HC SHORT ENTRY** - High-confidence short signal triggered
### Profit Target Alerts
- **LONG TP1 Reached** - Hit partial profit (1R by default)
- **LONG Final TP Reached** - Hit final target (2R by default)
- **SHORT TP1 Reached** - Hit partial profit
- **SHORT Final TP Reached** - Hit final target
### Stop Loss Alerts
- **LONG Stop/BE/Trail Level Hit** - Long position stopped out
- **SHORT Stop/BE/Trail Level Hit** - Short position stopped out
### How to Set Up Alerts
1. Click "Add Alert" on TradingView
2. Choose this indicator from the dropdown
3. Select desired alert condition
4. Set alert to trigger "Once Per Bar Close"
5. Customize notification method (popup/email/webhook)
---
## 📋 Trading Workflow
### 1. Wait for High-Confidence Signal
Look for the large **HC L** or **HC S** triangle on chart close.
### 2. Verify Confluence
Check the HUD dashboard:
- Confidence score should be 70%+
- HTF status should show alignment
- RSI Zone should be "YES"
### 3. Entry
Enter the trade at market or on next candle open.
### 4. Set Stop Loss
Use the **initial stop** shown in the HUD (red line on chart):
- **Longs**: Below the swing low (10-bar lookback)
- **Shorts**: Above the swing high (10-bar lookback)
### 5. Set Take Profits
- **TP1**: 1R (50% position close) - Yellow line
- **TP2**: 2R (remaining 50% close) - Green line
### 6. Manage the Trade
- Monitor the **R Risk** column to track profit
- Stop moves to break-even automatically after 1R (if enabled)
- ATR trailing stop engages dynamically (red line adjusts)
- Exit if price hits dynamic stop level
---
## 🎨 Visual Guide
### On-Chart Elements
**Triangles**:
- Small lime/red triangles = Base signals (lower confidence)
- Large lime/red triangles = High-confidence signals (trade these!)
**Lines**:
- 🟢 Green line = Fast EMA (20)
- 🟠 Orange line = Slow EMA (50)
- 🔴 Red line = Dynamic stop-loss level
- 🟡 Yellow line = TP1 level
- 🟢 Green line = TP2 (final target)
**HUD Colors**:
- 🟢 Green = Bullish/Active/Good
- 🔴 Red = Bearish/Inactive/Warning
- 🟡 Yellow = Neutral/Caution
- 🔵 Blue = Informational
- ⚫ Gray = Disabled/Off
---
## 💡 Strategy Tips
### Best Practices
1. **Only trade High-Confidence signals** - Ignore base signals unless very experienced
2. **Respect the HTF** - Don't fight the higher timeframe trend
3. **Use proper position sizing** - Risk 1-2% of account per trade
4. **Partial profits work** - Take 50% off at TP1, let rest run to TP2
5. **Let winners run** - Trailing stop helps capture extended moves
6. **Be patient** - Quality over quantity; wait for 70%+ confluence
### Optimal Timeframes
- **Primary Chart**: 1H, 4H, Daily (swing trading)
- **HTF Setting**: One level higher than your chart
- If trading 1H → Set HTF to 4H or D
- If trading 4H → Set HTF to D or W
- If trading Daily → Set HTF to W
### Market Conditions
**Best Performance**:
- Trending markets with healthy pullbacks
- Clear support/resistance zones
- Moderate volatility
**Avoid Trading**:
- Extremely choppy/sideways markets
- Major news events (unless experienced)
- Low confidence scores (<40%)
---
## ⚙️ Advanced Customization
### Aggressive Setup (More Signals)
```
Fast EMA: 12
Slow EMA: 26
RSI Min: 35
RSI Max: 65
Use HTF Confirmation: OFF
Require Volume Spike: OFF
```
### Conservative Setup (Fewer, Higher Quality)
```
Fast EMA: 20
Slow EMA: 50
RSI Min: 45
RSI Max: 55
Use HTF Confirmation: ON
Require Volume Spike: ON
Final TP R: 3.0
```
### Scalping Adaptation (Not Recommended)
```
Fast EMA: 9
Slow EMA: 21
Swing Lookback: 5
TP1 R: 0.5
Final TP R: 1.0
```
---
## ⚠️ Risk Disclaimer
**IMPORTANT**: This indicator is for educational and informational purposes only.
- Past performance does not guarantee future results
- No indicator is 100% accurate
- Always use proper risk management
- Never risk more than you can afford to lose
- Consider using a demo account first
- Seek professional financial advice if needed
Trading involves substantial risk of loss and is not suitable for all investors.
---
## 🔧 Troubleshooting
### "No signals appearing"
- Check if HTF confirmation is enabled but market isn't aligned
- Verify RSI zone isn't too restrictive
- Ensure volume spike isn't filtering out all setups
- Try adjusting EMA lengths for your asset
### "Too many false signals"
- Enable HTF confirmation
- Tighten RSI zone (e.g., 45-55)
- Enable volume spike requirement
- Only trade 70%+ confidence setups
### "Stops too tight/wide"
- Adjust Swing Lookback length
- Modify ATR multiplier for trailing stop
- Consider the asset's volatility
### "Alerts not working"
- Ensure alert is set to "Once Per Bar Close"
- Check indicator is added to the chart
- Verify TradingView notification settings
---
## 📚 Version History
**v1.0 (Current)**
- Initial release
- Multi-timeframe confluence system
- Dynamic risk management
- Real-time HUD dashboard
- Comprehensive alert system
- ATR trailing stops
- Break-even automation
---
## 🤝 Support & Feedback
If you find this indicator helpful:
- ⭐ Star the script on TradingView
- 💬 Share your results and feedback
- 🐛 Report bugs or suggest improvements
- 📖 Share with other traders
---
## 📖 Additional Resources
### Recommended Reading
- "The New Trading for a Living" by Dr. Alexander Elder
- "Swing Trading Using Multiple Timeframes" - Educational articles
- Risk management and position sizing guides
### Learn More About
- Multiple timeframe analysis
- EMA crossover strategies
- RSI divergence and zones
- ATR-based stops
- R-multiple profit management
---
## 📝 License
This indicator is provided as-is for personal trading use.
**Usage Rights**:
- ✅ Use for personal trading
- ✅ Modify for personal use
- ❌ Resell or redistribute
- ❌ Claim as original work
---
## 🎓 Quick Start Checklist
- Add indicator to TradingView chart
- Set your preferred timeframe (1H/4H/Daily)
- Configure HTF setting (one level higher)
- Review default parameters
- Set up entry alerts (HC LONG/SHORT)
- Set up TP and SL alerts
- Test on historical data
- Paper trade first
- Start with small position sizes
- Track your results
---
**Happy Trading! 📊💰**
*Remember: Discipline, patience, and risk management are the keys to long-term success.*
Coinbase Institutional Flow Alpha1. 核心概念 (The Core Concept)
這不是一套傳統看圖形(如 RSI 或 MACD)的技術指標策略,而是一套基於**「籌碼面」與「市場微結構」的量化系統。 比特幣市場存在兩個平行世界:美國機構投資者(主要使用 Coinbase 美元對)與全球散戶**(主要使用 Binance USDT 對)。這套策略的核心邏輯在於捕捉這兩者之間的**「定價效率落差」**。
This is not a traditional technical analysis strategy based on lagging indicators like RSI or MACD. Instead, it is a quantitative system based on Order Flow and Market Microstructure. The Bitcoin market consists of two parallel worlds: US Institutional Investors (trading on Coinbase USD pairs) and Global Retail Investors (trading on Binance USDT pairs). The core logic of this strategy is to capture the pricing inefficiency gap between these two liquidity pools.
2. 運作原理 (How It Works)
Smart Money 追蹤: 當機構開始大舉買入時,Coinbase 的價格往往會比 Binance 出現短暫且顯著的「溢價(Premium)」。這通常是行情的領先指標。
統計套利模型: 我們開發了一套獨家的演算法,24 小時監控這個溢價缺口的變化。只有當溢價偏離程度達到特定的**統計學異常值(Statistical Anomaly)**時,系統才會判定為「機構進場信號」並執行交易。
過濾雜訊: 我們只抓取真正由資金推動的大趨勢,過濾掉市場上 80% 的無效波動。
Smart Money Tracking: When institutions accumulate heavily, the price on Coinbase often trades at a significant "Premium" compared to Binance. This serves as a powerful leading indicator for price trends.
Statistical Arbitrage Model: We utilize a proprietary algorithm that monitors this premium gap 24/7. Only when the gap deviation hits a specific Statistical Anomaly, does the system identify it as an "Institutional Entry Signal" and execute the trade.
Noise Filtering: The strategy is designed to capture significant trends driven by real capital flow, effectively filtering out 80% of random market noise.
免責聲明 (Disclaimer)
補充說明: 以上策略不保證獲利,僅提供量化交易的想法與實驗數據參考。請注意,市場沒有聖杯,交易結果盈虧自負,本人不承擔任何因使用此策略而產生的資金損失。
Disclaimer: The above strategy does not guarantee profits and is provided solely for sharing quantitative ideas and experimental data. Please note that there is no "Holy Grail" in trading. You are solely responsible for your own PnL, and I assume no liability for any financial losses incurred.
Wisenode QuantThis indicator uses a combination of DMI, ADX and ATR% to give quick easy visual representation of trend strength, trend direction and price action volatility.
This helps to quickly visually identify market environment for trade execution using quantifiable data.
Direction
Red LED = Bearish Market conditions
Green LED = Bullish Market conditions
Trend (Strength)
Red = 0-20 on the ADX (Ranging)
Green = 20-30 on the ADX (Emerging)
Green = 30-50 on the ADX (Momentum)
Volatility
Uses ATR% on a dynamic scale from top to bottom is low to high intensity. Colour will transition from green to red as the bar moves higher.
Trade Execution
Integration of a custom Murray math values to build entry, stop loss protection and take profit zones.
This is still a working progress to fine tune default settings but can be used for market environment identification for any sort of discretionary trading
Hitjo Swing IndicatorTL;DR – READ THIS FIRST
This is a TWO-INDICATOR SYSTEM. Both indicators must be used together.
Hitjo Zones TF = WHERE you are allowed to trade
Hitjo Swing Trend = WHEN you are allowed to trade
Rules:
Only take BUY signals from Hitjo Swing Trend inside DEMAND zones from Hitjo Zones TF
Only take SELL signals from Hitjo Swing Trend inside SUPPLY zones from Hitjo Zones TF
Ignore signals when structure and timing do not align
Recommended setup: 1H chart with 4H or Daily zones.
Hitjo Swing Trading System
(Hitjo Zones TF + Hitjo Swing Trend)
This TradingView system combines higher-timeframe Supply & Demand zones with momentum-based swing entries to create a clean, rule-based swing trading framework.
It is designed for traders who want fewer but higher-quality trades, clear market structure, objective entry timing, and reduced overtrading.
Required Indicators
Hitjo Zones TF (Structure)
Automatically draws Supply & Demand zones using a selectable higher timeframe.
Displays SUPPLY and DEMAND labels when price enters key zones.
Defines where trades are allowed.
Do not trade based on zones alone.
Hitjo Swing Trend (Timing)
Displays BUY and SELL labels using EMA structure, momentum, and higher-timeframe trend.
Plots ATR-based stop loss and target levels.
Defines when to enter trades.
Do not take BUY or SELL signals outside zones.
Core Concept
Hitjo Zones TF tells you WHERE to trade.
Hitjo Swing Trend tells you WHEN to trade.
If both are not aligned, there is no trade.
Trading Rules
Long Trades
Take a BUY only when all conditions are true:
Price is inside or just above a DEMAND zone from Hitjo Zones TF
Higher-timeframe trend is bullish
A BUY label appears from Hitjo Swing Trend
There is room to target without immediately hitting resistance
Short Trades
Take a SELL only when all conditions are true:
Price is inside or just below a SUPPLY zone from Hitjo Zones TF
Higher-timeframe trend is bearish
A SELL label appears from Hitjo Swing Trend
There is room to target without immediately hitting support
Common Mistakes to Avoid
Buying just because DEMAND appears
Selling just because SUPPLY appears
Taking BUY or SELL signals in the middle of the chart
Counter-trend trading
Forcing trades on every signal
Stops and Targets
Hitjo Swing Trend plots:
Stop Loss using ATR (red)
Target using ATR (green)
These are visual guides only, not broker orders.
Recommended Setup
Chart timeframe: 1H
Zone timeframe (Hitjo Zones TF): 4H or Daily
Fast / Slow EMA: 8 / 21
ATR Stop / Target: 1.5 / 3.0
Remember This
DEMAND does not mean BUY
SUPPLY does not mean SELL
DEMAND + BUY = Long
SUPPLY + SELL = Short
Disclaimer
This system does not predict tops or bottoms and does not guarantee profits.
It is designed to help traders wait for alignment, reduce low-quality trades, and trade with structure.
Always manage risk appropriately.
TradingView Search Keywords
Supply Demand
Swing Trading
EMA Strategy
Multi Timeframe
Trend Following
Support Resistance
Momentum Trading
ATR Stop Loss
Crypto Trading
Stock Trading
Hitjo Zones TFTL;DR – READ THIS FIRST
This is a TWO-INDICATOR SYSTEM. Both indicators must be used together.
Hitjo Zones TF = WHERE you are allowed to trade
Hitjo Swing Trend = WHEN you are allowed to trade
Rules:
Only take BUY signals from Hitjo Swing Trend inside DEMAND zones from Hitjo Zones TF
Only take SELL signals from Hitjo Swing Trend inside SUPPLY zones from Hitjo Zones TF
Ignore signals when structure and timing do not align
Recommended setup: 1H chart with 4H or Daily zones.
Hitjo Swing Trading System
(Hitjo Zones TF + Hitjo Swing Trend)
This TradingView system combines higher-timeframe Supply & Demand zones with momentum-based swing entries to create a clean, rule-based swing trading framework.
It is designed for traders who want fewer but higher-quality trades, clear market structure, objective entry timing, and reduced overtrading.
Required Indicators
Hitjo Zones TF (Structure)
Automatically draws Supply & Demand zones using a selectable higher timeframe.
Displays SUPPLY and DEMAND labels when price enters key zones.
Defines where trades are allowed.
Do not trade based on zones alone.
Hitjo Swing Trend (Timing)
Displays BUY and SELL labels using EMA structure, momentum, and higher-timeframe trend.
Plots ATR-based stop loss and target levels.
Defines when to enter trades.
Do not take BUY or SELL signals outside zones.
Core Concept
Hitjo Zones TF tells you WHERE to trade.
Hitjo Swing Trend tells you WHEN to trade.
If both are not aligned, there is no trade.
Trading Rules
Long Trades
Take a BUY only when all conditions are true:
Price is inside or just above a DEMAND zone from Hitjo Zones TF
Higher-timeframe trend is bullish
A BUY label appears from Hitjo Swing Trend
There is room to target without immediately hitting resistance
Short Trades
Take a SELL only when all conditions are true:
Price is inside or just below a SUPPLY zone from Hitjo Zones TF
Higher-timeframe trend is bearish
A SELL label appears from Hitjo Swing Trend
There is room to target without immediately hitting support
Common Mistakes to Avoid
Buying just because DEMAND appears
Selling just because SUPPLY appears
Taking BUY or SELL signals in the middle of the chart
Counter-trend trading
Forcing trades on every signal
Stops and Targets
Hitjo Swing Trend plots:
Stop Loss using ATR (red)
Target using ATR (green)
These are visual guides only, not broker orders.
Recommended Setup
Chart timeframe: 1H
Zone timeframe (Hitjo Zones TF): 4H or Daily
Fast / Slow EMA: 8 / 21
ATR Stop / Target: 1.5 / 3.0
Remember This
DEMAND does not mean BUY
SUPPLY does not mean SELL
DEMAND + BUY = Long
SUPPLY + SELL = Short
Disclaimer
This system does not predict tops or bottoms and does not guarantee profits.
It is designed to help traders wait for alignment, reduce low-quality trades, and trade with structure.
Always manage risk appropriately.
TradingView Search Keywords
Supply Demand
Swing Trading
EMA Strategy
Multi Timeframe
Trend Following
Support Resistance
Momentum Trading
ATR Stop Loss
Crypto Trading
Stock Trading
Abderrahman TradeIf you want access to this script, please send me a private message on TradingView.
Tailwind.(BTC)Imagine the price of Bitcoin is like a person climbing a staircase.
The Steps (Grid): Instead of watching every single price movement, the strategy divides the market into fixed steps. In your configuration, each step measures **3,000 points**. (Examples: 60,000, 63,000, 66,000...).
The Signal: We buy only when the price climbs a full step decisively.
The "Expensive Price" Filter: If the price jumps the step but lands too far away (the candle closes too high), we do not buy. It is like trying to board a train that has already started moving too fast; the risk is too high.
Rigid Exits: The Take Profit (TP) and Stop Loss (SL) are calculated from the edge of the step, not from the specific price where you managed to buy. This preserves the geometric structure of the market.
The Code Logic (Step-by-Step)
A. The Math of the Grid (`math.floor`)
pinescript
level_base = math.floor(close / step_size) * step_size
This is the most important line.
What does it do? It rounds the price down to the nearest multiple of 3,000.
Example: If BTC is at 64,500 and the step size is 3,000:
1. Divide: $64,500 / 3,000 = 21.5$
2. `math.floor` (Floor): Removes the decimals $\rightarrow$ remains $21$.
3. Multiply: $21 * 3,000 = 63,000$.
Result: The code knows that the current "floor" is **63,000**, regardless of whether the price is at 63,001 or 65,999.
B. The Strict Breakout (`strict_cross`)
pinescript
strict_cross = (open < level_base) and (close > level_base)
Most strategies only check if `close > level`. We do things slightly differently:
`open < level_base`: Requires the candle to have "born" *below* the line (e.g., opened at 62,900).
`close > level_base`: Requires the candle to have *finished* above the line (e.g., closed at 63,200).
Why? This avoids entering on gaps (price jumps where the market opens already very high) and confirms that there was real buying power crossing the line.
C. The "Expensive Price" Filter (`max_dist_pct`)
pinescript
limit_price_entry = level_base + (step_size * (max_dist_pct / 100.0))
price_is_valid = close <= limit_price_entry
Here you apply the percentage rule:
-If the level is 63,000 and the next is 66,000 (a difference of 3,000).
-If `max_dist_pct` is **60%**, the limit is $63,000 + (60\% \text{ of } 3,000) = 64,800$.
-If the breakout candle closes at **65,000**, the variable `price_is_valid` will be **false** and it will not enter the trade. This avoids buying at the ceiling.
D. TP and SL Calculation (Anchored to the Level)
pinescript
take_profit = level_base + (step_size * tp_mult)
stop_loss = level_base - (step_size * sl_mult)
Note that we use `level_base` and not `close`.
-If you entered because the price broke 63,000, your SL is calculated starting from 63,000.
-If your SL is 1.0x, your stop will be exactly at 60,000.
This is crucial: If you bought "expensive" (e.g., at 63,500), your real stop is wider (3,500 points) than if you bought cheap (63,100). Because you filter out expensive entries, you protect your Risk/Reward ratio.
E. Visual Management (`var line`)
The code uses `var` variables to remember the TP and SL lines and the `line.set_x2` function to stretch them to the right while the operation remains open, providing that visual reference on the chart until the trade ends.
Workflow Summary
Strategy Parameters:
Total Capital: $20,000
We will use 10% of total capital per trade.
Commissions: 0.1% per trade.
TP: 1.4
SL: 1
Step Size (Grid): 3,000
We use the 200 EMA as a trend filter.
Feel free to experiment with the parameters to your liking. Cheers.
Trend FilterTrend Filter
Summary
Trend Filter is a multi-factor trend-confidence indicator that produces a simple, actionable output: Direction (Up / Down / Ranging) and a normalized Confidence %. It is intended as a decision-support overlay to help traders quickly identify whether a market is trending or rangebound, and how strong that directional bias is.
What it shows
A single line in the on-chart table: Direction (Up / Down / Ranging).
A Confidence % (0–100) that combines multiple normalized market signals into a single score.
Optional notification row when a manually-selected reference timeframe does not match the chart timeframe.
Alert conditions when direction changes to Up, Down, or Ranging.
How the indicator works (concise, non-proprietary explanation)
Trend Filter computes a weighted confidence score from several complementary components, each normalized to a 0–100 scale and combined into a single confidence value. The components and their roles are:
EMA structure & spread (trend breadth)
-Uses three EMAs (fast / mid / slow) computed at lengths that scale with the selected/reference timeframe. The EMA spread (fast vs slow) quantifies directional separation.
HH/HL structure and streaks (price structure)
-Counts higher highs/higher lows (and the reverse) across a scaled lookback to measure whether price structure is predominantly bullish, bearish or mixed.
EMA slope (momentum of trend)
-A robust slope approximation (smoothed) measures whether the short EMA is rising/falling relative to its own smoothed history.
ADX / DMI (trend strength)
-Uses a standard ADX-style component to capture directional persistence and dampen the confidence score when the ADX is weak.
ATR (volatility context)
-ATR expressed as a percentage of price helps detect abnormal volatility regimes which affect the validity of trend signals.
Volume context
-Simple volume vs a short SMA gives a participation signal that increases confidence when moves occur with higher volume.
Each component is capped to avoid outsized influence. Components are scaled by a set of weights (configurable in code) and then combined. The final confidence is lightly smoothed before being used to determine direction and to feed alert conditions.
Important implementation & safety design choices (why it’s not a simple mashup)
Adaptive timeframe scaling: EMA lengths and lookbacks are proportionally scaled based on the chosen reference timeframe (Auto or manual). This preserves relative indicator behavior across 1-minute → Daily timeframes without manual retuning of each parameter.
HH/HL structure plus streaks: Instead of relying solely on moving averages or ADX, the script explicitly measures price structure (HH/HL counts and streaks) and blends that with slope/ADX. This reduces false trending signals on noisy price action.
Normalized, weighted combination with caps: Each component is normalized (0–100) and combined by predefined weights; cap thresholds prevent extreme component values from dominating the result. This is a design intended to produce interpretable confidence % rather than opaque binary outputs.
History and loop safety: The code enforces a cap and protects loop lengths against available historical bars to avoid runtime errors and to ensure the script remains stable on short data series.
Practical guardrails: The script includes notification behavior to highlight manual timeframe mismatches and avoids dynamic indexing patterns that can cause unreliable results on small bar histories.
These design decisions — adaptive scaling, structural HH/HL scoring, capped normalization and explicit safety limits — are the elements that distinguish Trend Filter from simple, single-indicator overlays (EMA-only, ADX-only, etc.) and form the basis for why closed-source protection is reasonable for commercial/invite-only publication.
User controls & recommended usage
Reference Timeframe: Auto (uses chart TF) or choose a manual reference TF (1min → D). When manual TF is selected, the table shows a mismatch warning if the chart TF differs.
Table placement & colors: Positioning and appearance of the on-chart table are configurable.
Confidence thresholds: The indicator uses internal thresholds to mark high/medium/low confidence. Users can interpret the Confidence % relative to those ranges.
Alerts: Built-in alerts fire only on direction changes (to Up, Down, or Ranging). Use alerts as a signal to review the chart rather than an instruction to trade automatically.
How traders typically use it
Add Trend Filter as an overlay to your chart.
Confirm that the recommended reference timeframe is appropriate (Auto will adjust automatically).
Use Direction and Confidence % together: high Confidence + Up (or Down) suggests staying with trend; Ranging suggests avoiding trend-following entries.
Combine this filter with your entry/exit rules (price structure, support/resistance, or your preferred signal generator).
Disclaimers & limitations
This is a decision-support indicator, not an automated execution strategy. It does not place orders and does not provide P/L or backtesting statistics.
Confidence % is an aggregated measure — treat it as context, not a guarantee.
Results vary across symbols and timeframes; use appropriate position sizing and risk controls.
The code intentionally includes history and loop safeguards; on very short histories the indicator may display conservative results.






















