DMI Histogram IndicatorThe Directional Movement Index (DMI) was originally developed by J. Welles Wilder Jr. in 1978. Wilder introduced the DMI along with the Average Directional Index (ADX) in his book, “New Concepts in Technical Trading Systems,” which became a foundational reference for technical analysis.
The indicator can be a bit intimidating for people to interpret if they aren't familiar with it. So this DMI Histogram uses the underlying DMI data to present a different way to visualize the price movement and trend. The goal is to help provide insight into the rising or falling momentum behind the price, at times when the chart itself may not be as obvious. This could potentially help spot a momentum divergence before it plays out on the chart.
The user has the option of displaying ADX reversals as red and green arrows. The ADX is the trend indicator portion of the DMI. When it changes direction, that sometimes leads to shift in who is exerting the most influence on the price, buyers or sellers.
The user also has the option of coloring the candlesticks to match the histogram.
This indicator is meant to be combined with other indicators and other chart analysis tools.
Indicateurs et stratégies
DMIクロス📌 Indicator Description: DMI Cross (with EMA smoothing)
This indicator is a variation of the classic Directional Movement Index (DMI) with added EMA smoothing and clear cross signals.
It is designed to highlight trend changes more visually and provide straightforward BUY/SELL signals.
🔹 Features
+DI / -DI Calculation: Based on the standard DMI formula (Directional Movement).
EMA Smoothing: Both +DI and -DI are smoothed with an adjustable EMA (default: 20).
Cross Signals:
BUY (Bullish) when +DI EMA20 crosses above -DI EMA20.
SELL (Bearish) when +DI EMA20 crosses below -DI EMA20.
ADX Reference: Plotted lightly as a guide to overall trend strength.
Optional raw +DI / -DI plot for those who want to compare the base values.
Background Tinting: Green on bullish cross, red on bearish cross (toggleable).
Alerts Included: For both BUY and SELL cross signals.
🔹 How to Use
Add the indicator to any chart and select your preferred timeframe.
Watch for crossovers of the smoothed +DI and -DI lines.
A green “BUY” triangle at the bottom of the panel signals bullish momentum.
A red “SELL” triangle at the top signals bearish momentum.
Use ADX as confirmation: higher ADX values = stronger trend.
Combine with other indicators or price action for best results.
⚠️ Notes
This is not a standalone trading system.
Works best when combined with trend-following tools (e.g., EMAs on price, SuperTrend, ATR-based systems).
Always backtest and confirm with your own strategy before live trading.
👉 This script is designed for traders who want a clear and simplified DMI crossover system with EMA filtering, removing noise while keeping the essential momentum signals.
Would you like me to also write a short tagline (1–2 lines, catchy, for the script title section) that fits TradingView’s “Public Library” style?
Z-Score For Loop | MisinkoMasterThe Z-Score For Loop is a new trend following oscillator designed to catch reversals ahead of anyone else, providing users with top tier signals.
It works like so:
1. Calculate the Z-score of the source (like close, open etc.)
The formula is the following
(current value - mean)/Standard Deviation
For mean there is the option to use different types of averages, this allows for more flexibility, but the recommendation is using mainly SMA/EMA, maybe WMA, because the other ones might cause too much noise.
This itself is pretty noisy, so we now need to filter it a bit, which is where the next step comes in
2. Add the For Loop Logic
Basicly, what this means is that we compare the current Z-score value to the previous values, rewarding it for every previous score it beats, and punishing it for every previous score it is lower than.
This comes in handy, because using other filtering methods like the median, Average (e.g. MA) or even mode did smooth it, but made it suffer a lot of speed. The For Loop balanced the speed & noise really well, which lead to it being fast & accurate.
The idea of using the For Loop was that the Z-score was anything but lagging on its own - which is good if you want speed, but the falses it gave was unforgivable.
Adding a bit of lag to it smoothed it and made it acceptable noise wise, and really good speed wise.
The For Loops work really well as trend Following tools, and the Z-score is a concept I never saw being used in a For Loop before (correct me if I am wrong), which lead to this being quite a convenient choice for indicator and publishing
Stop Loss Advisor📊 Stop Loss Advisor - Advanced Risk Management Tool
A sophisticated Pine Script v5 indicator designed to suggest optimal stop loss distances based on market volatility, combining ATR and Standard Deviation analysis for precise risk management.
🎯 What Makes This Different from Bollinger Bands?
While Bollinger Bands focus on mean reversion and overbought/oversold conditions using a moving average center line, this indicator is specifically designed for risk management . It creates dynamic bands around the current price to suggest where NOT to place your stop loss, preventing you from being stopped out by normal market noise.
⚡ Key Features
Dynamic ATR Calculation - Fully customizable ATR periods with adaptive volatility filtering
Standard Deviation Integration - Optional StdDev component for enhanced statistical accuracy
Multiple Combination Modes - Average, Maximum, ATR Weighted, or StdDev Weighted
Flexible Price Sources - Choose from Close, HL2, HLC3, or OHLC4
Automatic Pip Calculation - Works across all instruments with automatic pip value detection
Smart Alerts System - Get notified when suggested stop loss exceeds your base risk tolerance
Real-time Information Table - Displays current values and risk status
Visual Labels - Shows exact pip distances directly on chart
Band Smoothing - Prevents erratic movements with customizable averaging
📈 How It Works
ATR Analysis : Calculates Average True Range to measure current market volatility
Statistical Enhancement : Optionally combines with Standard Deviation for more robust calculations
Dynamic Bands : Creates upper and lower bands that expand/contract with volatility
Pip Conversion : Automatically converts distances to pips for easy interpretation
Risk Assessment : Compares suggested distances with your base stop loss tolerance
🔧 Customization Options
ATR Settings:
Customizable ATR period (default: 14)
Adjustable multiplier with 0.1 step precision
Optional volatility filtering for enhanced sensitivity
Standard Deviation (Optional):
Independent period and multiplier settings
Multiple price source options
Four combination modes with ATR
Visual Customization:
Fully customizable colors for all elements
Multiple line styles (solid, dashed, dotted)
Optional band filling with transparency control
Show/hide ATR line overlay
Configurable band smoothing
💡 Perfect For
Forex Traders - Especially effective on major pairs and XAUUSD
Risk Managers - Calculate optimal stop distances before entering trades
Scalpers - Avoid being stopped out by normal market fluctuations
Swing Traders - Adapt stop losses to current volatility conditions
📊 Indicator Values
The information table displays:
Current ATR Value (in pips)
Suggested Long Stop Loss (distance in pips)
Suggested Short Stop Loss (distance in pips)
Risk Status - "SAFE" or "HIGH RISK" based on your base tolerance
Standard Deviation Value (when enabled)
Combination Method (when using both ATR and StdDev)
⚠️ Important Notes
This indicator suggests minimum stop loss distances, not entry/exit signals
Always combine with your trading strategy and risk management rules
Do not use as a standalone trading system
Backtesting recommended before live implementation
Default settings work well for most scenarios, but optimization is encouraged
🎨 Default Configuration
ATR Period: 14
ATR Multiplier: 2.0
Price Source: Close
Base Stop Loss: 20 pips
Band Smoothing: 3 periods
Standard Deviation: Optional (20 period, 2.0 multiplier)
🚀 Getting Started
Add the indicator to your chart
Set your base stop loss tolerance in the settings
Choose your preferred price source and ATR parameters
Enable Standard Deviation for enhanced accuracy (optional)
Monitor the information table for real-time risk assessment
Use the suggested distances as minimum stop loss levels
Pro Tip: In low volatility markets, the bands will contract suggesting tighter stops. In high volatility periods, they expand warning you to use wider stops to avoid being stopped out by normal price action.
📝 Version History & Updates
This indicator is actively maintained and updated based on user feedback. Future enhancements may include multi-timeframe analysis, trend-based asymmetric bands, and additional statistical measures.
Transform your risk management approach with data-driven stop loss suggestions that adapt to real market conditions!
TB DayProfile (stabil)TB DayProfile Indicator
The TB DayProfile plots intraday price movements relative to the current day’s opening price. Each bar is shifted so that the daily open acts as a fixed zero line, making it easy to see how far the market has moved above or below the open during the session.
The indicator includes:
Relative intraday bars (iOpen, iHigh, iLow, iClose): Displayed as a custom bar chart, showing price action normalized to the day’s open.
Zero line with color signals: Turns green if the number of consecutive bars above the open exceeds a user-defined threshold, or red if below.
ATR reference bands: Daily ATR(5) from the previous day (scaled by 0.25) is plotted as upper and lower bands, helping to gauge typical intraday ranges.
This tool helps traders quickly identify whether the market is trending strongly away from the daily open, or if price is reverting back toward it, independent of the chosen chart timeframe.
Info Panel (RSI, ADX, Volume,EMA, Delta)📊 Info Panel PRO — All-in-One Trader Dashboard
Simplify market analysis at a glance.
This powerful indicator displays key market metrics in a compact, customizable table directly overlaid on your chart — ideal for day trading, scalping, and swing trading strategies.
🔍 What’s Included:
✅ RSI (Relative Strength Index) — Measures overbought/oversold conditions.
✅ ADX (Average Directional Index) — Gauges trend strength (>25 = strong trend).
✅ Price vs 200 EMA on 4H timeframe — Strategic support/resistance level for multi-timeframe context.
✅ Current Bar Volume — Color-coded to reflect bullish/bearish sentiment.
✅ Volume Delta — Net buying/selling pressure on your chosen timeframe (default: 1 minute).
✅ CVD (Cumulative Volume Delta) — Daily running total of delta, resets each new trading day.
⚙️ Fully Customizable Settings:
Adjustable lengths for RSI, ADX, and EMA.
Select delta calculation timeframe — lower = more granular (e.g., “1” for 1-minute precision).
Table position: top/bottom left/right corners.
Color themes: Customize bullish, bearish, and neutral colors to match your style.
💡 Who Is This For?
Scalpers & Day Traders needing real-time market context without clutter.
Swing & Position Traders monitoring higher-timeframe structure and momentum.
Order Flow & Volume Analysts tracking buyer/seller imbalance via delta and CVD.
Beginners learning to read markets through consolidated, intuitive indicators.
🎯 Key Benefits:
✅ Clean, minimalist UI — stays out of your way while delivering critical data.
✅ Auto-formatting for large numbers (K, M, B) — easy readability.
✅ Visual cues (arrows, color coding) for instant decision-making.
✅ Works across all markets: Forex, Stocks, Crypto, Futures.
📌 How to Use:
Add the indicator to your chart.
Tweak settings to fit your trading style.
Monitor real-time updates — all essential metrics visible in one place.
Combine with other strategies (price action, S/R, VWAP) for signal confirmation.
📌 Pro Tip: For maximum edge, pair Info Panel PRO with liquidity zones, VWAP, or Market Profile tools.
📈 Trade smarter — let the market speak to you in clear, actionable terms.
Author:
Version: 1.0
Language: Pine Script v5
Overlay: Yes (draws directly on price chart)
😄
“If this indicator were a person, they’d be called ‘The One Who Knows Everything… But Never Gives Unsolicited Advice.’
…Unlike your ‘friend’ who yells ‘BUY!’ five minutes before the market crashes.”
“A good trader isn’t the one who predicts the market.
It’s the one who has everything on their chart — coffee optional.
…Want the next indicator? Comment ‘YES’ below — and I’ll build you ‘Smart Alert PRO’ or ‘Volume Sniper’ next.”
P.S. If this script saves even ONE trade — hit 👍.
If it saves TWO — comment “THANK YOU” 🙏
If it saves THREE — expect “Volume Heatmap PRO” next week 😉🔥
WTI Futures Break-Out StrategyThis Channel indicator is designed for 5 min time frame.
Pre-market high and low is defined per trading day between 9:00 AM to 9:30 AM EST.
How it works:
At 9:00 and 9:30 mark lines on Low and Hi levels.
Wait until a candle is closed above or below Low and Hi levels.
- Break-out high = long trade
- Break-out low = short trade
For additional confirmation, use either MACD or Stochastic RSI indicators.
Sessions Highs/LowsThis indicator plots the High and Low of the three main trading sessions:
Asia (20:00–03:00) – green lines
London (03:00–08:00) – blue lines
New York (08:00–13:00) – red lines
Features:
Levels update in real time during each session.
When a new session starts, the previous lines are deleted – only the latest active sessions remain visible.
Default session times are set to Asia (20:00–03:00), London (03:00–08:00), and New York (08:00–13:00), but you can adjust them to your own custom hours in the settings.
Colors can also be customized.
Use cases:
Quickly visualize session ranges.
Track session highs/lows for breakouts, fakeouts, and reactions around liquidity zones.
DEV (%)Deviation from MMA5 (%)
- MMA = (High + Low) / 2
- Calculates 5-day SMA of MMA (MMA5)
- Plots deviation (%) of current Mid Price from MMA5
- Above 0% → price above MMA5
- Below 0% → price below MMA5
Volume Bubbles 📊 Volume Bubbles Pro — Visualize Candle Volumes as Elegant Bubbles
Tired of squinting at volume bars below your chart?
Introducing Volume Bubbles Pro — a sleek, intuitive indicator that displays each candle’s trading volume as transparent colored bubbles directly on your price chart. No more switching tabs — critical volume data is now right where you need it!
✨ Key Features:
🔹 Smart Volume Classification:
Each bubble’s size reflects the strength of volume:
→ Tiny — Below average
→ Normal — Above average
→ Large — Exceptionally high (fully customizable)
🔹 Flexible Bubble Placement:
Choose to display bubbles under, over, or centered on candles — tailor it to your workflow.
🔹 Two Color Schemes:
→ Single Color — Minimalist, clean look for distraction-free charts
→ Volume-Based Gradient — Tiny = Blue, Normal = Orange, Large = Red
🔹 Optional Info Panel:
Displays real-time thresholds for “medium” and “large” volume levels directly on your chart.
🔹 Interactive Tooltips:
Hover over any bubble to see exact volume value, average volume, and volume-to-average ratio.
🔹 Built-in Alerts:
Get notified instantly when a candle registers abnormally high volume — perfect for catching breakouts or reversals.
⚙️ Fully Customizable Settings:
Average Volume Period — baseline for comparison (default: 50)
Medium Volume Multiplier — threshold to classify volume as “medium”
Large Volume Multiplier — threshold to classify volume as “strong”
Transparency — adjust opacity so bubbles enhance, not clutter
Bubble Position — under, over, or centered on candles
Color Scheme — match your chart style or strategy needs
💡 How to Use It?
Spot Key Moments: Large red bubbles often signal breakout starts, reversals, or liquidity tests.
Confirm Signals: Strong volume under a candle validates signals from other indicators.
Filter Noise: Ignore tiny bubbles — low activity means low conviction.
Scan History: Instantly identify past high-volume events across any timeframe or asset.
✅ Why Traders Love It:
✔️ Clean, uncluttered visuals — only what matters
✔️ Works on all assets & timeframes — stocks, crypto, forex, futures
✔️ Fully customizable — make it yours
✔️ Perfect for scalpers, day traders, and swing traders alike
📌 Created by:
“Volume is money voting. Let it speak to you through bubbles.”
📌 Add this tool to your arsenal — and never miss a significant volume pulse again!
💡 Pro Tip: Enable alerts to get notified about unusual volume spikes — even when you’re away from your charts.
Simple Trading SessionsThis indicator highlights the major global trading sessions (Tokyo, London, and New York) directly on your chart with clean background shading.
Tokyo Session (default 00:00–09:00 exchange time)
London Session (default 07:00–16:00 exchange time)
New York Session (default 12:30–21:00 exchange time)
Each session is displayed as a different shaded block, making it easy to:
Spot when the market is most active.
Identify overlapping periods (e.g., London–New York overlap).
Backtest strategies that depend on session timing.
⚙️ How to Use
Add the indicator to any intraday chart.
Adjust session times in the settings panel to match your broker or preferred timezone.
Use the shading to guide your trading around regional liquidity zones.
✅ Notes
By default, session times follow the chart’s exchange timezone.
You can change the inputs to match your own session definitions.
Very lightweight and designed for traders who want a simple, uncluttered session map without extra calculations.
Tyson Type Signal BarSIGNAL BARS for trading equities and indexes
Use these bars for trading futures, index and can scalp or do reversals, or find trends
Combine with price action for best results
Mujtaba Test 1Instead of strict intrabar crossing, it now triggers when high >= lastHigh.
This is more practical and matches what you see on the chart.
Mujtaba test 2Add this to TradingView.
Go to Alerts → Add Alert → Condition → LH → HH Breakout.
Backtest on a chart with clear downtrends → then look for a breakout above the 30-bar HH after a LH.
Combined Signal EMA + HHV-ATR Trail (Srinu)Green “BUY: ” below bars.
Red “SELL: ” above bars.
Alerts also include the triggered close price.
Mid-Body 50% Candles – Support/Resistance with ConfirmationHow it works:
– Calculates the mid-body (open+close)/2 of the previous candle.
– Bullish candle → potential SUP level.
– Bearish candle → potential RES level.
– Optional next-bar confirmation (close above/below the mid-body).
– Filters available: ATR size, swing detection, upper/lower wick %.
– Lines extend until broken or removed.
– Alerts available for: level creation, touch and break.
Use cases:
– Confirm candle rejections (pin bars).
– Filter false breakouts.
– Refine entries/exits for scalping or swing trading.
What makes it unique:
Unlike generic Fibonacci or candle tools, this script focuses exclusively on the 50% body level with confirmations and multiple filters, making it more precise for price action decision points.
Custom HA-MACD-SMA-RSI ScannerScript To Find Stocks that show the best momentum layout using;
1. Find stocks, where the MACD signal line sloop is positive.
2. For those that are positive, is it above the signal line or not? If no, discard
3. In these companies, is the 9 day SMA larger than 50 day SMA which is larger than 180 SMA? If not, discard
4. Is yesterday's lowest price action on the market close that day - is it above the 9 day SMA? If no, discard
6. For the distilled companies that fit this criteria, is the RSI over 80% overbought? If yes, discard.
Show me a list of stocks that pass this criteria list
Bollinger Bands (SMA 21, 2.618σ)Indicator Description: Bollinger Bands (2.618σ, 21 SMA) + RSI with Fibonacci
This custom indicator combines Bollinger Bands and Relative Strength Index (RSI), enhanced with Fibonacci-based configurations, to provide confluence signals for rejection candles, reversal setups, and continuation patterns.
Bollinger Bands Settings (Customized)
Middle Band → 21-period Simple Moving Average (SMA)
Upper Band → SMA + 2.618 standard deviations
Lower Band → SMA − 2.618 standard deviations
These parameters expand the bands compared to the traditional (20, 2.0) settings, making them better suited for volatility extremes and higher timeframe swing analysis.
Color Scheme
Middle Band = Orange
Upper Band = Red
Lower Band = Green
This color-coding emphasizes key rejection levels visually.
Candle Rejection Logic
The indicator is designed to highlight potential rejection candles when price interacts with the outer Bollinger Bands:
At the Upper Band, rejection signals suggest overextension and potential downside reaction.
At the Lower Band, rejection signals suggest oversold conditions and potential upside reaction.
Rejection Candle Types Tracked
Hammer (bullish reversal, lower rejection wick at bottom band)
Inverted Hammer (bearish reversal, upper rejection wick at top band)
Doji candles (indecision at band extremes)
Double Top formations near the upper band
Double Bottom formations near the lower band
Relative Strength Index (RSI) Settings
RSI is configured with Fibonacci retracement levels instead of traditional 30/70 thresholds.
Fibonacci sequence levels used include:
23.6% (0.236)
38.2% (0.382)
50% (0.5)
61.8% (0.618)
78.6% (0.786)
This alignment with Fibonacci ratios provides deeper market structure insights into momentum strength and exhaustion points.
Trading Confluence Zones
Upper Band + RSI at 0.618–0.786 zone → High probability bearish rejection.
Lower Band + RSI at 0.236–0.382 zone → High probability bullish reversal.
Band interaction + Doji or Hammer candles → Stronger signal confirmation.
Use Cases
Identifying trend exhaustion when price repeatedly fails to break above the upper band.
Spotting accumulation or distribution phases when price consolidates around Fibonacci-based RSI zones.
Detecting false breakouts when candle patterns (like Doji or Inverted Hammer) occur beyond the bands.
Why 2.618 Deviation & 21 SMA?
Standard Bollinger Bands (20, 2.0) capture ~95% of price action.
By widening to 2.618σ, we target extreme volatility outliers — areas where reversals are statistically more likely.
A 21-period SMA aligns better with common cycle lengths (3 trading weeks on daily charts) and Fibonacci-related time cycles.
Practical Strategy
Step 1: Watch when price touches or pierces the upper/lower band.
Step 2: Check for candle rejection patterns (Hammer, Inverted Hammer, Doji, Double Top/Bottom).
Step 3: Confirm with RSI Fibonacci levels for confluence.
Step 4: Trade with the prevailing trend or look for reversal setups if multiple confluence factors align.
Cautions
Not all touches of the bands signal reversals — strong trends can ride along the bands for extended periods.
Always combine with price action structure, volume, and higher timeframe trend bias.
📌 Summary
This indicator blends volatility-based bands with Fibonacci momentum analysis and classical candle rejection patterns. The combination of Bollinger Bands (21, 2.618σ) and RSI Fibonacci levels helps traders detect high-probability rejection zones, reversal opportunities, and overextended conditions with improved accuracy over traditional default settings.
EMA (20, 50, 100, 200) incl. TIMEFRAME!Multi-Timeframe EMA Indicator
Indicator designed for TradingView that plots up to four distinct Exponential Moving Average (EMA) lines on your chart. The script is highly flexible, allowing you to configure each EMA's length and color individually. Additionally, it features a crucial timeframe parameter, which enables you to apply the EMAs from a different, higher timeframe directly to your current chart.
Key Features:
Four Independent EMAs : The indicator calculates and displays four separate EMA lines simultaneously. The default lengths are set to the popular values of 20, 50, 100, and 200, which are commonly used for short-term, medium-term, and long-term trend analysis.
Customizable Length and Color: You have full control over each EMA. In the indicator's settings, you can easily change the length of each moving average to suit your trading strategy. You can also customize the color of each line, making it easy to distinguish them on the chart.
Multi-Timeframe Analysis (MTF) : The most powerful feature is the timeframe parameter. By entering a different timeframe (e.g., "D" for daily, "W" for weekly, or "60" for hourly), the indicator will calculate the EMAs based on that specific timeframe's data, regardless of your chart's current resolution. This is invaluable for traders who want to see long-term trends on a short-term chart without having to switch timeframes.