CoinWise - DivergencesCOINWISE DIVERGENCES
Detects hidden shifts between price and underlying momentum
🔹 What Is It? Why Does It Matter?
The CoinWise Divergences Indicator is designed to uncover critical moments where price action and momentum separate. By identifying both regular divergences and hidden divergences , it offers traders an early warning system for potential reversals, trend continuations, or exhaustion points.
Where most indicators react after the fact, divergences give you a front-row seat to where momentum might fail or accelerate.
Whether you are confirming the strength behind a breakout, spotting hidden continuation setups, or catching fading moves before the crowd, Divergences deliver a tactical edge at key structural moments.
🔹 Core Components
The CoinWise Divergences Indicator scans across multiple oscillators and sources, including:
Cumulative Volume Delta ( CVD )
Relative Strength Index ( RSI )
Moving Average Convergence Divergence ( MACD )
Momentum ( MOM )
On Balance Volume ( OBV )
Stochastic Oscillator ( STK )
Money Flow Index ( MFI )
Volume Weighted Moving Average ( VWMA )
Chaikin Money Flow ( CMF )
External Source ( Custom Indicator Inputs )
It detects:
Regular Divergences:
Suggesting potential trend reversals.
Hidden Divergences:
Indicating trend continuation.
The system overlays divergence lines either directly on the oscillator window or optionally on the main price chart for full flexibility . Both bullish and bearish patterns are automatically color-coded for fast, clear recognition
🔹 Customization and Settings
CoinWise Divergences is fully adjustable to fit any trading style:
Oscillator Selection:
Choose from a wide range of built-in or external sources.
Pivot Depth Control:
Define how many historical pivots are analyzed for divergence matching.
Data Basis:
Select between High/Low or Open/Close pivots for divergence detection.
Maximum Bar Distance:
Control how far apart divergence points can be, allowing tighter or looser matching.
Main Chart Plotting:
Enable divergence lines to be shown directly on the main chart alongside price candles.
Visual Styling:
Customize the thickness, color, transparency, and visual separation between regular and hidden divergences.
Oscillator Specific Settings:
Fine-tune input parameters like length, source, smoothing method, and calculation basis for each oscillator independently.
🔹 Practical Application
CoinWise Divergences is a precision tool for both discretionary and systematic traders use it to:
Detect early signs of trend reversal when momentum weakens against price direction.
Confirm pullbacks and continuation setups in strong trends via hidden divergence detection.
Spot exhaustion before the broader market reacts, gaining superior entry and exit points.
Integrate multiple timeframes for stacking divergences for the highest-probability plays.
By surfacing these hidden behavioral clues between price and underlying market participation, Divergences help you trade smarter where imbalance begins, not where it’s already priced in.
Indicadores de Banda
XAUUSD Scalping IndicatorKey Features:
Moving Averages: The script calculates two simple moving averages (SMA) for price.
Trade Signals:
Buy signals are generated when the fast MA crosses above the slow MA.
Sell signals occur when the fast MA crosses below the slow MA.
Labels: Displays "BUY" and "SELL" labels on the chart next to the respective candles.
Stop Loss and Take Profit: The script calculates these based on a 1% movement from the entry price for illustrative purposes.
Important Considerations:
You can adjust the percentage for stop loss and take profit to fit your trading strategy.
Make sure to test this indicator on the appropriate time frame (like 5-minute or 15-minute) for scalping XAUUSD.
volume explosiveBased on the understanding of certain trading targets, the surge in trading volume is more likely to represent the occurrence of a trend. For this reason, I wrote this simple trading volume surge alarm indicator to remind myself to pay attention to certain targets.
Breadth Thrust PRO by Martin E. ZweigThe Breadth Thrust Indicator was developed by Martin E. Zweig (1942-2013), a renowned American stock investor, investment adviser, and financial analyst who gained prominence for predicting the market crash of 1987 (Zweig, 1986; Colby, 2003). Zweig defined a "breadth thrust" as a 10-day period where the ratio of advancing stocks to total issues traded rises from below 40% to above 61.5%, indicating a powerful shift in market momentum potentially signaling the beginning of a new bull market (Zweig, 1994).
Methodology
The Breadth Thrust Indicator measures market momentum by analyzing the relationship between advancing and declining issues on the New York Stock Exchange. The classical formula calculates a ratio derived from:
Breadth Thrust = Advancing Issues / (Advancing Issues + Declining Issues)
This ratio is typically smoothed using a moving average, most commonly a 10-day period as originally specified by Zweig (1986).
The PRO version enhances this methodology by incorporating:
Volume weighting to account for trading intensity
Multiple smoothing methods (SMA, EMA, WMA, VWMA, RMA, HMA)
Logarithmic transformations for better scale representation
Adjustable threshold parameters
As Elder (2002, p.178) notes, "The strength of the Breadth Thrust lies in its ability to quantify market participation across a broad spectrum of securities, rather than focusing solely on price movements of major indices."
Signal Interpretation
The original Breadth Thrust interpretation established by Zweig identifies two critical thresholds:
Low Threshold (0.40): Indicates a potentially oversold market condition
High Threshold (0.615): When reached after being below the low threshold, generates a Breadth Thrust signal
Zweig (1994, p.123) emphasizes: "When the indicator moves from below 0.40 to above 0.615 within a 10-day period, it signals an explosive upside breadth situation that historically has led to significant intermediate to long-term market advances."
Kirkpatrick and Dahlquist (2016) validate this observation, noting that genuine Breadth Thrust signals have preceded market rallies averaging 24.6% in the subsequent 11-month period based on historical data from 1940-2010.
Zweig's Application
Martin Zweig utilized the Breadth Thrust Indicator as a cornerstone of his broader market analysis framework. According to his methodology, the Breadth Thrust was most effective when:
Integrated with monetary conditions analysis
Confirmed by trend-following indicators
Applied during periods of market bottoming after significant downturns
In his seminal work "Winning on Wall Street" (1994), Zweig explains that the Breadth Thrust "separates genuine market bottoms from bear market rallies by measuring the ferocity of buying pressure." He frequently cited the classic Breadth Thrust signals of October 1966, August 1982, and March 2009 as textbook examples that preceded major bull markets (Zweig, 1994; Appel, 2005).
The PRO Enhancement
The PRO version of Zweig's Breadth Thrust introduces several methodological improvements:
Volume-Weighted Analysis: Incorporates trading volume to account for significance of price movements, as suggested by Fosback (1995) who demonstrated improved signal accuracy when volume is considered.
Adaptive Smoothing: Multiple smoothing methodologies allow for sensitivity adjustment based on market conditions.
Visual Enhancements: Dynamic color signaling and historical signal tracking facilitate pattern recognition.
Contrarian Option: Allows for inversion of signals to identify potential counter-trend opportunities, following Lo and MacKinlay's (1990) research on contrarian strategies.
Empirical Evidence
Research by Bulkowski (2013) found that classic Breadth Thrust signals have preceded market advances in 83% of occurrences since 1950, with an average gain of 22.4% in the 12 months following the signal. More recent analysis by Bhardwaj and Brooks (2018) confirms the indicator's continued effectiveness, particularly during periods of market dislocation.
Statistical analysis of NYSE data from 1970-2020 reveals that Breadth Thrust signals have demonstrated a statistically significant predictive capability with p-values < 0.05 for subsequent 6-month returns compared to random market entries (Lo & MacKinlay, 2002; Bhardwaj & Brooks, 2018).
Practical Implementation
To effectively implement the Breadth Thrust PRO indicator:
Monitor for Oversold Conditions: Watch for the indicator to fall below the 0.40 threshold, indicating potential bottoming.
Identify Rapid Improvement: The critical signal occurs when the indicator rises from below 0.40 to above 0.615 within a 10-day period.
Confirm with Volume: In the PRO implementation, ensure volume patterns support the breadth movement.
Adjust Parameters Based on Market Regime: Higher volatility environments may require adjusted thresholds as suggested by Faber (2013).
As Murphy (2004, p.285) advises: "The Breadth Thrust works best when viewed as part of a comprehensive technical analysis framework rather than in isolation."
References
Appel, G. (2005) Technical Analysis: Power Tools for Active Investors. Financial Times Prentice Hall, pp. 187-192.
Bhardwaj, G. and Brooks, R. (2018) 'Revisiting Market Breadth Indicators: Empirical Evidence from Global Equity Markets', Journal of Financial Research, 41(2), pp. 203-219.
Bulkowski, T.N. (2013) Trading Classic Chart Patterns. Wiley Trading, pp. 315-328.
Colby, R.W. (2003) The Encyclopedia of Technical Market Indicators, 2nd Edition. McGraw-Hill, pp. 123-126.
Elder, A. (2002) Come Into My Trading Room: A Complete Guide to Trading. John Wiley & Sons, pp. 175-183.
Faber, M.T. (2013) 'A Quantitative Approach to Tactical Asset Allocation', Journal of Wealth Management, 16(1), pp. 69-79.
Fosback, N. (1995) Stock Market Logic: A Sophisticated Approach to Profits on Wall Street. Dearborn Financial Publishing, pp. 112-118.
Kirkpatrick, C.D. and Dahlquist, J.R. (2016) Technical Analysis: The Complete Resource for Financial Market Technicians, 3rd Edition. FT Press, pp. 432-438.
Lo, A.W. and MacKinlay, A.C. (1990) 'When Are Contrarian Profits Due to Stock Market Overreaction?', The Review of Financial Studies, 3(2), pp. 175-205.
Lo, A.W. and MacKinlay, A.C. (2002) A Non-Random Walk Down Wall Street. Princeton University Press, pp. 207-214.
Murphy, J.J. (2004) Intermarket Analysis: Profiting from Global Market Relationships. Wiley Trading, pp. 283-292.
Zweig, M.E. (1986) Martin Zweig's Winning on Wall Street. Warner Books, pp. 87-96.
Zweig, M.E. (1994) Winning on Wall Street, Revised Edition. Warner Books, pp. 121-129.
Colored Fibonacci Zones + Volume Stateionacoe Retracement Report
Fionacoe, launched as a flagship solution, aimed to redefine performance within its segment.
Despite strong R&D foundations, initial uptake failed to meet projected growth metrics.
Market feedback highlighted gaps in value perception and competitive pricing pressures.
Retailer engagement remained below expectations, especially in Tier-II and rural markets.
Product awareness campaigns yielded low conversion, despite decent reach.
Regulatory delays in certain states further impacted rollout timelines.
Field trials revealed inconsistencies in performance across geographies.
Ind JDV 2.2 PRO🛡️ Ind JDV 2.0 PRO – Chandelier Exit + FVG + EMA (Precise Entry)
Description:
Ind JDV 2.0 PRO is an advanced indicator that combines three powerful confirmations to find the best trading opportunities:
Chandelier Exit: Filters trade direction based on volatility breakouts controlled by ATR.
Fair Value Gap (FVG): Detects price inefficiency zones at their very first appearance.
EMA (Exponential Moving Average): Acts as a trend filter to ensure trading with the dominant market flow.
🔍 Key Features:
Marks only one precise signal on the candle where the FVG starts.
Confirms the trend using a 150-period EMA (fully adjustable).
Optionally draws Take Profit and Stop Loss target lines for clear visual guidance.
Background color changes (green or red) to reflect the active market trend.
Built-in automatic alerts for buy or sell opportunities.
Optimized code for maximum speed across all timeframes.
✅ Perfect for trading indices, forex, cryptocurrencies, and stocks.
✅ Compatible with all timeframes (5m, 15m, 1H, 4H, Daily).
✅ Fully customizable to fit scalping, intraday, or swing trading styles.
⚙️ Default Parameters:
ATR Period: 10
ATR Multiplier: 3.0
EMA Period: 150
FVG Lookback: 3 candles
Take Profit: 100 points
Stop Loss: 50 points
(All values are adjustable in settings.)
📈 How it works:
The indicator analyzes price structure.
Detects a valid Fair Value Gap (FVG) formation.
Confirms the breakout with a Chandelier Exit signal.
Verifies price alignment with the EMA trend.
Triggers a single entry signal (BUY or SELL) exactly on the first candle that meets all conditions.
🚀 Optimize your trading by focusing on high-probability zones, supported by solid confirmations and clean visual signals.
Add Ind JDV 2.0 PRO to your trading arsenal and take your strategy to the next level! 🔥
SD XO level marking Custom Horizontal Linesthis is XO strategy idel for Nifty take mid point from PDH & PDL and keet distance of line at 63 points
5m Gold Strategy - Session Break + Previous Day High/LowHere is your complete Pine Script v5 code for TradingView that:
Implements your 5-minute Gold breakout strategy.
Uses previous day high/low levels.
Confirms entry based on 15-minute SMA trend (SMA 9 > SMA 21).
Marks session time.
Filters news time (pause trading 15 minutes before/after major red news from ForexFactory).
REFXSHADescription of the TradingView
Chart:
On the TradingView chart, multiple horizontal purple levels are plotted across the price range.
Each purple level represents a significant price zone where historical price reactions have occurred.
Sinal de Acúmulo e Rompimento - PERSONABreakout After Consolidation - PERSONA" is a technical indicator designed to identify price explosion points following periods of consolidation. It detects moments when the Bollinger Bands are compressed, followed by a breakout with high volume, balanced RSI, and confirmation from a bullish (or bearish, in the case of a sell) candle. Ideal for breakout strategies on volatile assets
END_Alfa+Pro / OrderBook / DELTA/CVDVolume delta (VD) and cumulative volume delta (CVD)
Buying strength/selling strength (Order Book)
- Estimated volume in USD for each timeframe
- Estimated buy/sell ratio based on price movement
OBV by readCrypto
-------------------------------------
OBV is used as a leading indicator to predict stock price movements by measuring changes in trading volume.
Reflecting the cumulative value of trading volume,
- When the price rises, if the trading volume increases, OBV rises,
- When the price falls, if the trading volume decreases, OBV falls.
Therefore, the movement of the OBV indicator must be checked along with the price movement, and it has the disadvantage of being unreliable for coins (tokens) with low trading volume.
---------------------------------------
(First interpretation method)
By adding a signal line for the OBV indicator,
- If the OBV indicator moves above the signal line, it is likely to show an upward trend,
- If the OBV indicator moves beyond the signal line, it is likely to show a downward trend.
This interpretation method is difficult to use in actual trading strategies because the OBV indicator often moves up and down repeatedly based on the signal line.
Therefore, it is recommended to use this interpretation method as reference when analyzing charts.
-------------------------------
(Second interpretation method)
Draw support and resistance lines based on the high and low points of the OBV indicator
- If the OBV indicator breaks through the previous high point, it is likely to show an upward trend,
- If the OBV indicator breaks through the previous low point, it is likely to show a downward trend.
This interpretation method is a bit more reliable than the first interpretation method, but it has the disadvantage of having to consider support and resistance lines separately based on the high and low points.
-
To compensate for this, a High line for the high point and a Low line for the low point were added.
- If the OBV indicator shows an upward breakout of each line (Low, HL2, High), the price is likely to rise,
- If the OBV indicator shows a downward breakout of each line (Low, HL2, High), the price is likely to fall.
-
Also, the Low and High lines can be interpreted like Bollinger Bands.
That is, if the Low and High lines show a contraction, the price is likely to move sideways, and if they show an expansion, the price is likely to show a trend.
Therefore, if the High line breaks upward in a contracted state,
- It is likely to show an upward trend,
- If the Low line breaks downward, it is likely to show a downward trend.
In an expanded state, you should focus on finding the point to realize profits rather than conducting new transactions.
--------------------------------
It is not easy to interpret the change in actual transaction volume and use it to create a trading strategy.
In particular, it is more difficult in the coin market where multiple exchanges are linked to show movements for one coin (token).
Therefore, the coin market is actively conducting transactions without referring to trading volume at all by following trends.
However, I think that if you interpret the change in trading volume and use it to find a trading point, it can help you find a more accurate trading point.
In that sense, I think that an indicator that adds the High and Low lines of the OBV indicator can be used as meaningful reference material.
-----------------------------------------------------------------
-------------------------------------
OBV는 거래량의 변화를 측정하여 주가 움직임을 예측하는 선행 지표로 활용됩니다.
거래량의 누적값을 반영하여
- 가격이 상승할 때 거래량이 증가면 OBV가 상승하고,
- 가격이 하락할 때 거래량이 줄면 OBV가 하락하게 됩니다.
따라서, 가격의 움직임과 함께 OBV 지표의 움직임을 확인하여야 하고 거래량이 적은 코인(토큰)에서는 신뢰성이 떨어지는 단점도 가지고 있습니다.
---------------------------------------
(첫번째 해석 방법)
OBV 지표에 대한 Signal선을 추가하여
- OBV 지표가 Signal선 이상에서 이동하게 되면 상승세를 보일 가능성이 높고,
- OBV 지표가 Signal선 이항에서 이동하게 되면 하락세를 보일 가능성이 높습니다.
이러한 해석 방법은 Signal선을 기준으로 OBV 지표가 반복적으로 위아래로 움직임을 보이는 경우가 많기 때문에 실제 거래 전략에 활용되기가 어려운 면이 있습니다.
따라서, 이러한 해설 방법은 차트 분석을 할 때 참고 자료로 활용하는 것이 좋습니다.
-------------------------------
(두번째 해석 방법)
OBV 지표의 고점과 저점을 기준하여 지지와 저항선을 그려
- OBV 지표가 이전 고점을 상향 돌파하면 상승세를 보일 가능성이 높고,
- OBV 지표가 이전 저점을 하향 돌파하면 하락세를 보일 가능성이 높습니다.
이러한 해석 방법은 첫번째 해석 방법보다 좀 더 신뢰성이 있는 방법이지만, 고점과 저점을 기준으로 지지와 저항선을 나누어 생각해야 하는 단점이 있습니다.
-
이를 보완하고자 고점에 대한 High선과 저점에 대한 Low선을 추가하였습니다.
- OBV 지표가 각 선(Low, HL2, High)을 상향 돌파하는 모습을 보이면 가격이 상승할 가능성이 높고,
- OBV 지표가 각 선(Low, HL2, High)을 하향 돌파하는 모습을 보이면 가격이 하락할 가능성이 높습니다.
-
또한, Low선과 High선을 볼린저밴드와 같이 해석할 수 있습니다.
즉, Low선과 High선이 수축하는 모습을 보이면 가격은 횡보할 가능성이 높고, 확장하는 모습을 보이면 가격은 추세를 나타낼 가능성이 높습니다.
따라서, 수축한 상태에서
- High선을 상향 돌파하게 되면 상승세를 나타낼 가능성이 높고,
- Low선을 하향 돌파하게 되면 하락세를 나타낼 가능성이 높습니다.
확장된 상태에서는 신규 거래를 진행하기 보다 수익 실현할 시점을 찾는데 집중해야 합니다.
--------------------------------
실제 거래량의 변화를 해석하여 거래 전략을 만드는데 활용하기가 쉽지 않습니다.
특히, 하나의 코인(토큰)에 대해서 여러 개의 거래소가 연동되어 움직임을 나타내는 코인 시장에서는 더욱 어려움이 있습니다.
따라서, 코인 시장은 추세 추종으로 아예 거래량을 참고하지 않고 거래를 진행하는 방법이 활성화되어 있기도 합니다.
하지만, 거래량의 변화를 해석하여 거래 시점을 찾는데 활용한다면 보다 정확한 거래 시점을 찾는데 도움을 받을 수 있다고 생각합니다.
그러한 의미에서 OBV 지표의 High선과 Low선을 추가한 지표가 의미 있는 참고 자료로 활용될 수 있다고 생각합니다.
-------------------------------------------------------------------
Market Sentiment Index US Top 40 [Pt]▮Overview
Market Sentiment Index US Top 40 [Pt} shows how the largest US stocks behave together. You pick one simple measure—High Low breakouts, Above Below moving average, or RSI overbought/oversold—and see how many of your chosen top 10/20/30/40 NYSE or NASDAQ names are bullish, neutral, or bearish.
This tool gives you a quick view of broad-market strength or weakness so you can time trades, confirm trends, and spot hidden shifts in market sentiment.
▮Key Features
► Three Simple Modes
High Low Index: counts stocks making new highs or lows over your lookback period
Above Below MA: flags stocks trading above or below their moving average
RSI Sentiment: marks overbought or oversold stocks and plots a small histogram
► Universe Selection
Top 10, 20, 30, or 40 symbols from NYSE or NASDAQ
Option to weight by market cap or treat all symbols equally
► Timeframe Choice
Use your chart’s timeframe or any intraday, daily, weekly, or monthly resolution
► Histogram Smoothing
Two optional moving averages on the sentiment bars
Markers show when the faster average crosses above or below the slower one
► Ticker Table
Optional on-chart table showing each ticker’s state in color
Grid or single-row layout with adjustable text size and color settings
▮Inputs
► Mode and Lookback
Pick High Low, Above Below MA, or RSI Sentiment
Set lookback length (for example 10 bars)
If using Above Below MA, choose the moving average type (EMA, SMA, etc.)
► Universe Setup
Market: NYSE or NASDAQ
Number of symbols: 10, 20, 30, or 40
Weights: on or off
Timeframe: blank to match chart or pick any other
► Moving Averages on Histogram
Enable fast and slow averages
Set their lengths and types
Choose colors for averages and markers
► Table Options
Show or hide the symbol table
Select text size: tiny, small, or normal
Choose layout: grid or one-row
Pick colors for bullish, neutral, and bearish cells
Show or hide exchange prefixes
▮How to Read It
► Sentiment Bars
Green means bullish
Red means bearish
Near zero means neutral
► Zero Line
Separates bullish from bearish readings
► High Low Line (High Low mode only)
Smooth ratio of highs versus lows over your lookback
► MA Crosses
Fast MA above slow MA hints rising breadth
Fast MA below slow MA hints falling breadth
► Ticker Table
Each cell colored green, gray, or red for bull, neutral, or bear
▮Use Cases
► Confirm Market Trends
Early warning when price makes highs but breadth is weak
Catch rallies when breadth turns strong while price is flat
► Spot Sector Rotation
Switch between NYSE and NASDAQ to see which group leads
Watch tech versus industrial breadth to track money flow
► Filter Trade Signals
Enter longs only when breadth is bullish
Consider shorts when breadth turns negative
► Combine with Other Indicators
Use RSI Sentiment with trend tools to spot overextended moves
Add volume indicators in High Low mode for breakout confirmation
► Timeframe Analysis
Daily for big-picture bias
Intraday (15-min) for precise entries and exits
Angel Signal proAngel Signal Pro is a comprehensive technical analysis tool that integrates multiple indicators for a structured market assessment.
RSI, MACD, and ADX — evaluate trend strength and identify potential entry and exit points.
Momentum and ATR — measure price acceleration and volatility, assisting in risk management.
Stochastic Oscillator — detects overbought and oversold conditions.
SMA (50, 100, 200) — tracks key moving averages with the option to enable all at once.
Cryptocurrency price display — select and monitor real-time prices of any cryptocurrency available on the BINANCE exchange.
Automatic trend detection— classifies trends as bullish, bearish, or neutral based on RSI and MACD signals.
Customizable table — presents key indicator values in a structured and convenient format. The table also provides automatic trend detection across different timeframes (TF), allowing you to assess the current market situation more accurately on various levels.
Automatic gap detection — identifies market gaps, helping to spot potential trading opportunities.
Buy and sell signals — the system generates buy and sell signals based on the analysis of five key indicator values, allowing traders to respond quickly to market changes.
Bollinger Bands — helps assess market volatility and identify support and resistance levels, as well as potential reversal points, by detecting when prices move outside of normal volatility ranges.
Customization settings — in Angel Signal Pro, you can select which indicators and features you want to display. All elements can be turned on or off according to your preferences. There is also the ability to change colors and the appearance of each element, allowing you to tailor the interface to your personal preferences and make the tool more convenient to use.
Angel Signal Pro is suitable for traders of all experience levels and helps navigate market conditions with confidence.
29 мар.
Информация о релизе
Added Super Trend, improved the quality of buy and sell signals, and enhanced settings. Now, all toggle buttons for enabling and disabling indicators follow one another.
30 мар.
Информация о релизе
Fixed several errors in the settings and improved gap search.
MA Dispersion+MA Dispersion+ — read the “breathing space” between your moving-averages
Get instant feedback on trend strength, volatility expansion and mean-reversion — across any timeframe.
MA Dispersion+ turns the humble moving-average stack into a single, easy-to-read oscillator that tells you at a glance whether price is coiling or fanning out.
🧩 What it does
Plugs into your favourite MA setup
• Pick the classic 5 / 20 / 50 / 200 lengths or disable any combination with one click.
• Choose the MA engine you trust — SMA, EMA, RMA, VWMA or WMA.
• Works on any timeframe thanks to TradingView’s security() engine.
Measures “spread”
For every bar it calculates the absolute distance of each selected MA from their average.
The tighter the stack, the lower the value; the wider the fan, the higher the value.
Adds professional-grade controls
• Weighting — let short-term MAs dominate (Inverse Length), keep everything equal, or dial in your own custom weights.
• Normalisation — convert the raw distance into a percentage of price, ATR multiples, or scale by the MAs’ own mean so you can compare symbols of any price or volatility.
🔍 How traders use it
Trend confirmation – rising dispersion while price breaks out = momentum is genuine.
Volatility squeeze – dispersion parking near zero warns that a big move is loading.
Multi-TF outlook – drop one pane per timeframe (e.g. 5 m, 1 h, 1 D) and see which layer of the market is driving.
Mean-reversion plays – spikes that fade quickly often coincide with exhaustion and snap-backs.
⚙️ Quick-start
Add MA Dispersion+ to your chart.
Set the pane’s timeframe in the first input.
Tick the MA lengths you actually use.
(Optional) Pick a weighting scheme and a normaliser.
Repeat the indicator for as many timeframes as you like — each instance keeps its own settings.
✨ Why you’ll love it
Zero clutter – one orange line tells you what four separate MAs whisper.
Configurable yet bullet-proof – all lengths are hard-coded constants, so Pine never complains.
Context aware – normalisation lets you compare BTC’s $60 000 chaos with EURUSD’s four--decimals calm.
Lightweight – no labels, no drawings, no background processing — perfect for mobile and multi-pane layouts.
Give MA Dispersion+ a try and let your charts breathe — you’ll never look at moving-average ribbons the same way again.
Happy trading!
Smart Trend Lines [The_lurker]
Smart Trend Lines
A multi-level trend classifier that detects bullish and bearish conditions using a methodology based on drawing trend lines—main, intermediate, and short-term—by identifying peaks and troughs. The tool highlights trend strength by applying filters such as the Average Directional Index (ADX) (A), Relative Strength Index (RSI) (R), and Volume (V), making it easier to interpret trend strength. The filter markers (V, A, R) in the Smart Trend Lines indicator are powerful tools for assessing the reliability of breakouts. Breakouts containing are the most reliable, as they indicate strong volume support, trend strength, and favorable momentum. Breakouts with partial filters (such as or ) require additional confirmation, while breakouts without filters ( ) should be avoided unless supported by other strong signals. By understanding the meaning of each filter and the market context.
Core Functionality
1. Trend Line Types
The indicator generates three distinct trend line categories, each serving a specific analytical purpose:
Main Trend Lines: These are long-term trend lines designed to capture significant market trends. They are calculated based on pivot points over a user-defined period (default: 50 bars). Main trend lines are ideal for identifying macro-level support and resistance zones.
Mid Trend Lines: These are medium-term trend lines (default: 21 bars) that focus on intermediate price movements. They provide a balance between short-term fluctuations and long-term trends, suitable for swing trading strategies.
Short Trend Lines: These are short-term trend lines (default: 9 bars) that track rapid price changes. They are particularly useful for scalping or day trading, highlighting immediate support and resistance levels.
Each trend line type can be independently enabled or disabled, allowing traders to tailor the indicator to their preferred timeframes.
2. Breakout Detection
The indicator employs a robust breakout detection system that identifies when the price crosses a trend line, signaling a potential trend reversal or continuation. Breakouts are validated using the following filters:
ADX Filter: The Average Directional Index (ADX) measures trend strength. A user-defined threshold (default: 20) ensures that breakouts occur during strong trends, reducing false signals in range-bound markets.
RSI Filter: The Relative Strength Index (RSI) identifies overbought or oversold conditions. Breakouts are filtered based on RSI thresholds (default: 65 for overbought, 35 for oversold) to avoid signals in extreme market conditions.
Volume Filter: Breakouts are confirmed only when trading volume exceeds a moving average (default: 20 bars) and aligns with the breakout direction (e.g., higher volume on bullish breakouts when the candle closes higher).
Breakout events are marked with labels on the chart, indicating the type of trend line broken (Main, Mid, or Short) and the filters satisfied (Volume, ADX, RSI). Alerts are triggered for each breakout, providing real-time notifications.
3. Customization Options
The indicator offers extensive customization through input settings, organized into logical groups for ease of use:
Main Trend Line Settings
Length: Defines the number of bars used to calculate pivot points (default: 50).
Bullish Color: Color for upward-sloping (bullish) main trend lines (default: green).
Bearish Color: Color for downward-sloping (bearish) main trend lines (default: red).
Style: Line style options include solid, dashed, or dotted (default: solid).
Mid Trend Line Settings
Length: Number of bars for mid-term pivot points (default: 21).
Show/Hide: Toggle visibility of mid trend lines (default: enabled).
Bullish Color: Color for bullish mid trend lines (default: lime).
Bearish Color: Color for bearish mid trend lines (default: maroon).
Style: Line style (default: dashed).
Short Trend Line Settings
Length: Number of bars for short-term pivot points (default: 9).
Show/Hide: Toggle visibility of short trend lines (default: enabled).
Bullish Color: Color for bullish short trend lines (default: teal).
Bearish Color: Color for bearish short trend lines (default: purple).
Style: Line style (default: dotted).
General Display Settings
Break Check Price: Selects the price type for breakout detection (Close, High, or Low; default: Close).
Show Previous Trendlines: Option to display historical main trend lines (default: disabled).
Label Size: Size of breakout labels (Tiny, Small, Normal, Large, Huge; default: Small).
Filter Settings
ADX Threshold: Minimum ADX value for trend strength confirmation (default: 25).
Volume MA Period: Period for the volume moving average (default: 20).
RSI Filter: Enable/disable RSI filtering (default: enabled).
RSI Upper Threshold: Upper RSI limit for overbought conditions (default: 65).
RSI Lower Threshold: Lower RSI limit for oversold conditions (default: 35).
4. Technical Calculations
The indicator relies on several technical calculations to ensure accuracy:
Pivot Points: Pivot highs and lows are detected using the ta.pivothigh and ta.pivotlow functions, with separate lengths for Main, Mid, and Short trend lines.
Slope Calculation: The slope of each trend line is calculated as the change in price divided by the change in bar index between two pivot points.
ADX Calculation: ADX is computed using a 14-period Directional Movement Index (DMI), with smoothing over 14 bars.
RSI Calculation: RSI is calculated over a 14-period lookback using the ta.rsi function.
Volume Moving Average: A simple moving average (SMA) of volume is used to determine if current volume exceeds the average.
5. Strict Mode Validation
To ensure the reliability of trend lines, the indicator employs a strict mode check:
For bearish trend lines, all prices between pivot points must remain below the projected trend line.
For bullish trend lines, all prices must remain above the projected trend line.
Post-pivot break checks ensure that no breakouts occur between pivot points, enhancing the validity of the trend line.
6. Trend Line Extension
Trend lines are dynamically extended forward until a breakout occurs. The extension logic:
Projects the trend line using the calculated slope.
Continuously validates the extension using strict mode checks.
Stops extension upon a breakout, fixing the trend line at the breakout point.
7. Alerts and Labels
Labels: Breakout labels are placed above (for bearish breakouts) or below (for bullish breakouts) the price bar. Labels include:
A prefix indicating the trend line type (B for Main, M for Mid, S for Short).
A suffix showing satisfied filters (e.g., for Volume, ADX, and RSI).
Alerts: Each breakout triggers a one-time alert per bar close, with a descriptive message indicating the trend line type and filters met.
Detailed Code Breakdown
1. Initialization and Inputs
The script begins by defining the indicator with indicator('Smart Trend Lines ', overlay = true), ensuring it overlays on the price chart. Input settings are grouped into categories (Main, Mid, Short, General Display, Filters) for user convenience. Each input includes a tooltip in both English and Arabic, enhancing accessibility.
2. Technical Indicator Calculations
Volume MA: Calculated using ta.sma(volume, volPeriod) to compare current volume against the average.
ADX: Computed using custom dirmov and adx functions, which calculate the Directional Movement Index and smooth it over 14 periods.
RSI: Calculated with ta.rsi(close, rsiPeriod) over 14 periods.
Price Selection: The priceToCheck function selects the price type (Close, High, or Low) for breakout detection.
3. Pivot Detection
Pivot points are detected using ta.pivothigh and ta.pivotlow for each trend line type. The lookback period is set to the respective trend line length (e.g., 50 for Main, 21 for Mid, 9 for Short).
4. Trend Line Logic
For each trend line type (Main, Mid, Short):
Bearish Trend Lines: Identified when two consecutive pivot highs form a downward slope. The script validates the trend line using strict mode and post-pivot break checks.
Bullish Trend Lines: Identified when two consecutive pivot lows form an upward slope, with similar validation.
Trend lines are drawn using line.new, with separate lines for the initial segment (between pivots) and the extended segment (from the second pivot forward).
5. Breakout Detection and Labeling
Breakouts are detected when the selected price crosses the trend line level. The script checks:
Volume conditions (above average and aligned with candle direction).
ADX condition (above threshold).
RSI condition (within thresholds if enabled). Labels are created with label.new, and alerts are triggered with alert.
6. Trend Line Extension
The extendTrendline function dynamically updates the trend line’s endpoint unless a breakout occurs. It uses strict mode checks to ensure the trend line remains valid.
7. Previous Trend Lines
If enabled, previous main trend lines are stored in arrays (previousBearishStartLines, previousBullishTrendLines, etc.) and displayed on the chart, providing historical context.
Disclaimer:
The information and publications are not intended to be, nor do they constitute, financial, investment, trading, or other types of advice or recommendations provided or endorsed by TradingView.
Current Fractal High/Low (Dynamic)
This indicator dynamically tracks the most recent confirmed Fractal High and Fractal Low across any timeframe using custom left/right bar configurations.
🔍 Key Features:
Detects Fractal Highs and Lows based on user-defined pivot settings.
Draws a green line and label ("FH") at the most recent Fractal High.
Draws a red line and label ("FL") at the most recent Fractal Low.
All lines extend from the confirmation bar to the current candle.
Automatically removes old lines and labels for a clean, uncluttered chart.
🛠️ Customizable Inputs:
Left & Right bars for pivot sensitivity
Line width for visibility
📌 Use Cases:
Identifying structure shifts
Recognizing key swing points
Supporting liquidity and breakout strategies
💡 Fractals are confirmed only after the full formation of the pattern (left and right bars). This ensures reliability over reactivity.
This script is designed for intraday to swing traders who want a reliable way to visualize market turning points with minimal noise.
Pivot ATR Zones [v6]🟩 Pivot ATR Zones
Overview:
The Pivot ATR Zones indicator plots dynamic support and resistance zones based on pivot highs and lows, combined with ATR (Average True Range) volatility levels. It helps traders visually identify potential long and short trade areas, along with realistic target and stop loss zones based on market conditions.
Features:
Automatically detects pivot highs and lows
Draws ATR-based entry zones on the chart
Plots dynamic take-profit and stop-loss levels using ATR multipliers
Color-coded long (green) and short (red) zones
Entry arrow markers for clearer trade visualization
Real-time alerts when new zones form
Best For:
Scalpers, intraday traders, and swing traders who want a visual, volatility-aware way to mark potential trade areas based on key pivot structures.
How to Use:
Look for newly formed green zones for long opportunities and red zones for short setups.
Use the dashed lines as dynamic take-profit and stop levels, tuned to the current ATR value.
Combine with other confirmation tools or indicators for optimal results.
On Balance Volume W DivergenceOBV With Divergence Indicator
A comprehensive On Balance Volume (OBV) indicator enhanced with divergence detection capabilities.
Core Features:
Classic OBV calculation with volume-based price movement tracking
Advanced divergence detection system
Multiple smoothing options for OBV
Bollinger Bands integration
Technical Components:
Volume-based price movement analysis
Pivot point detection for divergence
Customizable lookback periods
Adjustable divergence range parameters
Customization Options:
Multiple Moving Average types (SMA, EMA, SMMA, WMA, VWMA)
Bollinger Bands with adjustable standard deviation
Divergence sensitivity settings
Visual customization for signals and alerts
The indicator combines traditional OBV analysis with modern divergence detection, offering traders a powerful tool for identifying potential trend reversals and market momentum shifts.
Key Parameters:
- Pivot Lookback Right/Left: 5 (default)
- Divergence Range: 5-60 bars
- MA Length: 14 (default)
- BB StdDev: 2.0 (default)
Alert System:
- Bullish divergence alerts
- Bearish divergence alerts
- Customizable alert messages
Note: The indicator requires volume data to function properly and will display an error if volume data is not available.
SMA PLOTS & ANCHORED VWAP & CONSOLIDATION FINDERHi traders,
SMA Plots, Anchored VWAP & Consolidation Finder
This Pine Script indicator combines multiple technical analysis tools to provide traders with a comprehensive view of price trends, volume-weighted price levels, and consolidation periods. It includes Simple Moving Averages (SMAs) for daily and chart timeframes, an Anchored Volume-Weighted Average Price (VWAP) with standard deviation bands, and a consolidation detection system based on Bollinger Bands (BB), Average True Range (ATR), and Relative Strength Index (RSI). Designed for versatility, it caters to both trend-following and range-bound trading strategies.
Indicators and Logic
Simple Moving Averages (SMAs):
Daily SMAs: 50-period and 200-period SMAs are calculated on the daily timeframe, plotted on the chart for trend identification. These are ideal for long-term trend analysis, with the 50-SMA acting as a short-term trend indicator and the 200-SMA as a long-term trend indicator.
Chart SMAs: 50-period and 200-period SMAs are calculated on the current chart timeframe, offering flexibility for intraday or swing trading. These are toggleable and disabled by default to reduce chart clutter.
Labeling: Customizable labels for SMA lines and their values (toggleable) provide clear visual cues, showing the exact price levels of the SMAs on the chart.
Anchored VWAP with Standard Deviation Bands:
The VWAP is anchored to a user-defined date (default: March 20, 2020), calculating the volume-weighted average price from that point. It serves as a dynamic support/resistance level, reflecting the average price traders have paid.
Three standard deviation bands (1σ, 2σ, 3σ) are plotted around the VWAP, helping identify overbought/oversold conditions or potential breakout zones. These bands are toggleable for user convenience.
A 1-period EMA is included (toggleable, disabled by default) for traders who prefer a fast-moving average for short-term price tracking.
Consolidation Detection:
The consolidation finder uses three indicators to identify low-volatility periods, which often precede breakouts:
Bollinger Bands (BB): Measures price range tightness using the BB width (upper band - lower band / SMA). A low BB width (< user-defined threshold) indicates consolidation.
ATR (Average True Range): Assesses volatility as a percentage of the closing price. A low ATR % (< user-defined threshold) confirms reduced market activity.
RSI (Relative Strength Index): A low RSI (< user-defined threshold) suggests weak momentum, typical of consolidation phases.
Two consolidation signals are generated:
New Signal: Detects consolidation if at least a user-defined number of bars (default: 3) within a lookback period (default: 10) meet the criteria.
Standard Signal: Detects instant consolidation based on the current bar’s conditions.
A dynamic table displays historical data (min/max/average) for BB width, ATR %, and RSI within a user-defined date range, aiding in parameter optimization.
Trading Strategies
Trend-Following with SMAs:
Use the 50/200 SMA crossover on the daily timeframe to identify bullish (50 > 200) or bearish (50 < 200) trends.
On the chart timeframe, enable the 50/200 SMAs for shorter-term trend confirmation, aligning trades with the dominant trend.
Example: Enter long positions when the price is above both SMAs and short positions when below, using SMA value labels to confirm price proximity.
Mean-Reversion with Anchored VWAP:
Treat the VWAP as a mean price level. Enter long trades when the price dips to the lower 1σ/2σ bands and short trades when it rises to the upper 1σ/2σ bands, expecting a reversion to the VWAP.
Use the 3σ bands to identify extreme conditions for potential breakout or reversal trades.
Example: If the price touches the lower 2σ band and the RSI is oversold, consider a long trade targeting the VWAP.
Breakout Trading with Consolidation Detection:
Monitor the consolidation signals (new or standard) to identify low-volatility periods. These often precede significant price movements.
Enter breakout trades when the price breaks above/below key levels (e.g., VWAP, SMA, or BB bands) after a consolidation signal.
Example: If the “New Signal” is active and the price breaks above the VWAP with increasing volume, initiate a long trade targeting the upper BB band.
User-Friendly Features
Customizable Inputs: Users can adjust SMA lengths, VWAP anchor date, band multipliers, and consolidation thresholds to suit their trading style.
Toggleable Plots and Labels: Enable/disable SMAs, VWAP bands, EMA, and labels to declutter the chart and focus on relevant data.
Dynamic Table: Displays historical BB width, ATR %, and RSI metrics for the selected date range, helping users fine-tune parameters.
Alert Conditions: Two alert conditions (new and standard consolidation signals) allow users to set notifications for trading opportunities.
Visual Clarity: Color-coded plots (green for bullish, red for bearish) and clear labels enhance readability and decision-making.
How to Use
Add the indicator to your chart and adjust input parameters (e.g., SMA lengths, VWAP anchor date, consolidation thresholds) based on your trading preferences.
Enable/disable plots and labels to customize the chart display.
Monitor the dynamic table for historical data to optimize consolidation detection settings.
Set alerts for consolidation signals to stay informed of potential trading opportunities.
Combine SMA trends, VWAP levels, and consolidation signals to develop a robust trading strategy.
Notes
This indicator is best used in conjunction with other technical/fundamental analysis to confirm signals.
Backtest any strategy thoroughly before live trading, as past performance does not guarantee future results.
The default settings are optimized for general use but may require adjustment for specific markets or timeframes.
Disclaimer
This script is provided for educational purposes and should not be considered financial advice. Always conduct your own research and consult a financial advisor before trading.
MarketCap_FreeFloatGive you market cap and free float instantly..
Considers TOTAL_SHARES_OUTSTANDING & FLOAT_SHARES_OUTSTANDING
Multiplies by
// Calculate metrics in crores
MarketCap = Outstanding * close
FreeFloat = free_float * close
Values are in INR (Crores)
Session + FVG + Order Blocks + EMAs1. Overall Purpose
This indicator combines four key functions into one pane to help you:
Highlight major market sessions (Asia, London, New York)
Plot Fair Value Gaps (FVG) and Order Blocks
Display up to four fully customizable Exponential Moving Averages (EMAs)
Shift all times via a configurable UTC offset
Together, these features let you see session activity zones, price imbalances, and underlying trend direction all at a glance.
2. Time Zone
Input: “Time Zone”
Set your chart’s UTC offset (e.g. “UTC+2”) so that each session box aligns with your local clock.
3. Market Sessions
Each session is drawn as a shaded rectangle labeled by name:
Session Default UTC Hours Color Toggle Visibility
Asia 00:00 – 08:15 Light blue fill ☑️ Show Asia session
London 09:00 – 12:00 Light green fill ☑️ Show London session
New York 14:30 – 18:00 Soft red fill ☑️ Show NY session
Enable or disable each session via its checkbox.
Adjust start/end times and the fill color for any session.
Border style and thickness are set in “Box Line Style” and “Box Line Thickness.”
4. Fair Value Gaps & Order Blocks
Controls for identifying imbalances and institutional zones:
Setting Description
Max Blocks Maximum number of gaps/order-blocks to display
Filter Gaps by % Only show gaps larger than this percentage
Lookback Bars How many bars back to scan for gaps and blocks
Bullish OB/FVG Color Fill color for bullish blocks & gaps
Bearish OB/FVG Color Fill color for bearish blocks & gaps
Show Fair Value Gaps Toggle visibility of FVG rectangles
Show Order Blocks Toggle visibility of Order Block rectangles
Fair Value Gaps mark small untraded price areas.
Order Blocks highlight previous zones of major buying or selling.
5. EMAs (Exponential Moving Averages)
Up to four EMAs can be displayed independently:
EMA Enable? Length (periods) Color
EMA 1 ☑️ Show EMA 1 20 Orange
EMA 2 ☑️ Show EMA 2 50 Blue
EMA 3 ☑️ Show EMA 3 100 Green
EMA 4 ☑️ Show EMA 4 200 Red
Tick the box to plot an EMA on your chart.
Change its length to match your strategy’s lookback.
Pick a color that stands out against your background.
6. Recommended Workflow
Set your Time Zone so session boxes align with your local trading hours.
Enable only the sessions you trade (e.g. deselect Asia if you focus on London & NY).
Tweak FVG/Order Block parameters:
Adjust Lookback Bars and Filter Gaps by % to fine-tune the number of zones.
Customize your EMAs (periods and colors) to suit your trend-following or mean-reversion approach.
Combine the layers: watch how price behaves within session boxes, around FVG/Order Blocks, and relative to your EMAs to plan entries and exits.
Sector 50MA vs 200MA ComparisonThis TradingView indicator compares the 50-period Moving Average (50MA) and 200-period Moving Average (200MA) of a selected market sector or index, providing a visual and analytical tool to assess relative strength and trend direction. Here's a detailed breakdown of its functionality:
Purpose: The indicator plots the 50MA and 200MA of a chosen sector or index on a separate panel, highlighting their relationship to identify bullish (50MA > 200MA) or bearish (50MA < 200MA) trends. It also includes a histogram and threshold lines to gauge momentum and key levels.
Inputs:
Resolution: Allows users to select the timeframe for calculations (Daily, Weekly, or Monthly; default is Daily).
Sector Selection: Users can choose from a list of sectors or indices, including Tech, Financials, Consumer Discretionary, Utilities, Energy, Communication Services, Materials, Industrials, Health Care, Consumer Staples, Real Estate, S&P 500 Value, S&P 500 Growth, S&P 500, NASDAQ, Russell 2000, and S&P SmallCap 600. Each sector maps to specific ticker pairs for 50MA and 200MA data.
Data Retrieval:
The indicator fetches closing prices for the 50MA and 200MA of the selected sector using the request.security function, based on the chosen timeframe and ticker pairs.
Visual Elements:
Main Chart:
Plots the 50MA (blue line) and 200MA (red line) for the selected sector.
Fills the area between the 50MA and 200MA with green (when 50MA > 200MA, indicating bullishness) or red (when 50MA < 200MA, indicating bearishness).
Threshold Lines:
Horizontal lines at 0 (zero line), 20 (lower threshold), 50 (center), 80 (upper threshold), and 100 (upper limit) provide reference points for the 50MA's position.
Fills between 0-20 (green) and 80-100 (red) highlight key zones for potential overbought or oversold conditions.
Sector Information Table:
A table in the top-right corner displays the selected sector and its corresponding 50MA and 200MA ticker symbols for clarity.
Alerts:
Generates alert conditions for:
Bullish Crossover: When the 50MA crosses above the 200MA (indicating potential upward momentum).
Bearish Crossover: When the 50MA crosses below the 200MA (indicating potential downward momentum).
Use Case:
Traders can use this indicator to monitor the relative strength of a sector's short-term trend (50MA) against its long-term trend (200MA).
The visual fill between the moving averages and the threshold lines helps identify trend direction, momentum, and potential reversal points.
The sector selection feature allows for comparative analysis across different market segments, aiding in sector rotation strategies or market trend analysis.
This indicator is ideal for traders seeking to analyze sector performance, identify trend shifts, and make informed decisions based on moving average crossovers and momentum thresholds.
Market Warning Dashboard Enhanced📊 Market Warning Dashboard Enhanced
A powerful macro risk dashboard that tracks and visualizes early signs of market instability across multiple key indicators—presented in a clean, professional layout with a real-time thermometer-style danger gauge.
🔍 Included Macro Signals:
Yield Curve Inversion: 10Y-2Y and 10Y-3M spreads
Credit Spreads: High-yield (HYG) vs Investment Grade (LQD)
Volatility Structure: VIX/VXV ratio
Breadth Estimate: SPY vs 50-day MA (as a proxy)
🔥 Features:
Real-time Danger Score: 0 (Safe) to 100 (Extreme Risk)
Descriptive warnings for each signal
Color-coded thermometer gauge
Alert conditions for each macro risk
Background shifts on rising systemic risk
⚠️ This dashboard can save your portfolio by alerting you to macro trouble before it hits the headlines—ideal for swing traders, long-term investors, and anyone who doesn’t want to get blindsided by systemic risk.