Multi-Session Marker v2Multi-Session Marker v2 is a powerful and flexible tool for visually highlighting up to 15 custom trading sessions directly on your TradingView chart’s background.
Key Features:
Up to 15 Custom Sessions: Enter up to 15 time ranges (in HHMM-HHMM format) to mark any market session, news window, or personal focus period.
Single Time Zone Control: Choose your preferred time zone once in the indicator settings. All session highlights will follow this selection, ensuring accuracy and eliminating confusion—no matter where you are in the world.
Visual Clarity: For each session, toggle the highlight on or off and select a unique background color and opacity, making it easy to distinguish active trading windows at a glance.
Universal Time Handling: Supports a comprehensive list of global time zones (including automatic daylight saving adjustment for zones like "America/New_York"). Match the indicator’s time zone to your chart’s time zone for perfect alignment.
Efficient and Fast: Utilizes TradingView’s bgcolor() for smooth performance, even on fast timeframes like 1-second charts.
Clean, Organized Interface: All session controls are grouped and labeled for easy editing in the indicator’s settings panel.
How to Use:
In the indicator settings, select your desired time zone from the dropdown (match this to your chart’s time zone for best results).
For each session (up to 15), enter your desired session time (e.g., 0930-1130), toggle “Show Session” on or off, and pick a highlight color.
The background will automatically highlight those periods on your chart, using your chosen time zone.
Who Is This For?
This indicator is ideal for day traders, futures traders, or anyone who wants to visually segment their trading day for better focus, session-based strategies, or news/event tracking.
Updated from v1 to Include:
Additional Sessions (increased from 10 to 15)
Multiple Time Zones (dropdown menu includes 30+ time zones)
Indicatori e strategie
My script//@version=5
indicator("Gold Spot vs Futures Diff", overlay=false)
spot = request.security("OANDA:XAUUSD", timeframe.period, close)
futures = request.security("COMEX:GCQ2025", timeframe.period, close)
diff = futures - spot
plot(diff, title="GCQ2025 - XAUUSD", color=color.orange, linewidth=2)
hline(0, "Zero Line", color=color.gray)
Multi-Position DashMulti-Position Dash — Risk Dashboard for Forex, Stocks & Indices
Overview:
The Multi-Position Dash is a highly customizable trading dashboard designed to help active traders manage up to 8 simultaneous positions across Forex, Stocks, and Indices. Whether you're trading single entries, layering positions, using DCA (Dollar Cost Averaging), or running complex hedging setups, this tool provides essential, real-time risk and P&L insights—directly on your chart.
Key Features:
✔️ Supports Forex, Stocks, Indices — with automatic pip and contract conversions
✔️ Track up to 8 manual positions, each with customizable direction, lot size or contracts, entry price, Take Profit, and Stop Loss
✔️ Full GBP-based P&L and risk calculation, including automatic USD-to-GBP conversion for non-FX assets
✔️ Real-time display of:
Total potential Take Profit (GBP)
Total potential Stop Loss (GBP)
Risk % relative to account balance
Live P&L (GBP) based on current price
✔️ Breakeven price calculation, even across mixed-direction positions (DCA & hedging aware)
✔️ Visual breakeven line, live P&L arrows, and entry price markers
✔️ Shared Stop Loss option for all positions — perfect for DCA traders
✔️ Easy export strings for logging trades to external tools like spreadsheets
Ideal For:
✅ Forex traders using lot-based risk models
✅ Stock & Index traders wanting simplified contract-based position tracking
✅ Traders managing multiple active positions, with or without hedging
✅ Anyone needing at-a-glance P&L and risk monitoring, independent of broker platforms
Notes & Usage:
This is a manual tracking tool—you enter your positions, TP, SL levels, etc., and the dashboard calculates the rest. It does not place or manage live orders.
Supports both Long and Short positions.
All calculations are based on your inputs and market price—accuracy depends on maintaining your inputs properly.
Shared Stop Loss feature applies a single, unified stop across all active positions for simplified risk control in DCA setups.
GBP is used as the account currency—USD-to-GBP conversion is applied to stocks and indices as needed.
Disclaimer:
This tool is for educational and planning purposes only. It does not place or manage live trades, and is not a substitute for broker risk management tools. Always double-check your own position sizing and risk before placing live orders.
Fisher Transform Background StripesA simple indicator to provide the user with background stripes on the candle chart showing Fisher Transform Oversold and Overbought Levels.
DD_ORBORB STRATEGY OR OPEN RANGE BREAKOUT STRATEGY
The Opening Range Breakout (ORB) Strategy is a time-based intraday trading method where traders define a specific opening time window—usually the first 5, 15, or 30 minutes after market open to mark the high and low of that range.
A trade is triggered when price breaks out of this range:
📈 Buy when price breaks and closes above the opening range high
📉 Sell when price breaks and closes below the opening range low
This strategy works best on highly volatile instruments and is ideal for capturing early directional momentum. It’s commonly used by intraday traders to catch big moves that often occur after the market establishes its initial trend.
THIS INDICATOR PLOTS THE RANGE AUTOMATICALLY.
Ema-Wma-RsiRSI x EMA x WMA Crossover Signals — Clean Entry Points
This indicator combines RSI with EMA and WMA to generate Buy/Sell signals. A Buy signal appears when RSI crosses above both EMA and WMA after being below them. A Sell signal occurs when RSI crosses below both EMA and WMA after being above them. It helps filter out noise and confirm momentum.
+ Visual triangle markers for clarity
+ No repainting
+ Great for confirmation and trend filtering
Gap % Distribution Table (2% Bins)Description
This indicator displays a Gap % Distribution Table categorized in 2% bins ranging from `< -20%` to `> +20%`. It calculates the gap between today’s open and the previous day’s close, and groups occurrences into defined bins. The table includes:
Gap range, count, and percentage for each bin
A total row summarizing all entries
Customizable appearance including:
Font color, cell background fill (with transparency), and table border color
Column headers and full outer border
Date filtering using selectable start and end dates
Position control for placing the table on the chart area
Ideal for analyzing the historical behavior of opening gaps for any instrument.
Enhanced S/D Boring-Explosive [Visual Clean]**Enhanced S/D Boring-Explosive \ **
The Enhanced S/D Boring-Explosive Indicator uniquely combines Supply and Demand zones with volatility-based candle detection ("boring" and "explosive" candles), visually highlighting precise market reversals and breakout opportunities clearly on your chart.
= Key Features:
* **Dynamic Supply/Demand Zones**: Automatically detects recent significant pivot highs and lows, creating clearly defined Supply (red) and Demand (green) zones, aiding traders in pinpointing potential reversal areas.
* **Volatility-Based Candle Classification**:
* **Boring Candles (Yellow Dot)**: Identifies low-volatility candles using Adaptive Average True Range (ATR), signaling potential market indecision or accumulation phases.
* **Explosive Candles (Orange Arrow)**: Highlights candles with significant breakouts immediately following a "boring" candle, suggesting strong directional momentum.
* **Multi-Timeframe (MTF) Analysis Panel**: Provides clear visual feedback of higher timeframe sentiment directly on your chart, improving context and confirmation of trading signals.
* **Clean Visual Interface**: Designed to reduce clutter and enhance readability with clearly distinguishable symbols and zones.
- How it Works (Conceptual Overview):
This indicator uses:
* **Adaptive ATR** to determine candle volatility, categorizing them into two types:
* **Boring candles**: Marked when the candle’s total range and body size are significantly lower than typical volatility (customizable via input).
* **Explosive candles**: Identified when a candle dramatically breaks the high or low of a previously marked "boring candle," indicating strong breakout momentum.
* **Supply/Demand Zones**: Calculated dynamically by locating pivot highs and lows, defining areas of likely institutional order accumulation and distribution, which are prime reversal or breakout zones.
- Practical Use Cases & Examples:
* **Timeframes and Markets**: Ideal for intraday trading (5-minute to 1-hour charts) and swing trading (4-hour to Daily charts), particularly effective on volatile markets such as Forex (EUR/USD, GBP/USD), commodities (Gold - XAU/USD), and major cryptocurrencies.
* **Trading Signals**:
* **Reversal Trading**: Enter trades near identified Supply (sell) or Demand (buy) zones upon confirmation by an explosive candle.
* **Breakout Trading**: Explosive candles breaking above/below Supply/Demand zones indicate potential breakout trades.
* **MTF Confirmation**: Higher timeframe status (MTF panel) strengthens trade confidence. For example, a lower timeframe explosive candle aligning with a higher timeframe "Explosive" status enhances trade conviction.
- Alerts Included:
* Immediate alerts for both "Boring Candles" (anticipating possible breakouts) and "Explosive Breakouts" (clear entry signals), allowing efficient and timely market entry.
- Why Closed-Source?
The indicator employs an optimized proprietary volatility-based algorithm combined with advanced pivot detection logic. Keeping it closed-source protects this unique intellectual property, ensuring its continued effectiveness and exclusivity for our user base.
---
Use this comprehensive tool to enhance your technical analysis and gain clearer insights into market sentiment, volatility shifts, and critical trade entry points.
Devils MarkThe Devil’s Mark Indicator identifies bullish or bearish candlesticks with no opposing wick, plotting a horizontal line at the open/low (bullish) or open/high (bearish) price to mark the inefficiency.
This line highlights the level where price is expected to retrace to form the missing wick, serving as a visual cue.
The line is automatically removed from the chart once price crosses it, confirming the inefficiency has been rebalanced.
Stochastic RSI with MFI & DivergencesIts a simple indicator based on STOCH RSI and money flow index. It prints when the market is overbought and oversold with red and green dots on the value line, plus there's a median value line that represents the money flow, whcih flashed green when its positive and red when the money flow is negative, thus giving clear bullish /bearish divergence signals.
Do let me know what you think as it gives encouragement to keep doing this.
Strategic LevelsIntroduction
The Strategic Levels indicator plots key high and low price levels for monthly, weekly, daily, and Monday (current week) timeframes. It draws horizontal lines with consolidated labels to highlight significant support and resistance zones.
How to use it ?
Identify critical price levels for trade entries, exits, and risk management.
These prices levels (monthly, weekly, daily open/close) are significant inflection points during short term price movements.
Perfect for swing traders, day traders, or anyone using support/resistance strategies.
Best used for trades lasting no more than a few days.
对数通道选股器 - 5分15分绿色筛选🎯 Log Channel Multi-Timeframe Screener
A powerful screening tool that identifies stocks with bullish logarithmic regression channels across multiple timeframes. This indicator helps traders find high-quality opportunities by filtering stocks where both 5-minute and 15-minute log channels show upward trends.
🔍 KEY FEATURES:
• Multi-timeframe analysis (1m, 5m, 10m, 15m, 30m, 1D, 1W)
• Logarithmic regression channel calculation
• Real-time green/red channel status detection
• Built-in screening conditions for stock selection
• Visual table showing all timeframe statuses
📊 SCREENING CONDITIONS:
• "5min_green" = 1 (5-minute channel is bullish)
• "15min_green" = 1 (15-minute channel is bullish)
• "both_green" = 1 (Both 5m and 15m channels are bullish)
• "strict_qualified" = 1 (5m, 15m, and 30m all bullish)
• "very_strict" = 1 (All timeframes bullish)
🎨 VISUAL ELEMENTS:
• Color-coded status table (Green = Bullish, Red = Bearish)
• Signal labels when channels turn green
• Real-time status updates
⚡ HOW TO USE:
1. Add indicator to any chart
2. Use in TradingView Stock Screener
3. Set condition: "both_green = 1" for basic screening
4. Combine with volume and price filters for better results
🎯 BEST FOR:
• Swing trading setups
• Multi-timeframe trend confirmation
• Stock screening and watchlist building
• Trend following strategies
📈 ALGORITHM:
Based on logarithmic regression analysis where:
• Green Channel: end > start (upward trend)
• Red Channel: end ≤ start (downward trend)
Perfect for traders who want to identify stocks with aligned bullish momentum across multiple timeframes.
#StockScreener #LogarithmicRegression #MultiTimeframe #TrendAnalysis #SwingTrading
Continuous CVD CandlesEliminates the built-in CVD’s daily reset—continues accumulating across midnight
Cumulative Volume Delta (CVD):
Measures the net difference between aggressive buying and selling volume over time. A rising CVD means more volume on up-ticks; a falling CVD means more volume on down-ticks.
Key Modifications
Per-bar Delta Calculation
Computes each bar’s delta as lastVol – openVol from a chosen lower timeframe, instead of relying on a daily anchor that resets.
Fallback Delta Logic
When lower-timeframe data is unavailable or zero, substitutes the full bar’s signed volume (volume × (close>=open?+1:–1)) to ensure every bar moves the curve.
Persistent Accumulation
Stores the running total in a var variable so it persists across days and never resets at midnight or on each new anchor period.
Candlestick Rendering
Builds OHLC values from the continuous total and uses plotcandle() to draw teal candles on net-positive bars and red on net-negative, giving a clear uninterrupted view of cumulative buying/selling pressure.
Support & Resistance with BreakoutAbsolutely! Below is a TradingView Pine Script v5 indicator that:
✅ Automatically identifies Support and Resistance zones using swing highs/lows
✅ Detects breakouts above resistance (BUY) and below support (SELL)
✅ Gives visual signals (arrows + labels) on breakout candles
✅ Works on any timeframe (5m, 15m, 1H, 4H, etc.)
Swing S/R Entry Indicator (5m)Overview: This is a swing trading Indictor works using support & resistance and market trend, it is designed for all type of markets (crypto, forex, stock etc.) and works on all commonly used timeframes (preferably on 1H, 4H Candles).
How it works:
Core logic behind this indicator is to finding the Support and Resistance, we find the Lower High (LH) and Higher Low (HL) to find the from where the price reversed(bounced back) and also we use a custom logic for figuring out the peak price in the last few candles (based on the input "Strength" ). Based on the multiple previous Support and Resistance (HH, HL, LL LH) we calculate a price level, this price level is used a major a factor for entering the trade. Once we have the price level we check if the current price crosses that price level, if it crossed then we consider that as a long/short entry (based on whether it crosses resistance or support line that we calculated). Once we have pre long/short signals we further filter it based on the market trend to prevent too early/late signals, this trend is calculated based on the value from the input field "Factor". Along with this if we don't see a clear trend we do the filtering by checking how many support or resistance level the price has bounced off.
Stop Loss and Take Profit: We have also added printing SL and TP levels on the chart to make the it easier for everyone to find the SL/TP values. Script calculates the SL value by checking the previous support level for LONG trade and previous resistance level for SHORT trades. Take profit are calculated in 1:1 ratio as of now. can you amek a same indicator for 5 mins chart
RSI Divergence (Nikko)I’ve modified the original RSI Divergence script by *faytterro* to better suit my own needs, and I’m publishing the result here.
First of all, a big thank you to *faytterro* for developing such a fast and well-structured RSI divergence tool. You can find the original version here:
👉
In my version, I’ve added additional parameters—for example, the ability to enable or disable the labels. I’ve also adjusted the visual style to make it more readable, with cleaner divergence lines and less intrusive labeling. Of course, visual preferences vary, so you can tweak the width of the bullish/bearish lines to your liking.
The core logic and functioning remain the same. This is a Pine Script v6 indicator, and the foundation built by the original author is solid and well-maintained.
Personally, I use this script constantly, which is why I took the time to improve and adapt it.
All credit for the original logic and excellent coding goes to *faytterro*.
Auto Fib Retracement📌 Title: Auto Fib Retracement Tool — Bold A–B Line
📝 Description:
This Auto Fib Retracement Tool automatically identifies major swing points (pivot A to pivot B) and draws Fibonacci retracement levels based on them.
🔹 Key Features:
Bold A–B Line: The core swing leg is highlighted with a bold line for clear visual reference.
Customizable Levels: Toggle individual Fib levels on or off, with full control over colors and transparency.
Label Options: Choose to show level values, percentages, or both, and position labels on either side.
Extend Controls: Decide whether to extend Fib lines left, right, both, or keep them bounded.
Smart Alerts: Receive alerts when price crosses selected Fib levels.
Clean Layout: All elements are carefully styled for minimal clutter and maximum clarity.
This tool is ideal for traders who rely on retracements for entries, targets, or market structure — with an emphasis on visibility and control.
Heiken Ashi Colors - Classic Candles ModificationDo you want to use Heiken Ashi candles but you prefer seeing the true prices and range of the normal candles? Here's the fix.
This simple indicator recolors the body of the bars to match the Heiken Ashi calculations. The borders and wicks will remain the same as the classic candles, but the body will reflect the Heiken Ashi trend.
As a bonus, I have added "Bullish" and "Bearish" candle identifiers, currently using aqua and purple, to show Heiken Ashi bullish candles with no lower shadow (aqua) and Heiken Ashi bearish candles with no upper shadow (purple).
I hope you find this useful.
MohdTZ - Simplified IndicatorAdded EMA 36 Band Cloud:
Created a new "EMA 36 Band Settings" group with:
ema36_band_multiplier: A float input (default 0.43, min 0.1, step 0.1) to control the band width relative to ATR.
ema36_band_color: A color input (default gray with 39% transparency) for the band fill.
Calculated the bands using the EMA 36 value plus/minus the ATR (fixed at 14 for simplicity) multiplied by the user-defined multiplier.
Plotted the upper and lower bands as invisible lines (linewidth=0) and filled the area between them with a semi-transparent color (80% transparency).
Kept Other Features:
Retained the customizable EMA 13, 36, and 200 with adjustable lengths, colors, and line widths.
Kept the watermark functionality unchanged.
Simplified Approach:
Used a fixed ATR length (14) for the band calculation to keep it simple. If you want the ATR length to be customizable, let me know, and I can add it as an input.
How to Use
Add to TradingView:
Paste the script into TradingView’s Pine Editor.
Ensure you’re using Pine Script v5.
Click "Add to Chart."
Customize EMAs and Bands:
EMA Settings: Adjust "EMA 13 Length/Color/Line Width," "EMA 36 Length/Color/Line Width," and "EMA 200 Length/Color/Line Width" as desired.
EMA 36 Band Settings: Modify "EMA 36 Band Multiplier" to change the band width and "EMA 36 Band Color" to change the fill color.
Watermark settings remain available for customization.
Test on Chart:
Apply to a chart (e.g., BTC/USD on 1H).
Verify the EMAs (13, 36, 200) plot with the chosen settings.
Check that the EMA 36 band cloud appears around the EMA 36 line, with the fill color and width adjustable via the multiplier.
Notes
Band Logic: The cloud is based on ATR multiplied by a user-defined factor, similar to the original ATR bands. This creates a volatility-based envelope around the EMA 36.
Customization: The band multiplier and color are adjustable. If you want a fixed offset instead of ATR-based bands, or a customizable ATR length, let me know!
Performance: Adding the band cloud is lightweight and shouldn’t impact performance significantly.
Upgrade to v6: If you’d like to move to Pine Script v6 to address deprecation warnings (e.g., transp to color.new()), I can update the script accordingly.
If you need further adjustments (e.g., different band calculation, additional features), please let me know!
learn about ATR bands
explore Bollinger Bands
Turtle System Entries OnlyHere is a simple Pine Script v5 indicator that will plot entry signals on your TradingView chart using the same Turtle System rules (20-day breakout for entry, 10-day low for exit):
Мой скрипт//@version=5
indicator("VIRTUAL Short Entry Alert", overlay=true)
// Объём и среднее по объёму
vol = volume
vol_ma = ta.sma(vol, 20)
// Свечной паттерн: медвежье поглощение
bearish_engulfing = close > open and open > close and close < open and open >= close
// Условие: объём выше среднего
high_volume = vol > vol_ma
// Условие: цена в зоне входа
in_zone = close >= 1.40 and close <= 1.43
// Все условия совпали
short_signal = bearish_engulfing and high_volume and in_zone
// Метка на графике
plotshape(short_signal, location=location.abovebar, style=shape.labeldown, color=color.red, size=size.small, text="SHORT")
// Алерт
alertcondition(short_signal, title="Short Signal", message="VIRTUAL: Сигнал на шорт — свеча поглощение + объём + зона 1.40–1.43")