LSMAsThis indicator calculates and plots two Least Squares Moving Averages (LSMA) based on different lengths and a Smoothed Moving Average (SMMA) of the longer LSMA.
Inputs
lengthA : Period length for the first, longer LSMA.
lengthB : Period length for the second, shorter LSMA.
signAl : Signal period used in SMMA smoothing.
Calculations
LSMA-A and LSMA-B : Calculates the linear regression (least squares) of source over lengthA and lengthB respectively, with no offset. These represent two LSMAs, one slow and one fast.
SMMA : This is a smoothed moving average of the longer LSMA (LSMA-A).
Purpose
This indicator helps traders identify trend directions and momentum by using two least squares regression lines of different lengths to capture short- and long-term trends in price. The SMMA smoothing of the longer LSMA may be used as a signal or confirmation line to reduce noise and produce smoother signals.
It generates buy and sell signals based on the intersection of the LSMA-A and SMMA. If the LSMA-A crosses the SMMA upwards, a BUY signal is generated; if it crosses the SMMA downwards, a SELL signal is generated.
The LSMA-B, which is short-term, can be used for wave analysis. When a peak forms, a high is observed on the chart, and when a valley forms, a low is observed. This allows us to determine whether the wave is rising or falling.
Summary
Two LSMAs are calculated: one slow (lengthA), one fast (lengthB).
A smoothed moving average (SMMA) of the slow LSMA is computed using the signal length (signAl).
All three curves are overlaid on the price chart for visual trend and momentum analysis.
Indicadores y estrategias
cd_indiCATor_CxGeneral:
This indicator is the redesigned, simplified, and feature-enhanced version of the previously shared indicators:
cd_cisd_market_Cx, cd_HTF_Bias_Cx, cd_sweep&cisd_Cx, cd_SMT_Sweep_CISD_Cx, and cd_RSI_divergence_Cx.
Within the holistic setup, the indicator tracks:
• HTF bias
• Market structure (trend) in the current timeframe
• Divergence between selected pairs (SMT)
• Divergence between price and RSI values
• Whether the price is in an important area (FVG, iFVG, and Volume Imbalance)
• Whether the price is at a key level
• Whether the price is within a user-defined special timeframe
The main condition and trigger of the setup is an HTF sweep with CISD confirmation on the aligned timeframe.
When the main condition occurs, the indicator provides the user with a real-time market status summary, enriched with other data.
________________________________________
What’s new?
-In the SMT module:
• Triad SMT analysis (e.g.: NQ1!, ES1!, and YM1!)
• Dyad SMT analysis (e.g.: EURUSD, GBPUSD)
• Alternative pair definition and divergence analysis for non-correlated assets
o For crypto assets (xxxUSDT <--> xxxUSDT.P) (e.g.: SOLUSDT.P, SOLUSDT)
o For stocks, divergence analysis by comparing the asset with its value in another currency
(BIST:xxx <--> BIST:xxx / EURTRY), (BAT:xxx <--> BAT:xxx / EURUSD)
-Special timeframe definition
-Configurable multi-option alarm center
-Alternative summary presentation (check list / status table / stickers)
________________________________________
Details and usage:
The user needs to configure four main sections:
• Pair and correlated pairs
• Timeframes (Auto / Manual)
• Alarm center
• Visual arrangement and selections
Pair Selections:
The user should adjust trading pairs according to their trade preferences.
Examples:
• Triad: NQ1!-ES1!-YM1!, BTC-ETH-Total3
• Dyad: NAS100-US500, XAUUSD-XAGUSD, XRPUSDT-XLMUSDT
Single pairs:
-Crypto Assets:
If crypto assets are not in the triad or dyad list, they are automatically matched as:
Perpetual <--> Spot (e.g.: DOGEUSDT.P <--> DOGEUSDT)
If the asset is already defined in a dyad list (e.g., DOGE – SHIB), the dyad definition takes priority.
________________________________________
-Stocks:
If stocks are defined in the dyad list (e.g.: BIST:THYAO <--> BIST:PGSUS), the dyad definition takes priority.
If not defined, the stock is compared with its value in the selected currency.
For example, in the Turkish Stock Exchange:
BIST:FENER stock, if EUR is chosen from the menu, is compared as BIST:FENER / OANDA:EURTRY.
Here, “OANDA” and the stock market currency (TRY) are automatically applied for the exchange rate.
For NYSE:XOM, its pair will be NYSE:XOM / EURUSD.
________________________________________
Timeframes:
By default, the menu is set to “Auto.” In this mode, aligned timeframes are automatically selected.
Aligned timeframes (LTF-HTF):
1m-15m, 3m-30m, 5m-1h, 15m-4h, 1h-D, 4h-W, D-M
Example: if monitoring the chart on 5m:
• 1h sweep + 5m CISD confirmation
• D sweep + 1h CISD confirmation (bias)
• 5m market structure
• 1h SMT and 1h RSI divergence analysis
For manual selections, the user must define the timeframes for Sweep and HTF bias.
FVG, iFVG, and Volume Imbalance timeframes must be manually set in both modes.
________________________________________
Alarm Center:
The user can choose according to preferred criteria.
Each row has options.
“Yes” → included in alarm condition.
“No” → not included in alarm condition.
If special timeframe criteria are added to the alarm, the hour range must also be entered in the same row, and the “Special Zone” tab (default: -4) should be checked.
Key level timeframes and plot options must be set manually.
Example alarm setup:
Alongside the main Sweep + CISD condition, if we also want HTF bias + Trend alignment + key level (W, D) and special timeframe (09:00–11:00), we should set up the menu as follows:
________________________________________
Visual Arrangement and Selections:
Users can control visibility with checkboxes according to their preferences.
In the Table & Sticker tab, table options and labels can be controlled.
• Summary Table has two options: Check list and Status Table
• From the HTF bias section, real-time bias and HTF sweep zone (optional) are displayed
• The RSI divergence section only shows divergence analysis results
• The SMT 2 sub-section only functions when triad is selected
Labels are shown on the bar where the sweep + CISD condition occurs, displaying the current situation.
With the Check box option, all criteria’s real-time status is shown (True/False).
Status Table provides a real-time summary table.
Although the menu may look crowded, most settings only need to be adjusted once during initial use.
________________________________________
What’s next?
• Suggestions from users
• Standard deviation projection
• Mitigation/order blocks (cd special mtg)
• PSP /TPD
________________________________________
Final note:
Every additional criterion in the alarm settings will affect alarm frequency.
Multiple conditions occurring at the same time is not, by itself, sufficient to enter a trade—you should always apply your own judgment.
Looking forward to your feedback and suggestions.
Happy trading! 🎉
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.
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
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
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
Salim ALHammadi-Telegram @salimalhammadiA trading indicator that works on all time frames shows signals for selling, buying, target, and stop loss.
By Salim ALHammadi
Vertical Lines @ Hour & :45vertical lines at hour and 45 past each hour
when manipulation is most likely to happen
Weis Wave Candle█Overview
The Weis Wave Candle indicator is a technical tool designed for the TradingView platform, enabling traders to analyze market dynamics by identifying price waves. The indicator relies solely on candlestick data, making it functional on markets where volume data is unavailable. It employs two trend detection methods, dynamic color gradients, trend change alerts, and clear visualization to assist in identifying trend strength and potential reversal points.
█Concept
The Weis Wave Candle indicator was developed to overcome limitations associated with the lack of volume data in certain markets, offering an alternative to traditional volume-based indicators like Weis Wave. Instead of volume, it measures candle size (body or body plus half the candle range) and accumulates it within a price wave. The indicator includes two trend calculation methods:
-LazyBear Style: Based on the popular Weis Wave adaptation by LazyBear, likely the most recognized version of this tool, it uses closing price comparisons and trend confirmation via trend functions. Results may differ from the original Weis Wave, as candle size does not always align with volume.
-Impulse Trend: A method that evaluates trend strength by summing price movements over a specified period, where each candle with a higher close than the previous adds +1, a lower close subtracts -1, and no change adds 0. The trend strength is determined by the sum: positive indicates an uptrend, negative a downtrend, and zero a continuation of the prior trend.
Results are visualized using dynamic color gradients, and alerts notify users of trend direction changes, facilitating quick decision-making.
█Why Use It?
-Volume-Free Operation: Ideal for markets without volume data.
-Flexibility: Two trend detection methods allow adaptation to various trading strategies.
-Dynamic Visualization: Color gradients and semi-transparent backgrounds simplify quick interpretation of trend strength.
-Alerts: Notifications for trend changes (from uptrend to downtrend and vice versa) support active trading.
-Customization: Options to adjust colors, analysis periods, and candle shadow inclusion.
█How It Works?
-Candle Size Calculation: Depending on the setting, candle size includes only the body (difference between close and open) or the body plus half the candle range (calculated as 0.5 * (high - low)) (setting Include candle shadows).
-Trend Detection:
LazyBear Style: Compares closing prices of adjacent candles to determine direction (uptrend, downtrend, or neutral) and confirms the trend using ta.rising or ta.falling functions over the specified period.
Impulse Trend: Sums price movements over the analysis period (+1 for a candle with a higher close than the previous, -1 for a lower close, 0 for no change). A positive sum indicates an uptrend, a negative sum a downtrend, and zero a continuation of the prior trend.
-Wave Accumulation: Candle sizes are accumulated within a single wave until the trend changes.
-Normalization and Gradients: Wave values are normalized to a 0-100 scale solely for color gradient purposes, enabling dynamic color changes from base to intense, reflecting wave strength relative to historical values. The height of columns (representing waves) is not normalized and corresponds to the accumulated candle size.
-Alerts: The indicator generates notifications when the wave direction changes (from uptrend to downtrend or vice versa), enabling quick responses to trend shifts.
-Visualization: Upward and downward waves are plotted as columns with dynamic colors, and the chart background changes color for better visibility.
█Settings and Customization
-Trend Detection Method: Choose between LazyBear Style (default) and Impulse Trend.
-Trend Analysis Period: Number of candles for trend analysis (default: 4).
-Include Candle Shadows: Determines whether to include half the candle range (high - low) in addition to the body (default: enabled).
-Lookback Period for Dynamic Thresholds: Number of candles to calculate the maximum and minimum wave values for color gradient normalization (default: 70).
-Gradient Minimum/Maximum Value: Threshold values defining the normalization range for color gradients (default: 0/100). A lower minimum value reduces the threshold for lighter colors, while a higher maximum value increases the threshold for more intense colors.
-Wave Colors: Options to select base and intense colors for upward and downward waves.
-Alerts: Enable alerts in TradingView settings (Upward Trend Change and Downward Trend Change) for trend change notifications.
█Usage Examples
-Trend Analysis: Upward waves (green columns) indicate buying pressure, while downward waves (red columns) indicate selling pressure. The more intense the color, the stronger the wave relative to historical values.
-Comparing Timeframes: Analyze trends across multiple timeframes (e.g., 1H, 4H, 1D) for broader context. For example, enter a position on the 4H timeframe after confirming trend alignment on 1H, 4H, and 1D, along with validation from a key level, such as a Fibonacci level or a Break of Structure (BOS).
-Using Alerts: Configure alerts in TradingView to receive notifications of trend changes, useful for active trading.
█Notes for Users
-Experiment with the Trend Analysis Period and Include Candle Shadows settings to tailor the indicator to your market and timeframe.
-Combine the indicator with other tools, such as support/resistance levels or RSI, to enhance signal accuracy.
-The Impulse Trend method may be more sensitive to short-term price changes, while LazyBear Style performs better in clear trends. Results from LazyBear Style may differ from the original Weis Wave, as candle size does not always align with volume.
ATR Move Tracker v1.0# ATR Move Tracker v1.0 - Purpose & Use Guide
## What Is This Indicator?
ATR Move Tracker v1.0 is a trading tool that shows you whether a stock has moved "enough" for the day based on its historical patterns. It answers the question: **"Has this stock moved its typical daily amount yet?"**
## The Core Purpose
Think of each stock as having a "daily personality" - some stocks naturally move $1 per day, others move $5 per day. This indicator:
- **Shows the stock's Daily ATR** (its typical daily movement over 14 days)
- **Tracks Today's Range** (how much it's actually moved today)
- **Displays the gap** between typical and actual movement
- **Provides visual progress** toward completing its normal daily range
## Practical Trading Applications
### **Entry Timing**
- **Low Progress (0-30%)**: Stock hasn't moved much yet - potential opportunity if you expect movement
- **Medium Progress (30-70%)**: Stock is moving normally - good for trend following
- **High Progress (70-100%+**: Stock has moved a lot - be cautious of exhaustion
### **Exit Planning**
- When the progress bar turns **green (100%+)**, the stock has exceeded its typical daily movement
- Consider taking profits or tightening stops when Daily ATR is reached or exceeded
- Use remaining "Need" amount to set realistic profit targets
### **Risk Management**
- **Today's Range much smaller than Daily ATR**: Potential for more volatility
- **Today's Range exceeds Daily ATR**: Stock may be overextended for the day
- Adjust position sizes based on how much of the Daily ATR has been "used up"
## Real-World Example
**Stock XYZ at 2:00 PM shows:**
- Daily ATR: $4.00 (typically moves $4/day)
- Daily Move: $2.50 (62%)
- Need: $1.50
- Progress Bar: 62% filled (orange)
**Interpretation:** XYZ has moved $2.50 of its typical $4.00 daily range. There's potentially $1.50 more movement available based on historical patterns.
## Key Benefits
✅ **Context for Price Movement**: Know if today's action is normal or unusual
✅ **Better Position Sizing**: Trade smaller when Daily ATR is nearly reached
✅ **Realistic Profit Targets**: Base targets on remaining Daily ATR potential
✅ **Works on All Timeframes**: See daily context even on 1-minute charts
✅ **Fully Customizable**: Position, colors, and ATR period adjustable
## Who Should Use This
- **Day Traders**: Perfect for intraday volatility context
- **Swing Traders**: Helps time entries based on daily movement patterns
- **Options Traders**: Understand if implied volatility expectations are being met
- **Any Trader**: Who wants to trade with historical volatility context
This isn't a buy/sell signal - it's **volatility intelligence** that helps you make better trading decisions based on what's normal for each stock!
Supertrend Ravi Shinde📌 Multi-Timeframe Supertrend (MFT Supertrend)
This indicator is a refined version of the classic Supertrend, designed with multi-timeframe flexibility for traders who rely on higher-timeframe confirmation while trading lower charts.
🔑 Key Features:
Multi-Timeframe Analysis: Apply Supertrend from any higher timeframe (e.g., use 15m, 1h, or 1d Supertrend on a 5m chart).
Clear Trend Identification:
🔴 Price below Supertrend → Bearish trend.
🟢 Price above Supertrend → Bullish trend.
Customizable Parameters: Input ATR length, ATR multiplier, and timeframe of your choice.
Visual Simplicity: Clean chart display with no clutter – just the essential Supertrend line.
Salim ALHammadi-Telegram @salimalhammadiAuto Trading its show entry price and tp price and sl i hope every one like it
Bollinger Bands Difference Score
Bollinger Bands Difference Score (TradingView – Pine Script v6)
The **Bollinger Bands Difference Score** is a volatility-based scoring system designed to help traders quickly assess whether a stock is in a **strong trend, neutral zone, or weak setup**. It transforms the raw **Bollinger Band Width (BB-Diff)** into a **normalized score (0–100)** and classifies conditions with intuitive thresholds.
---
### 🔹 What is Bollinger Bands Difference (BB-Diff)?
* **Bollinger Bands** are built from a moving average with upper and lower bands set by standard deviations.
* The **difference (or width)** between the bands reflects market volatility.
* A **high difference** = wide bands = strong volatility (breakout/trend).
* A **low difference** = narrow bands = low volatility (consolidation).
This indicator standardizes BB-Diff into a score and smooths it for cleaner signals.
---
### 🔹 Key Features
1. **BB-Diff Scoring System**
* Converts Bollinger Band width into a **0–100 normalized score**.
* Higher score → higher volatility/trend strength.
* Lower score → consolidation or weaker momentum.
2. **Signal Levels**
* **Strong Zone (≥ 70):** Indicates strong trend strength or expansion in volatility.
* **Neutral Zone (40–70):** Sideways or undecided price action.
* **Weak Zone (≤ 20):** Suggests very low volatility, potential upcoming squeeze.
3. **Score Smoothing**
* Applies a moving average to reduce noise.
* Helps avoid false signals during choppy markets.
4. **Visual Enhancements**
* Plots the score as a line (0–100 scale).
* Adds horizontal reference lines for **Strong**, **Neutral**, and **Weak** levels.
* Background colors automatically highlight **bullish strength (green)** or **weakness (red)**.
---
### 🔹 How to Use
* **Trend Confirmation:**
Look for scores **above 70** → suggests trend continuation or volatility breakout.
* **Consolidation Watch:**
Scores in the **20 or below** zone may precede volatility squeezes → breakout setups.
* **Neutral Zone:**
Scores between **40–70** suggest sideways price action; avoid aggressive trades.
* **Combine with Price Action:**
Use with support/resistance, candlestick patterns, or momentum indicators for confirmation.
---
### 🔹 Best Practices
* Great as a **volatility filter** before entries.
* Use in combination with **RSI, MACD, or OBV** for directional bias.
* Works well for **breakout trading** (when score rises from low levels).
* Monitor on multiple timeframes for alignment.
---
✅ **In summary:** The **Bollinger Bands Difference Score** is a simple yet powerful tool that quantifies volatility strength into an actionable score, making it easier to spot strong trends, consolidation phases, and potential breakout opportunities.
Tape Speed Pulse (Pace + Direction) [v6 + Climax]Tape Speed Pulse (Pace + Direction)
One-liner:
A lightweight “tape pulse” that turns intraday bursts of buying/selling into an easy-to-read histogram, with surge, slowdown, and climax (exhaustion) markers for fast decision-making. Use on sec and min charts.
What it measures
Pace (RVOL): current bar volume vs the recent average (smoothed).
Direction proxy: uptick/downtick by comparing close to close .
Pulse (histogram): direction × pace, so you see who’s pushing and how fast.
Colors
- Lime = Buy surge (pace ≥ threshold & upticking)
- Red = Sell surge (pace ≥ threshold & downticking)
- Teal = Buy pressure, sub-threshold
- Orange = Sell pressure, sub-threshold
- Faded/gray = Near-neutral pace (below the Neutral Band)
Lines (toggleable)
-White = Pace (RVOL)
- Yellow = Slowdown line = a drop of X% from the last 30-bar peak pace
Background tint mirrors the current state so you can glance risk: greenish for buy pressure, reddish for sell pressure.
Signals & alerts
- BUY surge – fires when pace crosses above the surge threshold with uptick direction (optional acceleration & uptick streak filters; cooldown prevents spam).
- SELL surge – mirror logic to downside.
- Slowdown – fires when pace crosses below the yellow slowdown line while direction ≤ 0 (early fade warning).
Climax (exhaustion)
- Buy Climax: previous bar was a buy surge with a large upper wick; current bar slows (below slowdown line) and direction ≤ 0.
- Sell Climax: mirror (large lower wick → slowdown → direction ≥ 0).
- Great for trimming/tight stops or fade setups at obvious spikes.
- Create alerts via Add alert → Condition: this indicator → choose the specific alert (BUY surge, SELL surge, Slowdown, Buy Climax, Sell Climax).
How to use it (playbook)
- Longs (e.g., VWAP reclaim / micro pullback)
- Only take entries when the pulse is teal→lime (buy pressure to buy surge).
- Into prior highs/VWAP bands, take partials on lime spikes.
- If you get a Slowdown dot and bars turn orange/red, tighten or exit.
Shorts (failed reclaim / lower-high)
- Look for teal→orange→red with rising pace at a level.
- Add confidence if a Buy Climax printed right before (exhaustion).
- Risk above the spike; don’t fight true ignitions out of bases.
Simple guardrails
- Avoid new longs when the histogram is orange/red; avoid new shorts when teal/lime.
- Use with VWAP + 9/20 EMA or your levels. The pulse is confirmation, not the whole thesis.
Inputs (what they do & when to tweak)
- Pace lookback (bars) – window for average volume. Lower = faster; higher = steadier.
Too jumpy? raise it. Missing quick bursts? lower it.
- Smoothing EMA (bars) – smooths pace. Higher = calmer.
Use 4–6 during the open; 3–4 midday.
- Surge threshold (× RVOL) – how fast counts as a surge.
Too many surges? raise it. Too late? lower it slightly.
- Slowdown drop from 30-bar max (%) – how far below the recent peak pace to call a slowdown.
Higher % = later slowdown; lower % = earlier warning.
- Neutral band (× RVOL) – paces below this fade to gray.
Raise to clean up noise; lower to see subtle pressure.
- Min seconds between signals – cooldown to prevent spam.
Increase in chop; reduce if you want more pings.
- BUY/SELL: min consecutive upticks/downticks – tiny streak filter.
Raise to avoid wiggles; lower for earlier signals.
Require pace accelerating into signal – ON = avoid stall breakouts; OFF = earlier pings.
Climax options: wick % threshold & “require slowdown cross”.
Raise wick% / require cross to be stricter; lower to catch more fades.
Quick presets
- Low-float runner, 5–10s chart
- Lookback 20, Smoothing 3–4, Surge 2.2–2.8, Slowdown 35–45, Neutral 1.0–1.2, Cooldown 15–25s, Streaks 2–3, Accel ON.
- Thick large-cap, 1-min
- Lookback 20–30, Smoothing 5–7, Surge 1.5–1.9, Slowdown 25–35, Neutral 0.8–1.0, Cooldown 30–60s, Streaks 2, Accel ON.
- Open vs Midday vs Power Hour
- Open: higher Surge, more Smoothing, longer Cooldown.
- Midday: lower Surge, less Smoothing to catch subtler pushes.
- Power hour: moderate Surge; keep Slowdown on for exits.
Reading common patterns
- Ignition (likely continuation): lime spike out of a base that holds above a level while pace stays above yellow.
- Exhaustion (likely fade): lime spike late in a run with upper wick → Slowdown → orange/red. The Buy Climax diamond is your tell.
Limits / notes
This is an OHLCV-based proxy (TradingView Pine can’t read raw tape/DOM). It won’t match Bookmap/Jigsaw tick-for-tick, but it’s fast and objective.
Use with levels and a risk plan. Past performance ≠ future results. Educational only.
知行短期趋势线(双EMA)Double EMA long and shortDouble EMA long and short K line crosses up and down to generate signals
SLG's EMA+MACD Signal Trading Strategy M15Trading Concept Overview
This strategy combines trend-following and momentum confirmation to identify high-probability entries in both long and short directions. It uses EMA-based trend filtering and MACD signal analysis, while managing risk dynamically using ATR-based stop loss and take profit.
1. Trend Identification
The strategy calculates a Trend EMA (emaTrend) with a user-defined period (emaTrendLen) to determine the overall market direction:
Bullish Trend: Price closes above the Trend EMA → only long trades are considered.
Bearish Trend: Price closes below the Trend EMA → only short trades are considered.
This ensures trades are aligned with the larger trend, avoiding counter-trend signals.
2. Momentum Signal with MACD
MACD Calculation:
fastEMA - slowEMA generates the MACD line.
Signal line is an EMA of the MACD line.
delta = MACD - Signal measures the momentum difference.
Entry Logic:
Long Signal: delta crosses above zero AND the price is above the Trend EMA.
Short Signal: delta crosses below zero AND the price is below the Trend EMA.
This ensures that entries occur only when momentum is aligned with the overall trend.
3. Dynamic Risk Management (ATR-based SL/TP)
Uses Average True Range (ATR) to dynamically set stop loss and take profit:
Long Trade:
Stop Loss = Close - ATR * atrSLMult
Take Profit = Close + ATR * atrTPMult
Short Trade:
Stop Loss = Close + ATR * atrSLMult
Take Profit = Close - ATR * atrTPMult
This allows the strategy to adapt to market volatility, protecting capital in choppy conditions and scaling profit targets in trending markets.
4. Visual and Alert Features
Plots:
Trend EMA for visual trend guidance.
MACD delta to observe momentum.
Long/Short signals as small triangles directly on the chart.
Alerts:
Generates notifications for long and short signals to trigger timely trades.
5. Core Trading Philosophy
Trend-Following Bias: Only trade in the direction of the trend EMA.
Momentum Confirmation: Enter trades when the MACD delta confirms the move.
Volatility-Adjusted Risk: Use ATR to dynamically scale stops and targets.
Disclaimer / Risk Notice
Trading financial markets involves significant risk and may not be suitable for all investors. Past performance is not indicative of future results.
Market conditions can change rapidly and unpredictably, and no strategy can guarantee profits. Always use proper risk management and position sizing.
This strategy is for educational and informational purposes only. Users are responsible for their own trading decisions.