Moving Average RibbonAs used in Extended EMA - M and Ws.
Displays 3 EMAs by default. 50, 100, 200. These can be used to assess the distance fromn the neckline in an M and W strategy.
Chỉ báo và chiến lược
Std Deviation RangeWhen you want to know when the standard deviation is outside your boundaries this indicator is for you. It lets you set you SD limit and it can color the background when you are out of bounds. Currently the default is 20 SMA bollinger bands set at 1.1. If it is inside those limits the background is green and when it exceeds that range the background is red. You can change the SMA, the standard deviation, and the colors.
ATR Channels 1-2-3It is an overlay indicator that builds a system of channels around a moving average using ATR as the distance metric. The script first calculates a central moving average of the closing price, which can be either EMA or SMA depending on the selected parameter. This moving average acts as the axis of the channels and is independent of the ATR calculation.
Next, it computes the Average True Range using a separate period. The ATR is used directly as an absolute measure of price volatility, without additional smoothing or normalization.
Based on the central moving average and the ATR value, three pairs of bands are generated. The first channel is created by adding and subtracting one ATR from the moving average. The second channel is created by adding and subtracting two times the ATR, and the third channel by adding and subtracting three times the ATR. There is no conditional or adaptive logic involved; the distances are linear and strictly proportional to the current ATR value.
All lines are recalculated on every bar close. The script does not include signals, filters, or trading logic. It purely visualizes volatility-adjusted price envelopes around a reference moving average.
Desk Alerts: AMD / PLTR / NVDA (VWAP + EMA + Volume)Desk Alerts: AMD / PLTR / NVDA (VWAP + EMA + Volume)
Desk Alerts: AMD / PLTR / NVDA (VWAP + EMA + Volume)Desk Alerts: AMD / PLTR / NVDA (VWAP + EMA + Volume)
Combo Detector (The Strat)Description:
The Combo Detector (The Strat) identifies sequences of bar types on a higher timeframe (HTF) according to a user-defined combo pattern. Bar types are classified as:
1 (Inside bar): High ≤ previous high and Low ≥ previous low
2 (Directional bar): Neither inside nor outside
3 (Outside bar): High > previous high and Low < previous low
The indicator matches the combo pattern from most recent bar backward and highlights occurrences with optional labels.
For combos ending in 2-2, the indicator can further classify the pattern as:
Reversal: First and third bars exceed the second bar in the same direction (highs or lows)
Continuation: The second bar’s high or low is between the extremes of the first and third bars
Inputs:
Detection Timeframe: Choose the higher timeframe to analyze (e.g., 60, 240, 4H, 12H)
Strat Combo: Define a pattern of bar types (e.g., 3-2-2, 322, 122). Hyphens are optional; labels always display hyphenated.
Include Forming Candle: If enabled, the currently forming bar is included in detection; otherwise only confirmed bars are used.
Show Labels: Toggle to display labels on chart (turn OFF for clean charts).
Pattern Option for 22: Choose "All", "Reversal", or "Continuation" for Strat combos ending in 2-2.
Usage Notes:
Intended as a research and pattern-detection tool; not a trading signal.
Labels and colors are customizable for visual reference.
An optional alert condition is provided for informational awareness only and is not intended as a trading signal.
The bar classification framework aligns with the widely known “The Strat” methodology popularized by Rob Smith; this indicator is an independent, unaffiliated research tool.
Wx Gann WindowsWx Gann Windows — Seasonal Time Windows & Forward Markers
Wx Gann Windows highlights the handful of Gann-style seasonal dates that matter most, without cluttering your chart. It draws subtle “time windows” around key dates each year and optionally projects the next 12 months of dates into the future so you can keep them in mind when planning trades or options spreads.
What it shows
1. Seasonal Windows (background bands)
• Equinox / Solstice windows (Spring, Summer, Autumn, Winter).
• Optional midpoint (cross-quarter) windows: early Feb / May / Aug / Nov.
• Each window is a small number of days (default 3) centered on the approximate calendar date, with a soft background band so price action remains in focus.
2. On-Chart Labels (optional)
• Small labels like “Spring Eq.”, “Winter Sol.”, “Feb Mid” printed just above the current chart’s price range.
• One label per window, on the first bar of the window.
3. Future Projections (next 12 months)
• For each key date, the script projects the next occurrence into the future.
• Draws a vertical dotted line from near the chart low to above the chart high, plus a label such as “Spring Eq. (next)” or “Aug Mid (next)”.
• This gives you a 12-month “time roadmap” for cycles-sensitive planning (e.g., options, swing trades) without manual date marking.
Inputs
Window Settings
• Equinox / Solstice Window (days) – size of the seasonal bands (default 3 days).
• Midpoint Window (days) – size of the mid-Feb / May / Aug / Nov bands.
Visibility
• Show Equinox & Solstice Windows – toggle main seasonal bands on/off.
• Show Midpoint Windows (Feb/May/Aug/Nov) – toggle cross-quarter bands.
• Show Labels (on windows) – show/hide the on-chart labels above price.
Future Projections
• Project Next 12 Months (future markers) – toggle the forward vertical lines + “(next)” labels.
How to use it
• Treat these dates as awareness windows, not prediction signals.
• Use them to:
• Be extra alert for potential turns, accelerations, or exhaustion.
• Tighten risk or avoid opening new positions right into a window if your system suggests caution.
• Plan options expiries or swing entries with time structure in mind.
Always confirm decisions with your own system (trend, structure, volume, breadth, macro), not the dates alone.
Notes & Disclaimer
• Dates are approximate calendar anchors inspired by Gann’s seasonal and cross-quarter work, using simple ±N-day windows.
• Works on any symbol and timeframe; windows are based on calendar dates, not bar count.
• This tool is educational and informational only. It does not place orders and is not financial advice. Always test and integrate with your own strategy and risk management.
ATR RangeATR Range is a minimal, clean volatility context indicator designed to show how much of the Daily and Weekly ATR has already been used — without cluttering your chart.
Instead of plotting multiple lines or tables, this indicator displays two simple, highly-informative lines:
• Day Range (X) is Y% of ATR (Z)
• Week Range (X) is Y% of ATR (Z)
These lines update intraday and give you immediate awareness of whether price has already made an average move or still has room to expand.
⸻
🔍 What It Shows
• Daily range vs Daily ATR
• Weekly range vs Weekly ATR
• Percentage of ATR already consumed
⸻
🎯 Why This Is Useful
• Helps avoid chasing extended moves
• Adds volatility context to entries and exits
• Ideal for futures, options, and index trading
T5_EngineLibrary "T5_Engine"
run(ema50, ema200, atrPct, emaGapPct, btcEma50, btcEma200, isBarClose, crossUp21_50, crossDown21_50, useBTCFilter, useSpreadFilter, minSpreadPctFixed, useAdaptiveSpread, spreadBaseMinPct, spreadAtrK, atrLowTh, atrHighTh)
Parameters:
ema50 (float)
ema200 (float)
atrPct (float)
emaGapPct (float)
btcEma50 (float)
btcEma200 (float)
isBarClose (bool)
crossUp21_50 (bool)
crossDown21_50 (bool)
useBTCFilter (bool)
useSpreadFilter (bool)
minSpreadPctFixed (float)
useAdaptiveSpread (bool)
spreadBaseMinPct (float)
spreadAtrK (float)
atrLowTh (float)
atrHighTh (float)
Vishall Power X Strategy - DAILY EXPORT-2Vishall Power X Strategy - DAILY EXPORT-2 = VISHALL EXPORT
longPower = d_close - d_low
shortPower = d_high - d_close
Y = d_close
x = ((longPower - shortPower) / Y) * 100
Vishall Power X Strategy - DAILY EXPORT-2Vishall Power X Strategy - DAILY EXPORT-2
longPower = day_close - day_low
shortPower = day_high - day_close
Y = day_close
x_value = ((longPower - shortPower) / Y) * 100
ALTINS1 Darphane Altin Sertifikasi Fair Value Tracker [ALPAY.B]This indicator displays the fair value of the Darphane Gold Certificate (ALTINS1) traded on Borsa Istanbul.
It calculates the theoretical price based on 0.01 grams of Spot Gold (XAU/USD) converted to Turkish Lira (USD/TRY). This tool is essential for investors to monitor whether the certificate is trading at a significant premium or discount compared to its intrinsic gold value.
Key Features:
Real-time Fair Value calculation.
Live Premium/Discount percentage tracking.
Visual background warnings for overvalued conditions.
Vishall FINAL candle Power X Strategy - DAILY EXPORTVishall FINAL candle Power X Strategy - DAILY EXPORT
it show only day details
longPower = day_close - day_low
shortPower = day_high - day_close
Y = day_close
x_value = ((longPower - shortPower) / Y) * 100
Portfolio TrackerPortfolio Tracker – Manual Position Dashboard
This indicator provides a clean, non-intrusive dashboard for tracking open equity positions directly on your chart.
You can manually enter up to 20 positions (symbol, quantity, and buy price), and the dashboard will automatically compute:
- Invested amount per position
- Live market price
- Current market value
- Profit / Loss (absolute)
- Profit / Loss (%)
- Portfolio-level totals
The dashboard updates on the latest bar only, ensuring stable values and minimal redraw overhead.
Visuals :
- Supports up to 20 simultaneous positions
- Clear green / red P&L highlighting per position
- Portfolio totals calculated in real time
- Adjustable dashboard size (Small / Normal / Large)
- User-selectable dashboard position (top/bottom, left/right)
No trading logic, no signals, no repainting — tracking only
Price Line with SMA & StdDev ChannelIndicator Synopsis
This indicator is a stand-alone price-based oscillator that mirrors market price action in a separate pane, allowing traders to analyze structure, momentum, and volatility without the visual noise of the main chart.
The indicator plots a raw price line as its core component, creating a one-to-one representation of price movement detached from candlesticks. A 14-period Simple Moving Average (SMA) smooths this price line to help identify short-term momentum shifts and directional bias.
A volatility channel is constructed around a 20-period SMA, which serves as the channel’s equilibrium (mean). The upper and lower channel boundaries are positioned one standard deviation above and below the 20-period SMA, dynamically adapting to changes in market volatility.
This structure allows traders to:
Identify mean reversion opportunities when price stretches beyond the channel
Observe trend strength and continuation when price holds above or below the channel midline
Detect volatility expansion and contraction through channel width
Use the SMA 14 as a momentum filter against the broader 20-period mean
By isolating price behavior into a separate pane, the indicator provides a clear, uncluttered framework for reading price dynamics, making it suitable for discretionary analysis, momentum confirmation, and volatility-based trade planning.
EMA BBEMA BB is a chart overlay indicator that combines EMA 9, EMA 20, SMA 50, SMA 200, and VWAP with Bollinger Bands to visualize trend direction and volatility.
It highlights volatility squeeze zones by comparing Bollinger Bands with ATR, helping traders spot consolidation phases that often precede strong price moves. Designed for quick trend confirmation, support/resistance awareness, and breakout setups.
Peter's Relative Strength vs VTI (1 year)In Stockcharts.com, I would always view 1-year charts and have a RS line showing relative strength of the stock or ETF I'm looking at relative to VTI. When I moved to TradingView, this information was harder to see, so I made this indicator. It always shows what the stock or ETF has done relative to the wider market over the past 1 year.
demark_poolLibrary "demark_pool"
f_labelArrayClear(pool, run)
Parameters:
pool (array)
run (bool)
f_labelPushCap(pool, l, cap)
Parameters:
pool (array)
l (label)
cap (int)
f_labelTrimCap(pool, run, cap)
Parameters:
pool (array)
run (bool)
cap (int)
demark_utilsLibrary "demark_utils"
f_grade(score)
Parameters:
score (float)
f_clampScore(score)
Parameters:
score (float)
f_px(v)
Parameters:
v (float)
f_pxOrDash(v)
Parameters:
v (float)
f_sum(src, length)
Parameters:
src (float)
length (int)
f_hasAnyBits(bus, mask)
Parameters:
bus (int)
mask (int)
f_busSetMask(bus, mask)
Parameters:
bus (int)
mask (int)
f_evSet(bus, flag)
Parameters:
bus (int)
flag (int)
f_evSet2(bus, flag)
Parameters:
bus (int)
flag (int)
demark_renderLibrary "demark_render"
f_renderMaxBack(lookbackBars)
Parameters:
lookbackBars (float)
f_renderExtendBars(levelLineExtendBarsMax)
Parameters:
levelLineExtendBarsMax (int)
f_upsertLevelLine(lnIn, show, y, col, width, style, levelLineExtendBarsMax)
Parameters:
lnIn (line)
show (bool)
y (float)
col (color)
width (int)
style (string)
levelLineExtendBarsMax (int)
f_upsertZoneBox(bxIn, show, x1, lo, hi, bg, brd, brdW, lookbackBars, levelLineExtendBarsMax)
Parameters:
bxIn (box)
show (bool)
x1 (int)
lo (float)
hi (float)
bg (color)
brd (color)
brdW (int)
lookbackBars (float)
levelLineExtendBarsMax (int)
f_upsertTdLine(lnIn, show, p1Idx, p1Price, p0Idx, p0Price, col, width, style, lookbackBars, levelLineExtendBarsMax)
Parameters:
lnIn (line)
show (bool)
p1Idx (int)
p1Price (float)
p0Idx (int)
p0Price (float)
col (color)
width (int)
style (string)
lookbackBars (float)
levelLineExtendBarsMax (int)
f_levelTagX(levelLineExtendBarsMax)
Parameters:
levelLineExtendBarsMax (int)
f_stackY(baseY, step, idx, stackUp)
Parameters:
baseY (float)
step (float)
idx (int)
stackUp (bool)
f_upsertLevelTag(lbIn, show, y, txt, bg, tc, sz, levelLineExtendBarsMax)
Parameters:
lbIn (label)
show (bool)
y (float)
txt (string)
bg (color)
tc (color)
sz (string)
levelLineExtendBarsMax (int)
f_upsertPointTag(lbIn, show, x, y, txt, bg, tc, sz, sty)
Parameters:
lbIn (label)
show (bool)
x (int)
y (float)
txt (string)
bg (color)
tc (color)
sz (string)
sty (string)
Anchored OBV + A/DAnchored OBV + A/D is a single-pane indicator that allows On-Balance Volume (OBV) and Accumulation/Distribution (A/D) to be plotted together using a period-anchored approach.
OBV and A/D are cumulative by nature, which makes their full-history absolute values arbitrary and often incomparable when plotted side-by-side . This script addresses that limitation by anchoring each indicator to a user-defined period (daily, weekly, monthly, etc.) and plotting their relative change from that baseline rather than their raw values. The result is a comparison that preserves each indicator’s internal structure (trends, inflections, and divergences) while minimizing scale conflicts.
How it Works
At the start of each selected anchor period, the script records the current OBV and A/D values as baselines. All subsequent values are plotted as changes relative to those baselines:
- Percent mode measures the % change from the baseline.
- Delta mode measures the absolute change from the baseline.
Optional anchor markers and a zero line make it easy to see when resets occur and how each indicator behaves relative to the period’s starting point.
Advantages vs using OBV and A/D separately
- Direct visual comparison: Both indicators are on the same anchored scale, making relative movement immediately readable.
- Preserved analytical structure: Trends, inflections, and divergences remain intact; time-based shape is not distorted.
- Cleaner workflow: One indicator, one pane, and less chart clutter.
Interpretation
- Values above zero indicate net accumulation or positive volume pressure since the anchor.
- Values below zero indicate net distribution or negative volume pressure since the anchor.
- Trend confirmation: Rising price accompanied by rising anchored OBV and A/D suggests healthy participation.
- Price Divergence: Price making new highs or lows while one or both indicators fail to confirm can indicate weakening participation or a potential change in behavior.
- OBV vs A/D Interaction: When both move together, volume and close-location effects broadly agree. When they diverge, it highlights differences between net up/down volume (OBV) and intrabar accumulation/distribution (A/D).
Warnings!
- Percent mode can become visually unstable when baseline OBV or A/D values are near zero due to division effects inherent in percent-change calculations.
- It is not recommended to interpret structure across periods as each period is relative to a different baseline. Structure is not preserved across periods - only within each individual period.
Credits
This script is inspired by Multi-Ticker Anchored Candles (MTAC) by @SamRecio . MTAC's anchored-baseline concept and open-source nature provided an important conceptual foundation for adapting the same idea to OBV and A/D. Many thanks to @SamRecio for publishing his work openly.






















