Polynomial Regression HeatmapPolynomial Regression Heatmap – Advanced Trend & Volatility Visualizer
Overview
The Polynomial Regression Heatmap is a sophisticated trading tool designed for traders who require a clear and precise understanding of market trends and volatility. By applying a second-degree polynomial regression to price data, the indicator generates a smooth trend curve, augmented with adaptive volatility bands and a dynamic heatmap. This framework allows users to instantly recognize trend direction, potential reversals, and areas of market strength or weakness, translating complex price action into a visually intuitive map.
Unlike static trend indicators, the Polynomial Regression Heatmap adapts to changing market conditions. Its visual design—including color-coded candles, regression bands, optional polynomial channels, and breakout markers—ensures that price behavior is easy to interpret. This makes it suitable for scalping, swing trading, and longer-term strategies across multiple asset classes.
How It Works
The core of the indicator relies on fitting a second-degree polynomial to a defined lookback period of price data. This regression curve captures the non-linear nature of market movements, revealing the true trajectory of price beyond the distortions of noise or short-term volatility.
Adaptive upper and lower bands are constructed using ATR-based scaling, surrounding the regression line to reflect periods of high and low volatility. When price moves toward or beyond these bands, it signals areas of potential overextension or support/resistance.
The heatmap colors each candle based on its relative position within the bands. Green shades indicate proximity to the upper band, red shades indicate proximity to the lower band, and neutral tones represent mid-range positioning. This continuous gradient visualization provides immediate feedback on trend strength, market balance, and potential turning points.
Optional polynomial channels can be overlaid around the regression curve. These three-line channels are based on regression residuals and a fixed width multiplier, offering additional reference points for analyzing price deviations, trend continuation, and reversion zones.
Signals and Breakouts
The Polynomial Regression Heatmap includes statistical pivot-based signals to highlight actionable price movements:
Buy Signals – A triangular marker appears below the candle when a pivot low occurs below the lower regression band.
Sell Signals – A triangular marker appears above the candle when a pivot high occurs above the upper regression band.
These markers identify significant deviations from the regression curve while accounting for volatility, providing high-quality visual cues for potential entry points.
The indicator ensures clarity by spacing markers vertically using ATR-based calculations, preventing overlap during periods of high volatility. Users can rely on these signals in combination with heatmap intensity and regression slope for contextual confirmation.
Interpretation
Trend Analysis :
The slope of the polynomial regression line represents trend direction. A rising curve indicates bullish bias, a falling curve indicates bearish bias, and a flat curve indicates consolidation.
Steeper slopes suggest stronger momentum, while gradual slopes indicate more moderate trend conditions.
Volatility Assessment :
Band width provides an instant visual measure of market volatility. Narrow bands correspond to low volatility and potential consolidation, whereas wide bands indicate higher volatility and significant price swings.
Heatmap Coloring :
Candle colors visually represent price position within the bands. This allows traders to quickly identify zones of bullish or bearish pressure without performing complex calculations.
Channel Analysis (Optional) :
The polynomial channel defines zones for evaluating potential overextensions or retracements. Price interacting with these lines may suggest areas where mean-reversion or trend continuation is likely.
Breakout Signals :
Buy and Sell markers highlight pivot points relative to the regression and volatility bands. These are statistical signals, not arbitrary triggers, and should be interpreted in context with trend slope, band width, and heatmap intensity.
Strategy Integration
The Polynomial Regression Heatmap supports multiple trading approaches:
Trend Following – Enter trades in the direction of the regression slope while using the heatmap for momentum confirmation.
Pullback Entries – Use breakouts or deviations from the regression bands as low-risk entry points during trend continuation.
Mean Reversion – Price reaching outer channel boundaries can indicate potential reversal or retracement opportunities.
Multi-Timeframe Alignment – Overlay on higher and lower timeframes to filter noise and improve entry timing.
Stop-loss levels can be set just beyond the opposing regression band, while take-profit targets can be informed by the distance between the bands or the curvature of the polynomial line.
Advanced Techniques
For traders seeking greater precision:
Combine the Polynomial Regression Heatmap with volume, momentum, or volatility indicators to validate signals.
Observe the width and slope of the regression bands over time to anticipate expanding or contracting volatility.
Track sequences of breakout signals in conjunction with heatmap intensity for systematic trade management.
Adjusting regression length allows customization for different assets or timeframes, balancing responsiveness and smoothing. The combination of polynomial curve, adaptive bands, heatmap, and optional channels provides a comprehensive statistical framework for informed decision-making.
Inputs and Customization
Regression Length – Determines the number of bars used for polynomial fitting. Shorter lengths increase responsiveness; longer lengths improve smoothing.
Show Bands – Toggle visibility of the ATR-based regression bands.
Show Channel – Enable or disable the polynomial channel overlay.
Color Settings – Customize bullish, bearish, neutral, and accent colors for clarity and visual preference.
All other internal parameters are fixed to ensure consistent statistical behavior and minimize potential misconfiguration.
Why Use Polynomial Regression Heatmap
The Polynomial Regression Heatmap transforms complex price action into a clear, actionable visual framework. By combining non-linear trend mapping, adaptive volatility bands, heatmap visualization, and breakout signals, it provides a multi-dimensional perspective that is both quantitative and intuitive.
This indicator allows traders to focus on execution, interpret market structure at a glance, and evaluate trend strength, overextensions, and potential reversals in real time. Its design is compatible with scalping, swing trading, and long-term strategies, providing a robust tool for disciplined, data-driven trading.
Penunjuk dan strategi
JessieOBS with MACD - The Evil MACD
中文版说明在后面
JessieOBS takes the classic MACD to the next level by clearly highlighting overbought and oversold zones.
While the traditional MACD works well for spotting uptrends and downtrends, it often struggles in sideways markets—producing false signals and useless crossovers that can trigger unnecessary stop losses. JessieOBS solves this problem, giving you cleaner, more reliable signals even when the market is moving sideways.
The thick white line signals an oversold area, hinting that a price reversal to an uptrend may happen soon.
The thick blue line signals an overbought area, hinting that a price reversal to a downtrend may happen soon.
JessieOBS helps you filter sideways trends, improving your win rate.
WARNING: JessieOBS is only an early WARNING, NOT A TRADE ENTRY SIGNAL.
When a warning appears, stay alert and wait for confirmation—through price action, divergences (HIGHLY RECOMMENDED with a win rate over 85%!), or the theory of entanglement (HIGHLY RECOMMENDED with a even higher win rate!).
With the right approach, JessieOBS can take your win rate to the next level!
中文版说明:
传统的MACD可以很明确识别出趋势,但有两个最大的缺点:第一是滞后性,第二是假信号。所以MACD在趋势行情里比较好用(不管是上升趋势还是下降趋势),但在横盘期间,就会产生很多的假信号。
JessieOBS就解决了MACD不准的问题,在MACD的信号线上,添加了白色和蓝色的粗线,白色粗线代表价格超卖,接下来很可能会反转上涨,蓝色粗线代表价格超买,接下来很可能会反转下跌。市场横盘期间,JessieOBS很少会给出超买或者超卖信号,从而有效过滤了MACD的假信号。
注意!JessieOBS只能作为一个提前的预警,一定不能把JessieOBS当做入场信号看待。因为JessieOBS只预警价格可能会反转,但并不能预测出价格发生反转的准确时间。
正确的做法是,一旦看见JessieOBS的预警信号,就应该重点关注,再用其他的方式找到准确的入场点。裸k交易法是有用的,找到反转的趋势k线作为入场点。
强烈推荐:出现预警信号之后根据背离点入场,这种方法的胜率可以超过85%。
强烈推荐:出现预警信号之后根据缠论分析入场,利用缠论分析出的入场点胜率可以更高。
Low Volatility Breakout in Trend
█ OVERVIEW
"Low Volatility Breakout in Trend" is a technical analysis tool that identifies periods of low-volatility consolidation within an ongoing trend and signals potential breakouts aligned with the trend's direction. The indicator detects trends using a simple moving average (SMA) of price, identifies consolidation zones based on the size of candle bodies, and displays the percentage change in volume (volume delta) at the breakout moment.
█ CONCEPTS
The core idea of the indicator is to pinpoint moments where traders can join an ongoing trend by capitalizing on breakouts from consolidation zones, supported by additional information such as volume delta. It provides clear visualizations of trends, consolidation zones, and breakout signals to facilitate trading decisions.
Why Use It?
* Breakout Identification: The indicator locates low-volatility consolidation zones (measured by the size of individual candle bodies, not the price range of the consolidation) and signals breakouts, enabling traders to join the trend at key moments.
* Volume Analysis: Displays the percentage change in volume (delta) relative to its simple moving average, providing insight into market activity rather than acting as a signal filter.
* Visual Clarity: Colored trend lines, consolidation boxes (drawn only after the breakout candle closes, not on subsequent candles), and volume delta labels enable quick chart analysis.
* Flexibility: Adjustable parameters, such as the volatility window length or SMA period, allow customization for various trading strategies and markets.
How It Works
* Trend Detection: The indicator calculates a simple moving average (SMA) of price (default: based on the midpoint of high/low) and creates dynamic trend bands, offset by a percentage of the average candle height (band scaling). A price above the upper band signals an uptrend, while a price below the lower band indicates a downtrend. Trend changes occur not when the price crosses the SMA but when it crosses above the upper band or below the lower band (offset by the average candle height multiplied by the scaling factor).
* Consolidation Identification: Identifies low-volatility zones when the candle body size is smaller than the average body size over a specified period (default: 20 candles) multiplied by a volatility threshold — the maximum allowable body size as a percentage of the average body (e.g., 2 means the candle body must be less than twice the average body to be considered low-volatility).
* Breakout Signals: A breakout occurs when the candle body exceeds the volatility threshold, is larger than the maximum body in the consolidation, and aligns with the trend direction (bullish in an uptrend, bearish in a downtrend).
* Visualization: Draws a trend line with a gradient, consolidation boxes (appearing only after the breakout candle closes, marking the consolidation zone), and volume delta labels. Optionally displays breakout signal arrows.
* Signals and Alerts: The indicator generates signals for bullish and bearish breakouts, including the volume delta percentage. Alerts are an additional feature that can be enabled for notifications.
Settings and Customization
* Volatility Window: Length of the period for calculating the average candle body size (default: 20).
* Volatility Threshold: Maximum candle body size as a percentage of the average body (default: 2).
* Minimum Consolidation Bars: Number of candles required for a consolidation (default: 10).
* SMA Length for Trend: Period of the SMA for trend detection (default: 100).
* Band Scaling: Offset of trend bands as a percentage of the average candle height (default: 250%), determining the distance from the SMA.
* Visualization Options: Enable/disable consolidation boxes (Show Consolidation Boxes, drawn after the breakout candle closes), volume delta labels (Show Volume Delta Labels), and breakout signals (Show Breakout Signals, e.g., triangles).
* Colors: Customize colors for the trend line, consolidation boxes, and volume delta labels.
█ OTHER SECTIONS
Usage Examples
* Joining an Uptrend: When the price breaks out of a consolidation in an uptrend with a volume delta of +50%, open a long position; the signal is stronger if the breakout candle surpasses a local high.
* Avoiding False Breakouts: Ignore breakout signals with low volume delta (e.g., below 0%) and combine the indicator with other tools (e.g., support/resistance levels or oscillators) to confirm moves in low-activity zones.
Notes for Users
* On markets that do not provide volume data, the indicator will not display volume delta — disable volume labels and enable breakout signals (e.g., triangles) instead.
* Adjust parameters to suit the market's characteristics to minimize noise.
* Combine with other tools, such as Fibonacci levels or oscillators, for greater precision.
Zones + Trendlines (raphii7)Here you go — in English, simple and clear:
Designed for a clear read of worked zones and trend paths on any timeframe.
-Zones: rectangles where price has touched multiple times = support/resistance zones.
-Trendlines: lines that connect two highs (H–H) or two lows (B–B), with a dotted extension.
Settings
Zones
-Minimum candles between highs/lows (minSepBars): minimum spacing between pivots. Larger = cleaner pivots.
-Show highs/lows (showHBZones): shows small H/B labels on the chart.
-Max highs/lows used (maxPivotsUsed): cap on stored pivots.
-Minimum contacts in the zone (minContacts): minimum touches required to draw a zone.
-Zone size unit (sizeMode):
-Pips = fixed thickness.
-ATR = thickness adapts to volatility.
-Zone size (zoneSize): zone thickness (in Pips or ATR).
-Max candles back (lookbackBars): how far back to scan.
-Max zones to draw (maxZonesDraw): prevents too many rectangles.
-Border / fill color (borderCol / fillCol): zone styling.
Trendlines
-Pivot Length (pivotLen): “size” of the pivot. Higher = more reliable lines, fewer of them.
-Pivot Type (pivotType):
Normal = cleaner, slower.
Fast = very reactive, can move more.
India Nifty Index Performances DashboardSelf explanatory tabular view of Nifty sector performance ranked top & bottom across calendar year vs. financial year — a clear view of market leaders and laggards.
Options available: Day, Week, Month, Quarter, Calendar Year, (India) Financial Year p
performances. Included Gold (from Mcx), Sme (from Bse), 10Y Gsec for comparison.
Fibonacci Sequence Circles [BigBeluga]🔵 Overview
The Fibonacci Sequence Circles is a unique and visually intuitive indicator designed for the TradingView platform. It combines the principles of the Fibonacci sequence with geometric circles to help traders identify potential support and resistance levels, as well as price expansion zones. The indicator dynamically anchors to key price points, such as pivot highs, pivot lows, or timeframe changes (daily, weekly, monthly), and generates Fibonacci-based circles around these anchor points.
⚠️For proper indicators visualization use simple not logarithmic chart
🔵 Key Features
Customizable Anchor Points : The indicator can be anchored to Pivot Highs , Pivot Lows , or timeframe changes ( Daily, Weekly, Monthly ), making it adaptable to various trading strategies.
Fibonacci Sequence Logic : The circles are generated using the Fibonacci sequence, where the diameter of each circle is the sum of the diameters of the two preceding circles.
first = start_val
secon = start_val + int(start_val/2)
three = first + secon
four = secon + three
five = three + four
six = four + five
seven = five + six
eight = six + seven
nine = seven + eight
ten = eight + nine
Adjustable Start Value : Traders can modify the starting value of the sequence to scale the circles larger or smaller, ensuring they fit the current price action.
Color Customization : Each circle can be individually enabled or disabled, and its color can be customized for better visual clarity.
Visual Labels : The diameter of each circle (in bars) is displayed next to the circle, providing additional context for analysis.
🔵 Usage
Step 1: Set the Anchor Point - Choose the anchor type ( Pivot High, Pivot Low, Daily, Weekly, Monthly ) to define the center of the Fibonacci circles.
Step 2: Adjust the Start Value - Modify the starting value of the Fibonacci sequence to scale the circles according to the price action.
Step 3: Customize Circle Colors - Enable or disable specific circles and adjust their colors for better visualization.
Step 4: Analyze Price Action - Use the circles to identify potential support/resistance levels, price expansion zones, or trend continuation areas.
Step 5: Combine with Other Tools - Enhance your analysis by combining the indicator with other technical tools like trendlines, moving averages, or volume indicators.
The Fibonacci Sequence Circles is a powerful and flexible tool for traders who rely on Fibonacci principles and geometric patterns. Its ability to anchor to key price points and dynamically scale based on market conditions makes it suitable for various trading styles and timeframes. Whether you're a day trader or a long-term investor, this indicator can help you visualize and anticipate price movements with greater precision.
Brandon MAA configurable moving-average tool (SMA/EMA/… including exotic types) that colors trend by “price vs MA” or “rising MA,” and marks MA touches (support/resistance) plus rejection breakouts with labels. It also offers tolerance bands, optional smoothing, bar coloring, and glow styling for rapid trend read-through.
Hamza Price action ConceptsPrice Action Hamza Concepts is a powerful all-in-one tool combining SMC, ICT concepts, and classic price action structure. It automatically detects market structure shifts, order blocks, FVGs, CHoCH, BOS, and premium-discount zones. Ideal for scalping, intraday, swing, and position trading.
Illuminati M5 — Innovate PRO v6 (Stable, No-Error)//@version=6
indicator("Illuminati M5 — Innovate PRO v6 (Stable, No-Error)", overlay=true, max_labels_count=500)
//==================== INPUTS: Ana ====================
longBaseThr = input.int(4, "Long Score Base Threshold", minval=1, maxval=10)
shortBaseThr = input.int(4, "Short Score Base Threshold", minval=1, maxval=10)
showPanel = input.bool(true, "Show Panel")
showDebug = input.bool(true, "Show Debug Row")
paintBG = input.bool(true, "Paint BG by decision")
plotSignals = input.bool(true, "Plot Entry Arrows")
aggrMode = input.bool(false, "Aggressive Mode (auto relax)")
useRegime = input.bool(true, "Use Regime Filter (ADX+ER)")
useH1Penalty = input.bool(true, "Use H1 Conflict Penalty")
//==================== INPUTS: Edges & Parametreler ====================
edgeA_VolSpike = input.bool(true, "Edge A: Require Volume Spike")
edgeB_VolSpike = input.bool(false, "Edge B: Require Volume Spike")
edgeA_LongWick = input.bool(false, "Edge A: Require Long Wick")
edgeB_ATRComp = input.bool(true, "Edge B: Require ATR Compression")
volMultA = input.float(1.05, "Vol ≥ X*SMA20 (Edge A)", step=0.01)
volMultB = input.float(1.10, "Vol ≥ X*SMA20 (Edge B)", step=0.01)
minWickRB = input.float(1.10, "Min Wick/Body (Edge A)", step=0.05)
vwapZMin = input.float(0.80, "VWAP |z| min (Edge A)", step=0.05)
vwapZBand = input.float(2.20, "VWAP |z| max (band)", step=0.10)
zLen = input.int(100, "Z-Score length", minval=20)
zAbsMin = input.float(1.10, "Z-Score |z| min (Edge C)", step=0.05)
boLookback = input.int(3, "Edge B: Breakout lookback (bars)", minval=2)
atrK = input.float(1.00, "ATR ≤ K*ATR(100) (Edge B)", step=0.01)
//==================== INPUTS: Trend/Regime ====================
adxLen = input.int(14, "ADX length", minval=5)
adxThr = input.float(20,"ADX trending threshold", step=0.5)
erLen = input.int(20, "Efficiency Ratio length", minval=10)
erThr = input.float(0.30,"ER trending threshold", step=0.01)
//==================== INPUTS: EMA & HTF ====================
emaFastLen = input.int(9, "EMA fast", minval=2)
emaSlowLen = input.int(55, "EMA slow", minval=5)
h1Fast = input.int(21, "H1 EMA fast", minval=5)
h1Slow = input.int(89, "H1 EMA slow", minval=10)
//==================== CORE SERIES ====================
emaF = ta.ema(close, emaFastLen)
emaS = ta.ema(close, emaSlowLen)
momLong = emaF > emaS
momShort = emaF < emaS
vwap = ta.vwap(close)
dev = close - vwap
devStd = ta.stdev(dev, zLen)
zVWAP = devStd == 0.0 ? 0.0 : dev / devStd
m = ta.sma(close, zLen)
sd = ta.stdev(close, zLen)
zPx = sd == 0.0 ? 0.0 : (close - m) / sd
volSma = ta.sma(volume, 20)
volSpikeA = volume >= volMultA * volSma
volSpikeB = volume >= volMultB * volSma
atr14 = ta.atr(14)
atr100 = ta.sma(atr14, 100)
atrComp = atr14 <= atrK * atr100
boUp = close > ta.highest(high , boLookback)
boDown = close < ta.lowest(low , boLookback)
//==================== Custom ADX (Wilder) — ta.adx kullanmadan ====================
f_adx(len) =>
upMove = high - high
downMove = low - low
plusDM = (upMove > downMove and upMove > 0) ? upMove : 0.0
minusDM = (downMove > upMove and downMove > 0) ? downMove : 0.0
tr1 = high - low
tr2 = math.abs(high - close )
tr3 = math.abs(low - close )
tr = math.max(tr1, math.max(tr2, tr3))
smPlusDM = ta.rma(plusDM, len)
smMinusDM = ta.rma(minusDM, len)
smTR = ta.rma(tr, len)
plusDI = 100.0 * smPlusDM / math.max(smTR, 1e-10)
minusDI = 100.0 * smMinusDM / math.max(smTR, 1e-10)
dx = 100.0 * math.abs(plusDI - minusDI) / math.max(plusDI + minusDI, 1e-10)
ta.rma(dx, len)
adxVal = f_adx(adxLen)
//==================== Efficiency Ratio — ta.sum olmadan ====================
f_sumAbs(len) =>
float s = 0.0
for i = 0 to len - 1
s += math.abs(close - close )
s
ch = math.abs(close - close )
chDen = f_sumAbs(erLen)
er = chDen == 0.0 ? 0.0 : ch / chDen
isTrending = (adxVal > adxThr) and (er > erThr)
//==================== HTF (H1) Trend ====================
h1_fast = request.security(syminfo.tickerid, "60", ta.ema(close, h1Fast))
h1_slow = request.security(syminfo.tickerid, "60", ta.ema(close, h1Slow))
h1Up = h1_fast > h1_slow
h1Down = h1_fast < h1_slow
//==================== Adaptif Eşik ====================
volRegime = atr100 == 0.0 ? 1.0 : atr14 / atr100
adj(base, vReg) =>
base + (vReg < 0.8 ? 1 : vReg > 1.2 ? -1 : 0)
f_clamp(x, lo, hi) => math.min(math.max(x, lo), hi)
baseL = adj(longBaseThr, volRegime)
baseS = adj(shortBaseThr, volRegime)
longThr = f_clamp(aggrMode ? baseL - 1 : baseL, 1, 6)
shortThr = f_clamp(aggrMode ? baseS - 1 : baseS, 1, 6)
//==================== Likidite Avı (Wick + HH/LL + VWAP/Vol) ====================
body = math.max(math.abs(close - open), syminfo.mintick)
uWick = high - math.max(close, open)
lWick = math.min(close, open) - low
uwRB = uWick / body
lwRB = lWick / body
look = 20
prevHigh = ta.highest(high , look)
prevLow = ta.lowest(low , look)
sweepUp = high > prevHigh and close < prevHigh
sweepDown = low < prevLow and close > prevLow
trapUp = sweepUp and (uwRB >= minWickRB) and (volSpikeA or volSpikeB) and (math.abs(zVWAP) >= vwapZMin)
trapDown = sweepDown and (lwRB >= minWickRB) and (volSpikeA or volSpikeB) and (math.abs(zVWAP) >= vwapZMin)
//==================== Skor Sistemi ====================
int longScore = 0
int shortScore = 0
longScore += momLong ? 1 : 0
longScore += close > vwap ? 1 : 0
longScore += (math.abs(zPx) >= zAbsMin and zPx > 0) ? 1 : 0
longScore += boUp ? 1 : 0
shortScore += momShort ? 1 : 0
shortScore += close < vwap ? 1 : 0
shortScore += (math.abs(zPx) >= zAbsMin and zPx < 0) ? 1 : 0
shortScore += boDown ? 1 : 0
// Edge gereksinimleri
if edgeA_VolSpike and not volSpikeA
longScore := 0
if edgeB_VolSpike and not volSpikeB
shortScore := 0
if edgeA_LongWick and (uwRB < minWickRB and lwRB < minWickRB)
// uzun fitil gerekliyse ve yoksa, ek katkı yok (skoru sıfırlamıyoruz)
na
// ATR sıkışma şartı yoksa breakout gücünü azalt
if edgeB_ATRComp and not atrComp
longScore -= boUp ? 1 : 0
shortScore -= boDown ? 1 : 0
// Hibrit: Vol Spike + ATR Compression
hybridEdge = ((edgeA_VolSpike and volSpikeA) or (edgeB_VolSpike and volSpikeB)) and (edgeB_ATRComp and atrComp)
if hybridEdge
longScore += 2
shortScore += 2
// Rejim filtresi
if useRegime
if isTrending
longScore += momLong ? 1 : 0
shortScore += momShort ? 1 : 0
else
longScore -= (boUp and not (momLong or close > vwap)) ? 1 : 0
shortScore -= (boDown and not (momShort or close < vwap)) ? 1 : 0
// H1 cezası
if useH1Penalty
longScore -= h1Down ? 1 : 0
shortScore -= h1Up ? 1 : 0
// Likidite avı yönlendirmesi
if trapDown
longScore += 2
shortScore -= 1
if trapUp
shortScore += 2
longScore -= 1
longScore := math.max(0, longScore)
shortScore := math.max(0, shortScore)
//==================== Karar & Plot ====================
goLong = longScore >= longThr and longScore > shortScore
goShort = shortScore >= shortThr and shortScore > longScore
noTrade = not goLong and not goShort
bgcolor(paintBG ? (goLong ? color.new(color.green,85) : goShort ? color.new(color.red,85) : color.new(color.gray,90)) : na)
plotshape(plotSignals and goLong, "LONG", shape.triangleup, location.belowbar, size=size.tiny, text="L", color=color.green)
plotshape(plotSignals and goShort, "SHORT", shape.triangledown, location.abovebar, size=size.tiny, text="S", color=color.red)
//==================== PANEL (4 sütun güvenli, clear kullanmadan) ====================
var table t = table.new(position.top_right, 4, 10, border_width=1)
// Panel başlangıcı
if barstate.islast and showPanel
// Row 0
table.cell(t, 0, 0, "Regime")
// Ternary ve renkleri değişkene al
statusText = isTrending ? "Trending" : "Ranging"
statusBg = isTrending ? color.new(color.green, 70) : color.new(color.orange, 70)
// Tek satırda, eksiksiz çağrı
table.cell(t, 1, 0, statusText, text_color=color.white, bgcolor=statusBg)
table.cell(t, 2, 0, "ADX")
table.cell(t, 3, 0, str.tostring(adxVal, format.mintick))
// Row 1
table.cell(t, 0, 1, "Efficiency")
table.cell(t, 1, 1, str.tostring(er, format.mintick))
table.cell(t, 2, 1, "ATR Reg.")
table.cell(t, 3, 1, str.tostring(volRegime, format.mintick))
// Row 2
table.cell(t, 0, 2, "LongScore")
table.cell(t, 1, 2, str.tostring(longScore))
table.cell(t, 2, 2, "Thr")
table.cell(t, 3, 2, str.tostring(longThr))
// Row 3
table.cell(t, 0, 3, "ShortScore")
table.cell(t, 1, 3, str.tostring(shortScore))
table.cell(t, 2, 3, "Thr")
table.cell(t, 3, 3, str.tostring(shortThr))
// Row 4
table.cell(t, 0, 4, "Hybrid Edge")
table.cell(t, 1, 4, hybridEdge ? "ON" : "OFF", bgcolor=hybridEdge ? color.new(color.teal,70) : na)
table.cell(t, 2, 4, "Trap U/D")
table.cell(t, 3, 4, (trapUp ? "▲" : "-") + " / " + (trapDown ? "▼" : "-"))
// Row 5 — Decision line
string dLong = goLong ? "LONG ✅" : "Long"
string dShort = goShort ? "SHORT ✅" : "Short"
string dNT = noTrade ? "NO TRADE ✅" : "No Trade"
string dLiq = (trapUp or trapDown) ? "Likidite Avı ✅" : "Likidite Avı"
table.cell(t, 0, 5, dLong, bgcolor=goLong ? color.new(color.green,70) : na)
table.cell(t, 1, 5, dShort, bgcolor=goShort ? color.new(color.red,70) : na)
table.cell(t, 2, 5, dNT, bgcolor=noTrade ? color.new(color.gray,70) : na)
table.cell(t, 3, 5, dLiq, bgcolor=(trapUp or trapDown) ? color.new(color.yellow,60) : na)
// Row 6–9 (Debug)
if showDebug
table.cell(t, 0, 6, "zVWAP / zPx")
table.cell(t, 1, 6, str.tostring(zVWAP, format.mintick))
table.cell(t, 2, 6, str.tostring(zPx, format.mintick))
table.cell(t, 0, 7, "Vol A/B")
table.cell(t, 1, 7, (volSpikeA ? "A✓" : "A×"))
table.cell(t, 2, 7, (volSpikeB ? "B✓" : "B×"))
table.cell(t, 0, 8, "ATR Comp")
table.cell(t, 1, 8, atrComp ? "ON" : "OFF")
table.cell(t, 2, 8, "")
table.cell(t, 3, 8, "")
table.cell(t, 0, 9, "H1 Up/Down")
table.cell(t, 1, 9, h1Up ? "Up" : h1Down ? "Down" : "-")
table.cell(t, 2, 9, "")
table.cell(t, 3, 9, "")
Brandon MAA configurable moving-average tool (SMA/EMA/… including exotic types) that colors trend by “price vs MA” or “rising MA,” and marks MA touches (support/resistance) plus rejection breakouts with labels. It also offers tolerance bands, optional smoothing, bar coloring, and glow styling for rapid trend read-through.
VSTBrandonBuilds a volume-adjusted MA baseline, then runs an ATR Supertrend with asymmetric multipliers to determine bullish/bearish state. The line, glow band, gradient area, candles, and Long/Short labels all follow the active trend, with alert hooks for automation.
Brandon MA OscPlots the percent deviation of price from a chosen volume-weighted MA and envelopes it with smoothed standard-deviation bands. It supports Trend, Reversion, and Valuation modes with OB/OS markers and background shading, generating simple buy/sell cues when bands are crossed.
CyberFlow [Probabilities] | FractalystWhat's the indicator's purpose and functionality?
CyberFlow quantifies, per chosen higher-timeframe “Period 1/2/3”, what happens after price first taps the midpoint (Mid) of the previous period’s range. Specifically, it estimates P(High first | Mid tap) versus P(Low first | Mid tap): which side (previous High “PH” or previous Low “PL”) is typically reached first after that mid activation.
It extends a previously shared OrderFlow concept that used market structure; here it conditions on higher‑timeframe previous‑period PH/PL with the Mid as the explicit trigger.
Note: It's specifically designed to exports raw probabilistic series for algorithmic/system developers to integrate a probabilistic layer into strategies and to build/backtest ideas directly from those series.
What is “Mid activation”?
The Mid is the average of the previous period’s PH and PL. Activation occurs on the first bar in the current period whose high–low range includes the Mid. The first bar of a new period cannot activate Mid; activation can only start from the second bar of the period onward.
What counts as “first hit” after activation?
After a Mid activation, the script waits for a subsequent bar that touches either the previous High (PH) or previous Low (PL). The first side touched after the activation bar is recorded as that period’s first hit. Once decided, the other side is ignored for first‑hit statistics.
Which periods does it use?
You can select three custom reference timeframes (Period 1/2/3) in the UI (defaults: D/W/M). All logic—PH/PL/Mid, activation, first‑hit stats—runs independently per selected period.
Do the display controls change the calculation?
No. The “Show” selector only controls visuals:
Period 1/2/3: show only that period’s plots/barcolors.
OFF: shows all periods. Statistics and exported series are unaffected by this selector.
What do the bar/line colors mean?
Activation (first Mid tap): yellow bar.
Delivered to previous High after activation: blue
Delivered to previous Low after activation: red
Plots stop showing PH/PL once delivery happens (for that side) within the period.
What do the status symbols in the table mean?
■ Inactive — Mid not tapped this period.
▶ Activated — Mid tapped; awaiting delivery to PH or PL.
● Delivered — PH or PL was hit first after the Mid tap.
How are probabilities computed?
For each period, the script counts samples where the Mid was tapped and one side was hit first. It reports:
P(High first | Mid tap) and P(Low first | Mid tap).
Two‑sided p‑value vs 50% (H0: p = 0.5). These appear in the stats table with detailed tooltips.
What is “Bias” in exports?
Bias is a ternary signal derived from P(High first | Mid tap):
Bias = 1 if > 0.5
Bias = -1 if < 0.5
Bias = 0 if exactly 0.5 or no sample Source can be per period or “Merged” (simple average of available period probabilities).
Note: the UI uses a simple average; no weighted option is exposed.
What is “Entry” in exports?
Entry = 1 on bars where the selected period’s Mid activates (first tap), else 0. “Merged” emits 1 if any of the three periods activates on the bar.
What is “Exit” in exports?
Exit is the previous period’s Mid price (PH/PL average) for the selected period. “Merged” is the average of the three previous‑period Mid prices.
How do I integrate this into strategies? How to use the indicator?
CyberFlow is designed for algorithmic/system developers to add a probabilistic layer for entries and market‑regime detection.
What CyberFlow exports
- Bias (−1, 0, 1): from P(High first | Mid tap) vs 50% per your chosen source (Period 1/2/3 or Merged simple average).
- Entry (0/1): 1 only on the bar where the selected period’s Mid first activates (the “mid tap” bar).
- Exit (price): the previous period’s Mid price (average of previous High/Low) for the selected source.
- These appear in the Data Window as series named Bias, Entry, and Exit.
Connecting from your strategy (input.source)
- Add inputs in your strategy so users can select CyberFlow’s outputs:
- Bias source input: pick the indicator’s Bias.
- Entry source input: pick the indicator’s Entry.
- Exit source input: pick the indicator’s Exit.
In TradingView’s UI, users link these inputs to CyberFlow’s plots via the source picker.
Does this use request.security?
No. CyberFlow reconstructs your selected higher timeframes (Period 1/2/3) directly on the chart without request.security().
It detects new period boundaries via timeframe.change(tf), rolls the last period’s extremes into Previous High/Low (PH/PL), computes their Mid, then waits for a “Mid activation” (a bar after the first bar of the period whose range crosses the Mid).
From activation onward, it records which side (PH or PL) is reached first to build conditional probabilities per period.
Because levels and events are derived locally from the live bar stream, there are no cross-timeframe fetch artifacts or repaint nuances from request.security().
The exported series (Bias −1/0/1, Entry 0/1, Exit price) are produced natively and can be wired into strategies via TradingView’s input.source() for robust, low-latency integration.
What markets and assets does the indicator Extension work best on?
CyberFlow is market- and timeframe‑agnostic: it computes conditional probabilities (which side of the prior range is reached first after a mid tap) directly from price, so it can be applied to crypto, FX, indices, equities, futures, and commodities across intraday to higher timeframes. In practice, robustness depends on liquidity and sample size: higher timeframes usually yield more stable estimates (fewer activations, lower noise), while lower timeframes give more activations but can be noisier (spreads/fees matter more).
Because the study itself provides probabilities—not PnL—assess profitability in your context by integrating the exported series (Bias −1/0/1, Entry 0/1, Exit price) into your strategy via TradingView’s input.source(), then backtest with your fills, costs, and risk model to measure performance efficiency on your specific markets and settings.
What makes this script unique?
Custom higher-timeframes (beyond D/W/M)
You can pick any three reference periods (Period 1/2/3), not just Daily/Weekly/Monthly. The script rebuilds these periods directly on the chart and analyzes each independently.
True conditional probability (why it matters)
It measures P(High first | Mid tap) vs P(Low first | Mid tap) — i.e., “after the previous period’s midpoint is first tapped, which side is typically reached first?”
Conditioning on the mid‑tap event isolates the path that follows a specific trigger. Unconditioned counts (e.g., “how often PH/PL is hit”) mix pre‑ and post‑activation behavior and can be misleading. This conditional framing turns vague hit‑rates into decision‑grade odds tied to a clear setup.
Statistical confidence in‑context (p‑value in tooltips)
Tooltips show a Wilson 95% confidence interval and a two‑sided p‑value versus 50/50. This helps you judge whether an observed edge is likely signal or noise at your chosen periods.
Exports built for algorithmic integration
Three clean outputs in the Data Window for strategies:
Bias (−1/0/1) from the conditional probability versus 50%.
Entry (0/1) on the activation bar (first mid tap).
Exit (price) as the previous period’s Mid.
Hook these into your backtests via TradingView’s input.source(), then evaluate profitability with your own fills, costs, and risk model. This turns the probabilities into measurable performance you can optimize.
Disclaimer
This tool provides statistical estimates only and is not financial advice. Historical probabilities are not guarantees of future results. Always backtest with your own costs, fills, and risk model before using in live trading.
NYSE Advancing Issues & Volume RatiosOverview
This comprehensive market breadth indicator tracks two essential NYSE ratios that provide deep insights into market sentiment and internal strength:
NYSE Advancing Issues Ratio
NYSE Advancing Volume Ratio
Dual Ratio Analysis
Issues Ratio: Measures the percentage of NYSE stocks advancing vs. total issues
Volume Ratio: Measures the percentage of NYSE volume flowing into advancing stocks
Both ratios displayed as easy-to-read percentages (0-100%)
Customizable Display Options
Toggle each ratio on/off independently
Choose from multiple moving average types (SMA, EMA, WMA)
Adjustable moving average periods
Custom color schemes for better visualization
Reference Levels
50% Line: Market neutral point (gray dashed)
10% Line: Extremely bearish breadth (red dotted)
90% Line: Extremely bullish breadth (green dotted)
Optional background highlighting for extreme readings
Smart Alerts
Cross above/below 50% (neutral) for both ratios
Extreme readings: Above 90% (strong bullish) and below 10% (strong bearish)
Real-time notifications for key market breadth shifts
📈 How to Interpret
Bullish Signals
Above 50%: More stocks/volume advancing than declining
Above 90%: Extremely strong market breadth (rare occurrence)
Divergence: Price making new highs while breadth weakens (potential warning)
Market Timing
Extreme readings (10%/90%) often coincide with market turning points
Breadth thrusts from extreme levels can signal powerful moves
Use with other technical indicators for enhanced timing
Trendlines, SMC, SR, This is a Comprehensive Indicator - It includes Trendlines and shows break outs, SMC, FV gaps, Order Blocks, Support and Resistance, Moving Averages, and Kernel Switch. "All in One"
Economic Cycle ScoreCalculation
-Combine Business Cycle with Liquidity Cycle by applying Z-Score
-Rescale Z-Score to 0-100
-Smooth it with ema
-0-15 is oversold
-85-100 is overbought
Use Case
-Identify when risk asset (Bitcoin) is overbought/oversold
-Use this indicator together with other confluences
***USE ON MONTHLY CHART ONLY (due to the economic date release frequency)
Floating Dashboard + KDE (v6)Simple indicator that displays ADX, RSI, MACD, ATR, Average Volume and KDE with dynamic Table and Label.
Altcoin Market Share vs ETH/BTCIdea from x.com on X
Each colored line represents the percentage share of different altcoin baskets (excluding stablecoins) or ETH relative to either the ETH or BTC market cap (can add more, e.g. SOL or create different dashboards with Memes, AI, DeFi, you name it)
I know: At first glance, this may seem noisy and complex, but it all depends on the questions you want to answer. Once you define those, much of the noise becomes irrelevant, allowing you to simplify the analysis and focus only on what matters to you. What I’ve done here is provide a few initial insights that I found useful (will isolate a couple of them in future).
This analysis doesn’t tell you which specific coins to buy, but rather provides a broad market overview as a foundation. It helps guide you toward areas of relative strength or weakness.
I’ve included a lot of information here, but the key is to extract the signal from the noise by asking the right questions, for example: At what point do altcoins become overvalued or undervalued against Ethereum? However, when asking these questions, it's important to remember that an overvaluation or undervaluation of Ethereum relative to altcoins tells you little about its valuation against Bitcoin or USD. These are separate questions further down the process.
UniqueHorn - MA Indicator with SMI📊 Overview
The UniqueHorn MA-SMI Indicator is a comprehensive trading tool that combines multiple Moving Averages with the Stochastic Momentum Index (SMI) in a clean, organized display. Designed for traders who need clear visual analysis of trend, momentum, and potential reversal points.
✨ Key Features
Moving Averages (8 Total)
3 EMAs: 5, 10, 20 (for quick trend detection)
5 SMAs: 30, 40, 50, 65, 200 (for medium to long-term trends)
Smart Timeframe Adaptation
Daily & Lower: EMA 5, 10, 20 | SMA 50, 65, 200
Weekly Chart: EMA 10, 20 | SMA 30, 40, 50, 200
Automatic display optimization based on timeframe
SMI Integration (Stochastic Momentum Index)
Visual signals directly on main chart
Overbought/Oversold markers
Bullish/Bearish crossover signals
Optional background coloring for extreme zones
Current SMI value as label
Climax Detection
Buying Climax: New 52-week high with red candle (weakness signal)
Selling Climax: New 52-week low with green candle (strength signal)
Works optimally on weekly charts
📈 Usage & Strategies
Trend Following
Use MAs as dynamic support/resistance
EMA crossovers for entry/exit signals
SMA 200 as primary trend filter
Momentum Trading
SMI < -40: Oversold zone → Potential long opportunity
SMI > 40: Overbought zone → Potential short opportunity
SMI crossovers as early trend reversal signals
Climax Trading
Buying Climax: Warning of potential top formation
Selling Climax: Indication of potential bottom formation
⚙️ Customization Options
Individual color selection for each MA
Separate line widths for EMA 5, 10, and other MAs
Show/Hide individual components
Fully adjustable SMI parameters
Optional info table with status overview
Comprehensive alert system for all signals
🎯 Ideal For
Swing Traders: Use the combination of MAs and SMI for optimal entries/exits
Position Traders: Focus on longer-term MAs and weekly chart signals
Day Traders: Fast EMAs with SMI momentum for short-term setups
📝 Notes
Climax signals work exclusively on weekly charts
SMI signals are available in all timeframes
Timeframe-specific MA display reduces visual clutter
Combine multiple signals for higher probability trades
🔔 Alert Functions
The indicator provides alerts for:
Buying/Selling Climaxes
SMI Overbought/Oversold zones
SMI Bullish/Bearish crossovers
EMA crossovers
Price-SMA200 crossovers
Version: 1.0
Pine Script: v6
Author: UniqueHorn
This indicator is the result of careful development and optimization for professional trading. For questions or suggestions, please use the comments section.
Inside Bar Ind/Alert with High/Low MarkersThis indicator identifies inside bar candles, a common price action pattern where the current candle's range is completely within the range of the previous candle.
✨ Enhancements in this version:
When an inside bar is detected, the script marks the high and low of the major candle (the candle immediately before the inside bar).
These high/low levels act as a temporary range to visualize market compression.
If price breaks above the high or below the low of the major candle, the marker disappears, signaling a potential breakout.
Green inside bars indicate bullish body; Red inside bars indicate bearish body.
📍 Visuals:
Inside bars are marked with colored bar highlights and triangle shapes.
The major candle's high/low are marked using gray cross shapes above/below the chart.
🔔 Alert Included:
An alert triggers when a new inside bar is detected.
This tool is especially useful for traders tracking consolidation and breakout patterns within price action.
Volumetric Support and Resistance [BackQuant]Volumetric Support and Resistance
What this is
This Overlay locates price levels where both structure and participation have been meaningful. It combines classical swing points with a volume filter, then manages those levels on the chart as price evolves. Each level carries:
• A reference price (support or resistance)
• An estimate of the volume that traded around that price
• A touch counter that updates when price retests it
• A visual box whose thickness is scaled by volatility
The result is a concise map of candidate support and resistance that is informed by both price location and how much trading occurred there.
How levels are built
Find structural pivots uses ta.pivothigh and ta.pivotlow with a user set sensitivity. Larger sensitivity looks for broader swings. Smaller sensitivity captures tighter turns.
Require meaningful volume computes an average volume over a lookback period and forms a volume ratio for the current bar. A pivot only becomes a level when the ratio is at least the volume significance multiplier.
Avoid clustering checks a minimum level distance (as a percent of price). If a candidate is too close to an existing level, it is skipped to keep the map readable.
Attach a volume strength to the level estimates volume strength by averaging the volume of recent bars whose high to low range spans that price. Levels with unusually high strength are flagged as high volume.
Store and draw levels are kept in an array with fields for price, type, volume, touches, creation bar, and a box handle. On the last bar, each level is drawn as a horizontal box centered at the price with a vertical thickness scaled by ATR. Borders are thicker when the level is marked high volume. Boxes can extend into the future.
How levels evolve over time
• Aging and pruning : levels are removed if they are too old relative to the lookback or if you exceed the maximum active levels.
• Break detection : a level can be removed when price closes through it by more than a break threshold set as a fraction of ATR. Toggle with Remove Broken Levels.
• Touches : when price approaches within the break threshold, the level’s touch counter increments.
Visual encoding
• Boxes : support boxes are green, resistance boxes are red. Box height uses an ATR based thickness so tolerance scales with volatility. Transparency is fixed in this version. Borders are thicker on high volume levels.
• Volume annotation : show the estimated volume inside the box or as a label at the right. If a level has more than one touch, a suffix like “(2x)” is appended.
• Extension : boxes can extend a fixed number of bars into the future and can be set to extend right.
• High volume bar tint : bars with volume above average × multiplier are tinted green if up and red if down.
Inputs at a glance
Core Settings
• Level Detection Sensitivity — pivot window for swing detection
• Volume Significance Multiplier — minimum volume ratio to accept a pivot
• Lookback Period — window for average volume and maintenance rules
Level Management
• Maximum Active Levels — cap on concurrently drawn levels
• Minimum Level Distance (%) — required spacing between level prices
Visual Settings
• Remove Broken Levels — drop a level once price closes decisively through it
• Show Volume Information on Levels — annotate volume and touches
• Extend Levels to Right — carry boxes forward
Enhanced Visual Settings
• Show Volume Text Inside Box — text placement option
• Volume Based Transparency and Volume Based Border Thickness — helper logic provided; current draw block fixes transparency and increases border width on high volume levels
Colors
• Separate colors for support, resistance, and their high volume variants
How it can be used
• Trade planning : use the most recent support and resistance as reference zones for entries, profit taking, or stop placement. ATR scaled thickness provides a practical buffer.
• Context for patterns : combine with breakouts, pullbacks, or candle patterns. A breakout through a high volume resistance carries more informational weight than one through a thin level.
• Prioritization : when multiple levels are nearby, prefer high volume or higher touch counts.
• Regime adaptation : widen sensitivity and increase minimum distance in fast regimes to avoid clutter. Tighten them in calm regimes to capture more granularity.
Why volume support and resistance is used in trading
Support and resistance relate to willingness to transact at certain prices. Volume measures participation. When many contracts change hands near a price:
• More market players hold inventory there, often creating responsive behavior on retests
• Order flow can concentrate again to defend or to exit
• Breaks can be cleaner as trapped inventory rebalances
Conditioning level detection on above average activity focuses attention on prices that mattered to more participants.
Alerts
• New Support Level Created
• New Resistance Level Created
• Level Touch Alert
• Level Break Alert
Strengths
• Dual filter of structure and participation, reducing trivial swing points
• Self cleaning map that retires old or invalid levels
• Volatility aware presentation using ATR based thickness
• Touch counting for persistence assessment
• Tunable inputs for instrument and timeframe
Limitations and caveats
• Volume strength is an approximation based on bars spanning the price, not true per price volume
• Pivots confirm after the sensitivity window completes, so new levels appear with a delay
• Narrow ranges can still cluster levels unless minimum distance is increased
• Large gaps may jump past levels and immediately trigger break conditions
Practical tuning guide
• If the chart is crowded: increase sensitivity, increase minimum level distance, or reduce maximum active levels
• If useful levels are missed: reduce volume multiplier or sensitivity
• If you want stricter break removal: increase the ATR based break threshold in code
• For instruments with session patterns: tailor the lookback period to a representative window
Interpreting touches and breaks
• First touch after creation is a validation test
• Multiple shallow touches suggest absorption; a later break may then travel farther
• Breaks on high current volume merit extra attention
Multi timeframe usage
Levels are computed on the active chart timeframe. A common workflow is to keep a higher timeframe instance for structure and a lower timeframe instance for execution. Align trades with higher timeframe levels where possible.
Final Thoughts
This indicator builds a lightweight, self updating map of support and resistance grounded in swings and participation. It is not a full market profile, but it captures much of the practical benefit with modest complexity. Treat levels as context and decision zones, not guarantees. Combine with your entry logic and risk controls.
1H Cross into Daily Bollinger UpperIndicator to spot volatility in a ticker.
The price moving above indicates a potential breakout and can be observed in such manner.
VietNguyen2 AlgoThis is indicator of Vietnammes. I am living at Da Nang city.
If you want to meeting then call me 0888135999