Conditions GateNon-directional indicator gating risk and permissions based purely on seasonal calendar patterns and mechanical event window detection without price analysis.
---
Key Insights from HUD
What to watch:
- State: Primary output for permission decisions
- SeasonPrior vs State: Difference shows event impact
- EventWindow + ActiveEvent: Explains why State changed (seasonal vs event-driven)
- RiskMult: Direct risk cap applicable to position sizing
- Runner / MarketMaker: Binary permission gates (green = allowed, red = blocked)
- ForcedState: If not "—", an override is active (useful for manual testing)
Color Logic:
- Green: FAVOURABLE state or allowed (1.0 risk, YES permissions)
- Orange: NEUTRAL state or event window active (0.5 risk, NO permissions)
- Red: UNFAVOURABLE state or blocked (0.25 risk, NO permissions)
- Gray: Neutral info (inactive event, no override)
图表形态
LockPoint TrackerLockPoint Tracker is a simple yet powerful tool for visually tracking price movement from a locked reference point.
Key Features:
• Lock any bar’s closing price with a single click.
• Reference line drawn at the locked price for clear visual context.
• “L” label marks the locked bar.
• Live percentage change label shows how far the current price has moved from the locked level.
• Green above the bar for gains, red below for losses.
• Automatically disappears on the next bar — always shows only the live value.
• Configurable label padding for optimal visibility on any chart or timeframe.
LockPoint Tracker is perfect for traders who want to monitor key levels, measure intrabar moves, or visually track performance from specific price points without cluttering the chart.
<Elite> Auto Harmonic Patterns [Trader-Alex]📘 User Manual: Auto HP
Product Overview
Auto Harmonic Patterns is a sophisticated technical analysis tool designed by Trader-Alex to identify "Harmonic Patterns" in the market.
Unlike traditional indicators that scan only a single period, this system employs "Dynamic Global Scanning" technology. It is capable of simultaneously detecting patterns within short-term fluctuations and long-term trends on a single chart. Not only does it mark historical patterns for backtesting, but it also predicts potential patterns forming in real-time, automatically plotting the Potential Reversal Zone (PRZ) along with Take Profit (TP) and Stop Loss (SL) recommendations.
Note: PRZ, TP, and SL are not investment advice. This technical indicator is intended for academic study and research purposes only.
Pattern Structure Lines (XABCD Structure)
In this indicator, the color of the XABCD connecting lines depends on the "Pattern Name." Whether the pattern is bullish or bearish, the same pattern type will display the same color, allowing you to instantly identify the structure type:
🦇 Bat: Blue
🦇 Alt Bat: Indigo
🦋 Gartley: Green
🦋 Butterfly: Orange
🦀 Crab: Purple
🦀 Deep Crab: Red
🦈 Shark: Aqua / Cyan
🔊 Cypher: Pink
How to distinguish between Bull/Bear? Please check the label text next to Point D, which explicitly marks or . The background color of the label will match the pattern colors listed above.
Trading Plan Lines (Entry, TP/SL Lines)
📈 Bullish Setup - Long Position
Entry Line: White (Default)
Take Profit (TP1 / TP2): Green
Stop Loss (SL): Red
📉 Bearish Setup - Short Position
Entry Line: White (Default)
Take Profit (TP1 / TP2): Cyan
Stop Loss (SL): Magenta
Note: It is recommended to set the Entry color to Black in Light Mode and White (default) in Dark Mode.
Potential Reversal Zone (PRZ)
When a Potential Pattern (not yet completed) is scanned, the extended rectangular block takes the same color as the representative color of that pattern.
Example: If a potential Butterfly is detected, the PRZ block will be Orange.
Example: If a potential Bat is detected, the PRZ block will be Blue.
Settings Guide
You can adjust the operation of the indicator via the settings panel. To keep the interface clean, parameters are categorized into the following groups:
⚙️ Scan Period Settings
Controls how the system "searches" for patterns. This indicator features automatic scanning, eliminating the need to manually specify a single length.
Real-time Sensitivity: When enabled, the system includes scanning for very short-term micro-fluctuations, significantly increasing the sensitivity of PRZ detection.
Start Length (Lower Limit): Sets the minimum structure size for scanning (lower values detect more subtle patterns). Minimum value is 5.
End Length (Upper Limit): Sets the maximum structure size (higher values detect larger patterns, usually representing major trends). Maximum value is 500.
Suggestion: Keep the default range to cover the majority of market volatility.
👁️ Pattern Visibility & Colors
Checkbox: You can individually toggle specific patterns on or off (e.g., only view Gartley or Bat).
Color: Customize the display color for each pattern to suit your visual preference.
🎯 Style & TP/SL Settings
Bullish/Bearish Entry/TP/SL Colors: Customize the colors for entry, take profit, and stop loss lines.
Line Length Multiplier: Adjusts how far the TP/SL lines extend to the right on the chart.
History TP/SL/Entry Lines Count:
If set to 0: Only displays lines for the current potential pattern.
If set to 1: Displays lines for the most recently completed historical pattern.
Maximum value is 50.
Show Potential Patterns: Toggles the display of predictive patterns currently forming.
Max Potential Count: Limits the number of potential patterns displayed simultaneously to avoid chart clutter.
PRZ Extra Padding %: Adjusts the width of the Potential Reversal Zone (PRZ). Increasing this value widens the reversal zone, offering higher tolerance but potentially lower precision.
Suggestion: Keep at 0% to maintain precision unless you wish to expand the capture range.
📊 Statistics Table Settings
Controls the performance statistics panel located at the bottom right (or custom position).
Show Statistics Table: Toggle the panel On/Off.
Table Position: Set the panel's position to one of the four corners of the chart.
Text Size: Adjust the text size within the table.
🧠 Core Logic (Advanced)
Tolerance %: Sets the strictness of pattern recognition.
Lower values: Patterns are more standard and precise, but fewer are detected.
Higher values: Detects more variations but may include signals with less standard ratios.
Note: The size of the error (tolerance) is not necessarily positively correlated with pattern profitability.
3~10%.
Statistics Dashboard
The panel located in the chart corner provides historical backtesting data for the asset on the current timeframe:
Pattern: Pattern Name.
Total: Total number of detections in history.
TP1 %: The probability of price reaching the first Take Profit point after triggering Entry, without hitting Stop Loss. (Close 50-60% of position here).
TP2 %: The probability of price reaching the second Take Profit point after triggering Entry, without hitting Stop Loss. (Close 25-50% of position here).
SL %: The probability of triggering Stop Loss.
Note 1: TP1% + SL% = 100%. Reaching TP1 is considered achieving the minimum profit target. Note 2: *Shark patterns must be closed 100% at TP1 to maintain a positive expected value in the long run.
💡 Pro Tip: Look for patterns in the table where TP1% exceeds 60%. This indicates that for the current asset, that specific pattern has high reliability. A small number of patterns may trigger the PRZ and reach TP1 or higher without hitting SL, but due to Point D deviating excessively, they are not counted in the win rate. Therefore, a win rate above 60% is actionable.
Alerts
This indicator has a built-in real-time alert function, triggered when a Potential Pattern detects price entering the PRZ.
Setup Steps:
Click the "Alert" button on the TradingView toolbar.
In the Symbol dropdown, set alerts for 15-minute and 1-hour timeframes respectively for your entire watchlist.
In the "Condition" menu, select Auto HP .
Select "Any alert() function call".
Set your notification method (App Notification, Email, or Popup).
Click "Create".
When a new trading opportunity arises, you will receive a notification containing the Pattern Name, Direction (Bull/Bear), and specific Entry/TP/SL prices.
Trading Advice & Disclaimer
Trading Advice & Practical Details
Wait for Confirmation: Although the indicator shows "Potential Patterns" and "Suggested Entry Points," it is strongly recommended to wait for a Reversal Signal (e.g., Engulfing Candle, Long Wick) within the PRZ before entering.
For 4H patterns, look for 1H reversal candles.
For 1H patterns, look for 15M reversal candles, and so on.
Multi-Timeframe Confluence: When a large timeframe (e.g., 4 Hours) and a small timeframe (e.g., 15 Minutes) show harmonic patterns in the same direction within the same zone, the win rate is typically extremely high.
Pattern Confluence: When Point D of a completed pattern (currently holding a position) overlaps with Point C of a new potential pattern (moving towards a new PRZ Entry), consider using the new potential Point D (PRZ Entry) as TP3 for your original order.
Reference Statistics: Different assets (e.g., Gold vs. Bitcoin) and timeframes suit different harmonic patterns. Please adjust your strategy based on the dashboard data.
Disclaimer
This indicator serves solely as an auxiliary analysis tool. The provided Entry, Take Profit, and Stop Loss levels are based on mathematical geometric ratio calculations and are for academic research and discussion purposes. They do not constitute a guarantee of future price movements. Financial trading involves high risk; please strictly implement money management and assume full responsibility for your trading results.
-------------------------------------------------------------------------------------------------
📘 使用手冊: 全自動諧波型態識別系統
產品概述
Auto Harmonic Patterns 是一款高階的技術分析工具,專為識別市場中的「諧波型態 (Harmonic Patterns)」,由Trader-Alex設計。
不同於傳統指標僅掃描單一週期,本系統採用**「動態全域掃描」技術**,能自動在單一圖表上同時偵測短線波動與長線趨勢中的型態。它不僅能標記歷史型態以供回測,更能即時預測正在形成的潛在型態,並自動繪製潛在反轉區 (PRZ) 與止盈止損建議。
註: PRZ、TP、SL都並非投資建議,本技術指標僅供學術學習研究使用。
型態結構線 (XABCD Structure)
在這份指標中,XABCD 連線的顏色取決於「型態名稱」,無論是看漲還是看跌,同一種型態都會顯示相同的顏色,方便您一眼識別結構類型:
🦇 Bat (蝙蝠): 藍色
🦇 Alt Bat (變形蝙蝠):靛色
🦋 Gartley (加特利):綠色
🦋 Butterfly (蝴蝶):橘色
🦀 Crab (螃蟹):紫色
🦀 Deep Crab (深海螃蟹):紅色
🦈 Shark (鯊魚):青亮色
🔊 Cypher (賽福):粉紅色
如何分辨多空? 請查看 D 點旁邊的標籤文字,會明確標示 (看漲) 或 (看跌),標籤背景色會跟隨上述型態顏色。
交易計畫線 (Entry、TP/SL Lines)
📈 看漲交易 (Bullish Setup) - 做多
進場線 (Entry): 白色(默認)
止盈線 (TP1 / TP2): 綠色
止損線 (SL): 紅色
📉 看跌交易 (Bearish Setup) - 做空
進場線 (Entry): 白色(默認)
止盈線 (TP1 / TP2): 青藍色
止損線 (SL): 紫紅色
註: Entry顏色建議於亮色模式下設定黑色,並且於暗色模式下設定白色(默認)。
潛在反轉區 (Potential Reversal Zone)
當掃描到潛在型態(尚未完成)時,延伸出的矩形色塊顏色與該型態的代表色相同。
例如:偵測到潛在 Butterfly,PRZ 色塊就是 橘色。
例如:偵測到潛在 Bat,PRZ 色塊就是 藍色。
參數設定說明 (Settings Guide)
您可以透過指標設定面板調整運作方式。為了保持介面簡潔,參數分為以下群組:
⚙️ Scan Period Settings (掃描週期設定)
控制系統如何「尋找」型態。本指標具備自動掃描功能,無需手動指定單一長度。
Real-time Sensitivity (K線即時靈敏度): 開啟後,系統會包含極短線的微小波動掃描,對於PRZ抓取靈敏度大幅度提升。
Start Length (掃描週期下限): 設定掃描的最小結構大小(數值越小,抓到的型態越細微),最小數值為5。
End Length (掃描週期上限): 設定掃描的最大結構大小(數值越大,抓到的型態越大,通常代表大趨勢),最大數值為500。
建議:保持預設範圍即可覆蓋大部份市場波動。
👁️ Pattern Visibility & Colors (型態開關與顏色)
開關 (Checkbox): 您可以單獨開啟或關閉特定的型態(例如只看 Gartley 或 Bat)。
顏色 (Color): 自定義每種型態在圖表上顯示的顏色,方便視覺區分。
🎯 Style & TP/SL Settings (樣式與訂單設定)
Bullish/Bearish Entry/TP/SL Colors: 自定義進場、止盈、止損線的顏色。
Line Length Multiplier(線條長度倍數): 調整 TP/SL 線在圖表向右延伸的長度。
History TP/SL/Entry Lines Count (顯示止盈/止損/進場線數量):如果填寫0,僅會顯示當前潛在型態止盈/止損/進場線;如果填寫1,則會顯示最近一次完成歷史型態的止盈/止損/進場線,最大數值為50。
Show Potential Patterns(顯示潛在型態): 是否顯示正在形成中的預測型態。
Max Potential Count(最大顯示預測數量): 限制圖表上同時顯示的潛在型態數量,避免畫面過於雜亂。
PRZ Extra Padding %(額外填充擴張): 調整潛在反轉區 (PRZ) 的寬度。增加此數值會讓反轉區範圍變大,容錯率更高,但也可能降低精確度。建議保持 0% 以維持精確度,除非您希望擴大捕捉範圍。
📊 Statistics Table Settings (統計表格設定)
控制右下角(或自訂位置)的績效統計面板。
Show Statistics Table(顯示統計表): 開啟/關閉統計面板。
Table Position(表格位置): 設定面板在圖表四個角落的位置。
Text Size(文字大小): 調整表格文字大小。
🧠 Core Logic (核心邏輯 - 進階)
Tolerance % (容錯率): 設定型態識別的嚴格程度。
容錯率數值越小:型態越標準、精確,但數量較少。
容錯率數值越大:能偵測到更多變形型態,但可能包含數值型態比例較不標準的訊號。
注意: 誤差大小與型態止盈不見得呈正向關係。
3~10%。
統計儀表板解讀 (Statistics Dashboard)
位於圖表角落的面板提供了該商品在當前時間級別的歷史回測數據:
Pattern: 型態名稱。
Total: 歷史上偵測到的總次數。
TP1 %: 價格觸發進場後,在碰到止損前,成功到達第一止盈點的機率。此位置需平倉50~60%倉位。
TP2 %: 價格觸發進場後,在碰到止損前,成功到達第二止盈點的機率。此位置需平倉25~50%倉位。
SL %: 觸發止損的機率。
註1: TP1 %+SL % = 100%,TP1即算完成最低盈利目標。
註2: ***鯊魚型態必須於TP1平倉100%,長期為正期望值。
💡 使用技巧: 觀察表格中 TP1% 超過 60% 的型態,這代表在當前市場商品中,該特定型態的可靠度較高。少數型態會在觸發PRZ後,因為並未SL且達成TP1以上,但D點過份偏移,而無法計入勝率,因此60%以上勝率即可操作。
警報設定 (Alerts)
本指標內建即時警報功能,當潛在型態 (Potential Pattern) 偵測到價格進入反轉區 (PRZ) 時會觸發。
設定步驟:
點擊 TradingView 工具列的「警報 (Alert)」按鈕。
在商品(Symbols)下拉選單,根據整個觀察清單分別設置15分K以及1H提醒通知
在「條件 (Condition)」選單中,選擇 Auto HP 。
選擇 "Any alert() function call"。
設定通知方式(App 推播、Email 或彈出視窗)。
點擊「建立」。
當新的交易機會出現時,您將會收到包含型態名稱、方向 (Bull/Bear) 以及具體 Entry/TP/SL 價格的通知。
交易建議與免責聲明
等待確認: 雖然指標顯示了「潛在型態」與「建議進場點」,但強烈建議等待 K 棒在 PRZ 區域內出現反轉訊號(如吞噬形態、長影線)後再進場。
4H型態看1H反轉K,1H型態看15M反轉K,依此類推。
多週期共振: 當大週期(如 4小時)與小週期(如 15分鐘)在同一區域出現相同方向的諧波型態時,勝率通常極高。
型態共振: 當一個已完成型態的 D 點(持倉中),與新潛在型態的 C 點(正在往新 PRZ 的 Entry 方向邁進)重合時,可以考慮透過新潛在型態的 D 點(PRZ 的 Entry)作為原訂單的 TP3。
參考統計: 不同商品(如黃金 vs. 比特幣)以及時間週期適合的諧波型態不同,請參考面板數據調整策略。
免責聲明
本指標僅作為輔助分析工具,所提供的進場、止盈與止損點位皆基於數學幾何比例計算,作為學術研究討論,不代表對未來價格波動的保證。金融交易具有高度風險,請務必嚴格執行資金管理,並自行承擔交易結果。
Strat Structure Engine Strat Structure Engine + Trapped Traders – TradingView Public Library Description (Moderator-Optimized)
Overview:
The Strat Structure Engine + Trapped Traders script is a self-contained price action indicator that identifies high-probability market structure patterns using The Strat methodology. It integrates bar-based structure, volatility (ATR), and volume analysis to detect potential reversals, exhaustion points, and trapped trader scenarios directly on the chart. Unlike generic indicators, it grades signals for reliability and visual clarity, providing actionable insight for traders.
Originality and Purpose:
This script is original because it combines multiple structure-based patterns into a single, coherent system:
3-Bar → Failed 2 (3→F2) – A tiered scoring system evaluates the strength of a strict 3-bar structure followed by a Failed 2 bar.
2-Bar → Failed 2 (2→F2, A+ only) – Filters only the strongest 2-bar setups followed by a Failed 2 for high-confidence reversal signals.
Failed 2 → Failed 2 (Dragon’s Tail / F2→F2) – Detects consecutive Failed 2 bars in opposite directions, signaling trapped traders and quick reversals.
Each pattern is evaluated using objective criteria: bar range relative to ATR, Failed 2 close relative to the preceding structure, body-to-range ratio, and volume spikes compared to recent averages. The combination of multiple patterns with tiered scoring and volume confirmation is unique and cannot be reproduced by simply merging standard indicators.
Signal Evaluation and Scoring:
1. 3→F2 (Tiered Scoring)
Criteria:
3-bar range vs ATR
Failed 2 close relative to 3-bar midpoint
Body-to-range ratio
Volume vs recent SMA
Tier Grades: A+, A, B, —
Purpose: Helps traders prioritize high-confidence reversal setups while filtering out weaker signals.
2. 2→F2 (A+ Only)
Evaluates strict 2-bar structures followed by a Failed 2 bar.
Displays only the strongest A+ setups to reduce noise.
3. F2→F2 (Dragon’s Tail)
Detects consecutive Failed 2 bars in opposite directions.
Highlights trapped trader zones and potential rapid reversals.
Volume and Volatility Integration:
ATR normalization ensures bar ranges are contextualized to market volatility.
SMA volume averaging confirms unusual activity, filtering signals with low participation.
This ensures signals are structurally valid and contextually significant.
Chart and Visual Clarity:
Labels are color-coded (green for bullish, red for bearish) and include tier/score for easy interpretation.
Only confirmed patterns are labeled, avoiding clutter or ambiguous markings.
Works on standard candlestick charts (does not use Heikin Ashi, Renko, or Range bars), ensuring realistic and reliable signals.
Customization and Alerts:
Toggle each pattern on/off: 3→F2, 2→F2, F2→F2
Adjust ATR length and volume average period per instrument or timeframe.
Alerts available for all patterns for bar-close confirmation, enabling real-time monitoring or integration with trading systems.
Practical Trading Use:
Identify exhaustion points, trapped traders, and reversals.
Can be used alongside VWAP, liquidity zones, fair value gaps, and session extremes for enhanced entry and exit decisions.
Focus on A+ / A tier signals for execution; use B-tier signals for context or partial entries.
Designed for multiple instruments (equities, futures, Forex) and adaptable across timeframes.
Compliance and Risk Notes:
Signals are historical, not predictive.
Follow proper risk management and do not rely solely on indicator signals.
Past performance does not guarantee future results.
Does not use request.security() with lookahead; all signals are confirmed on bar close.
✅ Key Advantages:
Fully self-contained, original methodology.
Multi-pattern integration with tiered scoring for reliability.
Volume and ATR confirmation reduces noise and false signals.
Clean, uncluttered chart output that is easy to read and interpret.
This version explicitly addresses moderation points:
Originality: explains why the mashup is necessary and unique.
Usefulness: shows exactly how traders can use it.
Chart clarity: confirms labels are meaningful, non-redundant, and easy to read.
Signal realism: bars are confirmed, no lookahead used.
Malaysian SNR Levels + FVGThis indicator combines the precision of Malaysian SnR levels with Fair Value Gap (FVG) detection, filtering levels to only appear within active FVG zones. This unique combination helps traders focus on the most relevant support and resistance levels where institutional order flow is likely present.
█ WHAT ARE FAIR VALUE GAPS (FVGs)?
A Fair Value Gap is a three-candle pattern where price moves so aggressively that it leaves an unfilled gap between the first and third candle:
Bullish FVG: Occurs when the low of candle 3 is higher than the high of candle 1, creating a gap to the upside.
Bearish FVG: Occurs when the high of candle 3 is lower than the low of candle 1, creating a gap to the downside.
These gaps represent areas of imbalance where price moved too quickly, often due to institutional activity. Price tends to return to these zones to "fill" or "mitigate" the gap before continuing its move.
█ WHAT ARE MALAYSIAN SNR LEVELS?
Malaysian SnR identifies support and resistance not as zones but as precise horizontal levels derived from a line chart perspective:
A-Level: Located at peaks of the line chart (shaped like the letter A)
V-Level: Located at valleys of the line chart (shaped like the letter V)
Gap Level: Located at the Close/Open gap between two consecutive candles of the same color
Levels can be Fresh (solid line) or Unfresh (dashed line):
A level is fresh if it hasn't been tested by a wick
Fresh levels have higher probability of price reaction
A level becomes fresh again if crossed by a candle body
█ THE COMBINATION: SNR LEVELS INSIDE FVGs
This indicator only displays SNR levels that fall within an active (non-invalidated) FVG zone. This filtering mechanism provides several advantages:
Reduced Noise: Instead of showing all nearby levels, only those within institutional imbalance zones are displayed
Higher Confluence: When a precise SNR level sits inside an FVG, it creates a high-probability reaction zone
Dynamic Updates: As FVGs get invalidated, the associated levels disappear, keeping your chart clean
█ FVG INVALIDATION LOGIC
An FVG remains active until price invalidates it:
Bullish FVG: Invalidated when price moves below the bottom of the gap
Bearish FVG: Invalidated when price moves above the top of the gap
You can choose the invalidation method:
Body Close (default): FVG is only invalidated when a candle body closes beyond the zone
Wick: FVG is invalidated as soon as a wick touches beyond the zone
█ MULTI-TIMEFRAME SUPPORT
Both FVGs and SNR levels are calculated on the selected timeframe, allowing you to:
Display Daily FVGs with SNR levels on a 1H chart
Identify higher timeframe institutional zones while trading on lower timeframes
Combine multiple instances for multi-timeframe confluence
█ PARAMETERS
SNR Settings:
Line Color / Width: Appearance of SNR levels
Display gap levels: Show/hide gap-based levels
Display opening gaps: Show the gap box between candle close and next open
Display fresh levels only: Hide unfresh/tested levels
Display number of level breaks: Show how many times a level was broken
Evaluate current bar: Include the current (incomplete) bar in freshness calculation
Bars Lookback: Number of bars to scan for levels
Level Regions: Filter levels relative to current price or current bar's High/Low
Levels Above/Below: Maximum number of levels to display in each direction
Max Level Breaks: Hide levels that have been broken more than this number
FVG Settings:
Bullish/Bearish FVG Color: Colors for the FVG boxes
FVG Border Width: Border thickness of FVG boxes
Show FVG Boxes: Toggle FVG box visibility
FVG Invalidation Method: Choose between Body Close or Wick invalidation
Timeframe:
Timeframe: The timeframe for calculating both FVGs and SNR levels
█ HOW TO TRADE WITH THIS INDICATOR
Identify Active FVGs: Look for FVG boxes on your chosen timeframe - these represent institutional imbalance zones
Watch for SNR Levels: When an SNR level appears inside an FVG, this creates a high-confluence zone
Wait for Price to Approach: As price returns to fill the FVG and reaches the SNR level, watch for reaction
Confirm on Lower Timeframe: Switch to a lower timeframe to look for entry signals (rejection wicks, engulfing patterns, break of structure)
Trade the Reaction: At a Bullish FVG with SNR support look for long entries - at a Bearish FVG with SNR resistance look for short entries
The combination of FVG (institutional footprint) with precise SNR levels (exact reaction points) provides a powerful framework for identifying high-probability trade setups.
Candle Boxes (Border + Midline + Open level)📦 Candle Boxes (Border + Midline + Open Level)
Candle Boxes is a visual multi-timeframe (HTF) tool designed to display higher-timeframe candle structure directly on a lower-timeframe chart.
It helps traders understand HTF context without constantly switching between timeframes.
🔍 What this indicator displays
For each HTF candle, the indicator draws:
HTF Box
Top = HTF High
Bottom = HTF Low
Horizontal span = full HTF candle duration
Border color
Bullish HTF candle → bullish color
Bearish HTF candle → bearish color
Midline (50%) – optional
Exact midpoint of the HTF range: (High + Low) / 2
HTF Open level – optional
Horizontal line at the HTF candle open price
All elements are drawn without background fill to keep the chart clean and readable.
⏱ Multi-Timeframe logic
HTF is selected using the HTF (box timeframe) input
Data is retrieved via request.security() with no repainting
Levels update only while the HTF candle is forming
Once the HTF candle closes, its box and lines remain fixed
🧠 Intended use
This indicator is designed for:
visualizing higher-timeframe context on lower charts
analyzing HTF structure without changing timeframe
supporting:
support & resistance analysis
price action studies
intraday and swing trading context
This tool does not generate buy/sell signals and is not a trading strategy.
⚙️ Settings
HTF & history
HTF (box timeframe) – higher timeframe used to build boxes
Keep last HTF boxes – number of most recent HTF boxes to keep
used to comply with TradingView object limits
the script automatically removes the oldest boxes and lines
Visual options
Border (on/off, width, transparency, colors)
Midline (on/off, colors, transparency)
HTF Open line (on/off, color, width, transparency)
⚠️ Important notes
TradingView enforces strict limits on drawn objects (boxes and lines)
This indicator is optimized to:
display as much historical data as technically possible
automatically manage and delete older objects
Higher HTF → fewer boxes visible in history
Lower HTF → more boxes, faster object-limit usage
🔁 Suggested Timeframe Combinations
This indicator is designed to work best when the selected HTF is significantly higher than the chart timeframe.
Below are practical, commonly used combinations:
Intraday trading
Chart: 5m → HTF: 1H
Chart: 15m → HTF: 4H
Useful for identifying higher-timeframe structure during active trading sessions.
Swing trading
Chart: 30m → HTF: 4H
Chart: 1H → HTF: Daily
Helps visualize major HTF ranges and key levels while managing trades over multiple days.
Higher-timeframe analysis
Chart: 1H → HTF: Weekly
Chart: 4H → HTF: Weekly
Best suited for understanding broader market context, range behavior, and HTF price positioning.
General guideline
A 4× to 8× ratio between chart timeframe and HTF is usually a good starting point
Larger ratios provide cleaner structure but fewer visible boxes
Smaller ratios provide more detail but consume object limits faster
These combinations are guidelines only and can be adjusted based on personal trading style and market conditions.
📌 Disclaimer
This indicator is a visual analysis tool only.
It does not provide financial advice or guarantee any trading outcome.
All trading decisions are made at your own risk.
Always combine this tool with your own analysis and risk management rules.
Stack Detector Stack Detector, which is showing how the ma moves as a chart goes by.
It help you the power of the waves
Trend & Pattern NavigatorTrend & Pattern Navigator is a practical market analysis indicator designed to help traders quickly understand market conditions, trend direction, and key price patterns at a glance.
This indicator integrates multiple analytical elements into a single, clean workflow:
Trend detection using EMA (20 / 200) and RSI
Market state filtering to avoid low-quality or risky conditions
Chart pattern recognition, including triangles, double tops/bottoms, and bull flag structures
Momentum-based buy and sell signals, aligned with higher-timeframe trend bias
Visual state dots and background highlights to instantly identify favorable or cautionary zones
Market Navigator panel that summarizes current trend state and potential top/bottom pressure
The goal of this script is not to predict the future, but to guide decision-making by showing where the market currently stands and when conditions are aligned.
It is suitable for:
Trend-following traders
Price action and pattern-based strategies
Intraday to swing trading across FX, stocks, indices, and crypto
All signals are designed with false-signal avoidance in mind, prioritizing clarity, structure, and consistency over excessive alerts.
⚠️ Disclaimer
This script is for analysis and educational purposes only and does not constitute financial advice. Always apply proper risk management.
LTF Distribution Analyzer█ OVERVIEW
LTF Distribution Analyzer reveals the hidden price distribution and order flow within each candle by sampling lower timeframe data. It visualizes where prices concentrated, how volume was distributed between buyers and sellers, and identifies divergences between price action and actual market participation.
Unlike traditional candlesticks showing only OHLC, this indicator exposes the statistical structure of price movement using quartile-based visualization combined with delta analysis.
█ CONCEPTS
The indicator is built on two core concepts:
1 — Statistical Price Distribution
Each candle contains many lower timeframe bars. By analyzing these bars, we calculate:
• Q1 (25th percentile) - 25% of prices traded below this level
• Q3 (75th percentile) - 75% of prices traded below this level
• Median - The middle price value
• IQR (Interquartile Range) - The Q3-Q1 spread containing 50% of all prices
2 — Volume Delta Analysis
Delta measures buying vs selling pressure:
• Delta = Buy Volume − Sell Volume
• Positive delta = More aggressive buying
• Negative delta = More aggressive selling
• Delta Ratio normalizes this as a percentage
█ HOW IT WORKS
The indicator fetches lower timeframe data using request.security_lower_tf() and processes it to create a statistical summary:
Step 1: Timeframe Calculation
• Auto mode: Chart timeframe ÷ Auto Divisor = LTF
• Example: 1H chart ÷ 1000 = ~3.6 second sampling
• Manual mode: User-specified timeframe
Step 2: Data Collection
• Collects all close prices from LTF bars within current candle
• Aggregates volume by candle direction (bullish/bearish)
Step 3: Statistical Analysis
• Calculates quartiles (Q1, Q3), median, and boundaries
• Identifies outliers using 1.5× and 3× IQR fences
• Finds Volume POC (price with highest volume)
Step 4: Delta Calculation
• Sums buy volume (from bullish LTF bars)
• Sums sell volume (from bearish LTF bars)
• Computes delta ratio for color determination
█ VISUAL ELEMENTS
┌─────────────────────────────────────────┐
│ ▲ Extreme outlier (3× IQR) │
│ △ Mild outlier (1.5× IQR) │
│ ─ Upper whisker cap │
│ ┊ Whisker line (dashed) │
│ ▄ IQR Box (Q1 to Q3 range) │
│ ━ Volume POC (highest volume) │
│ ● Median (green=bull, red=bear) │
│ ┊ Whisker line (dashed) │
│ ─ Lower whisker cap │
│ ▽ Mild outlier │
│ ▼ Extreme outlier │
└─────────────────────────────────────────┘
█ COLOR SYSTEM
Colors indicate the relationship between candle direction and order flow:
🟢 TEAL (Positive Flow)
Bullish candle + Positive delta
→ Strong buying confirmation
→ Trend continuation signal
🔴 RED (Negative Flow)
Bearish candle + Negative delta
→ Strong selling confirmation
→ Trend continuation signal
🟠 ORANGE (Mixed Signal A)
Bullish candle + Negative delta
→ Price up but sellers dominated
→ Potential weakness/reversal warning
🔵 BLUE (Mixed Signal B)
Bearish candle + Positive delta
→ Price down but buyers dominated
→ Potential accumulation/reversal signal
█ SETTINGS
Timeframe Settings
• LTF Mode — Auto or Manual selection
• Manual Timeframe — Specific LTF when in Manual mode
• Auto Divisor — Higher = finer granularity (default: 1000)
• Allow Sub-Minute — Requires Premium subscription
Visual Style
• Positive/Negative Flow colors — Customize the 4 flow colors
• Box Transparency — Opacity of the quartile box (0-100%)
Statistics Display
• Show Statistics Panel — Toggle on-chart stats table
• Show Timeframe Badge — Toggle LTF indicator badge
• Panel Position — Choose corner placement
• Panel Size — Text size selection
█ HOW TO USE
1. Divergence Detection
Look for color mismatches:
• Orange bars in uptrend = weakness, potential reversal
• Blue bars in downtrend = strength, potential reversal
• Multiple consecutive divergent bars strengthen signal
• Wait for confirmation before entry
2. Volume POC Trading
• POC marks where most volume traded
• POC clusters at similar levels = strong S/R zone
• Price often returns to POC before continuing
• Use POC for entry/exit targeting
3. Trend Confirmation
• Consecutive teal = strong uptrend
• Consecutive red = strong downtrend
• Median position shows intrabar momentum
• Wide boxes indicate high volatility
4. Outlier Analysis
• Extreme markers (▲▼) often mark stop hunts
• Consider fading extremes at key levels
• Mild markers (△▽) = areas to watch
█ RECOMMENDED SETTINGS
For different chart timeframes:
│ Chart TF │ Auto Divisor │ Resulting LTF │
├──────────┼──────────────┼───────────────┤
│ 15M │ 1500 │ ~1M │
│ 1H │ 1000 │ ~3-4s │
│ 4H │ 600 │ ~24s │
│ Daily │ 500 │ ~2-3M │
Tip: Check the TF badge to confirm active sampling timeframe.
█ BEST PRACTICES
Do:
✓ Use "Bars" chart style for cleanest display
✓ Combine with support/resistance analysis
✓ Wait for confirmation bars
✓ Note POC clusters across multiple bars
✓ Adjust divisor based on your timeframe
Avoid:
✗ Trading single bar signals alone
✗ Using during low volume periods
✗ Trading immediately after news releases
✗ Ignoring overall market context
█ LIMITATIONS
• Requires adequate market liquidity for reliable signals
• Sub-minute timeframes need Premium subscription
• Historical data depth depends on TradingView's data availability
• Delta calculation assumes volume direction matches candle direction
█ NOTES
This indicator works best on liquid markets (forex majors, major indices, popular stocks/crypto) where volume data is meaningful.
The gray dotted vertical line marks where LTF data becomes available - bars before this line won't display the indicator.
For questions or suggestions, leave a comment below.
Ultimate Auto Trendlines - No Lag, No repaint, & High Accuracy Non-Repainting Auto Trendlines by Pivots – The cleanest way to draw real trendlines automatically!
Connects confirmed pivot highs/lows → solid, angled trendlines (no flat junk)
Filters by minimum angle → only meaningful trends
Shows recent pivots with "R" / "S" labels (optional)
Long extension to the right – see future zones instantly
Perfect for SPY, QQQ, NASDAQ daily swings – 85%+ touch rate in backtests
Why traders love it:
• No repaint – safe for live trading & alerts
• Keeps chart clean – only recent levels
• Angle filter = no useless horizontal lines
• Works on any timeframe – daily/4H/1H killer
Add to chart now → see the difference immediately!
How to Use the "Auto Trendlines by Pivots" Indicator Effectively
This indicator automatically draws clean, non-repainting trendlines by connecting confirmed pivot highs and lows, helping you visualize dynamic trend direction, support/resistance from swings, and potential reversal or continuation zones. It's especially powerful on daily and 4H charts for SPY, QQQ, NASDAQ stocks, forex majors, and crypto.
Quick Start Guide
Add to Chart
Open TradingView → Pine Editor → paste the script → Save → Add to Chart.
Best symbols/timeframes: SPY/QQQ/ES1! daily, 4H, or 1H.
Key Settings (Recommended Starting Values)
Pivot Left/Right Bars: 5/5 (default) → balanced strength.
Increase to 8–10 for stronger, fewer lines (less noise, higher accuracy).
Decrease to 3–4 for more frequent lines (scalping/intraday).
Max Trendlines: 8 (default) → keeps chart readable.
Lower to 4–6 for minimalism; raise to 12–15 for more history.
Min Trend Angle: 15° (default) → filters out flat/weak lines.
Increase to 20–25° for steeper trends only (very clean chart).
Decrease to 10° to see shallower trends.
Line Extension: 100–200 bars → long enough to project forward zones.
Show Labels: On → "R" (red) and "S" (green) marks pivot points.
Turn off for ultra-clean look.
How to Read & Trade with It
Uptrend (Bullish): Greenish upward-sloping lines connecting higher lows → act as dynamic support.
→ Buy pullbacks to the trendline + confirmation (e.g., RSI oversold, volume spike, candlestick reversal).
→ Target next resistance line or previous pivot high.
Downtrend (Bearish): Reddish downward-sloping lines connecting lower highs → act as dynamic resistance.
→ Short rejections at trendline + confirmation (e.g., RSI overbought, bearish engulfing).
→ Target next support line or previous pivot low.
Range / Sideways: Mixed criss-crossing lines → avoid trading or use horizontal S/R levels (when trendlines flatten).
Confluence = where multiple lines cluster → highest-probability zones.
Breakouts: When price closes decisively through a trendline → signals potential trend change or acceleration.
Wait for retest of broken line as new support/resistance.
Pro Trading Tips (High-Probability Setups)
Confluence is King: Trade when price reaches a trendline + horizontal S/R level from pivots (yellow zones if you add confluence logic).
Timeframe Alignment: Use daily lines for bias, 4H/1H for entries.
Confirmation Tools:
RSI(2) < 10 near support (long) or > 90 near resistance (short)
Volume > 20-period SMA on touch
Candlestick patterns (hammer, engulfing) at line
Risk Management:
Stop below support trendline (longs) or above resistance trendline (shorts)
Target 1.5–3R (next major level or opposite line)
Avoid trades if VIX > 25–30 (high volatility kills accuracy)
Best Markets: Strong trends (bullish SPY/QQQ 2020–2025) → 70–85% bounce rate at lines.
Common Mistakes to Avoid
Over-trading flat markets → wait for clear trend angle.
Ignoring angle filter → flat lines are noise, not real trends.
Not zooming out → always check higher timeframe (weekly) for major lines.
Performance Insight
Backtests on SPY daily (2010–2025): ~80% price interaction (touch/bounce) at trendlines in trending periods.
Combine with RSI(2) or EMA50 → win rate often >75% on pullback entries.
Dynamic Support & Resistance Lines📊 Dynamic Support & Resistance Lines - AI-Based Price Level Detection
Overview:
This advanced indicator intelligently identifies and tracks key support and resistance levels using a proprietary algorithm that analyzes price action patterns. The indicator dynamically updates multiple layers of support and resistance lines, providing traders with critical decision points for entries, exits, and stop-loss placement. With integrated smart alerts, you'll never miss important price movements at critical levels.
Key Features:
🎯 Multi-Layer Support & Resistance System:
Primary trend lines (Blue/Red) connecting global extremes with recent key levels
Secondary resistance lines from last 5 and 10 significant price points
Secondary support lines from last 5 and 10 significant price points
All lines extend to the right for forward-looking analysis
Dynamic updates as new key levels form in real-time
⚙️ Highly Customizable:
Adjustable timeframe analysis (works on any timeframe)
Control the number of key levels tracked (10-50 bars, default: 30)
Customize colors, styles (Solid/Dashed/Dotted), and widths for all line types
Toggle visibility of primary trend lines
Separate styling controls for each resistance and support layer
Individual color coding for clear visual distinction
📈 Smart Algorithm:
Automatically identifies significant price levels based on volatility expansion patterns
Tracks up to 50 historical key levels for comprehensive analysis
Primary trend lines connect absolute extremes with the highest/lowest from the last 3 key levels
Secondary lines provide multiple layers of potential support/resistance zones
Continuously adapts to market conditions and price structure changes
🔔 Intelligent Alert System:
New Key Level Alerts: Instant notification when the algorithm identifies a new significant price level
Resistance Touch Alerts: Get alerted when price approaches or touches any resistance line (Resistance 1, Resistance 2, or Upper Trend Line)
Support Touch Alerts: Receive notifications when price approaches or touches any support line (Support 1, Support 2, or Lower Trend Line)
Breakout/Breakdown Alerts: Critical alerts when price breaks above upper trend line or below lower trend line
Adjustable Touch Sensitivity: Fine-tune alert triggers with customizable percentage threshold (0.01% - 1.0%)
Anti-Spam Protection: Built-in 3-bar cooldown system prevents excessive duplicate alerts
Fully Customizable: Enable or disable specific alert types based on your trading strategy and preferences
Multi-Notification Support: Works with TradingView's popup, email, SMS, and webhook notifications
🎨 Visual Clarity:
Color-coded lines for easy distinction between resistance (orange tones) and support (green tones)
Clean, professional appearance suitable for all chart styles
Minimal clutter - only shows the essential support and resistance lines
Distraction-free interface for focused trading decisions
Professional color scheme that works in both light and dark modes
How to Use:
Initial Setup:
Timeframe Selection: Choose your preferred timeframe for analysis (current chart timeframe by default)
Number of Key Levels: Adjust how many historical levels to track (default: 30, range: 10-50)
Customize Appearance: Modify colors, line styles, and widths to match your trading setup and chart theme
Understanding the Lines:
Blue line: Upper primary trend line connecting the highest global extreme with the strongest recent resistance
Red line: Lower primary trend line connecting the lowest global extreme with the strongest recent support
Orange lines (Resistance):
Solid orange: Resistance level from the last 5 key levels
Semi-transparent orange: Resistance level from the last 10 key levels
Green lines (Support):
Solid green: Support level from the last 5 key levels
Semi-transparent green: Support level from the last 10 key levels
Setting Up Alerts:
Click the "Create Alert" button (clock icon) on your TradingView chart
In the Condition dropdown, select "Dynamic Support & Resistance Lines"
In the indicator settings, enable your desired alert types:
Toggle "Enable Alerts" ON
Select which alert types you want (New Level, Resistance Touch, Support Touch, Breakout/Breakdown)
Adjust "Touch Sensitivity %" to control how close price needs to be (default: 0.1%)
Choose your notification method (Popup, Email, SMS, Webhook)
Set alert frequency to "Once Per Bar Close" for best results
Name your alert and click "Create"
Trading Applications:
For Day Traders:
Use on 5-min to 15-min timeframes for intraday support/resistance
Set alerts for resistance/support touches to catch reversals
Watch for breakout alerts to enter momentum trades
Use multiple timeframe analysis for confluence
For Swing Traders:
Apply on daily or 4-hour timeframes for multi-day levels
Monitor trend line breaks for position entries
Use resistance/support zones for profit targets
Enable new level alerts to update your trading plan
For Position Traders:
Implement on weekly timeframes for long-term structure
Track major support/resistance for portfolio decisions
Use primary trend lines for overall market direction
Set breakout alerts for major trend changes
Best Practices:
Use on multiple timeframes simultaneously for confluence confirmation
Combine with volume analysis to validate support/resistance strength
Watch for price reactions at line intersections (highest probability zones)
Pay special attention when multiple lines converge in the same area
Lines extending right project future support/resistance zones - use for planning
Set alerts before key trading sessions to catch early moves
Adjust touch sensitivity based on asset volatility (higher for crypto, lower for forex)
Review alert history to identify which levels produce best trading opportunities
Technical Details:
Maximum 500 lines for optimal performance and chart clarity
Real-time updates as new key levels form - no repainting
Works on all instruments (stocks, forex, crypto, commodities, indices)
Compatible with all timeframes from 1-minute to monthly
Transparent, semi-transparent, and solid line style options
Efficient algorithm designed for minimal CPU usage
Alert system processes on confirmed bar close only (no false signals)
What Makes This Different:
Unlike static support/resistance indicators, this tool dynamically adapts to changing market structure
Proprietary algorithm identifies high-probability levels that traditional indicators miss
Multi-layer approach provides both immediate and historical context
Smart alert system saves screen time while keeping you informed
Professional-grade tool suitable for both beginners and advanced traders
⚠️ RISK DISCLAIMER:
This indicator is provided for educational and informational purposes only. Trading stocks, futures, forex, options, and cryptocurrencies involves substantial risk of loss and is not suitable for every investor. Past performance is not indicative of future results.
USE AT YOUR OWN RISK. The creator of this indicator assumes no responsibility for any financial losses incurred through the use of this tool. Support and resistance levels are analytical tools and do not guarantee future price movements. Always conduct your own research, implement proper risk management, and consult with a licensed financial advisor before making trading decisions.
No Financial Advice: This indicator does not constitute financial, investment, or trading advice. All trading decisions are solely your responsibility.
📬 GET STARTED:
For Trial Access:
Interested in trying this indicator before committing? Send me a direct message through TradingView with "Trial Request" in the subject line, and I'll provide you with temporary access details and setup guidance.
Need Support?
Questions about setup or configuration
Alert troubleshooting
Custom settings recommendations
General indicator inquiries
Contact: Send a direct message via TradingView for questions, support, feature requests, or trial access.
💡 Pro Tips:
Start Simple: Begin with default settings and only one or two alert types enabled
Optimize Sensitivity: Test different touch sensitivity values for your specific asset and timeframe
Layer Your Analysis: Combine this with volume indicators and price action for best results
Document Performance: Keep track of which alert types produce the best trading opportunities for you
Multiple Timeframe Setup: Run the indicator on 2-3 different timeframes for comprehensive market view
Alert Management: Use specific alert names (e.g., "SPY 5m Resistance Touch") for quick identification
NG Wealth IndicatorThis Indicator Gives Long-term Wealth on Natural Gas Tested on multiple Time Frames on MCX:NATURALGAS1! Futures Charts.
Adaptive MTF Momentum█ WHAT MAKES THIS INDICATOR DIFFERENT
This indicator solves a common problem: lower timeframe noise causing false signals. Instead of using fixed settings, it dynamically selects which higher timeframes to monitor based on your current chart.
The core methodology combines three analysis layers that must ALL agree before generating a signal:
1. Multi-timeframe trend alignment (direction filter)
2. Momentum exhaustion detection (timing filter)
3. Volume and structure confirmation (validation filter)
This triple-confirmation approach significantly reduces false signals compared to single-indicator strategies.
█ METHODOLOGY EXPLAINED
Layer 1: Adaptive Timeframe Selection
The indicator automatically builds a timeframe chain based on your chart:
| Your Chart | Monitors |
|------------|----------|
| 5 minute | 30m + 1H + 4H |
| 15 minute | 1H + 4H + Daily |
| 30 minute | 2H + 8H + Daily |
For each higher timeframe, it calculates EMA crossovers (8/21/50) to determine trend direction. The "alignment score" (0-3) shows how many timeframes agree.
Why this matters: A 5m buy signal is more reliable when 30m, 1H, AND 4H all show bullish structure.
Layer 2: Momentum Timing
Once trend direction is confirmed, the indicator waits for optimal entry timing using:
- RSI (14): Identifies oversold (<30) and overbought (>70) conditions
- Stochastic (14,3,3): Confirms momentum shift via K/D crossovers
- MACD (12,26,9): Validates momentum direction change
A "momentum score" combines these readings. Signals only fire when momentum aligns with the higher timeframe trend.
The logic: In an uptrend, we want to buy when momentum is oversold and turning up. In a downtrend, we want to sell when momentum is overbought and turning down.
Layer 3: Validation Filters
Before any signal appears, these conditions must pass:
- Volume Filter: Current volume must exceed 1.2x the 20-period average. This confirms institutional participation.
- VWAP Filter: For longs, price should be above VWAP. For shorts, below VWAP. This ensures we trade with intraday flow.
- Structure Filter: Requires a recent break of swing high (for longs) or swing low (for shorts). This confirms price is actually moving in our direction.
- ATR Filter: Volatility must be above 50% of its 50-period average. This avoids low-volatility chop.
█ SIGNAL CLASSIFICATION
The indicator categorizes signals by entry type:
REV (Reversal): Momentum reaches extreme (RSI oversold/overbought) while higher timeframes maintain trend. Best for catching pullbacks in trends.
CONT (Continuation): Price pulls back to the 21 EMA in a strong trend, then momentum turns. Best for adding to existing positions.
BRK (Breakout): Price breaks structure level with volume spike. Best for catching new moves early.
█ QUALITY SCORE CALCULATION
Each signal receives a Q1-Q5 rating based on:
- HTF alignment score (0-3 points)
- Momentum score (0-3 points)
- Volume spike present (+1 point)
Higher scores indicate more filters aligned. Q4-Q5 signals have the highest probability.
█ RISK MANAGEMENT
TP/SL levels are calculated using ATR(14):
- Stop Loss: 1.2 x ATR from entry
- TP1: 1.8 x ATR (partial exit)
- TP2: 3.0 x ATR (full exit)
This provides approximately 1.5:1 to 2.5:1 reward-to-risk ratio.
█ HOW TO USE
1. Apply to 5m, 15m, or 30m chart
2. Enable "Auto-Adapt" mode (recommended)
3. Wait for signals with Q3 or higher rating
4. Check dashboard confirms trend alignment
5. Enter with suggested TP/SL levels
Settings Guide:
- Sensitivity: "Conservative" = fewer but higher quality signals
- Sensitivity: "Aggressive" = more signals, lower threshold
- Cooldown: Increase to 10-15 if signals appear too frequently
█ DASHBOARD READINGS
- HTF: Shows active timeframe chain
- Trend: Bull/Bear + alignment score (aim for +2 or +3)
- RSI/Stoch: Current value or OS/OB status
- Vol: "SPIKE" when above threshold
- VWAP: Arrow shows price position relative to VWAP
█ LIMITATIONS
- Works best in trending markets; avoid during ranging/choppy conditions
- Designed for intraday timeframes (5m-30m); not optimized for higher timeframes
- Signals are not guarantees; always use proper risk management
- Past performance does not indicate future results
█ ALERTS AVAILABLE
- Long / Short: Any signal
- HQ Long / HQ Short: Q4+ signals only (recommended)
- Any: All signals combined
Smart Money Signals - Minimal v5 (No VWAP, Manual CMF) - RajeevSmart Money Signals - Minimal v5 (No VWAP, Manual CMF) - Rajeev
Fibonacci 5 Candles Retracement
================================================================================
FIBONACCI 5 CANDLES RETRACEMENT - STRATEGY GUIDE
================================================================================
WHAT DOES THIS STRATEGY DO?
---------------------------
This strategy automatically identifies market trends and uses Fibonacci
retracements to find the best entry points. The idea is simple: when price
makes a strong movement (trend), it often pulls back before continuing in
the same direction. The strategy captures these "pullbacks" to enter at the
right moment.
HOW IT WORKS?
-------------
1. TREND DETECTION
The strategy looks for 5 consecutive candles of the same color:
- 5 red candles = BEARISH trend (price falls)
- 5 green candles = BULLISH trend (price rises)
2. CALCULATION OF START AND END POINTS
For a BEARISH trend (5 red candles):
- START: The highest point between the first red candle and the previous one
- END: The lowest point reached during the 5 candles (and beyond, if the
trend continues)
For a BULLISH trend (5 green candles):
- START: The lowest point between the first green candle and the previous one
- END: The highest point reached during the 5 candles (and beyond, if the
trend continues)
3. DYNAMIC UPDATE
The END point updates automatically if price continues to move in the
direction of the trend, creating new highs (for bullish trends) or new
lows (for bearish trends).
4. TREND END
Normal Mode:
- BEARISH trend ends when a candle closes above the previous candle's open
- BULLISH trend ends when a candle closes below the previous candle's open
"Extended Trend" mode (optional):
- The trend remains active until a candle closes beyond the dynamic 50%
retracement level
- When this happens, the END point "freezes" (stops updating), but the
trend can continue
5. FIBONACCI RETRACEMENT CALCULATION
Once START and END are identified, the strategy automatically calculates
Fibonacci levels. IMPORTANT: for retracements and pending orders, we
consider START as 100% and END as 0%, because we work on the part of the
trend that is recovered (the pullback).
The retracement levels are:
- 70% = level closest to START (smallest retracement)
- 60% = second level
- 50% = central level (often used for entry)
- 25% = level closest to END (largest retracement)
6. PENDING ORDER PLACEMENT
When a trend is identified and completed, the strategy automatically places
a pending order (limit order) at one of the selectable Fibonacci levels.
Available levels:
- 25%: closest to END
- 50%: central level (balanced)
- 60%: closest to START
- 70%: very close to START
The order direction depends on the trend:
- BEARISH trend → SHORT order (bet that price falls)
- BULLISH trend → LONG order (bet that price rises)
Stop Loss and Take Profit (for retracements):
- Stop Loss: always at START level
- Take Profit: always at END level
EXTENDED TAKE PROFIT:
If the order is executed (filled), the strategy can apply an "Extended
Take Profit" if configured. IMPORTANT: for the extended TP calculation,
we consider START as 0% and END as 100% (the original trend movement).
For example, if you set 3%, the Take Profit will be at 103% of the
original trend movement instead of 100%.
AVAILABLE FILTERS
-----------------
1. MINIMUM TREND (pips)
Filters trends that are too small. If a trend is below the set value:
- START and END labels become gray (instead of red/green)
- No pending order is placed
- The trend is still displayed on the chart
Useful for avoiding trading movements that are too small.
2. EMA FILTER
Uses two moving averages (EMA 50 and EMA 200) to filter direction:
- If active: places LONG orders only when EMA50 > EMA200 (uptrend)
- If active: places SHORT orders only when EMA50 < EMA200 (downtrend)
Useful for trading only in the direction of the main trend.
3. EXTENDED TREND
Modifies how the trend is considered "completed":
- If disabled: uses normal logic (opposite candle)
- If active: the trend remains in formation until a candle closes beyond
the dynamic 50%. When this happens, END freezes but the trend can continue.
Useful for capturing longer trends and extended movements.
VISUALIZATION
-------------
The strategy displays on the chart:
1. START AND END LABELS
- Red color for bearish trends
- Green color for bullish trends
- Gray color if the trend is not valid (too small)
- Remain visible even when new trends form
2. START AND END LINES
- Horizontal lines indicating the start (START) and end (END) points of the trend
- White color by default, customizable from the settings panel
- Update dynamically when the END point changes
- Can be shown or hidden via the "Show Start/End Lines" option
3. FIBONACCI LINES
The strategy shows horizontal lines at retracement levels:
- Line at 50% (yellow by default)
- Line at 25% (green by default)
- Line at 60% (azure by default)
- Line at 70% (red by default)
COLOR CUSTOMIZATION:
All line colors can be customized from the settings panel in the
"LINE COLORS" section:
- Start/End Line Color: customize the color of START and END lines
- 50% Line Color: customize the color of the 50% line
- 25% Line Color: customize the color of the 25% line
- 60% Line Color: customize the color of the 60% line
- 70% Line Color: customize the color of the 70% line
Lines update dynamically when the END point changes and can be shown or
hidden individually via options in the "VISUALIZATION" section.
4. PENDING ORDER LABELS
Show pending order information:
- Direction (LONG or SHORT)
- Entry price
- Stop Loss
- Take Profit
Positioned far from the chart to avoid cluttering the visualization.
ALERTS
------
If enabled, alerts send notifications when:
1. PENDING ORDER CREATED
When a new pending order is placed, with all information.
2. PENDING ORDER UPDATED
When the pending order is updated (for example, if the level changes or
if the END point moves).
3. ORDER OPENED
When the pending order is executed (filled) and the position is opened.
Alerts can be configured in TradingView to send notifications via email,
SMS, or other platforms.
RECOMMENDED SETTINGS
--------------------
To get started, you can use these settings:
VISUALIZATION:
- Show all lines and labels to see how it works
- Show Start/End Lines: true (to display lines at START and END points)
- Customize line colors in the "LINE COLORS" section according to your preferences
STRATEGY:
- Pending Order Level: 50% (balanced)
- Extended TP: 0% (use standard TP at 100%)
FILTERS:
- Minimum Trend: 0 pips (disabled initially)
- Use EMA Filter: false (disabled initially)
- Extended Trend: false (use normal logic)
ALERTS:
- Enable Alerts: true (if you want to receive notifications)
PRACTICAL EXAMPLE
-----------------
Scenario: Bearish Trend
1. Price forms 5 consecutive red candles
2. The strategy identifies:
- START = 1.2000 (highest point)
- END = 1.1900 (lowest point)
- Range = 100 pips
3. Calculates Fibonacci levels (for retracements: START = 100%, END = 0%):
- 100% = 1.2000 (START)
- 70% = 1.1930
- 60% = 1.1940
- 50% = 1.1950
- 25% = 1.1975
- 0% = 1.1900 (END)
4. If you set "Pending Order Level" to 50%:
- Places a SHORT pending order at 1.1950 (50% retracement)
- Stop Loss at 1.2000 (START = 100%)
- Take Profit at 1.1900 (END = 0%)
5. If price rises and touches 1.1950:
- The order is executed
- Opens a SHORT position
- If price falls to 1.1900 → Take Profit (profit)
- If price rises to 1.2000 → Stop Loss (loss)
IMPORTANT NOTE
--------------
This strategy is a technical analysis tool. Like all trading strategies,
it does not guarantee profits. Trading involves risks and you can lose money.
Always use appropriate risk management and test the strategy on historical
data before using it with real money.
LICENSE
-------
This code is open source and available for modification. You are free to
use, modify, and distribute this strategy. If you republish or share a
modified version, please kindly mention the original author.
================================================================================
dkSquare of Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets Square of 9 – 20 Targets
EMA Bull & Bear Cross SetupPower of Two EMAs (20,50). Price crosses up 20 ema and 50 ema simultaneously. Its a sign of consolidation breakout/breakdown.
Bollinger Bands Squeeze (BB inside KC) - Yuval HaspelBollinger Bands Squeeze Indicator
Purpose: Identify areas where the asset has gained enough "energy" for the possible next move up or down.
Works under the assumption that Bollinger Bands engulfed within the Keltner Channels indicate a momentum compression and possibly indicating that the asset is "resting" before the next move.
Red dots mean in a squeeze and blue dots not in a squeeze.
Moving Average for BitcoinMoving Average for Bitcoin (MA for BTC)
Moving Average for Bitcoin (MA for BTC) is a moving average indicator designed specifically for Bitcoin (BTC). It is built on the assumption that Bitcoin follows its own market algorithm, shaped by unique liquidity, market structure, and behavioral patterns.
Indicator Concept
This indicator uses Moving Averages with three distinct periods to represent different layers of Bitcoin’s price structure:
- MA Minor: Represents short-term price movement and reacts quickly to market changes.
- MA Major I: Acts as the medium-term trend structure and dynamic equilibrium level.
- MA Major II: Represents the primary Bitcoin trend and provides macro market bias.
The interaction between these three lines is designed to capture Bitcoin’s movement by lines.
Use in Multitimeframe Charts
This indicator is fully compatible with multiple timeframes and can be used consistently across:
5-minute, 10-minute, 30-minute, 1-hour, 4-hour, Daily, Weekly, Monthly. The MA structure is designed to remain structurally meaningful across different timeframes, allowing traders and analysts to:
- Align lower-timeframe entries with higher-timeframe trends
- Maintain consistent trend interpretation across sessions
- Perform top-down Bitcoin market analysis
Recommended Use
- Bitcoin trend analysis (medium to long term)
- Market bias confirmation
- Confluence with price action, volume, or momentum indicators
Oxscope 1hr V1This indicator is a sophisticated trend-following tool designed to filter market noise by aggregating signals from 20 distinct technical indicators—including EMA, RSI, MACD, Bollinger Bands, SuperTrend, and Ichimoku. Instead of relying on a single metric, it calculates a real-time "consensus score" for every candle, where each indicator votes +1 for bullish or -1 for bearish.
Key Features:
High-Confidence Threshold: The strategy operates on a strict threshold of ±6. A score of +6 or higher activates the Long Zone (Green Background), while -6 or lower triggers the Short Zone (Red Background). This ensures trades are only suggested when there is strong technical agreement.
Visual Clarity: Designed for a distraction-free experience, this version removes complex data tables and indicator lines. It features massive, easy-to-read emoji labels ("🚀" for Long entries, "📉" for Short entries).
Smart Signal Logic: The script prioritizes entry signals over exit signals during sharp reversals, keeping your chart clean and focusing solely on the most critical trend changes.
This tool is ideal for traders seeking high-conviction setups without visual clutter.
NY Session Bar Counter & Bar painterThe NY Session Bar Counter is a high-visibility technical utility that provides an automated, sequential count of every candle during the New York session (09:30 to 16:00 EST). Unlike standard session highlighters, this tool numbers each bar starting from the market open, allowing traders to identify specific "time-of-day" windows with surgical precision.
This script is specifically engineered for traders who follow setups based on specific bar numbers (e.g., the Bar 17 reversal, the Bar 36 lunch-power-hour, or the final EOD flush).
🚀 Key Features
Precision Timing: Automatically resets every day at 09:30 AM New York time, regardless of your local timezone settings.
Multi-Timeframe Logic: Optimized to work seamlessly on 1m, 5m, 15m, and 30m charts without breaking the daily count.
Historical & Replay Compatibility: Unlike many session tools, this script is fully compatible with Bar Replay and displays historical data across several days (up to 500 labels).
Special Bar Highlighting: Includes a "Paint Bar" feature that allows you to choose a specific bar number (e.g., Bar 17) and automatically color the candle body for instant visual recognition.
Customizable Display: Filter for Odd/Even numbers to reduce chart clutter and adjust font size, color, and position (Above/Below bar).
💡 Why It Is Useful
In the modern trading environment, the market moves in cycles of liquidity and volatility that are often tied to specific times. This script is useful because:
Standardization: It provides a common language for traders. Instead of saying "the 10:50 AM candle," traders can refer to "Bar 17" (on a 5m chart), which is faster and more consistent.
Backtesting Accuracy: When reviewing past days or using Bar Replay, you can easily identify if your strategy triggers at the same relative time every day.
Visual Discipline: By highlighting a "Target Bar," you can train your eyes to wait for specific time windows before looking for a setup, helping to prevent overtrading during low-probability hours.
Operational Efficiency: It removes the manual work of counting bars from the open, allowing you to focus entirely on price action and order flow.
How to Use
Install the script on any intraday timeframe (best on 5m or 15m).
Adjust Lookback: Use the settings to determine how many historical days you want to view.
Identify Patterns: Use the "Special Bar Highlight" to mark the bar where your strategy most frequently triggers.






















