MA 5-10-30-60-90-120 by MMCThis indicator only plots 6 moving average lines:
MA 5, MA 10, MA 30, MA 60, MA 90, MA 120
No ribbon, no fill, no clouds, no arrows, no alerts — completely clean and minimal.
Lines are thin (linewidth = 2) but colors are very bright/neon so they pop even on dark charts.
Two inputs:
MA Type → EMA (default, faster) or SMA (smoother but lags more)
Color Theme → 3 preset themes:
Canlı Kontrast → brightest and most visible (red-orange-yellow-green-blue-purple)
Gökkuşağı → classic rainbow order
Kırmızı-Yeşil → red/orange tones for short-term, green tones for long-term
Change the theme and colors update instantly.
Indicateurs et stratégies
Last CLOSED Bar OHLCThis TradingView Pine Script (@version=6) creates a label that displays the previous fully closed candlestick’s OHLC data on the chart.
EMA+SuperThis indicator integrates multiple trend-following components into a unified, clean, and easy-to-interpret chart overlay. Its purpose is to help traders observe short-term and long-term trend direction, momentum shifts, and potential areas of interest using established moving-average and volatility-based techniques.
🔹 Features
1. Multi-EMA Framework
Plots the 9, 21, 50, 100, and 200 EMAs to provide a structured view of short, medium, and long-term market trends.
2. Supertrend Overlay
Applies an ATR-based Supertrend to visualize potential directional shifts.
Both uptrend and downtrend zones are lightly shaded for improved clarity.
3. NovaWave-Style Trend Cloud
A dynamic cloud formed from:
Fast EMA
Slow EMA
Signal MA
The cloud automatically adapts its color based on the relationship between the fast and slow EMAs, offering a quick visual read of momentum bias.
4. Displaced Moving Averages (20 / 50 / 200 DMA)
Includes optional forward displacement to replicate commonly used DMA models in trend-following systems.
5. Crossover Buy/Sell Signals
Buy and sell markers appear when the fast EMA crosses above or below the slow EMA.
Users may create custom alerts via the TradingView alerts panel.
🔹 Alerts
This indicator supports built-in EMA crossover alerts:
Buy Alert – triggered when the fast EMA crosses above the slow EMA
Sell Alert – triggered when the fast EMA crosses below the slow EMA
Users can enable these alerts through the “Add Alert” panel and select the corresponding alert condition.
Alerts are evaluated on bar close for consistency and do not repaint.
🔹 How to Use
EMA structure helps define directional bias and market phase.
The Supertrend and Trend Cloud offer contextual confirmation.
EMA crossovers can help highlight momentum changes.
DMAs provide an additional perspective on smoothed trend levels.
This tool is intended for visual analysis and can complement other approaches such as volume studies, higher-timeframe trend analysis, or support/resistance mapping.
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or guarantee any outcome. Always perform independent analysis and apply proper risk management.
Previous Days High & Low (with back testing)Shows Previous Days High & Low with adjustable time for Futures after hours or regular market
calculator contracts MNQ PIPEGAVTRADESThis is a Risk Management indicator that calculates the exact contracts to trade based on your defined Max Risk ($) and Stop Loss Ticks.
It displays all key Position Sizing metrics (including Account Capital and Risk %) in a fixed table on the chart.
XAUUSD Sniper Setup (Pre-Arrows + SL/TP)//@version=5
indicator("XAUUSD Sniper Setup (Pre-Arrows + SL/TP)", overlay=true)
// === Inputs ===
rangePeriod = input.int(20, "Lookback Bars for Zone", minval=5)
maxRangePercent = input.float(0.08, "Max Range % for Consolidation", step=0.01)
tpMultiplier = input.float(1.5, "TP Multiplier")
slMultiplier = input.float(1.0, "SL Multiplier")
// === Consolidation Detection ===
highestPrice = ta.highest(high, rangePeriod)
lowestPrice = ta.lowest(low, rangePeriod)
priceRange = highestPrice - lowestPrice
percentRange = (priceRange / close) * 100
isConsolidation = percentRange < maxRangePercent
// === Zones ===
demandZone = lowestPrice
supplyZone = highestPrice
// === Plot Consolidation Zone Background ===
bgcolor(isConsolidation ? color.new(color.gray, 85) : na)
// === Plot Potential Buy/Sell Levels ===
plot(isConsolidation ? demandZone : na, color=color.green, title="Potential Buy Level", linewidth=2)
plot(isConsolidation ? supplyZone : na, color=color.red, title="Potential Sell Level", linewidth=2)
// === Liquidity Sweep ===
liquidityTakenBelow = low < demandZone
liquidityTakenAbove = high > supplyZone
// === Engulfing Candles ===
bullishEngulfing = close > open and close < open and close > open
bearishEngulfing = close < open and close > open and close < open
// === Break of Structure ===
bosUp = high > ta.highest(high , 5)
bosDown = low < ta.lowest(low , 5)
// === Sniper Entry Conditions ===
buySignal = isConsolidation and liquidityTakenBelow and bullishEngulfing and bosUp
sellSignal = isConsolidation and liquidityTakenAbove and bearishEngulfing and bosDown
// === SL & TP Levels ===
slBuy = demandZone - (priceRange * slMultiplier)
tpBuy = close + (priceRange * tpMultiplier)
slSell = supplyZone + (priceRange * slMultiplier)
tpSell = close - (priceRange * tpMultiplier)
// === PRE-ARROWS (Show Before Breakout) ===
preBuyArrow = isConsolidation ? 1 : na
preSellArrow = isConsolidation ? -1 : na
plotarrow(preBuyArrow, colorup=color.new(color.green, 50), maxheight=20, minheight=20, title="Pre-Buy Arrow")
plotarrow(preSellArrow, colordown=color.new(color.red, 50), maxheight=20, minheight=20, title="Pre-Sell Arrow")
// === SNIPER CONFIRMATION ARROWS ===
buyArrow = buySignal ? 1 : na
sellArrow = sellSignal ? -1 : na
plotarrow(buyArrow, colorup=color.green, maxheight=60, minheight=60, title="Sniper BUY Arrow")
plotarrow(sellArrow, colordown=color.red, maxheight=60, minheight=60, title="Sniper SELL Arrow")
// === BUY SIGNAL ===
if buySignal
label.new(bar_index, low, "BUY SL/TP Added", style=label.style_label_up, color=color.green, textcolor=color.white)
line.new(bar_index, slBuy, bar_index + 5, slBuy, color=color.red, style=line.style_dotted)
line.new(bar_index, tpBuy, bar_index + 5, tpBuy, color=color.green, style=line.style_dotted)
label.new(bar_index, slBuy, "SL", color=color.red, style=label.style_label_down)
label.new(bar_index, tpBuy, "TP", color=color.green, style=label.style_label_up)
// === SELL SIGNAL ===
if sellSignal
label.new(bar_index, high, "SELL SL/TP Added", style=label.style_label_down, color=color.red, textcolor=color.white)
line.new(bar_index, slSell, bar_index + 5, slSell, color=color.red, style=line.style_dotted)
line.new(bar_index, tpSell, bar_index + 5, tpSell, color=color.green, style=line.style_dotted)
label.new(bar_index, slSell, "SL", color=color.red, style=label.style_label_up)
label.new(bar_index, tpSell, "TP", color=color.green, style=label.style_label_down)
// === Alerts ===
alertcondition(buySignal, title="Sniper BUY", message="Sniper BUY setup on XAUUSD")
alertcondition(sellSignal, title="Sniper SELL", message="Sniper SELL setup on XAUUSD")
OANDA:XAUUSD
Vince/Williams Market Internals SuiteThis indicator is a powerhouse combination of three distinct market internal strategies developed by Ralph Vince and Larry Williams. Instead of using three separate scripts to monitor market health, this tool consolidates them into a single dashboard that analyzes NYSE "New Lows" data to detect structural rot, capitulation, and crash risks.
The first component is the Volatility Vulnerability monitor, which identifies when the market structure is decaying. It looks for an extended period where the number of New Lows fails to drop to negligible levels. If you see an Orange Circle while price is above the 50 SMA, it is a major warning that the uptrend is hollow and prone to a crash. Conversely, a Blue Circle below the 50 SMA suggests the weakness is already priced in, offering a contrarian entry signal.
The second component is the Selling Climax signal. This identifies moments of pure terror where New Lows hit extreme levels (default 20%). The script marks these panic days with Orange Diamonds, but the real value is the Green Diamond that appears immediately when the panic subsides, often signaling a sharp V-bottom.
Finally, the Bloodbath Rule runs in the background as a defensive filter. When the background turns red (marked by a Red Cross), it means New Lows have breached the "danger" threshold (default 4%). During these periods, internal selling pressure is accelerating, and you should strictly avoid entering new long positions until the background clears.
Note: This script relies on broad market data (ADVN/DECN/LOWN) and works best on Daily timeframes.
Double RSI With Color Fill5RSI & 8RSi for intraday. Buy when 5RSI crosses down with 8RSI and Sell if 5RSI crosses above 8RSI.
Simple VP Shape DetectorSimple VP Shape Detector is a lightweight Pine Script tool designed to help traders quickly identify the four major Volume Profile shapes commonly used in orderflow and auction-market theory:
D-Shape (Balanced Profile)
P-Shape (Short-Covering / Buyer-Dominant)
B-Shape (Long-Liquidation / Seller-Dominant)
Thin Profile (Trend Profile)
This indicator uses candle statistics (range, body size, volume distribution approximation, and directional movement) to estimate the underlying shape of the volume profile when the full Volume Profile tool is not available.
✔️ What this indicator does
Analyzes recent bars to estimate volume concentration vs. price movement
Flags possible VP shapes using simple logic
Displays labels above/below candles showing:
“D” → Balanced
“P” → Buyer-heavy
“B” → Seller-heavy
“T” → Trending / Thin profile
Helps traders quickly identify auction conditions
✔️ Why this is useful
Volume Profile tools require premium data or heavy visual processing.
This script provides a simple, fast, CPU-light alternative that still captures the essential behavior of profile shapes.
✔️ How shapes are detected
D-Shape: small directional movement + larger body clustering
P-Shape: strong upward move + volume weighted to upper half
B-Shape: strong downward move + volume weighted to lower half
Thin: long range candles with little internal consolidation
⚠️ Disclaimer
This script is an approximation. It does NOT replace full Volume Profile tools.
It is designed as an educational / supplemental tool for market structure analysis.
ATR STRUCTURE
So I can produce this
🟡 START = 662.63 ✳️ ATR ≈ 8.30 pts (0.5 ATR ≈ 4.15 • 1 ATR ≈ 8.30) 🙂📏
ATR bands (numeric)
🔼 START + 0.5 ATR = 662.63 + 4.15 = 666.78 (upper buffer / shelf)
🔼 START + 1 ATR = 662.63 + 8.30 = 670.93 (breakout band)
🔽 START − 0.5 ATR = 662.63 − 4.15 = 658.48 (near support)
🔽 START − 1 ATR = 662.63 − 8.30 = 654.33 (deeper stop zone)
— Priority level ladder (footprint‑first & ATR alignment) — (emoji = confidence • 🔥 = high • ✅ = footprint confirmed • 🟡 = medium)
🔥🟢 PM_LOW / D1 — ~659.95 → 660.50 ✅ (FOOTPRINT CONFIRMED)
Why: repeated 30m+1h absorption (sold‑into then bought up). DEEP confidence. 🧯🔁
🔥🔴 ORBH / U2 cluster — ~663.98 → 665.87 ✅ (FOOTPRINT SUPPLY)
Why: repeated rejections / sell MaxDelta rows on 30m & 1h. Treat as overhead supply / shelf. 🪓📉
🔥🟦 D3 / ORBL corridor — ~658.64 ✅ (TF confluence: 1h+4h MaxDelta)
Why: single‑row institutional sells map here; structural LVN / open‑range low. 🛡️📌
🟡⭐ START / U1 pivot zone — ~662.63 – 662.70 ✅ (session pivot, 1h absorption)
Why: session magnet—use for intraday bias pivot / quick confirms. 👀⚖️
🟡🔥 U4 / U5 upper HVN band — ~666.7 → 669.3 (ATR UPPER)
Why: strong HVN / stop‑run evidence on higher TFs — needs large buy MaxDelta to flip. 🚧🚀
⚪ D5 lower expansion support — ~654.3–656.7 (deeper target if sellers run)
Why: longer‑TF expansion area; lower immediate probability but high impact if hit. ⚠️📉
Vince/Williams Selling Climax SignalThis indicator identifies moments of ultimate market capitulation based on the "Selling Climax" research by Ralph Vince and Larry Williams. It monitors the ratio of New Lows to total traded issues to detect when selling pressure has reached an unsustainable, panic-driven extreme (defaulting to 20% of the entire market hitting new lows).
The script visualizes this process in two stages. First, it marks the actual days of panic with red diamonds, showing you where the "washout" is occurring. Second, and most importantly, it generates a green diamond buy signal on the very first day the panic subsides. This allows you to enter a position immediately after the supply of desperate sellers has been exhausted, often catching the absolute bottom of a sharp correction.
Vince/Williams Bloodbath Sidestepping RuleThis is a defensive risk management tool designed to keep you on the sidelines during devastating market crashes. Drawing on the "Bloodbath" criteria outlined by Vince and Williams, this script highlights periods where market internals have structurally broken down, specifically when the percentage of New Lows exceeds a "danger" threshold (default 4%).
Unlike the Climax signal which looks for the end of a drop, this rule is designed to spot the acceleration phase of a decline. When the background turns red, it indicates that the market is in a liquidating phase where support levels are likely to fail. You should use this as a strict filter to avoid opening new long positions or to tighten stops on existing ones until the background color clears, signaling that the internal bleeding has stopped.
Vince/Williams Extreme Volatility VulnerabilityDescription: This indicator implements the "Period of Extreme Vulnerability" concept developed by Ralph Vince and Larry Williams. The theory posits that a healthy market must regularly see the number of New Lows "dry up" (drop to near zero). When the percentage of New Lows fails to drop below a minimal threshold (default 0.15%) for a prolonged period (default 65 days), it indicates that internal market structure is rotting even if prices are rising, leaving the market fragile and prone to sudden volatility shocks.
I have programmed this script to track that exact condition—the extended absence of a "low" New Lows reading. It applies a 50-day Moving Average filter to contextually categorize the signal:
Red Dot (Crash Warning): Triggers when the vulnerability period begins while the price is above the 50 SMA. This is the classic warning signal, indicating that an uptrend is unsupported by market internals and a sharp correction may be imminent.
Green Dot (Contrarian Buy): Triggers when the vulnerability period begins while the price is below the 50 SMA. The script identifies this as a potential capitulation or value point where the persistent internal weakness is likely already priced in.
Note: This indicator requires exchange-wide data (New Lows, Advancers, Decliners) to function. It is best used on daily timeframes.
VIX Fix Indicator (Hestla 2015)This script provides a streamlined version of the VIX Fix, referencing the foundational work of Larry Williams and the strategies of Amber Hestla. It serves as a synthetic volatility gauge for assets that lack a dedicated VIX index. The math works by measuring the percentage drop from the highest recent close to the current low, essentially quantifying fear in the market without needing options data.
This specific script is designed to be purely visual. I have removed all the buy and sell labels found in other versions to leave a clean pane that plots only the oscillator and its moving average. You can use this to identify potential market bottoms when the black line spikes significantly, signaling that selling pressure is reaching a mathematical extreme relative to the recent trend.
Diodato 'All Stars Align' Signal (Trend Filtered)This indicator implements the Diodato "All Stars Align" strategy, a breadth-based system designed to identify high-probability reversal points by analyzing internal market strength rather than just price action. It works by monitoring Advancing versus Declining issues and volume across the exchange to detect moments of extreme market panic. When these internal breadth metrics hit specific oversold thresholds and align simultaneously with a standard Stochastic oscillator, the script signals a potential bottom.
I have modified this version to strictly enforce trend alignment. The signals are now filtered so that they will only appear if the 50 SMA is trading above the 200 SMA. This ensures that the indicator only highlights buying opportunities during established uptrends while completely filtering out signals during bearish market regimes.
You should use this tool to time entries during market pullbacks. A green cross indicates that one of the major breadth components has aligned with oversold Stochastics, while a purple cross indicates a stronger signal where both volume and issue-based breadth metrics have triggered together.
Volatility Tsunami RegimeVolatility Tsunami Regime
This indicator identifies periods of extreme volatility compression to help anticipate upcoming market expansions. It detects when volatility is unusually quiet, which historically precedes violent price moves.
The script pulls data from the CBOE VIX and VVIX indices regardless of the chart you are viewing. It calculates the standard deviation of both indices over a user-defined lookback period (default is 20). If the standard deviation drops below specific thresholds, the script flags the market regime as compressed.
The background color changes based on the severity of the compression. A red background signals a Double Compression, meaning both the VIX and VVIX are below their volatility thresholds. An orange background signals a Single Compression, meaning only one of the two indices has dropped below its threshold.
Use this tool to spot the "calm before the storm." When the background is red, volatility is statistically suppressed, making it a prime time to look for breakouts or buy options while premiums are cheap. Conversely, it serves as a warning to tighten stops if you are short volatility.
FxAST Ichi ProSeries Enhanced Full Market Regime EngineFxAST Ichi ProSeries v1.x is a modernized Ichimoku engine that keeps the classic logic but adds a full market regime engine for any market and instrument.”
Multi-timeframe cloud overlay
Oracle long-term baseline
Trend regime classifier (Bull / Bear / Transition / Range)
Chikou & Cloud breakout signals
HTF + Oracle + Trend dashboard
Alert-ready structure for automation
No repainting: all HTF calls use lookahead_off.
1. Core Ichimoku Engine
Code sections:
Input group: Core Ichimoku
Function: ichiCalc()
Variables: tenkan, kijun, spanA, spanB, chikou
What it does
Calculates the classic Ichimoku components:
Tenkan (Conversion Line) – fast Donchian average (convLen)
Kijun (Base Line) – slower Donchian average (baseLen)
Senkou Span A (Span A / Lead1) – (Tenkan + Kijun)/2
Senkou Span B (Span B / Lead2) – Donchian over spanBLen
Chikou – current close shifted back in time (displace)
Everything else in the indicator builds on this engine.
How to use it (trading)
Tenkan vs Kijun = short-term vs medium-term balance.
Tenkan above Kijun = short-term bullish control; below = bearish control.
Span A / B defines the cloud, which represents equilibrium and support/resistance.
Price above cloud = bullish bias; price below cloud = bearish bias.
Graphic
2. Display & Cloud Styling
Code sections:
Input groups: Display Options, Cloud Styling, Lagging Span & Signals
Variables: showTenkan, showKijun, showChikou, showCloud, bullCloudColor, bearCloudColor, cloudLineWidth, laggingColor
Plots: plot(tenkan), plot(kijun), plot(chikou), p1, p2, fill(p1, p2, ...)
What it does
Lets you toggle individual components:
Show/hide Tenkan, Kijun, Chikou, and the cloud.
Customize cloud colors & opacity:
bullCloudColor when Span A > Span B
bearCloudColor when Span A < Span B
Adjust cloud line width for clarity.
How to use it
Turn off components you don’t use (e.g., hide Chikou if you only want cloud + Tenkan/Kijun).
For higher-timeframe or noisy charts, use thicker Kijun & cloud so structure is easier to see.
Graphic
Before
After
3. HTF Cloud Overlay (Multi-Timeframe)
Code sections:
Input group: HTF Cloud Overlay
Vars: showHTFCloud, htfTf, htfAlpha
Logic: request.security(..., ichiCalc(...)) → htfSpanA, htfSpanB
Plots: pHTF1, pHTF2, fill(pHTF1, pHTF2, ...)
What it does
Pulls higher-timeframe Ichimoku cloud (e.g., 1H, 4H, Daily) onto your current chart.
Uses the same Ichimoku settings but aggregates on htfTf.
Plots an extra, semi-transparent cloud ahead of price:
Greenish when HTF Span A > Span B
Reddish when HTF Span B > Span A
How to use it
Trade LTF (e.g., 5m/15m) only in alignment with HTF trend:
HTF cloud bullish + LTF Ichi bullish → look for longs
HTF cloud bearish + LTF Ichi bearish → look for shorts
Treat HTF cloud boundaries as major S/R zones.
Graphic
4. Oracle Module
Code sections:
Input group: Oracle Module
Vars: useOracle, oracleLen, oracleColor, oracleWidth, oracleSlopeLen
Logic: oracleLine = donchian(oracleLen); slope check vs oracleLine
Plot: plot(useOracle ? oracleLine : na, "Oracle", ...)
What it does
Creates a long-term Donchian baseline (default 208 bars).
Uses a simple slope check:
Current Oracle > Oracle oracleSlopeLen bars ago → Oracle Bull
Current Oracle < Oracle oracleSlopeLen bars ago → Oracle Bear
Slope state is also shown in the dashboard (“Bull / Bear / Flat”).
How to use it
Think of Oracle as your macro anchor :
Only take longs when Oracle is sloping up or flat.
Only take shorts when Oracle is sloping down or flat.
Works well combined with HTF cloud:
HTF cloud bullish + Oracle Bull = higher conviction long bias.
Ideal for Gold / Indices swing trades as a trend filter.
Graphic idea
5. Trend Regime Classifier
Code sections:
Input group: Trend Regime Logic
Vars: useTrendRegime, bgTrendOpacity, minTrendScore
Logic:
priceAboveCloud, priceBelowCloud, priceInsideCloud
Tenkan vs Kijun alignment
Cloud bullish/bearish
bullScore / bearScore (0–3)
regime + regimeLabel + regimeColor
Visuals: bgcolor(regimeColor) and optional barcolor() in priceColoring mode.
What it does
Scores the market in three dimensions :
Price vs Cloud
Tenkan vs Kijun
Cloud Direction (Span A vs Span B)
Each condition contributes +1 to either bullScore or bearScore .
Then:
Bull regime when:
bullScore >= minTrendScore and bullScore > bearScore
Price in cloud → “Range”
Everything else → “Transition”
These regimes are shown as:
Background colors:
Teal = Bull
Maroon = Bear
Orange = Range
Silver = Transition
Optional candle recoloring when priceColoring = true.
How to use it
Filters:
Only buy when regime = Bull or Transition and Oracle/HTF agree.
Only sell when regime = Bear or Transition and Oracle/HTF agree.
No trade zone:
When regime = Range (price inside cloud), avoid new entries; wait for break.
Aggressiveness:
Adjust minTrendScore to be stricter (3) or looser (1).
Graphic
6. Signals: Chikou & Cloud Breakout
Code sections :
Logic:
chikouBuySignal = ta.crossover(chikou, close)
chikouSellSignal = ta.crossunder(chikou, close)
cloudBreakUp = priceInsideCloud and priceAboveCloud
cloudBreakDown = priceInsideCloud and priceBelowCloud
What it does
1. Two key signal groups:
Chikou Cross Signals
Buy when Chikou crosses up through price.
Sell when Chikou crosses down through price.
Classic Ichi confirmation idea: Chikou breaking free of price cluster.
2. Cloud Breakout Signals
Long trigger: yesterday inside cloud → today price breaks above cloud.
Short trigger: yesterday inside cloud → today price breaks below cloud.
Captures “equilibrium → expansion” moves.
These are conditions only in this version (no chart shapes yet) but are fully wired for alerts. (Future Updates)
How to use it
Use Chikou signals as confirmation, not standalone entries:
Eg., Bull regime + Oracle Bull + cloud breakout + Chikou Buy.
Use Cloud Breakouts to catch the first impulsive leg after consolidation.
Graphic
7. Alerts (Automation Ready)
[
b]Code sections:
Input group: Alerts
Vars: useAlertTrend, useAlertChikou, useAlertCloudBO
Alert lines like: "FxAST Ichi Bull Trend", "FxAST Ichi Bull Trend", "FxAST Ichi Cloud Break Up"
What it does
Provides ready-made alert hooks for:
Trend regime (Bull / Bear)
Chikou cross buy/sell
Cloud breakout up/down
Each type can be globally toggled on/off via the inputs (helpful if a user only wants one kind).
How to use it
In TradingView: set alerts using “Any alert() function call” on this indicator.
Then filter which ones fire by:
Turning specific alert toggles on/off in input panel, or
Filtering text in your external bot / webhook side.
Example simple workflow ---> Indicator ---> TV Alert ---> Webhook ---> Bot/Broker
8. FxAST Dashboard
Code sections:
Input group: Dashboard
Vars: showDashboard, dashPos, dash, dashInit
Helper: getDashPos() → position.*
Table cells (updated on barstate.islast):
Row 0: Regime + label
Row 1: Oracle status (Bull / Bear / Flat / Off)
Row 2: HTF Cloud (On + TF / Off)
Row 3: Scores (BullScore / BearScore)
What it does
Displays a compact panel with the state of the whole system :
Current Trend Regime (Bull / Bear / Transition / Range)
Oracle slope state
Whether HTF Cloud is active + which timeframe
Raw Bull / Bear scores (0–3 each)
Position can be set: Top Right, Top Left, Bottom Right, Bottom Left.
How to use it
Treat it like a pilot instrument cluster :
Quick glance: “Are my trend, oracle and HTF all aligned?”
Great for streaming / screenshots: everything important is visible in one place without reading the code.
Graphic (lower right of chart )
Trend Line Methods (TLM)Trend Line Methods (TLM)
Overview
Trend Line Methods (TLM) is a visual study designed to help traders explore trend structure using two complementary, auto-drawn trend channels. The script focuses on how price interacts with rising or falling boundaries over time. It does not generate trade signals or manage risk; its purpose is to support discretionary chart analysis.
Method 1 – Pivot Span Trendline
The Pivot Span Trendline method builds a dynamic channel from major swing points detected by pivot highs and pivot lows.
• The script tracks a configurable number of recent pivot highs and lows.
• From the oldest and most recent stored pivot highs, it draws an upper trend line.
• From the oldest and most recent stored pivot lows, it draws a lower trend line.
• An optional filled area can be drawn between the two lines to highlight the active trend span.
As new pivots form, the lines are recalculated so that the channel evolves with market structure. This method is useful for visualising how price respects a trend corridor defined directly by swing points.
Method 2 – 5-Point Straight Channel
The 5-Point Straight Channel method approximates a straight trend channel using five key points extracted from a fixed lookback window.
Within the selected window:
• The window is divided into five segments of similar length.
• In each segment, the highest high is used as a representative high point.
• In each segment, the lowest low is used as a representative low point.
• A straight regression-style line is fitted through the five high points to form the upper boundary.
• A second straight line is fitted through the five low points to form the lower boundary.
The result is a pair of straight lines that describe the overall directional channel of price over the chosen window. Compared to Method 1, this approach is less focused on the very latest swings and more on the broader slope of the market.
Inputs & Menus
Pivot Span Trendline group (Method 1)
• Enable Pivot Span Trendline – Turns Method 1 on or off.
• High trend line color / Low trend line color – Colors of the upper and lower trend lines.
• Fill color between trend lines – Base color used to shade the area between the two lines. Transparency is controlled internally.
• Trend line thickness – Line width for both high and low trend lines.
• Trend line style – Line style (solid, dashed, or dotted).
• Pivot Left / Pivot Right – Number of bars to the left and right used to confirm pivot highs and lows. Larger values produce fewer but more significant swing points.
• Pivot Count – How many historical pivot points are kept for constructing the trend lines.
• Lookback Length – Number of bars used to keep pivots in range and to extend the trend lines across the chart.
5-Point Straight Channel group (Method 2)
• Enable 5-Point Straight Channel – Turns Method 2 on or off.
• High channel line color / Low channel line color – Colors of the upper and lower channel lines.
• Channel line thickness – Line width for both channel lines.
• Channel line style – Line style (solid, dashed, or dotted).
• Channel Length (bars) – Lookback window used to divide price into five segments and build the straight high/low channel.
Using Both Methods Together
Both methods are designed to visualise the same underlying idea: price tends to move inside rising or falling channels. Method 1 emphasises the most recent swing structure via pivot points, while Method 2 summarises the broader channel over a fixed window.
When the Pivot Span Trendline corridor and the 5-Point Straight Channel boundaries align or intersect, they can highlight zones where multiple ways of drawing trend lines point to similar support or resistance areas. Traders can use these confluence zones as a visual reference when planning their own entries, exits, or risk levels, according to their personal trading plan.
Notes
• This script is meant as an educational and analytical tool for studying trend lines and channels.
• It does not generate trading signals and does not replace independent analysis or risk management.
• The behaviour of both methods is timeframe- and symbol-agnostic; they will adapt to whichever chart you apply them to.
Nifty50 Sector Weightage PerformanceNifty50 Sector Weightage Performance is a comprehensive market analysis indicator that visualizes the composition and daily performance of all 15 sectors in the Nifty 50 index. This powerful tool provides real-time insights into sector movements, helping traders and investors identify market trends, understand sector rotation, and make informed trading decisions.
The indicator combines sector weightage data with daily percentage changes to calculate a weighted market sentiment score, displayed through an intuitive visual progress bar that indicates whether the market is moving towards bullish or bearish territory.
Comprehensive Sector Coverage
- Tracks all 15 sectors of the Nifty 50 index. Some broad indices because of request limit on Tradingview.
- Displays real-time sector weights and daily percentage changes
- Color-coded visualization for quick performance assessment
Complete Sector Breakdown
1. Financial Services (36.76%)
- Symbol: NSE:BANKNIFTY
- Largest sector in Nifty 50
- Uses Bank Nifty index for comprehensive financial sector representation
2. Oil, Gas & Consumable Fuels (10.26%)
- Individual Stocks(weighted average):
- RELIANCE (8.71%)
- ONGC (0.81%)
- COALINDIA (0.74%)
3. Information Technology (9.98%)
- Symbol: NSE:CNXIT
- Represents IT sector performance through CNX IT index
4. Automobile & Auto Components (6.83%)
- Individual Stocks (weighted average):
- M&M (Mahindra & Mahindra) - 2.77%
- BAJAJ_AUTO (Bajaj Auto) - 0.84%
- EICHERMOT (Eicher Motors) - 0.79%
- MARUTI (Maruti Suzuki) - 1.77%
- TATAMOTORS (Tata Motors) - 0.66%
5. Fast Moving Consumer Goods (6.52%)
- Symbol: NSE:CNXFMCG
- Uses CNX FMCG index for consumer goods sector
6. Telecommunication (4.96%)
- Symbol: NSE:BHARTIARTL
- Uses Bharti Airtel as representative stock
7. Healthcare (4.27%)
- Symbol: NSE:CNXPHARMA
- Pharmaceutical sector represented by CNX Pharma index
8. Construction (3.98%)
- Symbol: NSE:LT
- Uses Larsen & Toubro as representative stock
9. Metals & Mining (3.64%)
- Symbol: NSE:CNXMETAL
- Metals sector through CNX Metal index
10. Consumer Services (2.63%)
- Individual Stocks (weighted average):
- ETERNAL (Eternal) - 1.8%
- TRENT (Trent) - 0.82%
11. Consumer Durables (2.47%)
- Individual Stocks (weighted average):
- TITAN (Titan Company) - 1.36%
- ASIANPAINT (Asian Paints) - 1.11%
12. Power (2.37%)
- Individual Stocks (weighted average):
- NTPC (NTPC Limited) - 1.32%
- POWERGRID (Power Grid Corporation) - 1.05%
13. Construction Materials (2.07%)
- Individual Stocks (weighted average):
- ULTRACEMCO (UltraTech Cement) - 1.18%
- GRASIM (Grasim Industries) - 0.89%
14. Services (2.00%)
- Individual Stocks (weighted average):
- INDIGO (Interglobe Aviation) - 1.06%
- ADANIPORTS (Adani Ports) - 0.93%
15. Capital Goods (1.28%)
- Individual Stock:
- BEL (Bharat Electronics) - 1.28%
Sector Performance Calculation
- Single Index Sectors: Uses direct index/symbol percentage change
- Multi-Stock Sectors: Calculates weighted average based on individual stock weights and their percentage changes
- Formula: Weighted Average = Σ(Stock Weight × Stock % Change) / Total Sector Weight
Data Source
Nifty 50 Index: www.niftyindices.com
Trend Following Volatility Trail*Script was previously removed by Moderators at 1.8k boosts* - This was out of my control. This script was very popular and seemed to help a lot of traders. I am re uploading to help the community!
Trend Following Volatility Trail
The Trend Following Volatility Trail is a dynamic trend-following tool that adapts its stop, bias, and zones to real-time volatility and trend strength. Instead of using static ATR multiples like a normal Supertrend or Chandelier Stop, it continuously adjusts itself based on how stretched the market is and how persistent the trend has been. This indicator is based on volatility weighted EMAC
This makes the system far more reactive during momentum phases and more conservative during consolidation, helping avoid fake flips and late entries.
How It Works
The indicator builds an adaptive trail around a smoothed price basis:
– It starts with a short EMA as the “core trend line.”
– It measures volatility expansion versus normal volatility.
– It measures trend persistence by reading whether price has been rising or falling consistently.
– These two components combine to adjust the ATR multiplier dynamically.
As volatility expands or the trend becomes more persistent, the bands widen.
When volatility compresses or the trend weakens, the bands tighten.
These adaptive bands form the foundation of the trailing system.
Bull & Bear State Logic
The tool constantly tracks whether price is above or below the adaptive trail:
Price above the upper trail → Bullish regime
Price below the lower trail → Bearish regime
But instead of flipping immediately, it waits for confirmation bars to avoid noise.
This greatly reduces whipsaws and keeps the focus on sustained moves.
Once a new regime is confirmed:
– A coloured cloud appears (bull or bear)
– A label marks the flip point
– Alerts can be triggered automatically
Best Uses
Identifying regime shifts early
Riding sustained trends with confidence
Avoiding choppy markets by requiring confirmation
Using the adaptive cloud as a directional bias layer
CRT / ORB Signals [Yosiet]What is the CRT Pattern?
The Counter-Retracement Pattern is a classic three-candle setup that reveals moments of market structure weakness and potential reversal. It occurs when a strong move is temporarily rejected, signaling a possible continuation.
Several names for the same candlestick pattern: CRT, ORB, Morning Star, Evening Star, and others, but I'm not going to talk about it.
Here’s the anatomy of a Bullish CRT:
Candle 1 (C1: The Signal Candle): A significant momentum candle in a downtrend.
Candle 2 (C2: The Retracement/Sweep Candle): This is the critical candle. It must sweep the low of C1 (liquidity grab / sweep) but then close with its body inside the range of C1 .
Candle 3 (C3: The Confirmation/Entry Candle): A bullish candle that closes above C2's close, confirming the pattern.
Here’s the anatomy of a Bearish CRT:
The bearish pattern is the exact inverse, sweeping the high of Candle 1.
Why This Indicator?
Clarity and Precision. This script is built for accuracy and minimalism.
No Repainting: The logic is calculated on the closed historical bars. The signal is only plotted on the entry candle (Candle 3) after it has closed.
Clean Visuals: Instead of cluttering every candle, it shows you only what you need:
Green Up Arrow: Signals a confirmed Bullish CRT, suggesting a Long entry.
Red Down Arrow: Signals a confirmed Bearish CRT, suggesting a Short entry.
Faint Circles: Subtle white circles mark the high/low of Candle 1 and Candle 2, helping you visually trace the pattern structure without obstruction.
Percentage Distance from 200-Week SMA200-Week SMA % Distance Oscillator (Clean & Simple)
This lightweight, no-nonsense indicator shows how far the current price is from the classic 200-week Simple Moving Average, expressed as a percentage.
Key features:
• True percentage distance: (Price − 200w SMA) / 200w SMA × 100
• Auto-scaling oscillator (no forced ±100% range → the line actually moves and looks alive)
• Clean zero line
• +10% overbought and −10% oversold levels with subtle background shading
• Real-time table showing the exact current percentage
• Small label on the last bar for instant reading
• Alert conditions when price moves >10% above or below the 200-week SMA
Why 200-week SMA?
Many legendary investors and hedge funds (Stan Druckenmiller, Paul Tudor Jones, etc.) use the 200-week SMA as their ultimate long-term trend anchor. Being +10% or more above it has historically signaled extreme optimism, while −10% or lower has marked deep pessimism and generational buying opportunities.
Perfect for Bitcoin, SPX, gold, individual stocks – works on any timeframe (looks especially good on daily and weekly charts).
Open-source • No repainting • Minimalist & fast
Enjoy and trade well!
Nifty Sector Weightage MatrixSector-weighted view of the Nifty 50 index. This script highlights how much each sector contributes to the index along with real-time sector trend. Essential for index traders looking to understand sector impact, rotations, and leadership.






















