DCA by Vuong Thai v2 %verview of "DCA by Vuong Thai %" – Upgraded Version
Main Function:
This script automatically detects optimal DCA (Dollar-Cost Averaging) buy points and smart profit-taking zones based on a combination of technical signals: EMA, candlestick patterns, volume, RSI, and price distance from EMA.
It helps you optimize capital allocation using a structured averaging-down strategy and exit trades when a target price range is reached.
✅ Buy Logic (Buy Signal)
A buy signal is triggered when all of the following conditions are met:
Strong bullish candlestick: Green candle with a longer lower wick than upper wick
Price is below the EMA → indicating a downtrend
Volume is above the moving average (if volume filtering is enabled)
Price is at least a certain percentage below the EMA (e.g., ≥ 1%)
RSI is below 30 → indicating an oversold condition
No repeat buys unless price makes a new low → helps avoid premature entries
👉 When a buy signal appears:
A DCA Zone (buy region) is drawn on the chart
A label with the corresponding DCA percentage is displayed automatically (e.g., "DCA 5%", "DCA 10%")
指標和策略
Contrarian Market Structure BreakMarket Structure Break application was inspired and adapted from Market Structure Oscillator indicator developed by Lux Algo. So much credit to their work.
This indicator pairs nicely with the Contrarian 100 MA and can be located here:
Indicator Description: Contrarian Market Structure BreakOverview
The "Contrarian Market Structure Break" indicator is a versatile tool tailored for traders seeking to identify potential reversal opportunities by analyzing market structure across multiple timeframes. Built on Institutional Concepts of Structure (ICT), this indicator detects Break of Structure (BOS) and Change of Character (CHoCH) patterns across short-term, intermediate-term, and long-term swings, plotting them with customizable lines and labels. It generates contrarian buy and sell signals when price breaks key swing levels, with a unique "Blue Dot Tracker" to monitor consecutive buy signals for trend confirmation. Optimized for the daily timeframe, this indicator is adaptable to other timeframes with proper testing, making it ideal for traders of forex, stocks, or cryptocurrencies.
How It Works
The indicator combines three key components to provide a comprehensive view of market dynamics: Multi-Timeframe Market Structure Analysis: It identifies swing highs and lows across short-term, intermediate-term, and long-term periods, plotting BOS (continuation) and CHoCH (reversal) events with customizable line styles and labels.
Contrarian Signal Generation: Buy and sell signals are triggered when the price crosses below swing lows (buy) or above swing highs (sell), indicating potential reversals in overextended markets.
Blue Dot Tracker: A unique feature that counts consecutive buy signals ("blue dots") and highlights a "Hold Investment" state with a yellow background when three or more buy signals occur, suggesting a potential trend continuation.
Signals are visualized as small circles below (buy) or above (sell) price bars, and a table in the bottom-right corner displays the blue dot count and recommended action (Hold or Flip Investment), enhancing decision-making clarity.
Mathematical Concepts Swing Detection: The indicator identifies swing highs and lows by comparing price patterns over three bars, ensuring robust detection of pivot points. A swing high occurs when the middle bar’s high is higher than the surrounding bars, and a swing low occurs when the middle bar’s low is lower.
Market Structure Logic: BOS is detected when the price breaks a prior swing high (bullish) or low (bearish) in the direction of the current trend, while CHoCH signals a potential reversal when the price breaks a swing level against the trend. These are calculated across three timeframes for a multi-dimensional perspective.
Blue Dot Tracker: This feature counts consecutive buy signals and tracks the entry price. If three or more buy signals occur without a sell signal, the indicator enters a "Hold Investment" state, marked by a yellow background, until the price exceeds the entry price or a sell signal occurs.
Entry and Exit Rules Buy Signal (Blue Dot Below Bar): Triggered when the closing price crosses below a swing low on either the intermediate-term or long-term timeframe, suggesting an oversold condition and potential reversal upward. Short-term signals can be enabled but are disabled by default to reduce noise.
Sell Signal (White Dot Above Bar): Triggered when the closing price crosses above a swing high on either the intermediate-term or long-term timeframe, indicating an overbought condition and potential reversal downward.
Blue Dot Tracker Logic: After a buy signal, the indicator increments a blue dot counter and records the entry price. If three or more consecutive buy signals occur (blueDotCount ≥ 3), the indicator enters a "Hold Investment" state, highlighted with a yellow background, suggesting a potential trend continuation. The "Hold Investment" state ends when the price exceeds the entry price or a sell signal occurs, resetting the counter.
Exit Rules: Traders can exit buy positions when a sell signal appears, the price exceeds the entry price during a "Hold Investment" state, or based on additional confirmation from BOS/CHoCH patterns or other technical analysis tools. Always use proper risk management.
Recommended Usage
The indicator is optimized for the daily timeframe, where it effectively captures significant reversal and continuation patterns in trending or ranging markets. It can be adapted to other timeframes (e.g., 1H, 4H, 15M) with careful testing of settings, particularly enabling/disabling short-term structure analysis to suit market conditions. Backtesting is recommended to optimize performance for your chosen asset and timeframe.
Customization Options Market Structure Display: Toggle short-term, intermediate-term, and long-term structures on or off, with customizable line styles (solid, dashed, dotted) and colors for bullish and bearish breaks.
Labels: Enable or disable BOS/CHoCH labels for each timeframe to reduce chart clutter.
Signal Visibility: Hide buy/sell signals if desired for a cleaner chart.
Blue Dot Tracker: Monitor the blue dot count and action (Hold or Flip Investment) via the table display, which is fully customizable in terms of position and appearance.
Why Use This Indicator?
The "Contrarian Market Structure Break" indicator offers a robust framework for identifying high-probability reversal and continuation setups using ICT principles. Its multi-timeframe analysis, clear signal visualization, and innovative Blue Dot Tracker provide traders with actionable insights into market dynamics. Whether you're a swing trader or a day trader, this indicator’s flexibility and intuitive design make it a valuable addition to your trading arsenal.
Note for TradingView Moderators
This script complies with TradingView's House Rules by providing an educational and transparent description without performance claims or guarantees. It is designed to assist traders in technical analysis and should be used alongside proper risk management and personal research. The code is original, well-documented, and includes customizable inputs and clear visual outputs to enhance the user experience.
Tips for Users:
Backtest thoroughly on your chosen asset and timeframe to validate signal reliability. Combine with other indicators or price action analysis for confirmation of entries and exits. Adjust timeframe settings and enable/disable short-term structures to match market volatility and your trading style.
Hope the "Contrarian Market Structure Break" indicator enhances your trading strategy and helps you navigate the markets with confidence! Happy trading!
Trend Band Oscillator📌 Trend Band Oscillator
📄 Description
Trend Band Oscillator is a momentum-based trend indicator that calculates the spread between two EMAs and overlays it with a volatility filter using a standard deviation band. It helps traders visualize not only the trend direction but also the strength and stability of the trend.
📌 Features
🔹 EMA Spread Calculation: Measures the difference between a fast and slow EMA to quantify short-term vs mid-term trend dynamics.
🔹 Volatility Band Overlay: Applies an EMA of standard deviation to the spread to filter noise and highlight valid momentum shifts.
🔹 Color-Based Visualization: Positive spread values are shown in lime (bullish), negative values in fuchsia (bearish) for quick directional insight.
🔹 Upper/Lower Bands: Help detect potential overbought/oversold conditions or strong trend continuation.
🔹 Zero Line Reference: A horizontal baseline at zero helps identify trend reversals and neutral zones.
🛠️ How to Use
✅ Spread > 0: Indicates a bullish trend. Consider maintaining or entering long positions.
✅ Spread < 0: Indicates a bearish trend. Consider maintaining or entering short positions.
⚠️ Spread exceeds bands: May signal overextension or strong momentum; consider using with additional confirmation indicators.
🔄 Band convergence: Suggests weakening trend and potential transition to a ranging market.
Recommended timeframes: 1H, 4H, Daily
Suggested complementary indicators: RSI, MACD, OBV, SuperTrend
✅ TradingView House Rules Compliance
This script is open-source and published under Pine Script v5.
It does not repaint, spam alerts, or cause performance issues.
It is designed as an analytical aid only and should not be considered financial advice.
All calculations are transparent, and no external data sources or insecure functions are used.
====================================================================
📌 Trend Band Oscillator
📄 설명 (Description)
Trend Band Oscillator는 두 개의 EMA 간 스프레드(차이)를 기반으로 한 모멘텀 중심의 추세 오실레이터입니다. 여기에 표준편차 기반의 변동성 밴드를 적용하여, 추세의 방향뿐 아니라 강도와 안정성까지 시각적으로 분석할 수 있도록 설계되었습니다.
📌 주요 특징 (Features)
🔹 EMA 기반 스프레드 계산: Fast EMA와 Slow EMA의 차이를 활용해 시장 추세를 정량적으로 표현합니다.
🔹 표준편차 필터링: Spread에 대해 EMA 및 표준편차 기반의 밴드를 적용해 노이즈를 줄이고 유효한 추세를 강조합니다.
🔹 컬러 기반 시각화: 오실레이터 값이 양수일 경우 초록색, 음수일 경우 마젠타 색으로 추세 방향을 직관적으로 파악할 수 있습니다.
🔹 밴드 범위 시각화: 상·하위 밴드를 통해 스프레드의 평균 편차 범위를 보여주며, 추세의 강약과 포화 여부를 진단할 수 있습니다.
🔹 제로 라인 표시: 추세 전환 가능 지점을 시각적으로 확인할 수 있도록 중심선(0선)을 제공합니다.
🛠️ 사용법 (How to Use)
✅ 오실레이터가 0 이상 유지: 상승 추세 구간이며, 롱 포지션 유지 또는 진입 검토
✅ 오실레이터가 0 이하 유지: 하락 추세 구간이며, 숏 포지션 유지 또는 진입 검토
⚠️ 상·하위 밴드를 이탈: 일시적인 과매수/과매도 혹은 강한 추세 발현 가능성 있음 → 다른 보조지표와 함께 필터링 권장
🔄 밴드 수렴: 추세가 약해지고 있음을 나타냄 → 변동성 하락 또는 방향성 상실 가능성 있음
권장 적용 시간대: 1시간봉, 4시간봉, 일봉
보조 적용 지표: RSI, MACD, OBV, SuperTrend 등과 함께 사용 시 신호 필터링에 유리
✅ 트레이딩뷰 하우스룰 준수사항 (TV House Rules Compliance)
이 지표는 **무료 공개용(Open-Source)**이며, Pine Script Version 5로 작성되어 있습니다.
과도한 리페인트, 비정상적 반복 경고(alert spam), 실시간 성능 저하 등의 요소는 포함되어 있지 않습니다.
사용자는 본 지표를 투자 결정의 참고용 보조 도구로 활용해야 하며, 독립적인 매매 판단이 필요합니다.
데이터 소스 및 계산 방식은 완전히 공개되어 있으며, 외부 API나 보안 취약점을 유발하는 구성 요소는 없습니다.
[Enhanced] L1 Banker Move🧠 L1 Banker Move
This is a multi-layered momentum signal tool designed to reveal institutional activity before major price moves. It combines deep liquidity detection, price pressure dynamics, and short-term investor alignment to deliver actionable signals with clarity and precision.
Key Features:
🔴 Institutional Signal
Detects potential Level 1 banker moves based on deep price compression and long-term sweep logic (Lowest Low 90 + smoothed momentum spikes).
🔵 Institutional Build Phase
Shows stealth accumulation/distribution zones using low volatility buildup and compression-based ratios over the past 30 bars.
🟢 Short-Term Investor Signal
Confirms price shifts with VWAP cross, SMA structure, and fast/slow EMA delta acceleration. Useful for timing precision entries after institutional setups.
💜 Combined Strength Histogram
A composite momentum bar that blends all three layers to visually rank the power of each setup.
🎯 Smart Highlighting & Alerts
Background turns red when an institutional signal appears without retail confirmation—flagging early entry traps or front-running zones. Includes alert conditions to notify you of optimal entry moments.
Customization:
Adjust the EMA delta sensitivity
Choose your preferred institutional timeframe (default: Daily)
جدول تقاطع المتوسطات وموقع المتوسط بالنسبة للسعر (دقيق)A moving average for the average and a varied and consolidated average in different formats, determining the direction of all moving and good averages.
Key Levels Cheat Sheet🎯 Overview
The Key Levels Cheat Sheet is a comprehensive TradingView indicator that displays 25+ critical price levels in a clean, organized table format. Inspired by professional trading platforms, this indicator eliminates chart clutter by
consolidating all essential support and resistance levels into a single, real-time updating reference table.
Perfect for day traders, swing traders, and scalpers who need instant visibility of key levels without drawing multiple lines on their charts.
📊 Features
Volume-Based Levels
- Session VWAP - Current day's volume weighted average price
- Weekly VWAP - Longer-term institutional trading level
- VWAP Bands (1σ, 2σ, 3σ) - Standard deviation bands showing price extension levels
Session-Based Levels (ICT Concepts)
- True Day Open - Midnight EST opening (ICT methodology)
- Futures Session Open - 6 PM EST futures market open
- Asia Session (9 PM - 1 AM EST) - Asian market high/low
- London Session (3 AM - 6 AM EST) - European market high/low
- NY AM Session (9:30 AM - 11 AM EST) - New York morning high/low
- NY PM Session (1:30 PM - 4 PM EST) - New York afternoon high/low
- Opening Range - Customizable 5/15/30-minute opening range
Historical Levels
- Prior Day/Week/Month - Previous period high/low levels
- 52-Week High/Low - Yearly extremes
- All-Time High/Low - Historical extremes
- Current Day High/Low - Today's range
Smart Money Structure
- Advanced Swing Detection - Market structure-based swing highs/lows
- Swept Range Detection - Automatically hides mitigated levels
- Real-Time Updates - Dynamic level detection
Technical Indicators
- EMAs (9, 21, 50) - Exponential moving averages
- SMAs (20, 50, 200) - Simple moving averages
Expected Move Calculation
- VIX-Based Range - Live VIX data integration
- Multiple Anchors - Calculate from True Day Open, NY Open, or Session Start
- Options Trading - Perfect for probability-based strategies
🎨 Display Features
Smart Table Design
- Auto-Sorting - Levels sorted from highest to lowest
- Color Coding - Green above price, red below price
- Distance Display - Shows percentage or points from current price
- 9 Position Options - Place table anywhere on chart
- Customizable Size - Adjustable text and opacity
Intelligent Filtering
- Hide Swept Ranges - Automatically removes broken levels
- Toggle Individual Levels - Show only what you need
- Clean Interface - No chart clutter
💡 Use Cases
Day Trading
- Track key intraday levels without cluttering charts
- Monitor session highs/lows for breakout trades
- Use VWAP and bands for mean reversion
- Opening range breakout strategies
Swing Trading
- Monitor weekly/monthly levels for position entries
- Track 52-week highs/lows for momentum plays
- Use prior period levels for support/resistance
Options Trading
- VIX-based expected move for strike selection
- Probability zones for credit spreads
- Key levels for pin risk assessment
Scalping
- Quick reference for immediate support/resistance
- VWAP bands for quick reversals
- Session levels for range trading
📚 Educational Value
Every setting includes detailed tooltips explaining:
- ICT (Inner Circle Trader) concepts
- Session trading strategies
- VWAP and standard deviation usage
- Expected move calculations
- Smart money structure
Perfect for traders learning advanced concepts while getting practical trading levels.
⚙️ Customization
Smart Defaults
- Essential levels enabled by default
- Less common levels disabled to reduce clutter
- Swept range hiding enabled for clean display
Full Control
- Toggle any level on/off
- Choose percentage or points display
- Adjust table position and appearance
- Customize for your trading style
🚀 Getting Started
1. Add to Chart - Works on any timeframe and instrument
2. Position Table - Choose from 9 positions
3. Enable Levels - Turn on levels relevant to your strategy
4. Start Trading - All levels update in real-time
📈 Why Use This Indicator?
- Save Time - No more drawing levels manually
- Stay Organized - All levels in one place
- Trade Better - Never miss a key level
- Learn Concepts - Educational tooltips included
- Professional Tool - Institutional-grade level tracking
🎓 Tips for Best Results
- Use on 1-15 minute charts for day trading
- Enable session levels for futures/forex trading
- Use expected move for options strategies
- Combine with your existing strategy for confluence
- Hide swept ranges to focus on active levels
---
The Key Levels Cheat Sheet transforms how you view and use support/resistance levels. Stop cluttering your charts with lines and start trading with clarity.
Tags: #levels #support #resistance #vwap #sessions #daytrading #scalping #options #expectedmove #smartmoney #ict #tradingview
Institutional Sessions Overlay (Asia/London/NY)Institutional Sessions Overlay is a professional TradingView indicator that visually highlights the main trading sessions (Asia, London, and New York) directly on your chart.
Customizable: Easily adjust session start and end times (including minutes) for each market.
Timezone Alignment: Shift session boxes using the timezone offset parameter so sessions match your chart’s timezone exactly.
Clear Visuals: Colored boxes and optional labels display session opens and closes for fast institutional market structure reference.
Toggle Labels: Show or hide session open/close labels with a single click for a clean or detailed look.
Intuitive UI: User-friendly grouped settings for efficient configuration.
This tool is designed for day traders, institutional traders, and anyone who wants to instantly recognize global session timing and ranges for SMC, ICT, and other session-based strategies.
How to use:
Set your chart to your local timezone.
Use the "Session timezone offset" setting if session boxes do not match actual session opens on your chart.
Adjust the hours and minutes for each session as needed.
Enable or disable labels in the “Display” settings group.
Tip: Use the overlay to spot session highs and lows, volatility windows, and institutional liquidity sweeps.
Market Breadth TableDisplay overall market condition, can select different trading market NYSE or NASDAQ, if declining stock number is more than advancing same day is not good for heavy traded long position
You can adjust the table position in the chart as well
10/50 EMA Cloud + 21 EMA + VWAP + FractalsThis indicator is designed for active traders and combines several popular technical analysis tools into a single, easy-to-use overlay. It helps traders identify trend direction, dynamic support and resistance, and potential reversal points, all while providing optional fractal signals for added clarity.
Features and Components
1. EMA Cloud (10/50 EMA)
10-period EMA (Exponential Moving Average): Tracks short-term price momentum.
50-period EMA: Represents a longer-term trend.
Cloud Visualization: The area between the 10 and 50 EMA is filled with color:
Green cloud when the 10 EMA is above the 50 EMA, signaling bullish momentum.
Red cloud when the 10 EMA is below the 50 EMA, signaling bearish momentum.
Purpose: Quickly visualize the prevailing trend and potential trend shifts.
2. 21-period EMA
21 EMA: Plotted as a blue line, this moving average is widely used to gauge intermediate-term trend and dynamic support/resistance.
Purpose: Acts as a reference for trend-following entries and exits.
3. VWAP (Volume Weighted Average Price)
VWAP Line: Plotted in orange, VWAP gives the average price weighted by volume for the session.
Purpose: Useful for identifying fair value, potential bounce/reversal zones, and institutional interest levels.
4. Fractals (Toggleable)
User Option: A setting allows the user to turn fractal signals on or off.
Fractal Logic: Uses a 5-bar pattern:
Up Fractal: Plots a green triangle above the bar if the high of the middle bar (2 bars ago) is higher than the highs of the two bars before and after.
Down Fractal: Plots a red triangle below the bar if the low of the middle bar (2 bars ago) is lower than the lows of the two bars before and after.
Purpose: Highlights potential short-term reversal points or swing highs/lows.
5. Volume Bars
Volume Histogram: Plotted in gray at the bottom of the chart.
Purpose: Provides context for price action, helping to confirm breakouts or identify exhaustion.
How to Use This Indicator
Trend Identification: Use the EMA cloud and 21 EMA to determine the prevailing trend. Trade in the direction of the cloud color and EMA alignment.
VWAP Strategies: Look for price reactions at the VWAP for possible rebounds, breakouts, or reversals.
Fractal Signals: Enable fractals to spot potential reversal zones or to fine-tune entries/exits at swing points.
Volume Confirmation: Use volume bars to validate the strength of moves, especially near key EMAs or VWAP.
Customization
Fractals On/Off: Easily toggle fractal signals in the indicator settings to reduce chart clutter or focus on other signals as needed.
Aggregated VolumeHow to Read the “Aggregated Volume” Signal
This indicator combines normalized volume, short-term volume bursts, pivot levels, VWAP, and a 200-period EMA to give you a multi-dimensional view of trading activity. Here’s how to interpret each component and synthesize them into actionable insights.
1. Custom Volume Signal (vSignal)
• Calculation
• vSignal = Sum of over bars, divided by the current price.
• A rising vSignal means more volume is being traded per unit of price, signaling growing interest relative to price level.
• Plot styling
• Bars are lime when (bullish volume days)
• Bars are orange when (bearish volume days)
How to read it
• Trend confirmation: Increasing lime bars alongside rising price suggests buyers in control.
• Warning sign: Rising orange bars on a down move indicate accelerating selling pressure.
• Divergence:
• Price making new highs while vSignal stalls or drops → potential top.
• Price making new lows while vSignal holds → potential bottom.
2. Short-Term Volume Bursts
Three semi-transparent histograms show how much the last 2, 5, and 10-bar raw volumes exceed (or fall below) the current vSignal:
• Blue = vol(2) – vSignal
• Green = vol(5) – vSignal
• Red = vol(10) – vSignal
If a colored bar sits above zero, that lookback’s volume is surging relative to the longer-term average (vSignal).
How to read it
• Clustered bursts:
• Blue + Green + Red above zero → strong, broad-based volume surge.
• Great for confirming breakouts and shakeouts.
• Isolated burst:
• Only Blue (> 0) on a small range bar → might be a false breakout or intrabar squeeze.
• Only Red (> 0) on a wide range → institutional involvement; act with caution.
3. Pivot Volume Levels (v & t)
• Every 21 bars, the script finds the highest and lowest vSignal values and plots them as shaded price levels:
• Magenta area = recent vSignal high (resistance)
• Cyan area = recent vSignal low (support)
How to read it
• Rejection/Break:
• Price approaches magenta zone and stalls → sellers defending that volume high.
• Break above magenta with high vSignal → likely sustained rally.
• Support flip:
• Cyan zone hold → buyers stepping in at heavy-volume lows.
• Break below cyan with rising vSignal → bearish conviction.
4. Midline Cross (Volume Equilibrium)
• A 10-bar SMA of
• Drawn as a faint white cross on price
How to read it
• Above midline → overall volume bias is skewed bullish.
• Below midline → bearish volume bias.
Crossovers of vSignal through this midline can signal shifts in underlying conviction.
5. VWAP & 200-Period EMA Overlays
• VWAP (transparent red if above price, green if below)
• EMA(200) plotted as aqua circles
How to read them
• VWAP tells you the intraday “value area.”
• Price above VWAP + rising vSignal = intraday buyers in charge.
• Price below VWAP + rising vSignal = aggressive sellers.
• EMA(200) gives you the longer-term trend.
• Above EMA200 = bullish regime
• Below EMA200 = bearish regime
6. Putting It All Together: Example Scenarios
1. Bullish Entry
• Price > EMA200 & VWAP is green
• vSignal rising in lime
• All three short-term bursts above zero
• Price near or breaking the magenta pivot with volume confirmation
2. Bearish Entry
• Price < EMA200 & VWAP is red
• vSignal rising in orange
• Two-bar burst (blue) spikes on a down bar
• Price failing at magenta pivot or breaking cyan support
3. Divergence Play
• Price makes new high, but vSignal peaks lower than last high → look for a reversal.
• Price drops to new low, but vSignal stays above its last low → prepare for a bounce.
By combining these layers—normalized volume, burst indicators, pivot levels, VWAP, and EMA—you get a clear map of where volume is clustering, which lets you anticipate support/resistance, gauge real interest, and spot potential reversals or breakouts with greater confidence.
20/40/6020/40/60 candle separator. Three lines only on all timeframes. Range length and height included. Doesn't mess up the scaling. Togglable elements and movable lines.
Moving Average 20/34/50/99/200/400/1400Multiple Daily moving average with multipple time scales 20 34 50 99 200 14001sd1112233 23
Quarterly Theory Levels - Period BasedOpen, true open, market close for daily weekly, monthly, quarterly, yearly.
EMA Cross by RA4 ema indicator, shows buy sell signal on the cross of ema 1 and ema 2, ema 3 and ema 4 are optional to add, and may be of any length/period.
Trend Strength Oscillator📌 Trend Strength Oscillator
📄 Description
Trend Strength Oscillator measures the directional strength of price relative to an adaptive dynamic trend band. It evaluates how far the current price is from the midpoint of a trend channel and normalizes this value by recent volatility range, allowing traders to detect trend strength, direction, and potential exhaustion in any market condition.
📌 Features
🔹 Adaptive Trend Band Logic: Uses a modified ATR and time-dependent spread formula to dynamically adjust upper and lower trend bands.
🔹 Trendline Midpoint Calculation: The central trendline is defined as the average between upper and lower bands.
🔹 Relative Positioning: Measures how far the close is from the center of the band as a percentage.
🔹 Range Normalization: Uses a normalized range to account for recent volatility, reducing noise in the oscillator reading.
🔹 Oscillator Output (±100 scale):
+100 indicates strong bullish momentum
-100 indicates strong bearish momentum
0 is the neutral centerline
🛠️ How to Use
✅ Trend Strength > +50: Indicates a strong bullish phase.
✅ Trend Strength < -50: Indicates a strong bearish phase.
⚠️ Crossing above 0: Potential bullish trend initiation.
⚠️ Crossing below 0: Potential bearish trend initiation.
📉 Values near 0: Suggest trend weakness or ranging conditions.
Best suited timeframes: 1H, 4H, Daily
Ideal combination with: RSI, MACD, volume-based oscillators, moving average crosses
✅ TradingView House Rules Compliance
This indicator is written in Pine Script v5 and fully open-source.
The script does not repaint, does not generate false alerts, and does not access external or private data.
It is intended strictly as a technical analysis tool, and not a buy/sell signal generator.
Users are encouraged to combine this tool with other confirmations and independent judgment in trading decisions.
=========================================================
📌 Trend Strength Oscillator
📄 설명 (Description)
Trend Strength Oscillator는 가격이 동적 추세 밴드 내 어디에 위치해 있는지를 정량적으로 분석하여, 추세의 방향성과 강도를 시각적으로 보여주는 오실레이터 지표입니다. 최근 변동성을 반영한 밴드를 기반으로 가격 위치를 정규화하여, 과매수·과매도 상태나 추세의 소멸 가능성까지 탐지할 수 있도록 설계되었습니다.
📌 주요 특징 (Features)
🔹 적응형 추세 밴드 계산: ATR과 시간 경과를 기반으로 상단/하단 밴드를 동적으로 조정
🔹 중심 추세선 산출: 상단과 하단 밴드의 평균값을 중심선으로 활용하여 기준 축 제공
🔹 상대 위치 계산: 현재 종가가 중심선에서 얼마나 떨어져 있는지를 정규화하여 추세 강도 계산
🔹 변동성 기반 정규화: 최근 밴드 범위를 기준으로 상대 거리를 0~100 사이 값으로 변환
🔹 오실레이터 출력 (범위: ±100):
+100에 가까울수록 강한 상승 추세
-100에 가까울수록 강한 하락 추세
0에 가까울수록 횡보 구간 가능성
🛠️ 사용법 (How to Use)
✅ +50 이상: 강한 상승 추세 지속 중
✅ -50 이하: 강한 하락 추세 지속 중
⚠️ 0선 돌파 상향: 상승 추세 시작 가능성
⚠️ 0선 돌파 하향: 하락 추세 시작 가능성
🟡 0 근처 유지: 추세 약화 또는 횡보장 가능성
추천 시간대: 1시간봉, 4시간봉, 일봉
보조 지표로 추천: RSI, MACD, OBV, 이동평균 크로스 등과 함께 활용 시 효과적
✅ 트레이딩뷰 하우스룰 준수사항 (TradingView House Rules Compliance)
본 지표는 Pine Script v5로 작성된 오픈소스 공개용 스크립트입니다.
리페인트(Repaint) 현상이 없으며, **허위 경고(Spam Alerts)**나 성능 저하 요소도 없습니다.
외부 데이터 접근 없이 완전히 자체 계산으로 동작합니다.
이 지표는 투자 판단을 돕기 위한 분석용 도구이며, 직접적인 매수·매도 신호로 사용해서는 안 됩니다.
모든 트레이딩은 사용자의 독립적인 판단과 책임 하에 이루어져야 합니다.
Logarithmic Moving Average Convergence DivergenceLogarithmic Moving Average Convergence Divergence with crossing
上涨动能This indicator calculates and visualizes the difference between the 20-period EMA and the 120-period EMA, helping traders identify medium-term momentum shifts in price action.
What It Does:
✅ Calculates the difference: Diff=EMA20 − EMA120
✅ Plots a line representing this difference for clear trend tracking.
✅ Plots a histogram (colored bars): Green bars indicate the EMA20 is above EMA120, suggesting bullish momentum. Red bars indicate the EMA20 is below EMA120, suggesting bearish momentum.
✅ Includes a zero baseline for easy reference: When the value crosses above zero, it indicates a potential bullish shift. When it crosses below zero, it indicates a potential bearish shift.
How to Use:
✅Use this indicator to visualize trend momentum in your crypto, forex, or stock trading.
✅Combine with your entry/exit signals (e.g., RSI, volume spikes, price action levels) to refine your strategy.
✅A rising Diff suggests strengthening bullish momentum, while a falling Diff suggests strengthening bearish momentum.
Why It’s Useful:
✅ Filters noise by using EMA smoothing on both short and long periods.
✅ Helps identify momentum shifts early without being overly sensitive to short-term volatility.
✅ Easy to integrate into trend-following or pullback strategies.
Hidden Markov ModelOverview
This model uses a Hidden Markov Model to identify and predict market regimes in real-time. It is designed to probabilistically identify market regime changes and predict potential reversal point using a forward algorithm to calculate the probability of a state.
Unlike traditional technical indicators that rely on price patterns or moving averages, this HMM analyses the underlying statistical structure of market movements to detect when the market transitions between different behavioural states such as trending, ranging, or volatile periods
How it works
The HMM assumes that market behavior follows hidden states that aren't directly observable, but can be inferred from observable market data (emissions). The model uses a (somewhat simplified) Bayesian inference to estimate these probabilities.
State 0: (Normal Trading): Market continuation patterns, balanced buying/selling
State 1: (Top Formation): Exhaustion patterns at price highs
State 2: (Bottom Formation): Capitulation patterns at price lows
How to use
1) Identify the trend (you can also use it counter-trend)
2) For longing, look for a green arrow. The probability values should be red. For shorting, look for a red arrow. The probability values should be green
3) For added confluence, look for high probability values of above 25%.
Advantages and what makes it unique
Unlike moving averages or oscillators that react to price changes, the HMM proactively identifies the underlying market structure. This forward-looking approach can signal regime changes before they become apparent in price action, providing traders with an informational edge.
Candle Range Theory (CRT) indicator📌 Indicator Name: Candle Range Theory (CRT) indicator
This indicator detects potential bullish and bearish reversal setups based on specific candlestick price action behavior. It is designed to highlight moments when the market may be rejecting extremes and preparing to reverse direction — but only after confirmation with the closing price.
🔍 How It Works:
Bullish Setup (Long Signal):
The previous candle is bearish (closes lower than it opens).
The current candle makes a lower low than the previous one.
The current candle closes above the previous candle’s close.
Bearish Setup (Short Signal):
The previous candle is bullish (closes higher than it opens).
The current candle makes a higher high than the previous one.
The current candle closes below the previous candle’s close.
Signals are only triggered after the bar is fully closed, to avoid premature entries.
🔔 The script includes alert conditions for both long and short setups so you can receive notifications instantly.
🎥 Inspiration:
The idea for this indicator came from the excellent educational content presented in this video:
"How to Read Candlesticks Like a Pro"
We highly recommend watching it to better understand the price action principles behind this signal.
Dynamic Spot vs Perps Premium (Area Plot)This is a script to give you an easy overall view on the spot perp premium which could indicate the momentum is drove by spot or perps
EdgeXplorer - Dynamic Price ActionEdgeXplorer – Dynamic Price Action
Dynamic Price Action by EdgeXplorer is a high-precision structural framework that detects and maps market structure shifts, liquidity zones, and sweep events in real time. Built for traders who prioritize price behavior over indicators, this suite intelligently interprets swing pivots, volatility ranges, and institutional footprints to surface key decision-making zones on your chart.
Whether you trade Smart Money Concepts (SMC), classical price action, or hybrid strategies, Dynamic Price Action helps you visualize where price is reacting, where it’s hunting stops, and when structure is shifting — without the noise.
⸻
🔍 What Does Dynamic Price Action Do?
This indicator tracks three core elements:
1. Market Structure Shifts – Bullish and bearish swing breaks (BOS and MSS)
2. Liquidity Zones – Dynamic detection of potential buy-side and sell-side liquidity pools
3. Sweep Events – Real-time detection when liquidity is taken out (aka stop hunts or raids)
It also contains logic for Order Block detection, giving you a foundational structure for further Smart Money analysis (note: OB visuals are currently off by default but fully supported).
⸻
⚙️ How It Works – Technical Breakdown
1. Market Structure (BOS / MSS)
• Detects swing highs and lows using a 3-bar pivot system
• When a valid swing is confirmed:
• A BOS (Break of Structure) line is drawn for bullish shifts
• An MSS (Market Structure Shift) line is drawn for bearish transitions
• Lines are plotted with customizable styles and optional labels
2. Liquidity Detection
• Liquidity zones are marked based on:
• Recent confirmed swing highs or lows
• ATR-based range check (swing must exceed Liquidity Sensitivity threshold)
• Post-swing candle direction (bullish or bearish close)
• Sell-Side Liquidity = swing highs likely containing stop clusters
• Buy-Side Liquidity = swing lows likely containing stop clusters
• Each zone is tagged visually and stored for later sweep checks
3. Sweep Recognition
• If price breaches a previously tagged liquidity level:
• A “Sell Sweep” label appears above the former sell-side zone
• A “Buy Sweep” label appears below the former buy-side zone
• Zones are removed after being swept to reduce clutter
4. Order Block Logic (Optional)
• The script includes full logic to detect bullish/bearish order blocks based on:
• Body-based or wick-based structure (user preference)
• Candle volume criteria
• Visuals are turned off for now but can be easily re-enabled
⸻
📈 What You See on the Chart
Visual Element Meaning
Green BOS Line Bullish break of market structure (higher high)
Red MSS Line Bearish shift in structure (lower low)
“Sellside Liquidity” Label Area above a swing high likely to hold resting liquidity
“Buyside Liquidity” Label Area below a swing low likely to hold resting liquidity
“Sell Sweep” Label A stop hunt above a prior high
“Buy Sweep” Label A stop hunt below a prior low
All elements are dynamically drawn, adapting to price behavior with zero repainting.
⸻
📊 Inputs & Settings Explained
Market Structures
Setting Description
Enable Market Structures Toggle BOS/MSS logic
Detection Mode Conceptual filter: Short-Term, Mid-Term, Long-Term (doesn’t affect logic)
Show Labels Display BOS and MSS labels above/below structure
Line Style Choose between Solid, Dashed, or Dotted
Bullish/Bearish Colors Customize line and label appearance
Liquidity Zones
Setting Description
Liquidity Sensitivity How large a swing must be (ATR multiplier) to qualify as a liquidity point
Order Blocks
Setting Description
Use Candle Body If true, OB zones are based on open/close instead of high/low
⸻
🧠 How Traders Can Interpret Dynamic Price Action
Structure-Based Bias:
• BOS = bullish structure continuing → look for long setups
• MSS = bearish structure breaking down → caution for reversals
Liquidity Zones:
• Price nearing a Sellside Liquidity zone? Watch for sweep + rejection
• Price tapping Buyside Liquidity? Look for absorption or reversal
Sweep Events:
• A Buy Sweep can signal accumulation
• A Sell Sweep can mark distribution or a trap breakout
Use sweeps as confirmation, trap detection, or entry filters.
⸻
🧪 Strategy Use Cases
• 🔍 Smart Money Concepts (SMC): Combine BOS/MSS + sweeps for refined CHoCH entries
• 🔄 Reversal Traders: Wait for sweep + structure shift before entering against prior trend
• 📉 Trend Continuation: Use BOS + liquidity clears to confirm direction
• 🎯 Scalping: Sweep zones act as high-probability entry areas on LTFs