EMA Cross by RA4 ema indicator, shows buy sell signal on the cross of ema 1 and ema 2, ema 3 and ema 4 are optional to add, and may be of any length/period.
Indicadores e estratégias
上涨动能This indicator calculates and visualizes the difference between the 20-period EMA and the 120-period EMA, helping traders identify medium-term momentum shifts in price action.
What It Does:
✅ Calculates the difference: Diff=EMA20 − EMA120
✅ Plots a line representing this difference for clear trend tracking.
✅ Plots a histogram (colored bars): Green bars indicate the EMA20 is above EMA120, suggesting bullish momentum. Red bars indicate the EMA20 is below EMA120, suggesting bearish momentum.
✅ Includes a zero baseline for easy reference: When the value crosses above zero, it indicates a potential bullish shift. When it crosses below zero, it indicates a potential bearish shift.
How to Use:
✅Use this indicator to visualize trend momentum in your crypto, forex, or stock trading.
✅Combine with your entry/exit signals (e.g., RSI, volume spikes, price action levels) to refine your strategy.
✅A rising Diff suggests strengthening bullish momentum, while a falling Diff suggests strengthening bearish momentum.
Why It’s Useful:
✅ Filters noise by using EMA smoothing on both short and long periods.
✅ Helps identify momentum shifts early without being overly sensitive to short-term volatility.
✅ Easy to integrate into trend-following or pullback strategies.
Intraday vs Overnight OBV🔍 Purpose
This indicator provides a volume-weighted cumulative flow model that mimics On-Balance Volume (OBV) logic but splits the volume impact into intraday vs. overnight sessions. It allows traders to track how volume contributes to price movement in each session and identify whether buying/selling pressure is stronger during or outside of regular trading hours.
This indicator attempts to alleviate some of the downfalls of the standard OBV indicator, which only looks at total volume and total direction. The price of stocks generally behaves extremely differently during market hours and outside market hours, and many of the large moves happen outside of regular market hours on low volume.
⚙️ Core Features
1) OBV-style calculation:
If price increases → volume is added to the OBV stream.
If price decreases → volume is subtracted.
If price is flat → OBV remains unchanged.
2) Session splitting:
Intraday session: movement from today's open to close.
Overnight session: movement from yesterday’s close to today’s open.
Volume is split proportionally between these two periods based on user input.
3) Four visualization modes:
"Intraday" — plots only OBV from intraday price movement.
"Overnight" — plots only OBV from overnight price movement.
"Aggregate" — plots the sum of intraday and overnight OBV for a holistic view.
"Both Intraday and Overnight" — plots intraday and overnight OBV separately on the same chart.
📐 Inputs
1) Synthetic OBV Type:
"Intraday" — Show OBV from open to close only.
"Overnight" — Show OBV from prior close to today's open only.
"Aggregate" — Show a single line combining both.
"Both Intraday and Overnight" — Show both lines on the same chart.
2) Estimated Overnight Volume %:
Percentage of total daily volume assumed to occur during extended hours.
The rest is allocated to regular session (intraday).
Default: 20% overnight, 80% intraday.
🧮 How It Works
Volume Splitting:
Total bar volume is split into overnight Volume and intraday Volume:
Intraday change is the difference between today’s close and open.
Overnight change is the difference between today’s open and yesterday’s close.
Session OBV Calculations:
OBV is incremented/decremented by the session's allocated volume, depending on whether the session’s price change was positive or negative.
Aggregate OBV:
Combines both session deltas for a holistic volume flow view.
📊 Interpretation
Rising OBV (any stream) suggests accumulation; falling OBV suggests distribution.
Divergences between price and OBV lines (especially overnight vs. intraday) can reveal where hidden buying/selling is occurring.
Comparing intraday vs overnight OBV can help:
Spot whether institutional demand is building off-hours.
Detect retail vs. institutional behavior (retail trades often dominate intraday; institutional may prefer after-hours).
💡 Use Cases
Identify whether overnight gaps are supported by overnight volume momentum.
Detect accumulation in low-volume overnight sessions.
Compare intraday and overnight strength during earnings season or news events.
Complement traditional OBV by seeing session-based breakdowns.
ds-Volume with Flags & Alerts v1.2ds-Volume with Flags & Alerts: User & Training Guide
1. Summary of Features
This indicator is a powerful, all-in-one tool designed to give you a deep and customizable view of market volume. By analyzing volume in multiple ways, it helps you spot unusual activity, confirm trends, and identify potential reversals.
How It Helps a Trader:
Spotting Institutional Activity: The core purpose of the Volume Flags (using either the Multiplier or Standard Deviation method) is to highlight bars with exceptionally high volume. These spikes often signal the entry or exit of large institutional players. A high-volume up-bar can confirm bullish conviction, while a high-volume down-bar can signal significant selling pressure.
Identifying Climactic Events: The HVE (Highest Volume Ever) and HV1 (Highest Volume - 1 Year) labels automatically pinpoint the most significant volume events on the chart. A "blow-off top" at the end of a long uptrend or a "capitulation" event at a market bottom is almost always accompanied by an HVE or HV1 bar. These are critical moments to watch for potential trend reversals.
Gauging Buying vs. Selling Pressure: The Up/Down Volume Ratio gives you a more nuanced view than volume alone. A ratio consistently above 1.2 suggests that buyers are more aggressive, while a ratio below 0.8 suggests sellers are in control. Watching this ratio can help you confirm the strength of a trend or spot divergences where price is rising but the ratio is falling (a potential warning sign).
Visual Confirmation & Customization: With options to color both the volume bars and the main price bars, you can get instant visual confirmation of these events without having to look away from the price action. The ability to toggle features on and off keeps your chart clean and focused on what matters most to you.
Actionable Alerts: The comprehensive alert system ensures you don't miss a key event. You can be notified of everything from a new all-time high volume bar to a subtle shift in the Up/Down Volume Ratio, allowing you to react to market changes in real-time.
2. User-Changeable Options
This indicator is highly customizable. Here is a breakdown of every setting available in the "Inputs" tab.
General Settings
MA Length: The lookback period for the simple moving average (the gray area plot) of the volume.
Volume Flags
Color Price Bars with Flags: If checked, the main price bars on your chart will be colored when a high or low volume flag condition is met.
Color Volume Bars with Flags: If checked, the volume bars in the indicator pane will be colored for flag conditions.
Flag Calculation Method: This is a crucial setting.
Multiplier (Default): Identifies high volume based on a simple multiple of the average volume (e.g., volume is 1.4x its average). It's simple and intuitive.
Standard Deviation: Identifies high volume based on how statistically unusual it is compared to its recent behavior. This method is more adaptive to changing market volatility.
Daily/Weekly Lookback (Multiplier): Sets the lookback period for calculating the average volume when using the "Multiplier" method.
Daily/Weekly High-Vol Multiplier: Sets the multiplier for a high volume event (e.g., 1.4).
STDEV Length (Daily/Weekly): Sets the lookback period for calculating the average and standard deviation when using the "Standard Deviation" method.
STDEV Threshold (Daily/Weekly): Sets the number of standard deviations above the average required to trigger a high volume flag (e.g., 2.0).
Daily/Weekly Low-Vol Multiplier: Sets the threshold for a low volume event (e.g., 0.5 means volume is less than 50% of its average). This is always based on the multiplier method.
Ratios & Stats
Up/Down Ratio Daily/Weekly Lookback: Sets the lookback period for calculating the sum of up volume and down volume for the ratio.
Ratio Calculation Method:
Close vs. Open: Defines an "up volume" bar as one where the close is higher than the open.
Close vs. Previous Close (Default): Defines an "up volume" bar as one where the close is higher than the previous bar's close. This is a common standard.
Up Ratio Arrow Threshold: If the U/D Ratio exceeds this value, a green "up" arrow will appear.
Show Up Ratio Arrow: Toggles the visibility of the green "up" arrow.
Down Ratio Arrow Threshold: If the U/D Ratio falls below this value, a red "down" arrow will appear.
Show Down Ratio Arrow: Toggles the visibility of the red "down" arrow.
RSI Zones - Directional Entry StrictRSI Zones - Directional Entry Strict
When RSI returns to the 60–65 zone from above, momentum is weakening and a sell is valid; above 65 suggests the zone may break. The same applies for buys at 35–40: returning from below signals momentum loss, while below 35 indicates likely breakout. Only consider divergence above 65 or below 35 for high-probability reversal setups.
TSL Drunken BirdA huge shoutout to @anotherDAPTrader for inspiration and support in developing this system!
Overview:
The Accurate Swing Trading System is a powerful technical analysis tool designed for swing traders on TradingView. It generates precise buy and sell signals based on price action crossing a dynamic Trailing Stop Loss (TSL) level, calculated from recent highs and lows. Enhanced with optional Higher Time Frame (HTF) confluence, the system aligns short-term signals with broader market trends, making it ideal for traders seeking to optimize entries and exits. Visual indicators include signal labels, customizable horizontal lines, a colored TSL line, and optional bar/background coloring. Alerts support trade execution across various assets, such as NASDAQ E-mini futures, stocks, forex, and more. A special shoutout to AnotherDAPTrader for inspiration and support in developing this system!
Key Features:
Swing Signals: Generates "BUY" and "SELL" signals when the closing price crosses above/below the TSL, based on a user-defined lookback period (Swing).
HTF Confluence: Adjusts signals based on the HTF trend (e.g., "EXIT LONG" instead of "SELL" if HTF is bullish), toggleable via Use HTF Confluence.
HTF Selection: Choose from 8 timeframes: 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, Daily, Weekly, or Monthly.
Horizontal Lines: Plots green (buy) and red (sell) lines at the closing price of signal bars, with a toggle to extend lines 50 or 500 bars.
TSL Visualization: Displays a TSL line (green if close >= TSL, red if close < TSL) to highlight dynamic support/resistance levels.
Bar/Background Coloring: Optionally colors candlesticks and chart background green (bullish) or red (bearish) based on price relative to TSL.
Alerts: Configurable alerts for "Buy Signal" and "Sell Signal" on price crossovers/crossunders.
Persistent Behavior: All components (signals, labels, lines, TSL, coloring) remain on the chart indefinitely, consistent with the original design.
Use Cases:
Perfect for swing trading on any timeframe (e.g., 1-minute for scalping, 1-hour for swing trading) and asset (e.g., NASDAQ E-mini futures, stocks, forex).
Enhances decision-making by aligning short-term trades with higher timeframe trends.
Supports both manual trading (via visual cues) and automated trading (via alerts).
License:
Released under the Mozilla Public License 2.0. Created by ceyhun, with a shoutout to AnotherDAPTrader.
How to Use the Accurate Swing Trading System in TradingView
Add the Script to TradingView:
Open TradingView (www.tradingview.com) in a browser or desktop app.
Navigate to the Pine Editor (bottom panel of any chart).
Copy and paste the provided Pine Script code.
Click "Add to Chart" to apply the indicator to your active chart.
Configure Indicator Settings:
Access settings by clicking the gear icon next to the indicator name on the chart.
Adjust the following inputs:
Swing (default: 3): Defines the lookback period for calculating the highest high and lowest low used in the TSL. Higher values produce smoother but potentially delayed signals.
Barcolor (default: true): Enables/disables green (bullish) or red (bearish) candlestick coloring based on close vs. TSL.
Bgcolor (default: false): Enables/disables green/red background coloring for trend visualization.
Use HTF Confluence (default: true): Enables/disables HTF trend filtering. When enabled, signals adjust to reflect HTF trend (e.g., "EXIT LONG" for sell signals if HTF is bullish).
Higher Time Frame (default: "60"): Select from for 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, Daily, Weekly, or Monthly HTF analysis.
Use Long Horizontal Lines (500 bars) (default: true): Toggles horizontal line length between 500 bars (long) and 50 bars (short).
Interpret Signals and Visuals:
Signal Labels:
"BUY" (green, below bar): Triggered when close crosses above TSL (and HTF is bullish or use_htf is off).
"SELL" (red, above bar): Triggered when close crosses below TSL (and HTF is bearish or use_htf is off).
"EXIT SHORT" (orange, below bar): Triggered on buy signals when HTF is bearish (with use_htf on).
"EXIT LONG" (orange, above bar): Triggered on sell signals when HTF is bullish (with use_htf on).
Horizontal Lines:
Green lines (buy signals) and red lines (sell signals) are plotted at the close price of the trigger bar, aligning with TSL color changes (green to red or vice versa).
Lines extend 50 bars (if long_lines is false) or 500 bars (if true) to the right.
TSL Line: A continuous line (linewidth=3) showing the TSL level, colored green (close >= TSL) or red (close < TSL).
Bar/Background Coloring: If enabled, candlesticks and background are colored green (bullish) or red (bearish) based on close vs. TSL.
Set Up Alerts:
Right-click the indicator name on the chart and select "Add Alert."
Choose "Buy Signal" or "Sell Signal" as the condition.
Configure alert settings (e.g., notification method, frequency: once per bar, etc.).
Alerts trigger on Buy (crossover) or Sell (crossunder) events, ideal for trade execution or monitoring.
Test on a Chart:
Apply to a chart (e.g., NASDAQ E-mini futures, 1-minute timeframe, as per your metadata from July 10, 2025, 05:41 PM CDT).
Verify:
Labels: "BUY", "SELL", "EXIT LONG", "EXIT SHORT" appear only on crossover/crossunder bars.
Horizontal Lines: Green/red lines plot at the close price where TSL changes color (green to red for Sell, red to green for Buy), extending 50 or 500 bars based on long_lines.
TSL Line: Updates continuously, colored green/red based on close vs. TSL.
Coloring: Bar/background coloring (if enabled) reflects trend direction.
HTF Confluence: With use_htf on, test htf_res = "M" (and others like "60", "D") to ensure signals adjust correctly (e.g., "EXIT LONG" for sell signals if monthly HTF is bullish).
Alerts: Confirm alerts trigger on crossovers/crossunders.
Ensure all components persist indefinitely (no decay).
Best Practices:
Timeframe: Use on any timeframe (e.g., 1m for scalping, 1h for swing trading). Adjust Swing to balance signal frequency and reliability.
Asset: Suitable for volatile assets like NASDAQ E-mini futures, stocks, or forex.
HTF Alignment: Enable use_htf for trend-aligned trades, especially on higher timeframes like "D" or "M".
Line Length: Use long_lines = true for longer-term visualization (500 bars) or false for shorter-term (50 bars).
Risk Management: Combine with stop-loss/take-profit levels and proper position sizing, as the system does not include risk management.
Acknowledgments:
License Note:
This script is provided under the Mozilla Public License 2.0. Users are free to use, modify, and distribute it per the license terms.
Bitcoin 12/26 EMA Crossover with ADX Filter [5min Intraday]A trend-following strategy for Bitcoin on a 5-minute intraday chart, using 12/26 EMA crossovers with ADX and volume filters to reduce false signals in ranging markets.
Key Features:
Entries: Long: 12 EMA crosses above 26 EMA, ADX > 25, volume > 1.5x 20-period average.
Short: 12 EMA crosses below 26 EMA, ADX > 25, volume > 1.5x 20-period average.
Exits: Long: 2% stop loss or 12 EMA crosses below 26 EMA.
Short: 2% stop loss, 3% take profit, or 12 EMA crosses above 26 EMA.
Filters: ADX (14-period) > 25 ensures trending markets; volume filter confirms strong participation.
CVD Signal (Above/Below Zero Line)CVD Long or Short Signal when the CVD is above or below zero line.
Momentum Trading StrategyThis is a Trend Following Momentum Strategy, where i used EMA, ADX, RSI, VWAP to take trade with Trend and initiate trade when Momentum builds up.
The Default target is 1:2
حساب الأرباح والخسائر بالدولار مع رأس المال - Waseem elessiحساب الارباح وخسائر بكل سهولة ولا تحتاج الي فهمها سواء كان فهمها معقد او بسيط انا اقدم لك هذا كي يسهل عليك حساب الارباح وخسائر بسهولة بكل سهولة هذا لوجه الله تعالي واتمنى الدعاء لي بالتوفيق والسداد في جميع اموري القادمة.
Calculating profits and other things with ease. If you need to understand them, whether understanding them is complex or simple, I present this to you so that you can easily calculate profits and other things with ease. This is for the sake of God Almighty, and I hope you will pray for me to succeed and be guided in all my future affairs.
ATR Trailing + Alerts + Price LabelsATR Trend is a clean and intelligent trend-following overlay built for traders who want clarity during both trending and ranging markets.
This indicator dynamically detects bullish and bearish market trends using the Average True Range (ATR), applying a confirmation-based approach to filter out false signals and minor pullbacks.
The trend line is:
Blue 🔵 during uptrends.
Black ⚫ during downtrends.
Continuous, recalculating only when the market truly shifts — not just when price temporarily crosses the line.
When a confirmed trend reversal occurs:
A 🔼 or 🔽 label shows the exact price of the flip.
An alert can be triggered to notify the user immediately.
💡 Features:
✅ Single-line trend direction
✅ Filters out short-term noise
✅ Exact price labeling on trend change
✅ Built-in alerts for up/down trend shifts
⚙️ Inputs:
ATR Period – Length of ATR calculation (default: 14)
ATR Multiplier – Offset for trend line placement (default: 2.0)
Flip Sensitivity – Number of bars required to confirm a trend reversal (default: 3)
This tool is suitable for:
Swing traders avoid false breakouts
Scalpers looking for high-probability trend entries
Algorithmic setups requiring structured trend logic
Quarterly Theory Levels - Period BasedOpen, true open, market close for daily weekly, monthly, quarterly, yearly.
RSI Divergence Buy v4 - More TradesThis RSI Divergence Buy strategy identifies bullish divergence by detecting confirmed swing lows where the price forms a lower low compared to the previous swing low, but the RSI indicator shows a higher low, signaling weakening downward momentum often in oversold conditions. It enters a long position upon confirmation of these criteria, with the entry visualized by a green upward triangle below the pivot bar. Positions are exited either when the RSI crosses above a specified mean-reversion level (like 55) for profit-taking or hits a dynamic stop-loss set a percentage below the pivot low to manage risk.
Today High/Low Lines [tzuriamos]Displays the current day's highs and lows that exist in the market.
Once a high or low is taken, it is updated.
جدول تقاطع المتوسطات وموقع المتوسط بالنسبة للسعر (دقيق)A moving average for the average and a varied and consolidated average in different formats, determining the direction of all moving and good averages.
High Freq Buy The Dips Bull Market [Quant Trading]STRATEGY OVERVIEW
This is a significantly enhanced and optimized version of the original "Buy The Dips in Bull Market" strategy from Coinrule (2020). The strategy has been completely rewritten in Pine Script v6 with substantial improvements in performance, risk management, and functionality. Based on extensive analysis of 2+ years of BTC hourly data, this optimized version delivers 312.6% better returns with a 74.8% win rate compared to the original implementation.
Key Philosophy: The strategy capitalizes on temporary price dips during bull market conditions by entering long positions when RSI indicates oversold conditions while maintaining a bullish market structure, then exiting when price recovers above key moving averages.
HOW IT WORKS
Entry Logic
The strategy enters long positions when ALL of the following conditions are met:
RSI Oversold Condition: RSI drops below the configurable threshold (default: 45)
Bull Market Structure: Long-term MA (150) is below the slow MA (40), indicating overall bullish momentum
Within Date Range: Trade occurs within the specified backtesting period
Exit Logic
Positions are closed when BOTH conditions are satisfied:
Price Recovery: Current price moves above the fast MA (15-period)
MA Alignment: Fast MA crosses above slow MA, confirming trend continuation
Optional Short Trading
When enabled, the strategy can also trade short positions using inverse logic:
Short Entry: RSI overbought (above 55 by default) + bearish market structure
Short Exit: Price decline below fast MA + bearish MA alignment
KEY IMPROVEMENTS OVER ORIGINAL
1. Enhanced Risk Management
ATR-Based Stop Loss/Take Profit: Dynamic risk levels based on market volatility
Configurable Risk-Reward Ratio: Default 2:1 ratio with full customization
Alternative Percentage-Based Risk: Option to use fixed percentage stops instead of ATR
2. Optimized Parameters
RSI Period: Increased to 14 (from original) for more reliable signals
RSI Buy Signal: Optimized to 45 (from 35) reducing false signals
Fast MA: Shortened to 15 periods (from 9) for quicker response
Slow MA: Reduced to 40 periods (from 50) for improved trend detection
Long MA: Reduced to 150 periods (from 200) for better bull market identification
3. Advanced Features
Bi-directional Trading: Optional short selling capability
Comprehensive Visualization: Enhanced plotting with risk level displays
Flexible Date Range: Improved backtesting controls with visual indicators
Modern Pine Script v6: Complete rewrite using latest Pine Script features
DEFAULT PARAMETERS EXPLAINED
RSI Settings
RSI Period: 14 bars - Standard period providing balanced sensitivity
RSI Buy Signal: 45 - Optimized threshold for bull market dip buying
Moving Average Settings
Fast MA Length: 15 - Quick-response average for exit signals
Slow MA Length: 40 - Medium-term trend confirmation
Long MA Length: 150 - Long-term bull market structure identification
Risk Management (ATR-Based)
ATR Period: 14 - Standard volatility measurement period
ATR Stop Loss Multiplier: 2.0 - Conservative stop loss distance
Risk Reward Ratio: 2.0 - Take profit at 2x the risk amount
Alternative Risk Management (Percentage-Based)
Stop Loss: 5% - Fixed percentage stop loss
Take Profit: 10% - Fixed percentage take profit target
Trading Configuration
Initial Capital: $1,000
Position Size: 100% of equity per trade
Commission: 0.1% per trade
Slippage: 3 ticks
STRATEGY PERFORMANCE CHARACTERISTICS
Strengths
High Win Rate: 74.8% successful trades based on optimization analysis
Bull Market Focused: Designed specifically for uptrending market conditions
Volatility Adaptive: ATR-based risk management adjusts to market conditions
False Signal Reduction: Optimized parameters minimize whipsaws
Considerations
Bull Market Dependency: Performance may decline in prolonged bear markets
Trend Following Nature: May experience drawdowns during strong trend reversals
High Frequency: Generates multiple signals requiring active monitoring
RISK WARNINGS
Past performance does not guarantee future results. This strategy is optimized for bull market conditions and performance may vary significantly in different market environments. Always use appropriate position sizing and risk management. Real trading results may differ due to execution costs, slippage, and market conditions.
RECOMMENDED USAGE
Optimal Market Conditions
Bull market or strong uptrending conditions
Medium to high volatility environments
Markets with clear trend structure
Timeframes
Optimized for hourly charts
Can be adapted for other timeframes with parameter adjustment
Asset Classes
Originally optimized for Bitcoin
Suitable for other trending cryptocurrencies and traditional assets
Test parameters on specific assets before live implementation
TECHNICAL REQUIREMENTS
Pine Script Version: v6
Strategy Type: Long/Short (configurable)
Overlay: Yes - plots directly on price chart
Real-time Alerts: Compatible with TradingView alert system
This strategy represents a substantial evolution of the original concept, incorporating modern risk management techniques, optimized parameters based on extensive backtesting, and enhanced functionality while maintaining the core "buy the dips" philosophy that made the original strategy popular.
RSI Cross Alert (Overbought/Oversold)Alerts when RSI breaks below 70 and when RSI breach 30 and above
Volume Scanner (Spikes & Drops) [Context]
💡 In many trading strategies, volume is used as a filter — but not all volume matters.
What really counts are moments when volume suddenly spikes or drops — these are the bars where something important might be happening: a large player enters the market, a fakeout occurs, or a trend shift begins.
🎯 What this indicator does:
This script highlights only the most significant volume anomalies, filtering out the noise and focusing on real movement:
🔺 Green background = Volume Spike (sudden increase)
🔻 Red background = Volume Drop (sudden decrease)
📊 Optional contextual filter:
Enable price context to show signals only when volume shifts occur alongside a breakout of recent high/low.
Fully customizable: control the strength of spikes/drops, the lookback period, and the minimum gap between signals.
📦 Great for:
Adding a clean volume filter to price action strategies
Quickly spotting key volume bars in real time
Works on any timeframe and market (crypto, forex, stocks, indices)
Volume MA Crossover SignalsDisplay the 10-day Simple Moving Average volume in red .
Display the 20-day Simple Moving Average volume in orange.
Ex Highset the High that we want to set , such as 10 days, 20 days, 60 days, 120 days, 250 days, etc.
Market Hours Highlight//@version=5
indicator("Market Hours Highlight", overlay=true)
// Set your time zone (adjust if needed)
tz = "America/Chicago"
// Define session time for regular market hours (CT)
startTime = timestamp(tz, year, month, dayofmonth, 8, 30)
endTime = timestamp(tz, year, month, dayofmonth, 15, 0)
// Check if current bar is during market hours
isMarketOpen = time >= startTime and time < endTime
// Highlight background only during market open hours
bgcolor(isMarketOpen ? color.new(color.green, 85) : na)
Multi-Timeframe Bands (Horizontal Table, Robust, No get_cols)Mulit-timeframe /Kelt Bands with Table Price tracker
This is a simple Kelt style Band indicator draws colored horizontal bands representing the high (top) and low (bottom) for each of the following timeframes:
4h: Blue (bottom), Red (top)
1D: Gold (bottom/top)
1W: Purple (bottom/top)
1M: Orange (bottom/top)
Quarterly: Light purple (bottom/top)
The script works on any chart timeframe, and the bands will update dynamically.
I've added a horizontal box to show the corresponding prices at the top.