Alert: 10m FU at Top of HourWhen an FU happens on the hour, it will typically give a good indication of direction
Pair this with negation and HCS
指標和策略
Stock Valuation Models - Professional Investment Analysis Tool📊 Overview
Stock Valuation Models is a comprehensive financial analysis indicator that combines multiple valuation methodologies to calculate intrinsic stock value. This professional-grade tool implements 7 different valuation methods , risk assessment framework, and financial health metrics to provide data-driven investment decisions.
🎯 Key Features
📈 Multiple Valuation Methods
Graham's Valuation - Conservative asset-based approach by Benjamin Graham
Multiples Valuation - Market-based P/E and P/B ratios from sector peers
Discounted Cash Flow (DCF) - Future cash flow projections with present value calculation
Dividend Discount Model - Gordon Growth Model for dividend-paying stocks
FCFF Model - Enterprise-level Free Cash Flow to Firm analysis
EVA Model - Economic Value Added measurement above cost of capital
Advanced Multiples - Enterprise Value ratios (EV/EBITDA, EV/Sales)
🏥 Financial Health Metrics
Altman Z-Score - Bankruptcy prediction and financial distress assessment
Piotroski F-Score - 9-point fundamental strength evaluation
Beneish M-Score - Earnings manipulation detection system
Magic Formula - Joel Greenblatt's combined quality and value scoring
⚖️ Risk Assessment Framework
Multi-Factor Risk Scoring - Fundamental, market, quality, and data quality risks
Risk-Adjusted Margin of Safety - Dynamic safety thresholds based on risk level
Position Sizing Guidance - Risk-appropriate investment allocation recommendations
🔍 Data Quality System
Real-Time Quality Tracking - Visual warnings for insufficient data
Fallback Methodology - Alternative calculations when primary data unavailable
Confidence Scoring - Method agreement and data quality assessment
⚙️ Settings & Parameters
Main Settings
Margin of Safety (%) - Minimum discount required before buying (Default: 15%)
Table Font Size - Choose between "Small" and "Normal" text size
Valuation Methods
Graham's Valuation - Best for mature, stable companies with strong fundamentals
Multiples Valuation - Compares to industry peers using dynamic sector ratios
Discounted Cash Flow - Ideal for growth companies with predictable cash flows
Dividend Discount Model - For consistent dividend-paying stocks (disabled by default)
FCFF Model - Enterprise approach for leveraged companies and M&A analysis
EVA Model - Measures value creation above cost of capital
Advanced Multiples - Wall Street standard EV ratios for professional analysis
Additional Metrics
Magic Formula - Combined quality and value scoring system
Altman Z-Score - Bankruptcy risk assessment (Safe >2.99, Distress <1.81)
Piotroski F-Score - Fundamental quality score (Excellent ≥8, Poor <4)
Beneish M-Score - Manipulation detector (High Risk >-2.22, Low Risk ≤-2.22)
🔧 How It Works
Dynamic Calculations
Sector-Based Ratios - Automatically detects company sector and applies appropriate valuation multiples
Economic Integration - Uses real-time risk-free rates, VIX volatility, and GDP growth data
Quality Weighting - Adjusts method weights based on company type (growth/mature/distressed) and market conditions
Negative Value Handling - Shows actual calculated values but excludes negative results from weighted average
Risk-Adjusted Analysis
VIX Integration - Higher market volatility increases required margin of safety
Sector Risk Premiums - Energy and Financial sectors get higher risk multipliers
Quality Adjustments - High Piotroski F-Score companies get lower risk ratings
Data Quality Impact - Insufficient data increases risk score and safety requirements
Visual Display
Horizontal Table Layout - Organized by method groups (Valuation → Results → Risk → Health)
Color-Coded Results - Green/Yellow/Red indicators for risk levels and recommendations
Warning Symbols - ⚠️ for data quality issues, ❌ for excluded negative values
Dollar Amounts - Both percentage and dollar-based margin of safety calculations
📈 Interpretation Guide
💎 Intrinsic Value Results
Weighted Average - Combines all enabled methods based on intelligent weighting
Confidence Level - High/Medium/Low based on method agreement and data quality
Method Count - Number of successful valuation calculations
🎯 Margin of Safety
Percentage - Current discount/premium to calculated intrinsic value
Dollar Amount - Absolute dollar difference per share
Buy Price - Risk-adjusted target purchase price
⚖️ Risk Assessment
Low Risk (Green) - Normal position sizing (3-5%)
Medium Risk (Yellow) - Reduced position sizing (1-3%)
High Risk (Red) - Minimal position sizing (<1%)
📊 Recommendations
STRONG BUY - Low risk + adequate margin + high confidence
BUY - Meets risk-adjusted margin requirements
HOLD - Positive margin but higher risk
SELL - Insufficient margin for risk level
🎓 Educational Tooltips
Every parameter includes detailed explanations accessible by hovering over the setting. Learn about:
When to use each valuation method
How different metrics are calculated
Interpretation thresholds and ratings
Risk factors and quality indicators
💡 Best Practices
🚀 For Growth Stocks
Enable DCF and Advanced Multiples
Focus on Piotroski F-Score for quality assessment
Use higher margin of safety due to volatility
💰 For Value Stocks
Enable Graham's and Multiples Valuation
Check Altman Z-Score for financial stability
Consider Magic Formula rating
📈 For Dividend Stocks
Enable Dividend Discount Model
Focus on sustainable dividend coverage
Check for consistent dividend history
⚠️ For Distressed Situations
Prioritize Graham's asset-based approach
Monitor Altman Z-Score closely
Use higher risk-adjusted margins
⚠️ Important Notes & Data Limitations
📅 Data Timing Considerations
Fundamental Data Lag - Company financial data (earnings, cash flows, balance sheet items) may be 1-3 months behind current market conditions
Quarterly Reporting Delays - Most recent available data reflects the company's situation as of the last filed quarterly/annual report
Market vs. Fundamentals Gap - Stock prices react instantly to news, while fundamental data updates occur periodically
Accuracy Impact - Recent business changes, market events, or company developments may not be reflected in current calculations
🔧 Technical Limitations
Data Dependencies - Requires fundamental data availability from TradingView
Quality Warnings - Pay attention to ⚠️ symbols indicating insufficient data
Risk Context - Always consider risk score in investment decisions
Market Conditions - Tool automatically adjusts for market volatility (VIX)
Sector Specificity - Ratios automatically adjust based on company's sector
💡 Best Practice Recommendations
Supplement with Current Analysis - Always combine with recent news, earnings calls, and management guidance
Monitor Data Quality - Check when the underlying financial data was last updated
Consider Market Context - Factor in recent market events that may affect company performance
Use as Starting Point - Treat calculations as baseline analysis requiring additional research
🔗 Methodology
Based on established academic research and professional practices:
Benjamin Graham - Security Analysis principles
Joel Greenblatt - Magic Formula methodology
Edward Altman - Z-Score bankruptcy prediction
Joseph Piotroski - Fundamental analysis scoring
Messod Beneish - Earnings manipulation detection
Modern Portfolio Theory - Risk-adjusted decision making
This indicator is designed for educational and analytical purposes. Always conduct additional research and consider consulting with financial professionals before making investment decisions.
Smoothed Basis Overview and Purpose
The script calculates a smoothed mid-range basis between the highest and lowest prices over a specified period, then applies a smoothing function (smoothed moving average) to show the trend direction or momentum in a less noisy way. The area between the basis and its smoothed value is color-filled to visually highlight when the basis is above or below the smoothed average, signaling potentially bullish or bearish momentum.
Indicator Setup
length = Period length for calculating the highest and lowest values.
signal = Smoothing period used to smooth the basis.
offset =Optional horizontal shift to the plots (default 0).
Core Calculations
lower = Finds the lowest low over the past length bars.
upper = Finds the highest high over the past length bars.
basis = Calculates the midpoint between the highest and lowest.
Smoothing Calculation (Smoothed Moving Average - SMMA)
Declares smma as 0.0 initially. If the previous smma value is not available (like on the first bar), initializes with a simple moving average of basis over signal bars. Else applies formula
which gives a smoother version of basis which reacts less to sudden changes.
Plotting and Color Fill
Plots the raw basis line and smoothed basis line .
Fills the area between the basis and smoothed basis lines:
Greenish fill if the basis is above the smoothed value (potentially bullish).
Reddish fill if the basis is below the smoothed value (potentially bearish).
Interpretation and Use
The indicator visually shows where price ranges are shifting by tracking the midpoint between recent highs and lows.
The smoothed basis serves as a trend or momentum filter by dampening noise in the basis line.
When the basis is above the smoothed line (green fill), it signals upward momentum or strength; below it (red fill) suggests downward momentum or weakness.
The length and signal parameters allow tuning for different timeframes or asset volatility.
In summary, this code creates a custom smoothed oscillator based on the midpoint range of price extremes, highlighting trend changes via color fills and smoothening price action noise with an SMMA.
Pattern Match & Forward Projection – Weekly (v6.0)
📌 Pattern Match & Forward Projection – Weekly (v6.0)
This indicator is designed to spot situations in the past that resemble the current price behavior and then project their possible future outcomes.
🔍 How it works
Dynamic Lookback
The algorithm scans a wide history of candles (in this case, 750 weekly bars).
Within this history, it searches for price sequences that closely resemble the recent move.
Pattern Matching
When a match is found, the indicator assigns a validity score (e.g., 82%).
This value shows how similar the current structure is to those past cases.
Quality Filters
Users can fine-tune thresholds and parameters (e.g., terminal mean curve, max distance allowed, shape filter).
These filters reduce “false positives” and keep only the most significant matches.
Forward Projection
Once a match is confirmed, the indicator calculates the average forward performance based on how price behaved after similar cases in the past.
It then displays percentage statistics:
+1w, +2w, +3w, +4w, +5w …
each showing the historical average move over those timeframes.
📊 What we see on this chart (CRM – Salesforce, weekly)
A match was found with 82% validity.
Historically, in similar setups, price performance showed on average:
+0.87% after 1 week
+2.89% after 2 weeks
+7.25% after 3 weeks
+2.81% after 4 weeks
+3.39% after 5 weeks
The dashed lines on the chart represent projected price levels based on these statistical averages.
⚙️ In summary
This tool doesn’t produce “magical predictions.” Instead, it applies statistical analysis and pattern recognition: it compares the present with the past and highlights the probabilities of future moves based on historical analogs.
🔧 You can customize:
the lookback window (how many bars to scan),
the similarity threshold,
the shape filter,
and the forward periods to track.
👉 In short, the Pattern Match & Forward Projection is a practical tool for traders who want to complement traditional technical analysis with a quantitative, probability-driven approach, rooted in the market’s own memory
Uptrick: Majors Directional BiasOverview
Uptrick: Majors Directional Bias is a trend-following indicator designed for higher timeframe markets, with a particular focus on the daily chart. It keeps a persistent bullish or bearish stance, highlights confirmed trend flips with one-time markers, and plots a slim, adaptive flow trail that often acts as dynamic support in bullish conditions and resistance in bearish conditions. It is purpose-built for BTC, ETH, and SOL, with safeguards to warn users if applied elsewhere.
Introduction
This indicator was created to simplify trend tracking on higher timeframes. Rather than layering multiple moving averages, oscillators, or external signals, it keeps everything on the price chart itself. Candles are colored by the active stance, a single marker shows the bar where a trend flip is confirmed, and the flow trail follows price closely while adjusting to volatility. For traders working with the daily chart, the trail becomes a practical tool: in an uptrend, it often serves as a natural stop placement zone or structural support, while in a downtrend it behaves like dynamic resistance. The combination of persistence, confirmation, and structure gives traders a clean map of market direction without noise or clutter.
Purpose
The tool is designed to help traders follow medium to long-term market trends rather than react to short intraday moves. Its focus is clarity and continuity — it latches onto a stance and only changes when a new confirmed flip occurs. This makes it suitable for swing traders and position traders who want to stay aligned with the prevailing trend on the daily chart.
Practical uses include identifying trend shifts, entering trades in the direction of the new stance, managing positions by trailing stops along the flow trail, and monitoring pullbacks for whether they respect or break the trail. In this way, the indicator supports both entry timing and ongoing trade management on higher timeframe markets.
Originality and uniqueness
The originality of this script lies in its blend of complexity and simplicity. Internally, it uses multiple filters and layered components to reduce market noise, smooth out erratic fluctuations, and avoid false flips that are common on higher timeframes. Externally, the presentation is deliberately simple: candles are colored by trend, a single marker identifies each confirmed flip, and a slim trail with soft fills shows where the trend structure sits. Many tools either overload traders with information or flicker constantly in uncertain conditions. This script strikes a balance — complex logic works in the background, but what the trader sees is minimal and actionable. Its ability to filter out noise, persist with confidence, and present direction in the simplest terms makes it unique among trend-following overlays.
Why these components were merged
Each component has a clear role in supporting higher timeframe trading. Persistent bias coloring ensures the dominant trend is always visible, making it easy to stay aligned with the market. Flip markers give clarity by identifying the exact bar where the stance shifts, allowing traders to backtest or audit trends quickly. The flow trail provides a structural guide that adapts to volatility: in bull phases it runs under price, often acting as support, while in bear phases it runs above price, often behaving as resistance. Together, these features provide three layers of information in one view — direction, confirmation, and structure — giving traders a reliable framework for swing and position trading on the daily chart.
Step-by-Step
The script determines the dominant trend and locks that stance until an opposite confirmation occurs.
On confirmation of a new trend, a single marker prints on the bar of the flip.
A slim, adaptive trail plots under price in bull phases and above price in bear phases, with a soft fill to reinforce the state.
Price candles are colored by the active stance so the overall direction is always clear.
If the indicator is loaded on assets outside BTC, ETH, or SOL, a warning panel appears to set expectations.
Features
Persistent trend stance
Candles are always bull or bear, with no neutral state. This reduces ambiguity and keeps the trend visible at all times.
One-time flip markers
Markers plot once at the confirmed flip bar, preventing repetitive clutter and making historical review straightforward.
Adaptive flow trail with soft fill
The trail tracks price while adjusting to volatility. In bull trends it acts like dynamic support, in bear trends like dynamic resistance. Traders can use it as a practical stop-loss reference, trailing their risk along the line as the trend progresses.
Noise filtering logic
Internally, the indicator applies multiple filters and components to dampen false signals and avoid unnecessary flips. This is particularly important on higher timeframes, where swings are larger and stability is critical.
Asset-aware design
The indicator is tuned for BTC, ETH, and SOL, with an internal mode that adapts its responsiveness to each. A warning panel appears when used outside these majors.
Overlay-only clarity
Everything is drawn directly on the main chart. The trail gaps at regime changes, fills are soft and non-obstructive, and the overall design emphasizes readability on higher timeframe candles.
Conclusion
The MDB is a higher timeframe trend-following overlay built for BTC, ETH, and SOL, with daily charts as its ideal setting. It combines persistent bias coloring, one-time flip markers, and an adaptive flow trail to give traders direction, confirmation, and structure in the simplest possible form. Internally, it uses complex filtering to reduce noise and maintain reliable signals, but externally it stays minimal and clean. For swing and position traders who want to follow the daily trend with clarity and discipline, this indicator provides a focused solution.
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk, including the risk of loss. Past performance does not guarantee future results. Always conduct your own analysis and use appropriate risk management.
Asia/London 1-Minute Range — Smart Extend & PD LabelsAutomatically draws Asia and London ranges from the 1-minute anchor candle (wick high/low) at configurable times. Boxes extend to the right and only cap when a new range overlaps vertically; otherwise they run to X bars past price. Keeps 2 per session (today + PD) with PD.Asian range / PD.London range labels. Custom 50% midline (on/off, style, width, color). Fully customizable labels (text, color, size, position) with uniform offset (% / ticks / price). Works on any timeframe (HL fetched from 1m). Time zone and times are fully configurable..
HISTOThe Histogram based oscillator is a momentum indicator that transforms the traditional Relative Strength Index (RSI) into a centered oscillator around the zero line, displayed as a histogram.
While the standard RSI ranges from 0 to 100 and is typically interpreted with thresholds (70 = overbought, 30 = oversold), the zero-based histogram approach provides a more intuitive way of reading momentum shifts:
Values above zero indicate that bullish momentum (gains) outweighs bearish momentum (losses).
Values below zero indicate that bearish momentum dominates.
The height of the histogram bars represents the strength of the imbalance between buying and selling pressure.
🔹 Why use a histogram-based RSI?
Easier visual interpretation: Instead of judging levels like 70/30, traders can simply see whether momentum is positive or negative relative to zero.
Trend confirmation: A consistent series of positive histogram bars signals sustained bullish conditions; negative bars highlight bearish trends.
Signal timing: Crosses above/below the zero line act as momentum shift signals, similar to how MACD’s histogram is used.
🔹 Sensitivity and adjustments
Like the standard RSI, the oscillator depends on the chosen period length:
Shorter periods → more sensitive, faster signals, but also more noise.
Longer periods → smoother, more reliable signals, but slower to react.
Some traders enhance this further by:
Using multiple histogram RSIs (short-term vs long-term) to confirm signals.
Applying color coding (e.g., green for rising momentum, red for falling) to highlight acceleration or deceleration in trend strength.
Combining with other oscillators (MACD, Stochastics) for confirmation.
🔹 Applications
Trend identification: Stay aligned with the direction of the histogram (above zero = long bias, below zero = short bias).
Divergence spotting: If price makes a new high but the histogram weakens, it may signal exhaustion.
Momentum crossovers: Zero line crosses can serve as entry/exit signals, especially when confirmed by volume or price action.
WHALEThe Whale indicator is built around the Relative Strength Index (RSI), which is one of the most widely used momentum oscillators in technical analysis. RSI measures the magnitude of recent price changes to evaluate whether an asset is overbought or oversold.
Traditionally, RSI is calculated over a fixed period (commonly 14), but the Whale indicator introduces the concept of sensitivity across different periods. This means instead of looking at just a single timeframe, it blends or adapts multiple RSI lengths to capture both short-term volatility and long-term momentum.
A shorter-period RSI reacts quickly to price changes, making it more sensitive to short bursts of momentum or sudden reversals.
A longer-period RSI smooths out noise, giving a clearer picture of sustained trends.
By combining these different sensitivities, the Whale indicator aims to detect shifts in momentum earlier than a standard RSI, while still filtering out false signals. This makes it useful for spotting potential trend reversals, divergences, and overextended market conditions with more nuance than the default RSI.
In practice, traders might use the Whale indicator to:
Identify entry and exit zones when RSI values converge across multiple sensitivities.
Confirm the strength of a trend when both short-term and long-term momentum align.
Reduce false breakouts by comparing how price behaves relative to several RSI periods.
Pr0ject Zer0What it is
Pr0ject Zer0 plots clean Buy/Sell flips on your chart based on a MACD crossover calculated on a custom timeframe (HTF). Instead of drawing MACD lines or histograms, it marks the exact bars where the higher-timeframe MACD crosses its signal and paints a step-line at price so you can visually see how long each regime lasts.
Why it’s useful
Cuts the noise: you get state changes only (green when MACD > signal, red when MACD < signal).
Aligns your entries on lower timeframes with higher-timeframe momentum—a simple way to avoid fighting the trend.
The step-line at price makes it obvious where the flip happened and how far price has moved since.
How it works
Computes MACD(fast, slow, signal) on your chosen Timeframe (TF) via request.security.
On crossover up (MACD > Signal) → plots a green step (“Buy”) at that bar’s close.
On crossunder (MACD < Signal) → plots a red step (“Sell”) at that bar’s close.
The line holds its state until the next flip, giving you a clear regime view.
Inputs
MACD Settings
Source: open/high/low/close (default: close)
TF: higher timeframe used for the MACD calculation (default: 10)
Look Ahead: Yes/No → controls barmerge.lookahead_on/off in request.security
Yes = can repaint (uses future HTF info).
No = safer, non-lookahead mode.
look ahead wait: integer offset applied to the source (src ) before MACD. Use 0–1 if you want to delay the source a bar(s) to further reduce peek effects when testing.
Fast/Slow/Signal: MACD parameters (defaults: Fast=3, Slow=13, Signal=3)
How to use
Overlay on any chart and timeframe (works intra-day to higher TFs).
Pick an HTF in TF (e.g., use 10 on a 1–5m chart, 60 on a 5–15m chart, 240 on a 15–60m chart).
Trade with the regime:
Consider longs while the line is green (HTF momentum up).
Consider shorts while the line is red (HTF momentum down).
Combine with your favorite execution tool (e.g., structure, pullbacks, EMAs) for entries and exits. Zer0 gives you the context; your system handles the trigger.
Best practices
For live trading, set Look Ahead = No to avoid repainting.
The HTF should be ≥ your chart TF. Using a lower TF as the “HTF” defeats the purpose.
For aggressive scalping, faster MACD (3/13/3) is fine. For swing or cleaner signals, test 12/26/9 or a slower combo.
Use risk management: this is a directional filter, not an all-in signal generator.
Notes & Limitations
Repainting warning: If Look Ahead = Yes, signals can shift as the higher timeframe completes. Use for exploration only.
This is an indicator, not a strategy—it doesn’t place orders or calculate PnL.
No alerts are included in this version.
Michael's EMA - 1h on 5mMichael's EMA - 1h You can use this indicator on all time frame and be able to see the H4 Bands, that help you with less layout and better view
GM
Michael's EMA - 15m on 5mMichael's EMA - 15m on 5m You can use this indicator on all time frame and be able to see the H4 Bands, that help you with less layout and better view
GM
Close Outside BB Without Touching//@version=5
indicator("Close Outside BB Without Touching", overlay=true)
// Input parameters
length = input.int(20, title="BB Length")
mult = input.float(2.0, title="BB Standard Deviation")
src = input(close, title="Source")
// Calculate Bollinger Bands
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper = basis + dev
lower = basis - dev
// Check if candle closed outside BB
closedAbove = close > upper
closedBelow = close < lower
// Check if candle didn't touch the BB during its formation
// For a candle closing above: low must be greater than upper band
// For a candle closing below: high must be less than lower band
noTouchAbove = low > upper
noTouchBelow = high < lower
// Final conditions
validAbove = closedAbove and noTouchAbove
validBelow = closedBelow and noTouchBelow
// Plot Bollinger Bands
plot(basis, "Basis", color=color.orange)
u = plot(upper, "Upper", color=color.blue)
l = plot(lower, "Lower", color=color.blue)
// Fill between Bollinger Bands
fill(u, l, color=color.new(color.blue, 95), title="Background")
// Highlight valid candles
barcolor(validAbove ? color.green : validBelow ? color.red : na)
// Plot markers for valid signals
plotshape(validAbove, title="Valid Above BB", color=color.green,
style=shape.triangleup, location=location.belowbar, size=size.small)
plotshape(validBelow, title="Valid Below BB", color=color.red,
style=shape.triangledown, location=location.abovebar, size=size.small)
// Alert conditions
alertcondition(validAbove, title="Valid Close Above BB",
message="Candle closed above BB without touching")
alertcondition(validBelow, title="Valid Close Below BB",
message="Candle closed below BB without touching")
Michael's EMA - 4h on 5mH4 Michael's EMA on all TF, You can use this indicator on all time frame and be able to see the H4 Bands, that help you with less layout and better view
GM
HTF Big Candle ProjectionsWhat it does
This indicator overlays higher-timeframe (HTF) “big candles” at the right edge of any chart and keeps them perfectly parallel with price while you zoom or pan. In End-of-Chart (EOC) mode, all objects are anchored by bar index (not time) and clamped to TradingView’s ≤500 bars into the future rule, so they move 1:1 with the chart—no drift, no lag. A fallback mode preserves time-anchored labels if you prefer them.
Why it’s different / useful
Most MTF overlays drift when you scale or pan because they anchor by time or mix coordinate systems. This script anchors every end-of-chart object (bodies, wicks, OHLC guide lines, labels, range readout) in bar-index space, so the overlay scales identically to real bars. It also includes a safe-clamp to the 500-bar forward limit, automatic TF mapping for D/W/M charts, and optional projections from the previous HTF candle.
How it works (technical overview)
HTF data: The indicator fetches HTF OHLC using request.security() (no lookahead) and updates the current HTF candle live on each chart bar.
EOC placement (ON): Big candles are rendered with index-anchored boxes + wicks (box.new + line.new). X-positions are computed from bar_index + offset, then clamped to stay within the forward limit.
Fallback placement (OFF): Label coordinates switch to time-anchored for familiarity; candle bodies remain parallel via index logic.
OHLC helpers: Optional high/low/close guide lines extend right from the active HTF candle; OHLC labels and a range label can be placed to the side; a remaining-time widget shows how long until the HTF bar closes.
No lookahead / repaint caveat: The current HTF candle naturally evolves until it closes; that’s expected behavior for real-time HTF overlays.
Inputs & features
Place at end of chart (EOC mode toggle): index-anchored layout with ≤500-bar clamp.
Right Candle Timeframe: auto-map for D/W/M (D→W, W→M, M→3M) or set manually.
Offsets & width: right-edge offset (bars), left-candle offset, body width (bars), minimum gap between candles.
Wicks: show/hide (fallback mode draws wicks; index mode draws them via lines).
OHLC guide lines: toggle H/L/C, choose style/width/color, with right-side projection distance.
OHLC labels: side selection, text size, background/text colors, side offset.
Range label: toggle, side offset, size; option to show pip units (1/mintick).
Prev candle projections: optional HTF high/low lines from the left candle.
Remaining-time panel: live countdown to the HTF bar close.
Colors: bullish/bearish bodies and wicks.
How to use
Add to any chart (works best on intraday charts when viewing D/W/M candles).
Keep “Place at end of chart” ON for perfect parallel tracking while zooming/panning.
Choose Right Candle Timeframe (or use auto for D/W/M).
Adjust Body Width and Label/Line Offsets to taste. If you push offsets too far, the script auto-clamps objects to respect the 500-bar forward limit.
Optionally enable Prev Candle HL projections, OHLC labels, and the Range readout.
Publish with a clean chart so the overlay is easy to understand at a glance.
Notes & limitations
Forward plotting limit: TradingView only allows drawing ≤500 bars into the future. The script clamps all end-of-chart objects automatically; if you request more, it will shorten projections to remain compliant.
Sessions & symbols: Exotic sessions or illiquid symbols may produce uneven HTF boundaries. If needed, set the Right Candle Timeframe manually.
No signals, no promises: This is a visualization tool—it does not generate trade signals or promise performance. Use it alongside your own analysis and risk management.
Settings quick reference
EOC mode: ON (index-anchored) / OFF (time-anchored labels).
Right Candle TF: Auto D→W→M→3M or manual TF.
Offsets: Right edge, left candle, label/range/line projections.
Body Width: Candle thickness in bars.
Lines/Labels: OHLC guides, OHLC labels, Range label.
Prev HL: Previous HTF high/low projections.
Timer: Remaining time in the current HTF bar.
Colors: Bull/Bear bodies, wicks.
Disclaimer
For educational purposes only. Not financial advice. Past performance does not guarantee future results. Always test on your own and trade responsibly.
Author’s note on originality
This script focuses on bar-index anchored EOC rendering with comprehensive forward-clamping and dual label modes, aiming to solve the common drift/desync issues seen in MTF overlays during chart scaling.
FDDM [ Shervinfx ]( Fractal Dimensions and the Depth Manipulation )
1.With this indicator, you can properly understand fractal dimensions and the depth of market manipulation.Fddm identifies regions daily to measure fractal dimensions and assess data for market manipulation.
2.The red and blue areas in the image indicate the regions where the fractal dimensions are measured.
The MNP - or + and MNP5 areas are the market manipulation zones that arise daily with different market profiles.
3.Please apply the FDDM indicator settings exactly as shown in the pictures I shared to ensure correct usage and avoid any violations, so you can get the best results and positive responses in your trades.
4.There are two types of tables to view the Fractal dimension prices and market manipulation that we observe as MNP, so you can make the best trading decisions and achieve success at your entry points.
5.The higher timeframe candle is considered for you so you can combine the market OHLC-OLHC with your lower-fractal timeframe. This way, your entry precision increases, and you have quick access to higher timeframes even with just a laptop and a monitor; you don’t need other monitors when using the FDDM indicator.
6.Change in state of delivery" is one of the key ways to consider market shift in both lower and higher timeframes. You should pay close attention to MNP and FD points at price touch and trend, so you enter at the right price level. This itself is an important confirmation for entering a trade, and the FDDM indicator does this automatically for you across all timeframes accurately, since recognizing CISD can be very challenging at times.
7.Identify fair value gaps (FVG) automatically and plot them on the chart without any effort. The FDDM indicator does this for you, and you can set the number of gaps to display in the settings. This is a great boon for traders, allowing you to focus purely on trading and entries, stay away from peripheral tasks, enjoy the trading process, and reap substantial profits.
8.I have to tell you about a kind of miracle: since FD and MNP form a single zone for us, if this zone is shadowed or has a solid test, we can execute a good entry. If the market trend is intact but this zone is touched by the body and the market turns, you should wait for CISD to achieve the best, low-risk entry for trend reversals or corrections. Based on narrative and bias, you can make good trading decisions.
Wickless Heikin Ashi B/S [CHE]Wickless Heikin Ashi B/S \
Purpose.
Wickless Heikin Ashi B/S \ is built to surface only the cleanest momentum turns: it prints a Buy (B) when a bullish Heikin-Ashi candle forms with virtually no lower wick, and a Sell (S) when a bearish Heikin-Ashi candle forms with no upper wick. Optional Lock mode turns these into one-shot signals that hold the regime (bull or bear) until the opposite side appears. The tool can also project dashed horizontal lines from each signal’s price level to help you manage entries, stops, and partial take-profits visually.
How it works.
The indicator computes standard Heikin-Ashi values from your chart’s OHLC. A bar qualifies as bullish if its HA close is at or above its HA open; bearish if below. Then the wick on the relevant side is compared to the bar’s HA range. If that wick is smaller than your selected percentage threshold (plus a tiny tick epsilon to avoid rounding noise), the raw condition is considered “wickless.” Only one side can fire; on the rare occasion both raw conditions would overlap, the bar is ignored to prevent false dual triggers. When Lock is enabled, the first valid signal sets the active regime (background shaded light green for bull, light red for bear) and suppresses further same-side triggers until the opposite side appears, which helps reduce overtrading in chop.
Why wickless?
A missing wick on the “wrong” side of a Heikin-Ashi candle is a strong hint of persistent directional pressure. In practice, this filters out hesitation bars and many mid-bar flips. Traders who prefer entering only when momentum is decisive will find wickless bars useful for timing entries within an established bias.
Visuals you get.
When a valid buy appears, a small triangle “B” is plotted below the bar and a green dashed line can extend to the right from the signal’s HA open price. For sells, a triangle “S” above the bar and a red dashed line do the same. These lines act like immediate, price-anchored references for stop placement and profit scaling; you can shift the anchor left by a chosen number of bars if you prefer the line to start a little earlier for visual alignment.
How to trade it
Establish context first.
Pick a timeframe that matches your style: intraday index or crypto traders often use 5–60 minutes; swing traders might prefer 2–4 hours or daily. The tool is agnostic, but the cleanest results occur when the market is already trending or attempting a fresh breakout.
Entry.
When a B prints, the simplest rule is to enter long at or just after bar close. A conservative variation is to require price to take out the high of the signal bar in the next bar(s). For S, invert the logic: enter short on or after close, or only if price breaks the signal bar’s low.
Stop-loss.
Place the stop beyond the opposite extreme of the signal HA bar (for B: under the HA low; for S: above the HA high). If you prefer a static reference, use the dashed line level (signal HA open) or an ATR buffer (e.g., 1.0–1.5× ATR(14)). The goal is to give the trade enough room that normal noise does not immediately knock you out, while staying small enough to keep the risk contained.
Take-profit and management.
Two pragmatic approaches work well:
R-multiple scaling. Define your initial risk (distance from entry to stop). Scale out at 1R, 2R, and let a runner go toward 3R+ if structure holds.
Trailing logic. Trail behind a short moving average (e.g., EMA 20) or progressive swing points. Many traders also exit on the opposite signal when Lock flips, especially on faster timeframes.
Position sizing.
Keep risk per trade modest and consistent (e.g., 0.25–1% of account). The indicator improves timing; it does not replace risk control.
Settings guidance
Max lower wick for Bull (%) / Max upper wick for Bear (%).
These control how strict “wickless” must be. Tighter values (0.3–1.0%) yield fewer but cleaner signals and are great for strong trends or low-noise instruments. Looser values (1.5–3.0%) catch more setups in volatile markets but admit more noise. If you notice too many borderline bars triggering during high-volatility sessions, increase these thresholds slightly.
Lock (one-shot until opposite).
Keep Lock ON when you want one decisive signal per leg, reducing noise and signal clusters. Turn it OFF only if your plan intentionally scales into trends with multiple entries.
Extended lines & anchor offset.
Leave lines ON to maintain a visual memory of the last trigger levels. These often behave like near-term support/resistance. The offset simply lets you start that line one or more bars earlier if you prefer the look; it does not change the math.
Colors.
Use distinct bull/bear line colors you can read easily on your theme. The default lime/red scheme is chosen for clarity.
Practical examples
Momentum continuation (long).
Price is above your baseline (e.g., EMA 200). A B prints with a tight lower wick filter. Enter on close; stop under the signal HA low. Price pushes up in the next bars; you scale at 1R, trail the rest with EMA 20, and finally exit when a distant S appears or your trail is hit.
Breakout confirmation (short).
Following a range, price breaks down and prints an S with no upper wick. Enter short as the bar closes or on a subsequent break of the signal bar’s low. If the next bar immediately rejects and prints a bullish HA bar, your stop above the signal HA high limits damage. Otherwise, ride the move, harvesting partials as the red dashed line remains unviolated.
Alerts and automation
Set alerts to “Once Per Bar Close” for stability.
Bull ONE-SHOT fires when a valid buy prints (and Lock allows it).
Bear ONE-SHOT fires for sells analogously.
With Lock enabled, you avoid multiple pings in the same direction during a single leg—useful for webhooks or mobile notifications.
Reliability and limitations
The script calculates from completed bars and does not use higher-timeframe look-ahead or repainting tricks. Heikin-Ashi smoothing can lag turns slightly, which is expected and part of the design. In narrow ranges or whipsaw conditions, signals naturally thin out; if you must trade ranges, either tighten the wick filters and keep Lock ON, or add a trend/volatility filter (e.g., trade B only above EMA 200; S only below). Remember: this is an indicator, not a strategy. If you want exact statistics, port the triggers into a strategy and backtest with your chosen entry, stop, and exit rules.
Final notes
Wickless Heikin Ashi B/S \ is a precision timing tool: it waits for decisive, wickless HA bars, provides optional regime locking to reduce noise, and leaves clear price anchors on your chart for disciplined management. Use it with a simple framework—trend bias, fixed risk, and a straightforward exit plan—and it will keep your execution consistent without cluttering the screen or your decision-making.
Disclaimer: This indicator is for educational use and trade assistance only. It is not financial advice. You alone are responsible for your risk and results.
Enhance your trading precision and confidence with Wickless Heikin Ashi B/S ! 🚀
Happy trading
Chervolino
Option Trend for Nifty & Bank Nifty (Indian Market)This is an advanced multi-system trading indicator for TradingView, offering a comprehensive suite of tools for technical analysis and trading decision support .
Main Features
Trendline Detection: Identifies bullish and bearish trendlines automatically using swing highs and lows, with optional labeling of key price structure (Higher Highs, Lower Lows, etc.) and customizable line colors and styles.
Signal & Trend Systems: Includes both a crossover signal system (for buy/sell entries) and a multi-period trend-following system, which uses enhanced moving averages and dynamic trailing levels to adapt to different market conditions.
Supply & Demand Zones: Automatically detects and marks potential supply and demand zones based on pivot structures and ATR buffers, helping spot logical areas for price reaction or reversal.
Support & Resistance: Plots periodic support/resistance and macro (long-term) levels, with user-defined periods and the ability to visualize volume delta for each zone.
Theil-Sen Estimator: Optionally adds a statistical regression channel using the robust Theil-Sen method to identify trend direction and breaks for long-term analysis.
RSI/KDE Analysis: Implements relative strength index (RSI) analysis with kernel density estimation (KDE) to detect pivot points with probability labeling and color-coded signals for high-confidence reversals.
Dashboards & Alerts: Provides multitimeframe dashboards summarizing trend, EMA signals, and momentum across up to five timeframes, plus integrated alerting for all major events (entries, exits, zone breaks, etc.).
Customization & Usability
Extensive input settings for periods, color themes, line widths, and label visibility.
Can display visual cloud bands, trend ribbons, and supply/demand boxes as overlays on price charts for enhanced clarity.
Open-source and for educational use under permissive licensing, not affiliated with TradingView.
This indicator is designed to deliver a full-featured market map, combining price action, trend, support/resistance, and probabilistic signals for discretionary or semi-automated trading.
Session AnchorsDescription
This indicator highlights the four main global trading sessions — London, New York AM, New York PM, and Asia — as color-coded boxes on the chart. Each session is defined by fixed start/end times (New York time) and dynamically updates with the evolving high and low during that interval. This provides a clear view of how volatility and structure shift as trading activity passes from one region to another.
How to use
• Works on any timeframe.
• Toggle sessions on/off based on your trading hours.
• Observe price behavior as one session closes and another opens.
• Use session boxes as context for liquidity, volatility, and structure analysis.
Originality
This script delivers a clean, customizable visualization of global market hours and session ranges, avoiding extra overlays so traders can isolate session-based behavior without distraction.
⚠️ Disclaimer
This indicator does not generate signals. It provides a structural mapping of global sessions for contextual analysis only.
BB + OBV + RSI Strategy (Enhanced + Daily Table) Script Brief – *BB + OBV + RSI Strategy (Enhanced + Daily Table)*
This TradingView Pine Script combines **Bollinger Bands (BB)**, **On-Balance Volume (OBV)**, **Relative Strength Index (RSI)**, and **Exponential Moving Average (EMA)** to help traders identify potential trend conditions and market strength.
**Key Features:**
* **Bollinger Bands** (20-period SMA ± 2 Std Dev by default) to track volatility and price extremes.
* **OBV & OBV Moving Average** to confirm buying or selling pressure.
* **RSI** to highlight overbought and oversold zones.
* **200 EMA** as a long-term trend filter.
* **Daily Comparison Table** (top-right corner):
* Displays today’s vs. yesterday’s values for Close, RSI, OBV vs MA, BB Position, and EMA Trend.
* Helps quickly assess whether momentum and trend conditions are strengthening or weakening.
**Usage:**
* The chart shows **BB lines and EMA** for real-time analysis on any timeframe.
* The **table provides higher-timeframe context** (daily values), making it easier to confirm signals across multiple timeframes.
* Best applied with backtesting and proper risk management.
Rolling VWAP with Standard Deviation Bands and AlertsA Rolling Volume Weighted Average Price (RVWAP) indicator featuring dynamic standard deviation bands and customizable alerts.
This indicator automatically adapts its calculation period to the chart timeframe while providing precise entry and exit signals through statistical deviation levels.
Automatic time period adjustment based on chart timeframe
Manual time period override option (days, hours, minutes)
Volume-weighted price calculations with variance safeguards
Five Standard Deviation Levels
Individual toggles for 1σ, 1.5σ, 2σ, 2.5σ, and 3σ bands
Color-coded visualization with gradient transparency
Red bands above RVWAP (resistance levels)
Green bands below RVWAP (support levels)
Orange RVWAP centerline
Smart Alert System
Separate BUY and SELL alert conditions
Individual band selection for alerts
Visual Triangle Alerts
Optional triangle markers on band crossings
Size and transparency graded by significance level
Tiny triangles for 1σ/1.5σ (frequent signals)
Normal triangles for 3σ (extreme moves)
Momentum and mean reversion trading
Support and resistance identification
Volatility-based position sizing
Multi-timeframe analysis
Sine Weighted Trend Navigator [QuantAlgo]🟢 Overview
The Sine Weighted Trend Navigator utilizes trigonometric mathematics to create a trend-following system that adapts to various market volatility. Unlike traditional moving averages that apply uniform weights, this indicator employs sine wave calculations to distribute weights across historical price data, creating a more responsive yet smooth trend measurement. Combined with volatility-adjusted boundaries, it produces actionable directional signals for traders and investors across various market conditions and asset classes.
🟢 How It Works
At its core, the indicator applies sine wave mathematics to weight historical prices. The system generates angular values across the lookback period and transforms them through sine calculations, creating a weight distribution pattern that naturally emphasizes recent price action while preserving smoothness. The phase shift feature allows rotation of this weighting pattern, enabling adjustment of the indicator's responsiveness to different market conditions.
Surrounding this sine-weighted calculation, the system establishes volatility-responsive boundaries through market volatility analysis. These boundaries expand and contract based on current market conditions, creating a dynamic framework that helps distinguish meaningful trend movements from random price fluctuations.
The trend determination logic compares the sine-weighted value against these adaptive boundaries. When the weighted value exceeds the upper boundary, it signals upward momentum. When it drops below the lower boundary, it indicates downward pressure. This comparison drives the color transitions of the main trend line, shifting between bullish (green) and bearish (red) states to provide clear directional guidance on price charts.
🟢 How to Use
Green/Bullish Trend Line: Rising momentum indicating optimal conditions for long positions (buy)
Red/Bearish Trend Line: Declining momentum signaling favorable timing for short positions (sell)
Steepening Green Line: Accelerating bullish momentum with increasing sine-weighted values indicating strengthening upward pressure and high-probability trend continuation
Steepening Red Line: Intensifying bearish momentum with declining sine-weighted calculations suggesting persistent downward pressure and optimal shorting opportunities
Flattening Trend Lines: Gradual reduction in directional momentum regardless of color may indicate approaching consolidation or trend exhaustion requiring position management review
🟢 Pro Tips for Trading and Investing
→ Preset Strategy Selection: Utilize the built-in presets strategically - Scalping preset for ultra-responsive 1-15 minute charts, Default preset for balanced general trading, and Swing Trading preset for 1-4 hour charts and multi-day positions.
→ Phase Shift Optimization: Fine-tune the phase shift parameter based on market bias - use positive values (0.1-0.5) in trending bull markets to enhance uptrend sensitivity, negative values (-0.1 to -0.5) in bear markets for improved downtrend detection, and zero for balanced neutral market conditions.
→ Multiplier Calibration: Adjust the multiplier according to market volatility and trading style. Use lower values (0.5-1.0) for tight, responsive signals in stable markets, higher values (2.0-3.0) during earnings seasons or high-volatility periods to filter noise and reduce whipsaws.
→ Sine Period Adaptation: Customize the sine weighted period based on your trading timeframe and market conditions. Use 5-14 for day trading to capture short-term momentum shifts, 14-25 for swing trading to balance responsiveness with reliability, and 25-50 for position trading to maintain long-term trend clarity.
→ Multi-Timeframe Sine Validation: Apply the indicator across multiple timeframes simultaneously, using higher timeframes (4H/Daily) for overall trend bias and lower timeframes (15m/1H) for entry timing, ensuring sine-weighted calculations align across different time horizons.
→ Alert-Driven Systematic Execution: Leverage the built-in trend change alerts to eliminate emotional decision-making and capture every mathematically-confirmed trend transition, particularly valuable for traders managing multiple instruments or those unable to monitor charts continuously.
→ Risk Management: Increase position sizes during strong directional sine-weighted momentum while reducing exposure during frequent color changes that indicate mathematical uncertainty or ranging market conditions lacking clear directional bias.