NDOG & NWOG Indicatorndicator automatically identifies and displays New Day Opening Gaps (NDOG) and New Week Opening Gaps (NWOG) directly on your chart. It focuses on gaps based on specific session times in the New York (NY) timezone.
Key Features:
NDOG: Identifies the gap between the NY 4:59 PM (daily close) and the NY 6:00 PM (daily open).
NWOG: Identifies the gap between the Friday NY 4:59 PM (weekly close) and the Sunday NY 6:00 PM (weekly open).
Draws customizable lines for the high and low levels of each gap.
Option to show an additional mid-level line for each gap.
Includes options for line colors, styles, and width.
Allows filtering gaps by a minimum size.
Control the maximum number of recent NDOGs and NWOGs displayed.
Optionally shows text labels on the lines and a summary table on the chart.
This tool can help traders visualize potential areas of interest related to these specific opening gaps.
Note: Calculations are based on the "America/New_York" timezone.
Disclaimer: Trading involves risk and may not be suitable for all investors. This indicator is provided for informational and educational purposes only and does not constitute financial advice or a recommendation to trade. Use at your own risk.
Dönemler
Disha-Author(VAKA)Hourly Indicator which tells whether the hour is bullish or bearish based on 5/10/15 min candles on each hour if its AM -- and for PM its 10/15/20 min candles
DECODE Global Liquidity IndexDECODE Global Liquidity Index 🌊
The DECODE Global Liquidity Index is a powerful tool designed to track and aggregate global liquidity by combining data from the world's 13 largest economies. It offers a comprehensive view of financial liquidity, providing crucial insights into the underlying currents that can influence asset prices and market trends.
The economies covered are: United States, China, European Union, Japan, India, United Kingdom, Brazil, Canada, Russia, South Korea, Australia, Mexico, and Indonesia. The European Union accounts for major individual economies within the EU like Germany, France, Italy, Spain, Netherlands, Poland, etc.
Key Features:
1. Customizable Liquidity Sources
Include Global M2: You can opt to include the M2 money supply from the 13 listed economies. M2 is a broad measure of money supply that includes cash, checking deposits, savings deposits, money market securities, mutual funds, and other time deposits. (Note: Australia uses M3 as its primary measure, which is included when M2 is selected for Australia).
Include Central Bank Balance Sheets (CBBS): Alternatively, or in addition, you can include the total assets held by the central banks of these economies. Central bank balance sheets expand or contract based on monetary policy operations like quantitative easing (QE) or tightening (QT).
Combined View: If you select both M2 and CBBS, and data is available for both, the indicator will display an average of the two aggregated values. If only one source type is selected, or if data for one type is unavailable despite both being selected, the indicator will display the single available and selected component. This provides flexibility in how you define and analyze global liquidity.
2. Lead/Lag Analysis (Forward Projection):
Lead Offset (Days): This feature allows you to project the liquidity index forward by a specified number of days.
Why it's useful: Global liquidity changes can often be a leading indicator for various asset classes, particularly those sensitive to risk appetite, like Bitcoin or growth stocks. These assets might lag shifts in liquidity. By applying a lead (e.g., 90 days), you can shift the liquidity data forward on your chart to more easily visualize potential correlations and identify if current asset price movements might be responding to past changes in liquidity.
3. Rate of Change (RoC) Oscillator:
Year-over-Year % View: Instead of viewing aggregate liquidity, you can switch to a Year-over-Year (YoY%) Rate of Change (ROC) oscillator.
Why it's useful:
Momentum Identification: The ROC highlights the speed and direction of liquidity changes. Positive values indicate liquidity is increasing compared to a year ago, while negative values show it's decreasing.
Turning Points: Oscillators make it easier to spot potential accelerations, decelerations, or reversals in liquidity trends. A cross above the zero line can signal strengthening liquidity momentum, while a cross below can signal weakening momentum.
Cycle Analysis: It helps in assessing the cyclical nature of liquidity provision and its potential impact on market cycles.
This indicator aims to provide a clear, customizable, and insightful measure of global liquidity to aid traders and investors in their market analysis.
23/35 SR Channels (Hitchhikers Guide To Goldbach)This indicator highlights potential short-term support and resistance zones based on the 23rd and 35th minute of each hour. At each of these time points, it draws a zone from the high to the low of the candle, extending it forward for a fixed number of bars.
Key features:
🔸 Orange zones mark the 23-minute candle
🔹 Blue zones mark the 35-minute candle
📏 Zones extend for a customizable number of bars (channelLength)
🔄 Existing zones are removed if they overlap significantly with a new one
🏷️ Optional labels show when a 23 or 35 zone is created
This tool is ideal for traders looking to identify time-based micro-structures and intraday reaction zones.
Equal Highs/Lows + SMT Divergences + Range FilterKey Functional Areas
🔹 Equal Highs and Lows Detection
Strict Swing High/Low: Looks for equal swing points and ensures untouched in-between levels.
Regular Equal High/Low: Uses a range filter (default 9.75 points across 5 bars) to validate.
Volume and Time Filtering: You allow user toggles to include only periods with sufficient volume or time of day.
🔹 Swing Point Helpers
Functions isSwingHigh() and isSwingLow() are used for strict equal high/low detection.
🔹 Range Filter
Checks whether the high-low range over the last 5 candles meets a user-defined minimum (ensures significance).
🔹 Moving Averages
Includes optional plotting of 20 and 200 SMA.
🔹 SMT Divergences
Compares pivots between main symbol and two others (default: ES1! and YM1!).
Detects divergence based on opposite directional movement at pivot points.
Customizable color, thickness, and labels.
MVRV Z-ScoreThe MVRV ratio compares Bitcoin’s market cap (current price × supply) to its realized cap (the value of all coins at the price they last moved). It shows how overheated or undervalued Bitcoin is relative to historical investor cost bases.
Core Idea: High MVRV = market likely overheated (potential top). Low MVRV = market undervalued (potential bottom). It measures market sentiment and potential risk zones.
Important: Strong historical signals, but not foolproof. Best used as a macro tool — not for timing short-term moves.
Candle Count RSI📈 Candle Count RSI — A Dual-Perspective Momentum Engine
The Candle Count RSI is a custom-built momentum oscillator that expands on the classic Relative Strength Index (RSI) by introducing a directional-only variant that tracks the frequency of bullish or bearish closes, rather than price magnitude. It gives traders a second lens through which to evaluate momentum, trend conviction, and subtle divergences—often invisible to traditional price-based RSI.
💡 What Makes It Unique?
While the standard RSI is sensitive to the size of price changes, the Candle Count RSI is magnitude-blind. It counts candle closes above/below open over a lookback period, generating a purer signal of directional consistency. To enhance signal fidelity, it includes a streak amplifier, dynamically weighting extended runs of green or red candles to reflect intensity of market bias—without introducing artificial price sensitivity.
This dual-RSI approach allows for:
- Divergence detection between directional bias and price magnitude.
- Smoother trend confirmation in choppy markets.
- Cleaner visual cues using dynamic glow and background logic.
📐 How Standard RSI Actually Works (Not What You Think)
RSI doesn’t just check if price went up or down over a span—it checks each individual candle and tracks whether it closed higher or lower than the one before. Here's how it works under the hood:
1.) For each bar, it calculates the change from the previous close.
2.) It separates those changes into gains (upward moves) and losses (downward moves).
3.) Then it computes a smoothed average of those gains and losses (usually using an RMA).
4.) It calculates the Relative Strength (RS) as:
RS = AvgGain / AvgLoss
5.) Finally, it plugs that into the RSI formula:
RSI = 100 - (100 / (1 + RS))
⚖️ What Does the 50 Line Mean?
- The RSI scale runs from 0 to 100, but 50 is the true neutral zone:
- RSI > 50 means average gains outweigh average losses over the period.
- RSI < 50 means losses dominate.
- RSI ≈ 50? The market is balanced—momentum is indecisive, no clear trend bias.
- This makes 50 a powerful midline for trend filters, directional bias tools, and divergence detection—especially when paired with alternative RSI logic like Candle Count RSI.
🔧 Inputs and Customization
- Everything is fully modular and customizable:
🧠 Core Settings
- RSI Length: Used for both the standard RSI and Candle Count RSI.
📉 Standard RSI
- Classic RSI calculation based on price changes.
- Optional WMA smoothing to reduce noise.
- Glow effect toggle with custom intensity.
🕯 Candle Count RSI
- Computes RSI using only the count of up/down candles.
- Optional smoothing for stability.
- Amplifies streaks (e.g., multiple consecutive bullish candles increase strength).
- Glow effect toggle with adjustable strength.
🎇 Glow Visuals
- Background glow (subpane and/or main chart).
- Fades based on RSI distance from the 50 midpoint.
- Independent color settings for bull and bear bias.
🧬 Divergence Zones
- Detects when Candle RSI and Standard RSI diverge.
- Highlights:
- Bullish Divergence: Candle RSI > 50, Standard RSI < threshold.
- Bearish Divergence: Candle RSI < 50, Standard RSI > threshold.
- Background fill optionally shown in subpane and/or main chart.
📊 Directional Histogram
- MACD-style histogram showing the difference between the two RSI lines.
- Color-coded based on directional agreement:
- Both rising → green.
- Both falling → red.
- Conflict → yellow.
🧠 Under the Hood — How It Works
🔹 Standard RSI
- Classic ta.rsi() applied to close prices, optionally WMA-smoothed.
🔹 Candle Count RSI (CCR)
- Counts how many candles closed up/down over the period.
- Computes a magnitude-free RSI from these counts.
- Applies a streak-based multiplier to exaggerate trend strength during consecutive green/red runs.
- Optionally smoothed with WMA to create a clean signal line.
- This makes CCR ideal for detecting true directional bias without being faked out by volatile price spikes.
🔹 Divergence Logic
- When Candle RSI and Standard RSI disagree strongly across defined thresholds, background fills highlight early signs of momentum decay or hidden accumulation/distribution.
🔹 Glow Logic
- Glow zones are controlled by a master toggle and drawn with dynamic transparency:
- Further from 50 = stronger conviction = darker glow.
- Shows up in subpane and/or main chart depending on user preference.
📷 Suggested Use Case / Visual Setup
- Use in conjunction with your primary price action system.
- Watch for divergences between the Candle Count RSI and Standard RSI for early trend reversals.
- Use glow bias zones on the main chart to get subconscious directional cues during fast scalping.
- Histogram helps you confirm when both RSI variants agree—useful during strong trending conditions.
🛠️ Tip for Traders
- This tool isn’t trying to “predict” price. It’s designed to visualize hidden market psychology—when buyers are showing up with consistent pressure, or when momentum has a disconnect between conviction and magnitude. Use this to filter entries, spot weak rallies, or sense when a trend is about to break down.
⚠️ WARNING
- Not for use with Heikin Ashi, Renko, etc.).
🧠 Summary
Candle Count RSI is not just another mashup—it's a precision-built, dual-perspective oscillator that captures directional conviction using real candle behavior. Whether you're scalping intraday or swing trading momentum, this script helps clarify trend integrity and exposes hidden weaknesses with elegance and clarity.
—
🛠️ Built by: Sherlock_MacGyver
Feel free to share feedback or reach out if you'd like to collaborate on custom features.
200MA + MACD + 成交量放量警報🚀 200MA + MACD 金叉 + 成交量放量警報指標 🔥
簡介:
全幣種通用合約日內神器!
結合 200MA 均線趨勢判斷、MACD 金叉死叉動能確認,再搭配 成交量放量過濾假突破,有效提升入場勝率!
支援警報通知,自動提醒多空訊號。
👉 喜歡記得按 ❤️ 收藏,開圖表通知 🔔
🚀 200MA + MACD Golden Cross + Trading Volume Alert Indicator 🔥
Introduction:
A universal tool for all currencies for intraday contracts!
Combined with 200MA moving average trend judgment, MACD Golden Cross and Dead Cross kinetic energy confirmation, and combined with trading volume to filter false breakthroughs, it effectively improves the entry success rate!
Supports alarm notifications and automatically reminds long and short signals.
👉 If you like it, remember to press ❤️ to collect it and open the chart notification 🔔
Pi Cycle IndicatorThe Pi Cycle Top is a timing tool used to spot Bitcoin cycle peaks. It tracks the 111-day Simple Moving Average (SMA) and twice the 350-day SMA. When the faster 111-day SMA crosses above 2× the 350-day SMA, it has historically signaled major Bitcoin tops — often within days.
Core Idea: Measures market euphoria and overheated conditions by blending price and time dynamics. Designed to catch tops when momentum peaks.
Important: High historical accuracy, but not bulletproof. Works best as a macro cycle indicator — not for precise exits.
Pro SVP HD Strategy by ChatGPT//@version=5
indicator("Pro SVP HD Strategy by ChatGPT", overlay=true)
// === INPUTS ===
emaLen = input.int(50, "EMA Length")
svpHighColor = color.green
svpLowColor = color.red
// === SVP Based Key Levels (Manual Entry or External SVP Study Recommended) ===
poc = input.float(24700, "POC Level")
vah = input.float(24750, "Value Area High")
val = input.float(24580, "Value Area Low")
// === PRICE ===
price = close
// === EMA ===
emaLine = ta.ema(close, emaLen)
plot(emaLine, "EMA 50", color=color.black)
// === ZONE FILTERS ===
aboveVAH = price > vah
belowVAL = price < val
betweenVALVAH = price > val and price < vah
// === CANDLE CONFIRMATION ===
bullishCandle = close > open and close > close
bearishCandle = close < open and close < close
// === ENTRY CONDITIONS ===
longCondition = belowVAL and bullishCandle and price > emaLine
shortCondition = aboveVAH and bearishCandle and price < emaLine
// === PLOT SHAPES ===
plotshape(longCondition, title="BUY", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(shortCondition, title="SELL", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// === ALERTS ===
alertcondition(longCondition, title="BUY ALERT", message="Pro SVP BUY SIGNAL")
alertcondition(shortCondition, title="SELL ALERT", message="Pro SVP SELL SIGNAL")
// === POC, VAH, VAL LINES ===
plot(poc, "POC", color=color.red, linewidth=2)
plot(vah, "VAH", color=color.yellow, linewidth=2)
plot(val, "VAL", color=color.yellow, linewidth=2)
// === NO TRADE ZONE MARKER ===
betweenZone = betweenVALVAH ? price : na
plot(betweenZone, title="No Trade Zone", style=plot.style_circles, color=color.gray)
Multi-Timeframe Horizontal LinesMulti-Timeframe Horizontal Lines - User Guide
This indicator draws horizontal support/resistance lines based on opening prices at specific New York times, regardless of your chart's timezone.
How to Use:
Enter up to 4 custom times in NY timezone using HH:MM format (e.g., "09:30", "14:00", "20:00")
Lines automatically capture the opening price when each specified time hits
Toggle the After-Hours Day Open line (6 PM NY start) on/off as needed
Key Features:
Evening Times (16:00-23:59): Lines extend overnight until next day 3:59 PM NY
Morning/Day Times (00:00-15:59): Lines extend until same day 3:59 PM NY
Timezone Independent: Always uses NY time regardless of chart timezone
Clean Visualization: Lines appear with breaks during inactive periods
Perfect For:
Marking key session opens (Asian, London, NY)
Tracking overnight levels and gaps
Setting reference levels that persist across trading sessions
Simply input your desired NY times and let the indicator automatically manage when lines appear and disappear based on market sessions.
Squeeze Momentum StrategyThe Squeeze Momentum Strategy, adapted from @LazyBear Squeeze Momentum Indicator, is designed for TradingView to capitalize on breakouts from low-volatility periods and momentum shifts, incorporating commissions for realistic trading outcomes.
Indicator Mechanics
Bollinger Bands (BB):
Calculated using a Simple Moving Average (SMA) of the closing price (length=20) and standard deviation (mult=2.0).
Defines volatility bands: upperBB and lowerBB.
Keltner Channels (KC):
Uses an SMA (lengthKC=20) and a multiple of the average true range or high-low range (multKC=1.5).
Defines upperKC and lowerKC to measure volatility.
Squeeze Condition:
Squeeze On (sqzOn): Bollinger Bands inside Keltner Channels (lowerBB > lowerKC and upperBB < upperKC), indicating low volatility (consolidation).
Squeeze Off (sqzOff): Bollinger Bands outside Keltner Channels, signaling a breakout.
No Squeeze (noSqz): Neutral state, neither squeeze nor breakout.
Momentum (val):
Computed using linear regression on the difference between the close price and the SMA of the average of the highest high and lowest low over lengthKC.
Positive val indicates bullish momentum; negative val indicates bearish momentum.
Strategy Rules
Long Entry:
Momentum is positive and increasing (val > 0 and val > val ).
No squeeze (noSqz is true), confirming breakout potential.
Short Entry:
Momentum is negative and decreasing (val < 0 and val < val ).
No squeeze (noSqz is true).
Exits:
Momentum Reversal: Close long when val < 0; close short when val > 0.
Stop-Loss: 2% below/above entry price (stop=strategy.position_avg_price * 0.98 for long, * 1.02 for short).
Take-Profit: 3% above/below entry price (limit=strategy.position_avg_price * 1.03 for long, * 0.97 for short).
Commission:
Set at 0.1% per trade (commission_value=0.1), adjustable in the strategy() call to match broker fees (e.g., 0.075% for Binance, 0.005% for Interactive Brokers).
How It Works
Identifies Low Volatility: sqzOn signals a consolidation period, often preceding a breakout.
Captures Breakouts: Trades are entered when volatility expands (noSqz) with momentum confirmation (val trend).
Manages Risk:
Stop-loss and take-profit ensure a 1:1.5 risk-reward ratio.
Commissions are deducted per trade, impacting net profitability.
Visual Feedback:
Histogram (val): Lime/green for bullish, red/maroon for bearish.
Zero line: Blue (no squeeze), black (squeeze on), gray (squeeze off).
Profitability Factors
Market Fit: Best for trending markets (e.g., BTC/USD, stocks) on higher timeframes (1H, 4H, D) to reduce noise and commission impact.
Commission Impact: 0.1% per trade reduces returns; optimize by lowering commission_value or using higher timeframes.
Parameter Tuning: Adjust length, mult, lengthKC, or multKC to balance signal frequency and accuracy.
Notes
Backtesting: Test in TradingView with your asset/timeframe to verify profitability. Adjust commission_value to match broker fees (e.g., 0.005% for Interactive Brokers).
Risk Management: Limit risk to 1-2% of capital per trade.
Enhancements: Add plotshape for entry/exit signals on the price chart if desired—contact for implementation.
Disclaimer
This strategy is provided for educational and informational purposes only and should not be construed as financial advice or a recommendation to buy or sell any securities. Trading carries significant financial risks, including the potential loss of principal. Past performance is not indicative of future results. Users are strongly advised to conduct thorough backtesting, consult a qualified financial advisor, and fully understand the risks involved before engaging in live trading. The authors and providers of this strategy assume no responsibility for any financial losses incurred.
XAU/USD Custom Levels
XAU/USD Dynamic Support & Resistance Levels
This indicator automatically draws horizontal support and resistance levels for Gold (XAU/USD) based on the current market price, eliminating the need for manual price range adjustments.
**Key Features:**
- **Dynamic Price Range**: Automatically calculates levels above and below the current price using a customizable percentage range (default 5%)
- **Multi-Tier Level System**: Four distinct level types with different visual styling:
- Major Levels (100s) - Blue, thick lines
- Sub Levels (50s) - Red, medium lines
- Sub-Sub Levels (25s) - Yellow, thin lines
- Mini Levels (12.5s) - Gray, dotted lines
- **Fully Customizable**: Adjust range percentage, step size, colors, and line history through input settings
- **Universal Compatibility**: Works at any gold price level - whether $1800, $2500, $3300 or beyond
**How It Works:**
The script centers the level grid around the current closing price and extends lines from a specified number of bars back to the right edge of the chart. The hierarchical level system helps identify key psychological price points and potential support/resistance zones commonly used in gold trading.
**Settings:**
- Price Range %: Control how far above/below current price to draw levels (1-20%)
- Level Step Size: Adjust spacing between levels (1.0-50.0)
- Bars Back: Set how far back in history to start the lines
- Color Customization: Personalize colors for each level type
Perfect for gold traders who need clean, automatically-updating support and resistance levels without manual configuration.
DB1800 Gann Angle Levels Table (CMP Based)Gann Angles for Resistance and Support
2 = 360 degree for 1 month
1 = 180 degree for 1 week
0.5 = 90 degree for 1 to 2 days
0.25 = 45 degree for next day
0.125 = 22.5 degree for more granular than next day (scalping)
The only thing that multiplies when you share it is knowledge.
Inspired by Sudhir Sharma Sir
www.youtube.com
MFI + EMA3/VWMA21 + Sweep Buy/SellIn the buying order when EMA 3 cut to VWMA 21 and then there is a bottom scan that EMA 3 is still on VWMA 21, selling is the opposite
EMA flow trend buy AnhDuong🎯 1. Indicator Purpose
This indicator combines:
BUY/SELL signals based on crossovers between EMA and LWMA (with some noise filtering).
A multi-timeframe dashboard (M1 → H4) showing trend direction using EMA34 and EMA89.
📈 2. Crossover Signal Logic
BUY signal occurs when:
text
Sao chép
Chỉnh sửa
EMA89 < EMA34 (Bullish crossover)
LWMA45 > EMA34 (Price is rising above the fast EMA)
LWMA45 < EMA89 (Price hasn't broken the long EMA yet)
➡️ Meaning: A bullish move is forming (early stage) → potential entry point.
SELL signal occurs when:
text
Sao chép
Chỉnh sửa
EMA89 > EMA34 (Bearish crossover)
LWMA45 < EMA34 (Price is below the fast EMA)
LWMA45 > EMA89 (Price hasn't broken the long EMA downward)
➡️ Meaning: A bearish move is forming → possible short setup.
📊 3. Multi-Timeframe Dashboard
This dashboard shows trend direction using EMA34 vs EMA89:
UP: EMA34 > EMA89 → uptrend
DOWN: EMA34 < EMA89 → downtrend
Example:
makefile
Sao chép
Chỉnh sửa
DASHBOARD (EMA34/89)
M1: DOWN
M5: DOWN
M15: UP
H1: UP
H4: UP
🟢 Recommended strategy:
BUY when most timeframes show UP
SELL when most timeframes show DOWN
Avoid trades if the trend is mixed (e.g., M1 says UP but H1 says DOWN)
📌 4. Suggested Strategy
For Scalping (e.g., on M5):
Ensure that H1 and H4 are aligned with your direction.
Wait for a BUY/SELL signal on M5.
Check the Dashboard to confirm higher-timeframe trend agreement.
⚠️ 5. Important Notes
Don’t rely solely on BUY/SELL signals — always confirm with the Dashboard.
Consider adding RSI, Bollinger Bands, or SMC levels to improve filtering.
Avoid trading during choppy or sideways conditions — frequent EMA crossovers = many false signals.
Range Filter StrategyThe Range Filter Strategy, based on @DonovanWall Range Filter indicator, is a trend-following trading system designed for TradingView. It identifies price trends by filtering market noise using a dynamic range based on user-defined metrics.
Functionality
Core Mechanism: The strategy calculates a central filter line (filt) with upper (h_band) and lower (l_band) bands, determined by price range and smoothing parameters, to detect trend direction.
Trend Signals:
Uptrend: Initiates a long entry when the filter line rises (filt > filt ).
Downtrend: Initiates a short entry when the filter line falls (filt < filt ).
Range Calculation: The range size is configurable using metrics such as ATR, Standard Deviation, or Percentage of Price, scaled by a user-defined quantity (rng_qty).
Smoothing: Optional EMA-based smoothing (smooth_range) refines the range to reduce false signals.
Entry/Exit Rules:
Entries: Long or short positions are opened when the trend direction changes.
Exits: Stop-loss and take-profit levels are set using the filter range, scaled by multipliers (sl_multiplier, tp_multiplier).
Position Sizing: Risks a fixed percentage of equity (default 1%) per trade, calculated based on stop-loss distance.
Commission: Incorporates trading costs (default 0.1% per trade), adjustable to match broker fees.
Key Features
Inputs:
Filter Type: Select between Type 1 (basic range filter) or Type 2 (step-based filter).
Movement Source: Choose wicks (high/low) or close prices.
Range Scale: Options include Pips, Points, Ticks, % of Price, ATR, Average Change, or Standard Deviation.
Smoothing: Enable/disable range smoothing and set period.
Risk Management: Configure risk per trade, stop-loss, and take-profit multipliers.
Visuals: Plots the filter line (green for uptrend, red for downtrend) and bands (transparent green/red). Fills between bands enhance visibility.
Output: Provides trend signals (fdir) for external use.
Usage Instructions
Setup: Apply to any chart (e.g., forex, stocks, crypto) and timeframe. Adjust inputs such as rng_qty, rng_per, sl_multiplier, and tp_multiplier to optimize for specific markets.
Trading: Enter long positions on green filter line uptrends and short positions on red filter line downtrends. Exits are automated via stop-loss and take-profit.
Backtesting: Use TradingView's strategy tester to evaluate performance and refine parameters for profitability.
Commission: Set commission_value to align with your broker’s fees for accurate net profit calculations.
Disclaimer
The Range Filter Strategy is provided for educational and informational purposes only and does not constitute financial advice. Trading carries significant risks, including potential loss of capital, and is not suitable for all investors. Past performance is not indicative of future results. Users are solely responsible for their trading decisions and should conduct thorough backtesting and validation on TradingView before deploying real capital. Adjust parameters and commission settings to reflect your broker and market conditions. Consult a qualified financial advisor prior to trading. The developers and associated parties are not liable for any losses incurred.
Market Sleep ZonesHey traders 👋
This script shows when the market is in a "sleeping" or low volatility phase. I call it Market Sleep Zones 😴
It looks at the average price movement over a window (default 20 bars), and if the price changes are small (under a % threshold you set), it highlights that area on the chart with a soft green background.
💡 This can help spot moments when the market is quiet — maybe before a breakout or just moving sideways.
It also places labels to mark where these zones start and end, so it's easy to track.
You can change:
The window size (how many bars to look back)
The breath depth (how much price is allowed to move before it’s "not sleeping" anymore)
Not perfect, but helpful if you want to avoid getting chopped in low-volatility zones or want to prepare for when the market "wakes up" 😄
Let me know if you find it useful or have ideas to improve it!
Global M2 Money Supply (USD)Global M2 Money Supply from multiple markets, with days-offset option, defaulted to 107-day shift. Credit to miguelfinance and dylanleclair, on which this script is built on
Pi Cycle Bitcoin BottomThe Pi Cycle Bottom is an on-chain indicator designed to pinpoint Bitcoin market cycle lows. It uses two moving averages: the 471-day Simple Moving Average (SMA) and 150 times the 350-day Exponential Moving Average (EMA). Historically, when these two lines cross, it has accurately signaled the bottom of major Bitcoin bear markets — often within just a few days.
Core Idea: It measures extreme downside market exhaustion by combining price and time factors to highlight periods of maximum capitulation.
Important: Like any indicator, it’s not a guarantee — just a tool. Strong historical performance, but no promises for the future.
LinReg Candles with 15min & 3min Signal Arrows (2x Confirmed)If the most recent 15-minute closed LinReg candle is red and the latest 3-minute closed candle (on a 3-minute chart) is red, then a Sell signal (red arrow) is generated for the next 3-minute candle.
📅 Candle Highlight: Weekly / Monthly / Yearly Open📝 Description:
This minimalist indicator highlights the exact candles where a new week, month, or year begins.
No lines, no labels — just subtle background coloring directly on the candles, making it easy to spot period transitions without cluttering the chart.
⚙️ Features:
✅ Highlights weekly open candles (green)
✅ Highlights monthly open candles (orange)
✅ Highlights yearly open candles (red)
✅ Clean and non-intrusive design
✅ Fully customizable toggles for each type
Perfect for traders using time-based strategies, liquidity timing, or weekly/monthly open reference points.
IST Time Zone Marker For Indian Forex Traders
IST time-based indicator to:
✅ Show a green arrow at 12:00 PM IST (6:30 AM UTC)
✅ Show a red arrow at 12:00 AM IST (6:30 PM UTC)
✅ Shade background from 12:00 AM to 12:00 PM IST
✅ Blue arrow at 6:00 PM IST (12:30 PM UTC)