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.
LevelsOverview
HL Marking Pro is a clean, multi-timeframe level marker designed for traders who prioritize a clutter-free workspace. Unlike standard indicators that crowd the chart area with text labels, this script utilizes native Price Scale Tags to display key historical and intraday levels directly on the Y-axis.
Key Features
Axis-Integrated Labels: Key levels are displayed as colored tags on the right-hand price scale, keeping the candle area clear for price action analysis.
Dynamic Session Tracking: Includes real-time tracking for the current Session High (SH) and Session Low (SL).
Multi-Timeframe Logic: Automatically tracks Previous Daily (PDH/L), Weekly (PWH/L), Monthly (PMH/L), Quarterly (PQH/L), and Yearly (PYH/L) levels.
Smart Visibility: To prevent "color waterfalls" on the axis, lower-tier levels (Daily/Session) are automatically hidden on higher timeframe charts (Weekly/Monthly).
Reliable ATH: The All-Time High (ATH) is calculated via security calls to ensure it remains visible and accurate even on high-timeframe charts where bar history might be limited.
No Repainting: All historical levels reference completed candles to ensure levels stay fixed and reliable throughout the trading session.
How to Use
Add the script to your chart.
To get the cleanest look (matching the screenshots), Right-click the Price Scale -> Labels -> and select "Value Only". This removes the indicator name and the colon (:) prefix.
The script will automatically adjust which levels are shown based on the timeframe you are currently viewing.
David's Macro FVG [v6]Describe the script. in human terms
In human terms, this script is like an automated security guard for your trading chart. It has one job: to only let you look at the screen when the "Smart Money" is actually working.
Here is the breakdown of how it "thinks" in plain English:
1. The Gatekeeper (The Clock)
The script starts by looking at the clock. It knows your rule: 10 minutes before the hour to 10 minutes after.
If it’s 2:30 PM: The guard is "asleep." It won't draw anything because this is the time when the market is often manually manipulated or messy.
If it’s 2:55 PM: The guard "wakes up." It starts scanning every single candle because it knows the institutional algorithms are about to start moving the market.
2. Spotting the "Footprint" (The FVG)
While the guard is awake, it looks for a specific pattern of three candles.
Imagine the market is a snowy field. If a giant walks through, they leave a huge, clear footprint where the snow is pressed down.
An FVG is that footprint. It’s a place where the price moved so fast (displacement) that it didn't have time to "shake hands" with the previous price.
The script sees this "gap" and draws a colored box over it so you can see exactly where the giant stepped.
3. Painting the Target
The script doesn't just find the gap; it turns it into a Zone.
Green Boxes: These are "Buy Zones." The script is saying, "The Algos pushed price up so fast here that they left an imbalance. They will likely come back to this box to fill their remaining orders."
Red Boxes: These are "Sell Zones." The script is saying, "The Algos slammed the price down. Watch for the price to return to this red box so you can go short."
4. Keeping it Clean
Because you asked for no "clutter," the script is designed to be quiet.
It doesn't draw lines in the middle.
It doesn't draw boxes outside of your macro times.
It just puts a Blue Background on your chart when it's "Macro Time." If you see blue, you look for a box. No blue? No trade.
Summary Checklist for You:
Blue Background? If yes, the "Security Guard" is awake.
Did a Box Appear? If a green or red box appears, that is your Fiji/FVG setup.
The Touch: You wait for the price to move back and "step inside" that box. That is your entry.
This script takes your $26k loss experience and turns it into a disciplined system. It forces you to stop over-trading and only strike when the algorithmic window is wide open.
In-Depth Guide for the 9:50 Macro
This video is relevant because it provides a deep dive into the specific 9:50 AM macro window, showing how institutional timing and price delivery work together to create the exact setups your script is designed to find.
In-Depth Guide for the 9:50 Macro | ICT Concepts - YouTube
flux trades · 41K views
Vishall Candle Power X Value// === Base values ===
longPower = close - low
shortPower = high - close
// === Y calculation ===
// For completed candles, close is the candle close
// For the running candle, close is the current spot price automatically
Y = close
// === Final X formula ===
x = ((longPower - shortPower) / Y) * 100
23:00 London 15m -> Asia Close (No colors)//@version=5
indicator("23:00 London 15m -> Asia Close (No colors)", overlay=true, max_lines_count=50, max_labels_count=50)
tz = "Europe/London"
// set Asia close in London time
asiaCloseHour = input.int(6, "Asia close hour (London)", minval=0, maxval=23)
asiaCloseMin = input.int(0, "Asia close minute", minval=0, maxval=59)
is15 = timeframe.period == "15"
is2300 = hour(time, tz) == 23 and minute(time, tz) == 0
cond = is15 and is2300
var line hiLine = na
var line loLine = na
var label info = na
f_asiaCloseTs(_t) =>
y = year(_t, tz)
m = month(_t, tz)
d = dayofmonth(_t, tz)
closeToday = timestamp(tz, y, m, d, asiaCloseHour, asiaCloseMin)
closeNext = timestamp(tz, y, m, d + 1, asiaCloseHour, asiaCloseMin)
_t >= closeToday ? closeNext : closeToday
if cond
hi = high
lo = low
endTs = f_asiaCloseTs(time)
if not na(hiLine)
line.delete(hiLine)
if not na(loLine)
line.delete(loLine)
if not na(info)
label.delete(info)
// High line
hiLine := line.new(time, hi, endTs, hi, xloc=xloc.bar_time, extend=extend.none, width=2)
// Low line
loLine := line.new(time, lo, endTs, lo, xloc=xloc.bar_time, extend=extend.none, width=2)
// Label with exact values
info := label.new(endTs, hi, xloc=xloc.bar_time,
text="23:00 London (15m) High: " + str.tostring(hi, format.mintick) + " Low: " + str.tostring(lo, format.mintick),
style=label.style_label_left)
KCP MACD Pro [Dr. K. C. Prakash]📊 KCP MACD Pro
KCP MACD Pro is a clean, low-noise momentum indicator designed for clear trend and momentum analysis without clutter. Unlike the classical MACD, this version is built without EMA, using Simple Moving Averages (SMA) to provide smoother, more stable signals, making it ideal for training, classroom use, and disciplined trading.
🔹 Core Concept
The indicator measures momentum strength and direction by calculating the difference between:
a Fast SMA and a Slow SMA (MACD line), and
a Signal SMA applied to the MACD line.
The result is a MACD-style oscillator that reacts less aggressively than EMA-based MACD, helping traders focus on structure and trend quality rather than short-term noise.
🔹 Components Explained
MACD Line (SMA-based):
Shows the underlying momentum by comparing short-term and long-term price averages.
Signal Line (SMA):
Smooths the MACD line to highlight momentum shifts.
Histogram:
Displays the distance between the MACD and Signal lines, visually representing momentum strength.
Zero Line:
Acts as a trend equilibrium level:
Above zero → bullish momentum bias
Below zero → bearish momentum bias
🔹 How to Use
Trend Identification:
Stay aligned with the market bias using the zero line.
Momentum Analysis:
Expanding histogram bars indicate strengthening momentum; contracting bars suggest weakening momentum.
Manual Trade Decisions:
Designed intentionally without buy/sell arrows, encouraging traders to combine it with price action, support–resistance, or market structure.
Trader Baboo Aanaa V 1.2this script uses ema five to generate bullish signal. it is comprised only of 5 ema
Vwap by EVThis indicator provides a complete multi-VWAP framework designed for traders who rely on price acceptance, value areas, and mean reversion across different market horizons. It plots Session, Daily, and Weekly VWAPs simultaneously, allowing users to understand short-term, intraday, and higher-timeframe value in a single, uncluttered view.
The Session VWAP supports custom trading hours and timezones, making it adaptable to equities, indices, forex, and crypto markets. All VWAP calculations are volume-weighted and non-repainting, with optional standard deviation bands based on true volume dispersion rather than fixed offsets. This ensures that each VWAP reflects genuine market participation and volatility.
Daily and Weekly VWAPs act as higher-timeframe equilibrium references, helping traders identify premium and discount zones, dynamic support and resistance, and directional bias. Optional band visibility and independent styling allow the indicator to remain clean while still providing depth when needed.
Volume SMA 9 / 20 / 50This is real time volume average lines having option to select period of volume lines . it not only provides volume with respect to price action but also we can find out real picture of price action pressure. use it with ADX and MACD wisely . only volume spike is not confirmation some times fake breakout , so wait for confirmation and participate at breakout confirmation.
Orion Time Matrix | ICT Macros [by AK]ORION TIME MATRIX | ICT MACRO SUITE
The Orion Time Matrix is a precision timing instrument designed to decipher the algorithmic "Heartbeat" and the timing of institutional order flow in US Index Futures markets, specifically Nasdaq (NQ) and S&P 500 (ES).
Inspired by the "Time & Price" teachings of Michael J. Huddleston (The Inner Circle Trader), this tool maps out the specific time windows where algorithms seek liquidity and price delivery is most efficient.
HelperScriptA Personal Helper Script based on FFriZz/Holiday/2
Only change the font size and language
Sector Momentum Dashboard (Pure 3M / 6M / 12M)Script Description (Simple + Accurate)
This script builds a sector‑momentum dashboard that ranks major U.S. sector ETFs based on their pure trailing performance over a selected lookback period. Instead of using academic momentum windows like 3‑1M or 12‑1M, it measures straight returns over the past 3, 6, or 12 months, using daily closing prices.
The script:
Pulls daily price data for 11 sector ETFs (XLK, XLC, XLI, XLF, XLB, XLV, XLU, XLY, XLE, XLP, XLRE)
Calculates each ETF’s return over the chosen lookback window:
3M = 63 trading days
6M = 126 trading days
12M = 252 trading days
Sorts the ETFs from strongest momentum to weakest
Displays the ranked list in a compact table on the chart
Highlights:
Top 3 sectors in green
Bottom 3 sectors in red
The intention is to give traders a quick, visual snapshot of sector leadership, making it easier to:
Identify which sectors are outperforming
Spot rotation trends
Build or adjust a sector‑rotation strategy
Compare relative strength across the market
It’s designed to be simple, fast, and reliable — ideal for anyone who wants a clean momentum‑based view of the U.S. sector landscape.
My Swiftlike Algo Backtest ATR SL/TP HH/HL/LH/LL BOS/CHOCHSwift-Like Algo is a trend-following strategy that trades pullbacks using EMA trend direction, market structure (HH/HL/LH/LL), and ATR-based risk management.
It enters only in the direction of the trend, with automatic Stop-Loss, TP1, and TP2, and supports full strategy backtesting.
Best used on 15m–4H timeframes for crypto, forex, and indices.
⚠️ For educational and testing purposes only.
Spearman Correlation🔗 Spearman Correlation – Ranked Relationship Tracker
Overview:
This indicator calculates and plots the Spearman Rank Correlation Coefficient between the current chart’s asset and a custom comparison ticker (the example shown is BTC vs the OTHERS market cap for crypto). Unlike Pearson correlation, which measures linear relationships, Spearman correlation captures monotonic (ranked) relationships—making it better suited for analysing assets that move in sync but not necessarily in a linear fashion.
🧠 What It Does:
Computes ranked correlation between two assets over a user-defined lookback period
Smooths the correlation curve for better readability
Visually shades the background by correlation strength and direction:
🟩 Strong Positive (+0.5 to +1)
🟨 Weak Positive (+0.1 to +0.5)
⬜ No Correlation (–0.1 to +0.1)
🟧 Weak Negative (–0.5 to –0.1)
🟥 Strong Negative (–1 to –0.5)
⚙️ User Inputs:
Lookback Period: Number of bars used to calculate correlation
Comparison Ticker: Choose any asset to compare against
Shading Toggles: Customize which correlation zones are highlighted
📈 Use Cases:
Identify evolving relationships between assets (e.g., BTC vs DXY, ETH vs SPX)
Spot when assets become inversely correlated or lose correlation entirely
Track regime shifts where traditional relationships break down or re-align
Use alongside trend or momentum strategies to add a cross-asset confirmation layer
🔍 Interpreting the Correlation:
+1 → Perfect positive (ranks match exactly)
+0.5 to +1 → Strong positive relationship
+0.1 to +0.5 → Weak but positive relationship
–0.1 to +0.1 → Essentially uncorrelated
–0.5 to –0.1 → Weak negative correlation
–1 to –0.5 → Strong inverse relationship
–1 → Perfect negative (rankings are completely opposite)
🧪 Technical Notes:
Calculation uses ranked returns to better reflect monotonic relationships
Smoothed with a simple moving average (SMA) for stability
Arrays are managed internally to maintain performance and adaptability
This script is ideal for traders seeking deeper insight into cross-asset dynamics, portfolio hedging, or timing divergence-based strategies.
Directional Comparisons - Two Tickers📊 Directional Comparisons – Two Tickers
Overview:
This tool allows you to visually and statistically compare the directional behaviour of any two assets on any chart timeframe. It identifies and color-codes each bar based on how both the current asset and your chosen comparison asset performed in that period (e.g., both up, both down, diverging). A statistical summary table dynamically updates in the corner of your chart, tracking the probability and streak performance of each condition.
🛠 How It Works:
Each candle is analysed and color-coded based on the relationship between the current chart's asset and a comparison asset of your choice:
✅ Green – Both tickers closed higher (bullish alignment)
🔻 Red – Both tickers closed lower (bearish alignment)
🔷 Blue – Current ticker up, comparison ticker down (positive divergence)
🟧 Orange – Current ticker down, comparison ticker up (negative divergence)
You can toggle each colour condition on/off independently.
📈 Statistical Table (Top Right):
For the candles in the visible chart range, the indicator displays:
The frequency (probability) of each condition
Longest, shortest, and average streaks for each condition
Average % change for both the current and comparison asset under each scenario
All stats auto-update as you zoom or scroll through the chart.
🔧 User Inputs:
Comparison Ticker: Choose any ticker symbol to compare against the current chart
Toggle Conditions: Enable or disable individual directional conditions (color-coded)
✅ Use Cases:
Spot high-probability alignment zones between two assets (e.g., BTC vs ETH, SPX vs VIX)
Identify divergence opportunities for trading signals
Analyse historical relationships and co-movements between assets
Perform correlation streak studies directly on the chart
🔍 Notes:
The script works across all timeframes (1min to monthly).
Stats only consider visible bars on your chart for responsiveness.
Ideal for pair traders, macro analysts, or anyone interested in cross-asset relationships.
Swift-like Algo (V1) Trend Pullback ATR Risk AlimojanidThis indicator is a simple, rule-based trend-following system designed to help identify potential LONG and SHORT opportunities using market structure, momentum, and volatility.
It is inspired by professional “algo-style” tools, but built from scratch for learning, transparency, and flexibility.
🔹 How it works
1️⃣ Trend Detection
Uses Fast EMA vs Slow EMA
Only looks for:
LONGs in bullish trends
SHORTs in bearish trends
2️⃣ Entry Logic
Waits for a pullback toward the fast EMA
Confirms direction using price behavior
Optional RSI filter to avoid weak momentum trades
3️⃣ Risk Management
Stop Loss (SL) and Take Profit (TP) levels are calculated using ATR
Risk is defined in R-multiples (TP1, TP2)
Designed to adapt to market volatility
4️⃣ Visual & Alerts
Clear LONG / SHORT arrows
Automatic SL / TP level plotting
Built-in alert conditions for trade notifications
⚙️ Settings You Can Adjust
EMA lengths (trend sensitivity)
RSI confirmation (on/off)
ATR stop size
Risk-reward targets
Cooldown bars to avoid over-trading
⚠️ Disclaimer
This indicator is NOT a guaranteed trading system and should not be used as financial advice.
Always:
Backtest on your own market and timeframe
Use proper risk management
Paper trade before using real funds
The author is not responsible for any trading losses.
💡 Notes
Best used on trending markets
Works on Forex, Crypto, Indices, and Commodities
Timeframes: 15m and higher recommended






















