Ex Highset the High that we want to set , such as 10 days, 20 days, 60 days, 120 days, 250 days, etc.
Indicators and strategies
S&P500 Screener Logic with Market Cap (v6)The script uses indicators to show if a equity is good enough for investment
Turtle Trading System + ATRTurtle Trading System + ATR
This Pine Script v5 indicator implements a Turtle Trading System with ATR integration.
It plots a 20-day high (red), 20-day low (blue), and an ATR-based level (orange) shifted upward by a user-defined percentage (default 5%).
Customizable inputs include lookback period (default 20), ATR period (default 14), and ATR offset.
Dynamic labels show the 20-day high, low, and ATR values at the current bar, updating with price.
Suitable for trend-following strategies, it highlights breakout and volatility levels.
Universal ATR Grid from Entry Price with AlertsUniversal ATR Grid from Entry Price with Alerts
This Pine Script v6 indicator creates a dynamic price grid based on a user-defined entry price and ATR for selected instruments (SOLUSDT, XRPUSDT, DOGEUSDT, PEPEUSDT, WIFUSDT).
Users can customize the entry price, ATR, number of levels (up to 5), and step multiplier per instrument.
The grid shows long (green) and short (red) levels around the entry price (gray), with labels offset right.
Lines extend from labels to the current bar, updating dynamically.
Alerts trigger on breakouts of long, short, and entry levels. Instrument names can be modified in the script.
RSI Cross Alert (Overbought/Oversold)Alerts when RSI breaks below 70 and when RSI breach 30 and above
Gradient Candles + MACD + EMAs + WMA + EMA CrossGradient candles that change color based on MACD values selected under custom settings. Also display of the moving averages I use the most. EMA and MACD crosses can be displayed or turned off.
Volume Scanner (Spikes & Drops) [Context]
๐ก In many trading strategies, volume is used as a filter โ but not all volume matters.
What really counts are moments when volume suddenly spikes or drops โ these are the bars where something important might be happening: a large player enters the market, a fakeout occurs, or a trend shift begins.
๐ฏ What this indicator does:
This script highlights only the most significant volume anomalies, filtering out the noise and focusing on real movement:
๐บ Green background = Volume Spike (sudden increase)
๐ป Red background = Volume Drop (sudden decrease)
๐ Optional contextual filter:
Enable price context to show signals only when volume shifts occur alongside a breakout of recent high/low.
Fully customizable: control the strength of spikes/drops, the lookback period, and the minimum gap between signals.
๐ฆ Great for:
Adding a clean volume filter to price action strategies
Quickly spotting key volume bars in real time
Works on any timeframe and market (crypto, forex, stocks, indices)
Multiple of Net Asset Value (mNAV)This TradingView indicator calculates and displays the multiple of Net Asset Value (mNAV) for a selected symbol. It uses the asset symbol held, the quantity of assets held, and the number of outstanding shares to compute mNAV per share. The indicator compares the current price to mNAV, showing how many times the asset is trading above or below its mNAV. Users can configure up to four custom mNAV multiples for reference lines, helping to visualize overvaluation or undervaluation relative to mNAV. Ideal for analyzing ETFs, trusts, or crypto funds with transparent holdings.
WVAD with Gap Compensation**Indicator Name:** WVAD with Gap Compensation
**Purpose:** Enhances the classic Williams Vix Fix (WVAD) by incorporating the impact of price gaps (jump ups/downs) in its calculation.
**Key Features:**
1. **Gap Detection:** Automatically identifies significant gaps (default: >0.5% from prior bar's high/low).
2. **Gap Compensation:** Adjusts the WVAD calculation by adding the gap size to the daily price change.
3. **Dynamic Weighting:** Applies a multiplier (1.2x or 1.5x) to the WVAD value on days with medium/large gaps (based on ATR).
4. **Visualization:**
- Plots the enhanced WVAD line (blue) and optionally the original WVAD (gray circles).
- Marks gap events with colored arrows (green โฒ for gap up, red โผ for gap down) and connects the gap's impact with dashed lines.
- Includes a zero line for reference.
**Use Cases:**
- Gauges the true strength of money flow by accounting for gaps.
- Identifies potential trend shifts around gap events.
- Filters noise by focusing on significant gaps.
**Parameters:**
- `Accumulation Period`: Number of days to sum WVAD (default: 12).
- `Gap Threshold (%)`: Minimum gap size to trigger compensation (default: 0.5%).
- `Show Original WVAD`: Toggles display of the classic WVAD.
**Version:** Pine Scriptยฎ v6
AshishBediSPLThis tool, called "AshishBediSPL," is a special indicator for traders using TradingView. Its main purpose is to help you track and trade the combined price of a Call and a Put option at the same strike price, a strategy known as a Short Straddle.
What It Does:
Tracks Straddle Prices: You can select a specific Indian index or a stock like Reliance, choose a strike price and expiry date, and the indicator will show you the combined price of that Call and Put option as a single line on your chart.
Calculates Everything for You: You don't need to manually add the prices. The indicator automatically does the math to show you the total premium of the straddle.
Adds Trading Signals: You can turn on various popular trading tools (like VWAP, EMA, Supertrend, etc.). The indicator will then use these tools to automatically show "Buy" and "Sell" signals directly on the chart, helping you decide when to enter or exit a trade.
Customizable: You can choose which trading tools you want to use and adjust their settings to fit your personal trading style.
What is it Used For?
This indicator is specifically for traders who:
Trade a Short Straddle: This is a neutral options strategy where you expect the market to stay in a small range. The indicator helps you monitor the total premium you've collected.
Want to Simplify Analysis: Instead of looking at a Call chart and a Put chart separately, this tool combines them into one easy-to-read chart.
Use Technical Analysis: It helps you apply standard technical indicators directly to the combined premium price, giving you clear signals for your straddle trades.
Fair Value Gap Profiles [AlgoAlpha]๐ OVERVIEW
This script draws and manages Fair Value Gap (FVG) zones by detecting unfilled gaps in price action and then augmenting them with intra-gap volume profiles from a lower timeframe. It is designed to help traders find potential areas where price may return to fill liquidity voids, and to provide extra detail about volume distribution inside each gap to assess strength and likely mitigation. The script automatically tracks each gap, updates its state over time, and can show which gaps are still unfilled or have been mitigated.
๐ CONCEPTS
A Fair Value Gap is a zone between candles where no trades occurred, often seen as an inefficiency that price later revisits. The script checks each bar to see if a bullish (low above 2-bars-ago high) or bearish (high below 2-bars-ago low) gap has formed, and measures whether the gapโs size exceeds a threshold defined by a volatility-adjusted multiplier of past gap widths (to only detect significantly large gaps). Once a qualified gap is found, it gets recorded and visualized with a box that can stretch forward in time until filled. To add more context, a mini volume profile is built from a lower timeframeโs price and volume data, showing how volume is distributed inside the gap. The lowest-volume subzone is also highlighted using a sliding window scan method to visualise the true gap (area with least trading activity)
๐ FEATURES
Visual gap boxes that appear automatically when bullish or bearish fair value gaps are detected on the chart.
Color-coded zones showing bullish gaps in one color and bearish gaps in another so you can easily see which side the gap favors.
Volume profile histograms plotted inside each gap using data from a lower timeframe, helping you see where volume concentrated inside the gap area.
Highlight of the lowest-volume subzone within each gap so you can spot areas price may target when filling the gap.
Dynamic extension of the gap boxes across the chart until price comes back and fills them, marking them as mitigated.
Customizable colors and transparency settings for gap boxes, profiles, and low-volume highlights to match your chart style.
Alerts that notify you when a new gap is created or when price fills an existing gap.
๐ USAGE
This indicator helps you find and track unfilled price gaps that often act as magnets for price to revisit. You can use it to spot areas where liquidity may rest and plan entries or exits around these zones.
The colored gap boxes show you exactly where a fair value gap starts and ends, so you can anticipate potential pullbacks or continuations when price approaches them.
The intra-gap volume profile lets you gauge whether the gap was created on strong or thin participation, which can help judge how likely it is to be filled. The highlighted lowest-volume subzone shows where price might accelerate once inside the gap.
Traders often look for entries when price returns to a gap, aiming for a reaction or reversal in that area. You can also combine the mitigation alerts with your trade management to track when gaps have been closed and adjust your bias accordingly. Overall, the tool gives a clear visual reference for imbalance zones that can help structure trades around supply and demand dynamics.
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.
VW Delta DivergenceThis indicator compares multiple Volume Weighted Moving Averages (VWMA) against the VWAP to highlight momentum shifts and potential divergences in price action. It gives traders a unique perspective by measuring volume-sensitive delta values, smoothing optionality, and tracking divergences between price and indicator behavior.
โ๏ธ How to Use
1. Setup & Interpretation
โข Add the indicator to your chart and set your desired VWMA lengths (โ). These define how sensitive the deltas are to price and volume fluctuations.
โข The indicator plots the average delta between VWMA and VWAP. A positive value indicates that VWMA is above VWAP, suggesting bullish momentum; a negative value suggests bearish sentiment.
2. Visualization Features
โข Color-coded average delta line:
โข ๐ฃ Fuchsia when delta is positive (bullish bias)
โข ๐ง Aqua when delta is negative (bearish bias)
โข Optional histogram mode for visualizing delta strength
โข Dynamic opacity scaling helps highlight the intensity of divergence
3. Divergence Detection
โข Regular bullish divergence:
โข Price forms a lower low
โข Average delta forms a higher low
โข Regular bearish divergence:
โข Price forms a higher high
โข Average delta forms a lower high
โข These divergences are marked with green โฌ๏ธ and red โฌ๏ธ triangle shapes
4. Additional Momentum Signal
โข A 10-period SMA overlays the delta to hint at momentum shifts
โข If the SMA crosses the delta, the script triggers an alert condition titled โMomentum Shift Alertโ
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!
Monday Range +Monday Range+
A precision tool for early-week price action traders.
๐ง Features:
- Auto-draws Monday High, Low & Midrange
- Clear LONG/SHORT signal labels
- Midrange Reset (reloads trade logic)
- Ex-Line Protection (sweep filter)
- ยฝ Risk to Reward extension option
- Multi-Timeframe (MTF) support
๐ Trade Setup Logic:
LONG Setup:
- Valid only after Monday
- Price breaks below Monday Low
- Closes back above the Low and under the Midrange
- Candle must close higher than previous candle
- If Ex-Line Protection is on, trade is blocked if price swept below extension
- Enter at the Low of the range, target the High
SHORT Setup:
- Valid only after Monday
- Price breaks above Monday High
- Closes back below the High and above the Midrange
- Candle must close lower than previous candle
- If Ex-Line Protection is on, trade is blocked if price swept above extension
- Enter at the High of the range, target the Low
๐ฏ Ideal for liquidity fades and range reversal setups.
Crypto Breadth | AlphaNatt\ Crypto Breadth | AlphaNatt\
A dynamic, visually modern market breadth indicator designed to track the strength of the top 40 cryptocurrencies by measuring how many are trading above their respective 50-day moving averages. Built with precision, branding consistency, and UI enhancements for fast interpretation.
\ ๐ What This Script Does\
* Aggregates the performance of \ 40 major cryptocurrencies\ on Binance
* Calculates a \ breadth score (0.00โ1.00)\ based on how many tokens are above their moving averages
* Smooths the breadth with optional averaging
* Displays the result as a \ dynamic, color-coded line\ with aesthetic glow and gradient fill
* Provides automatic \ background zones\ for extreme bullish/bearish conditions
* Includes \ alerts\ for key threshold crossovers
* Highlights current values in an \ information panel\
\ ๐ง How It Works\
* Pulls real-time `close` prices for 40 coins (e.g., XRP, BNB, SOL, DOGE, PEPE, RENDER, etc.)
* Compares each coin's price to its 50-day SMA (adjustable)
* Assigns a binary score:
โข 1 if the coin is above its MA
โข 0 if itโs below
* Aggregates all results and divides by 40 to produce a normalized \ breadth percentage\
\ ๐จ Visual Design Features\
* Smooth blue-to-pink \ color gradient\ matching the AlphaNatt brand
* Soft \ glow effects\ on the main line for enhanced legibility
* Beautiful \ multi-stop fill gradient\ with 16 transition zones
* Optional \ background shading\ when extreme sentiment is detected:
โข Bullish zone if breadth > 80%
โข Bearish zone if breadth < 20%
\ โ๏ธ User Inputs\
* \ Moving Average Length\ โ Number of periods to calculate each coinโs SMA
* \ Smoothing Length\ โ Smooths the final breadth value
* \ Show Background Zones\ โ Toggle extreme sentiment overlays
* \ Show Gradient Fill\ โ Toggle the modern multicolor area fill
\ ๐ ๏ธ Utility Table (Top Right)\
* Displays live breadth percentage
* Shows how many coins (e.g., 27/40) are currently above their MA
\ ๐ Alerts Included\
* \ Breadth crosses above 50%\ โ Bullish signal
* \ Breadth crosses below 50%\ โ Bearish signal
* \ Breadth > 80%\ โ Strong bullish trend
* \ Breadth < 20%\ โ Strong bearish trend
\ ๐ Best Used For\
* Gauging overall market strength or weakness
* Timing trend transitions in the crypto market
* Confirming trend-based strategies with broad market support
* Visual dashboard in macro dashboards or strategy overlays
\ โ
Designed For\
* Swing traders
* Quantitative investors
* Market structure analysts
* Anyone seeking a macro view of crypto performance
Note: Not financial advise
Alanna IndicatorThe Alanna Indicator is a sophisticated analysis tool designed to move beyond simple price action and uncover the fundamental drivers behind a stock's behavior. Instead of relying on a single lagging indicator, this script provides a multi-dimensional view of a stock's character by adapting the Nobel prize-winning Fama-French Five-Factor Model and combining it with the power of Momentum.
The core of this indicator is its ability to identify a stock's current "Factor Regime"โwhether it is being perceived by the market primarily as a Value, Growth, Momentum, or other type of stock. By detecting shifts between these regimes and confirming them with price momentum, the Alanna Indicator generates high-conviction signals for potential entries and exits.
Normalized Fibonacci Retracement (MTF/LOG)A question: Instead of creating indicators that constantly plot Fibonacci Retracement levels in a visually overwhelming way, why don't we redefine them on a different scale? ๐คจ
Overview
The Normalized Fibonacci Retracement indicator converts price data to a 0-100 scale based on the selected timeframe's high-low range, displaying normalized candlesticks alongside standard Fibonacci levels (23.6%, 38.2%, 50%, 61.8%, 78.6%). This normalization reveals patterns that may be hidden in absolute price charts and allows consistent analysis across different instruments.
Originality
By normalizing prices to percentages, this indicator enables pattern recognition independent of absolute price levels. The same formation at $10-$20 and $1000-$2000 appears identical on the normalized scale, helping traders identify recurring structures across various assets and timeframes.
Concepts
The indicator uses a simple formula to transform price data into percentages. This creates a bounded scale where patterns become comparable regardless of the underlying asset's price range. The normalized view often reveals symmetries and relationships not visible in traditional price charts.
Mechanics
The system tracks highs and lows within the selected timeframe as anchor points. When a new period begins, fresh boundaries are established and prices recalculated. Trend direction is determined by timing of extremes. Linear scaling uses direct percentage calculation, while logarithmic scaling applies exponential interpolation for assets with large percentage moves.
Functions
Timeframe Selection: Higher timeframe analysis on any chart resolution
Normalized Display: OHLC data converted to 0-100 percentage scale
Fibonacci Levels: Standard retracement levels plotted automatically
Scaling Options: Linear or logarithmic calculation methods
Pattern Recognition: Reveals formations hidden in absolute price charts
Moving Average: Optional 20-period SMA overlay
Notes
Ensure chart data covers the full selected timeframe for accurate calculations. Use logarithmic scaling for volatile assets with large percentage moves. The normalized scale is effective at revealing patterns and structures that remain consistent across different price ranges, making it particularly useful for comparative analysis and pattern-based trading strategies.
I hope it helps everyone. Do not forget to manage your risk. And trade as safely as possible. Best of luck!
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)**๋ ์ฑ๋ฅ ์ ํ ์์๋ ์์ต๋๋ค.
์ธ๋ถ ๋ฐ์ดํฐ ์ ๊ทผ ์์ด ์์ ํ ์์ฒด ๊ณ์ฐ์ผ๋ก ๋์ํฉ๋๋ค.
์ด ์งํ๋ ํฌ์ ํ๋จ์ ๋๊ธฐ ์ํ ๋ถ์์ฉ ๋๊ตฌ์ด๋ฉฐ, ์ง์ ์ ์ธ ๋งค์ยท๋งค๋ ์ ํธ๋ก ์ฌ์ฉํด์๋ ์ ๋ฉ๋๋ค.
๋ชจ๋ ํธ๋ ์ด๋ฉ์ ์ฌ์ฉ์์ ๋
๋ฆฝ์ ์ธ ํ๋จ๊ณผ ์ฑ
์ ํ์ ์ด๋ฃจ์ด์ ธ์ผ ํฉ๋๋ค.
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๋ ๋ณด์ ์ทจ์ฝ์ ์ ์ ๋ฐํ๋ ๊ตฌ์ฑ ์์๋ ์์ต๋๋ค.
Absorption DetectorABSORPTION DETECTOR -
The Absorption Detector identifies institutional order flow by detecting "absorption" patterns where smart money quietly accumulates or distributes positions by absorbing retail order flow. This creates high-probability support and resistance zones for trading. This is an approximation only and does not read any footprint data.
WHAT IS ABSORPTION?
Absorption occurs when institutions take the opposite side of retail trades, creating specific candlestick patterns with high volume and significant wicks. The indicator identifies two main patterns:
SELLING ABSORPTION (P-Pattern): Red zones above candles where institutions sell into retail buying pressure, creating resistance levels. Look for high volume candles with large upper wicks that close in the lower half.
BUYING ABSORPTION (B-Pattern): Green zones below candles where institutions buy from retail selling pressure, creating support levels. Look for high volume candles with large lower wicks that close in the upper half.
KEY FEATURES
- Automatic detection of institutional absorption patterns
- Dynamic support and resistance zone creation
- Customizable styling for all visual elements
- Historic zone display for backtesting analysis
- Strength-based filtering to show only high-probability setups
- Real-time alerts for new absorption patterns
- Professional info panel with key statistics
- Multi-timeframe compatibility
MAIN SETTINGS
Volume Threshold (1.2): Minimum volume surge required compared to average. Higher values = fewer but stronger signals.
Minimum Volume (2500): Absolute volume floor to prevent signals during low-volume periods.
Min Wick Size (0.2): Minimum wick size as ATR multiple. Ensures significant rejection occurred.
Minimum Strength (1.5): Combined volume and wick strength filter. Higher values = higher quality signals.
Show Historic Zones (OFF): Enable to see all historical zones for backtesting. Disable for better performance.
Zone Extension (20): How many bars to project zones forward for anticipating future reactions.
TRADING APPROACH
ZONE REACTION STRATEGY: Wait for price to approach absorption zones and trade the bounce or rejection. Use the zones as dynamic support and resistance levels.
BREAKOUT STRATEGY: Trade decisive breaks of strong absorption zones with proper risk management. Failed zones often lead to strong moves.
CONFLUENCE TRADING: Combine absorption zones with other technical analysis for highest probability setups. Look for alignment with trend lines, Fibonacci levels, and key support/resistance.
RISK MANAGEMENT: Always use stop losses beyond the absorption zones. Target minimum 1:2 risk-reward ratios. Position size appropriately based on zone strength.
OPTIMIZATION GUIDE
For Conservative Trading (fewer, higher quality signals):
- Volume Threshold: 1.5
- Minimum Strength: 2.0
- Min Wick Size: 0.3
For Aggressive Trading (more signals, requires careful filtering):
- Volume Threshold: 1.1
- Minimum Strength: 1.0
- Min Wick Size: 0.15
BEST PRACTICES
Markets: Works best on liquid instruments with good volume - major forex pairs, popular stocks, liquid futures, and established cryptocurrencies.
Timeframes: Effective on all timeframes from 1-minute scalping to daily swing trading. Adjust settings based on your timeframe and trading style.
Confirmation: Never trade absorption signals in isolation. Always combine with trend analysis, market structure, and proper risk management.
Session Timing: Be aware of market sessions and avoid trading during low liquidity periods or major news events.
Backtesting: Use the historic zones feature to validate performance on your chosen market and timeframe before live trading.
CUSTOMIZATION
The indicator offers complete visual customization including zone colors, border styles, label appearances, and info panel positioning. All colors can be adapted to match your chart theme and personal preferences.
Alert system provides both basic and custom message alerts for real-time notifications of new absorption patterns.
PERFORMANCE NOTES
Default settings are optimized for most markets and timeframes. For best performance on older charts, keep "Show Historic Zones" disabled unless specifically backtesting.
The indicator maintains excellent performance even with extensive historical analysis enabled, handling up to 500 zones and 100 labels for comprehensive backtesting.