المؤشرات والاستراتيجيات
Candle Points (Based on High/Low)Places a dot on the candle at the 25% 50% and 75% mark.
Candle body opacity needs to reduced to see the dots when then are within the candle body.
Gold AI RSI Monitor [Stacked + KNN]Here is a comprehensive description and user guide for the Gold AI RSI Monitor. You can copy and paste this into the "Description" field if you publish the script on TradingView, or save it for your own reference.
Gold AI RSI Monitor
🚀 Overview
The Gold AI RSI Monitor is a next-generation dashboard designed specifically for trading volatile assets like Gold (XAUUSD). It completely reimagines the traditional RSI by "stacking" 10 different timeframes (from 1-minute to Monthly) into a single, vertical view.
Integrated into this dashboard is a K-Nearest Neighbors (KNN) Machine Learning algorithm. This AI analyzes historical price action to find patterns similar to the current market and predicts the next likely move with a confidence score.
📊 Visual Guide: How to Read the Chart
1. The "Stacked" Lanes Instead of switching timeframes constantly, this indicator displays them all at once using vertical offsets.
Bottom Lane (0-100): 1-Minute RSI
Middle Lanes: 5m, 15m, 30m, 1H, 2H, 4H, Daily
Top Lane (900-1000): Monthly RSI
2. Gradient Color System The RSI lines change color based on momentum strength:
🔴 Red: Oversold / Bearish (Approaching 30 or lower)
🟡 Yellow: Neutral (Around 50)
🟢 Green: Overbought / Bullish (Approaching 70 or higher)
3. Tracker Lines Each timeframe has a dotted horizontal line extending to the right. This allows you to instantly see the exact RSI value for every timeframe without squinting.
🤖 The AI Engine (KNN)
The "AI" component uses a K-Nearest Neighbors algorithm.
Learning: It scans the last 1,000 bars of history.
Matching: It finds the 5 historical moments that look mathematically identical to the current market conditions (based on RSI and Volatility).
Predicting: It checks if price went UP or DOWN after those historical matches.
The Signals:
Buying Signal: If the majority of historical matches resulted in a price increase, the AI triggers a BUY.
Selling Signal: If the majority resulted in a drop, the AI triggers a SELL.
🎯 How to Trade with This Indicator
1. The "Crosshair" Signal
When the AI detects a high-probability setup, a massive Crosshair appears on your chart:
Green Crosshair: Strong BUY signal.
Red Crosshair: Strong SELL signal.
Note: The crosshair consists of a thick vertical line and a dashed horizontal line intersecting at the signal candle.
2. Timeframe Alignment (Confluence)
Do not rely on the AI alone. Look at the stacked RSIs:
Strong Long: The AI shows a Green Crosshair AND the lower timeframes (1m, 5m, 15m) are all turning Green/upward.
Strong Short: The AI shows a Red Crosshair AND the lower timeframes are turning Red/downward.
3. Support & Resistance Zones
Bottom Dotted Line (30): Support. If RSI hits this and turns up, it's a buying opportunity.
Top Dotted Line (70): Resistance. If RSI hits this and turns down, it's a selling opportunity.
⚙️ Settings Guide
RSI Length: Default is 14. Lower (e.g., 7) makes it faster/choppier; higher (e.g., 21) makes it smoother.
Enable AI Signals: Toggles the KNN calculation on/off.
Neighbors (K): How many historical matches to check. Default is 5.
Increase to 9-10 for fewer, more conservative signals.
Decrease to 3 for faster, more aggressive signals.
AI Timeframe: CRITICAL SETTING.
If left empty, the AI calculates based on your current chart.
Recommendation: For Gold scalping, set this to 15m or 1h. This ensures the AI looks at the bigger trend even if you are zooming in on the 1-minute chart.
⚠️ Disclaimer
This tool is for educational and analytical purposes. The "AI" is a statistical probability algorithm based on past performance, which is not indicative of future results. Always manage your risk.
Vegas & DSLVegas & DSL is a trend identification indicator that combines a trend moving average structure with Dynamic State Logic (DSL). Based on the classic Vegas channel, it uses EMA13, EMA21, EMA144, and EMA169 to depict the short-to-medium-term and medium-to-long-term trend framework of the market. It also introduces high and low bands based on HMA (Hull Moving Average) to determine the strength or weakness of prices within a certain period.
The core of the indicator is the DSL state machine system: by detecting when the price continuously stays above the high or low band across several candlesticks, it generates a stable bullish or bearish state. When a bullish state is established, the system marks LP (low point support), representing sustained price strength; when a bearish state is established, it marks HP (high point resistance), reflecting the dominant downward trend. Because the states are "persistent," they do not frequently reverse due to short-term disturbances, making the trend signals smoother and more reliable.
Vegas Structure is responsible for depicting trend channels, while DSL is responsible for trend confirmation. The combination of the two can capture the start of a trend and filter out noise, making it a trend tracking and structure positioning tool suitable for both short-term and long-term trading.
Humontre - One signal - One direction - No noiseClean trend-following band
Delivers one high-conviction entry per trend change
Zero repaint · Minimal lag
Best performance observed on 4H and higher timeframes
Works on all markets (crypto · forex · indices)
Use at own risk.
Institutional Moving Averages (50/100/200)A streamlined Moving Average suite designed for institutional-style trend analysis. This indicator plots the three most critical trend baselines used by traders and funds:
50 MA (Blue): Short-term trend and momentum.
100 MA (Orange): Medium-term support/resistance.
200 MA (Purple): Long-term trend definition (Bull/Bear line).
Features:
Fully Customizable: Switch between SMA, EMA, WMA, RMA, or HMA.
Clean Visuals: Optimized colors for dark and light themes.
Native Performance: Uses standard TradingView plotting for maximum speed and compatibility with the "Style" tab visibility settings.
BTC Price Prediction Model [Global PMI]🇨🇳 中文说明 (Chinese Version)
1. 简介
本指标由 GW Capital 使用 Gemini Vibe Coding 技术制作。利用先进的 AI 编程能力,将复杂的宏观经济模型重构为可执行的交易工具。
2. 致谢
特别感谢模型原作者 Marty Kendall。他对这一算法的研究奠定了基础,揭示了比特币价格与宏观经济因素之间的深层联系。
3. 模型原理与公式
该模型基于四大宏观经济支柱计算比特币的“公允价值”。它假设比特币的价格是全球流动性、网络安全性、风险偏好和经济周期的函数。
模型公式
$$\ln(BTC) = \alpha + (1 + \beta \cdot PMI_{z}) \times $$
全球流动性 (M2): 美、中、欧、日四大经济体的 M2 总量(折算为美元)。代表可流入资产的法币资金池。
网络安全性 (Hashrate): 比特币全网算力,代表网络的物理安全性和实用价值。
风险偏好 (S&P 500): 作为全球风险情绪的代理指标。
经济周期 (PMI Z-Score): 美国制造业 PMI 用于根据商业周期(扩张 vs 收缩)来放大或抑制估值。
4. 指标用法
指标会在图表上绘制 公允价值 (白线) 以及基于统计偏差 (Z-Score) 的四条情绪带。
情绪区间
🚨 极度贪婪 (红色区域): 价格 > +0.3 标准差。历史上通常预示市场顶部或情绪过热。
⚠️ 一般贪婪 (橙色区域): 价格 > +0.15 标准差。多头动能强劲,但需谨慎。
⚖️ 公允价值 (白线): 基于宏观数据的理论“正确”价格。
😨 一般恐惧 (青色区域): 价格 < -0.15 标准差。进入低估区域。
💎 极度恐惧 (绿色区域): 价格 < -0.3 标准差。历史上通常是代际级别的买入机会。
情绪评分 (0-100)
100: 极度贪婪 (顶部)
50: 公允价值
0: 极度恐惧 (底部)
5. 使用建议
周期: 仅限日线 (1D) 或周线 (1W)。
原因: 底层数据源(M2, PMI)是月度更新的。标普500和算力是日度更新的。在日内图表(如15分钟、1小时、4小时)上使用此指标没有任何意义,因为基本面数据不会变化得那么快。
长期视角: 这是一个宏观周期指标,旨在识别数月甚至数年的周期顶部和底部,而非用于日内交易。
6. 免责声明
本指标仅供教育和参考使用,不构成任何财务建议。该模型依赖于历史相关性,未来可能不再适用。所有交易均涉及风险。GW Capital 及制作者不对任何交易损失承担责任。
🇺🇸 English Guide (英文说明)
1. Introduction
This indicator was created by GW Capital using Gemini Vibe Coding technology. It leverages advanced AI coding capabilities to reconstruct complex macroeconomic models into actionable trading tools.
2. Credits
Special thanks to the original model author, Marty Kendall. His research into the correlation between Bitcoin's price and macroeconomic factors lays the foundation for this algorithm.
3. Model Principles & Formula
This model calculates the "Fair Value" of Bitcoin based on four key macroeconomic pillars. It assumes that Bitcoin's price is a function of Global Liquidity, Network Security, Risk Appetite, and the Economic Cycle.
The Formula
$$\ln(BTC) = \alpha + (1 + \beta \cdot PMI_{z}) \times $$
Global Liquidity (M2): Sum of M2 supply from US, China, Eurozone, and Japan (converted to USD). Represents the pool of fiat money available to flow into assets.
Network Security (Hashrate): Bitcoin's hashrate, representing the physical security and utility of the network.
Risk Appetite (S&P 500): Used as a proxy for global risk sentiment.
Economic Cycle (PMI Z-Score): US Manufacturing PMI is used to amplify or dampen the valuation based on where we are in the business cycle (Expansion vs. Contraction).
4. How to Use
The indicator plots the Fair Value (White Line) and four sentiment bands based on statistical deviation (Z-Score).
Sentiment Zones
🚨 Extreme Greed (Red Zone): Price > +0.3 StdDev. Historically indicates a market top or overheated sentiment.
⚠️ Greed (Orange Zone): Price > +0.15 StdDev. Bullish momentum is strong but caution is advised.
⚖️ Fair Value (White Line): The theoretical "correct" price based on macro data.
😨 Fear (Teal Zone): Price < -0.15 StdDev. Undervalued territory.
💎 Extreme Fear (Green Zone): Price < -0.3 StdDev. Historically a generational buying opportunity.
Sentiment Score (0-100)
100: Maximum Greed (Top)
50: Fair Value
0: Maximum Fear (Bottom)
5. Usage Recommendations
Timeframe: Daily (1D) or Weekly (1W) ONLY.
Reason: The underlying data sources (M2, PMI) are updated monthly. The S&P 500 and Hashrate are daily. Using this indicator on intraday charts (e.g., 15m, 1h, 4h) adds no value because the fundamental data does not change that fast.
Long-Term View: This is a macro-cycle indicator designed for identifying cycle tops and bottoms over months and years, not for day trading.
6. Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. The model relies on historical correlations which may not hold true in the future. All trading involves risk. GW Capital and the creators assume no responsibility for any trading losses.
S&P 500 Scalper Pro [Trend + MACD] 5 minfor scalping 5 min S&P on 5 min chart put SL on 20 min ma and take 2:1 risk
Stochastic Signalbuy and sell indicator for slow stochastic, basic indicator to show buy and sell position based on slow stochastic 3 minute time frame.
Fixed Dollar Risk Lines V2*This is a small update to the original concept that adds greater customization of the visual elements of the script. Since some folks have liked the original I figured I'd put this out there.*
Fixed Dollar Risk Lines is a utility indicator that converts a user-defined dollar risk into price distance and plots risk lines above and below the current price for popular futures contracts. It helps you place stops or entries at a consistent dollar risk per trade, regardless of the market’s tick value or tick size.
What it does:
-You choose a dollar amount to risk (e.g., $100) and a futures contract (ES, NQ, GC, YM, RTY, PL, SI, CL, BTC).
The script automatically:
-Looks up the contract’s tick value and tick size
-Converts your dollar risk into number of ticks
-Converts ticks into price distance
Plots:
-Long Risk line below current price
-Short Risk line above current price
-Optional labels show exact price levels and an information table summarizes your settings.
Key features
-Consistent dollar risk across instruments
-Supports major futures contracts with built‑in tick values and sizes
-Toggle Long and Short risk lines independently
-Customizable line width and colors (lines and labels)
-Right‑axis price level display for quick reading
-Compact info table with contract, risk, and computed prices
Typical use
-Long setups: use the green line as a stop level below entry to match your chosen dollar risk.
-Short setups: use the red line as a stop level above entry to match your chosen dollar risk.
-Quickly compare how the same dollar risk translates to distance on different contracts.
Inputs
-Risk Amount (USD)
-Futures Contract (ES, NQ, GC, YM, RTY, PL, SI, CL, BTC)
-Show Long/Short lines (toggles)
-Line Width
-Colors for lines and labels
Notes
-Designed for futures symbols that match the listed contracts’ tick specs. If your symbol has different tick value/size than the defaults, results will differ.
-Intended for educational/informational use; not financial advice.
-This tool streamlines risk placement so you can focus on execution while keeping dollar risk consistent across markets.
Market Internals Dashboard: Trend, Breadth, Volume PressureOverview
The Market Internals Dashboard Pro is a professional-grade toolkit modeled after what prop firms and institutional desks use to understand real intraday market conditions.
Instead of relying solely on price, this indicator analyzes three critical internal forces:
USI:TICK : Microstructure buying/selling pressure
USI:ADD : Market breadth participation (advancers vs decliners proxy)
USI:VOLD : Volume pressure (buying vs selling volume)
These internals determine whether the market is:
Trending or ranging
Bullish or bearish
Likely to follow through or mean-revert
Favoring continuation trades or fade setups
The script also produces a Market Environment Score (–3 to +3) and a real-time Trade Recommendation Table that updates every bar. This helps answer the single most important question in intraday trading: “What type of trades should I be taking right now given current market conditions?”
1. TICK Proxy: Microstructure Pressure
Measures buying vs. selling aggressiveness across the market This proxy simulates the NYSE TICK index by evaluating whether bars close above or below the prior bar.
Positive TICK → Buyers lifting offers
Negative TICK → Sellers hitting bids
Neutral TICK → No microstructure conviction
Why it matters:
Strong TICK is often the earliest sign of:
Trend initiation
Algorithmic buy/sell programs
Shifts in short‑term sentiment
Weak or choppy TICK often signals:
Range conditions
Failed breakouts
Low‑quality trend attempts
2. ADD Proxy: Market Breadth Strength
Shows how many stocks are participating in a move Because real USI:ADD data isn't available for all users, this script uses a self-contained breadth approximation built from:
Price slope
Volatility expansion
Volume‑weighted directional pressure
Why it matters? Breadth reveals whether the move is:
Broad and healthy → likely to continue
Narrow and weak → vulnerable to reversal
Strong trends require strong breadth. Weak breadth often precedes:
Failed breakouts
Reversal setups
Chop (ewww)
3. VOLD Proxy: Volume Pressure
The most important internal of all. This proxy measures whether trading volume is flowing into up bars or down bars.
Positive VOLD → Net buying pressure
Negative VOLD → Net selling pressure
Why it matters:
VOLD is considered the "truth serum" of the tape:
Strong VOLD drives trend days
Negative VOLD kills long setups
Mixed VOLD creates chop
You should rarely trend trade against VOLD.
4. Market Environment Score (–3 to +3)
The Environment Score combines the three internals into a single view:
|| Score || Interpretation || Market Type ||
| +3 | Strong Bull | Trend Day (Long) |
| +2 | Bull | Pullback Buys / Breakout Continuation |
| +1 | Mild Bull | Conservative Long Scalps |
| 0 | Neutral | CHOP – VWAP Reversions / Fades |
| -1 | Mild Bear | Short Failed Breakouts |
| -2 | Bear | Trend Shorts / Breakdown Continuation |
| -3 | Strong Bear | Trend Day (Short) |
Why it matters:
The market behaves differently depending on internal alignment. This score prevents traders from:
Forcing trend trades on chop days
Chasing breakouts when breadth is weak
Fading strong directional days
It tells you in real time whether conditions favor:
Trend following
Mean reversion
Breakout continuation
Liquidity grabs
Or sitting out
5. Trade Recommendation Engine
Based on the Environment Score, the indicator outputs a real-time playbook recommending which trade types have the highest probability of success right now.
Examples:
Score = 0 (Neutral)
VWAP Reversions
Liquidity Grabs
Failed Breakouts
Quick Scalps
Score = +2/+3 (Strong Bull)
Pullback Buys
Breakout Continuation
Trend Longs
Score = -2/-3 (Strong Bear)
Pullback Shorts
Breakdown Continuation
Trend Shorts Only
This turns the internals into a trade selection engine, not just a data display.
Why Market Internals Matter
Most indicators look only at price, but price is the result, not the cause.
Market internals show:
Where volume is flowing
Whether buying is aggressive or passive
How many stocks are participating
Whether algorithms are supporting or fighting the move
This dashboard helps traders:
Avoid chop
Stay out of low‑quality setups
Time entries with institutional flows
Improve win rate by trading the right setups at the right times
Final Notes
Works on any symbol or timeframe
Fully customizable colors
Two clean visual tables: Internals + Trade Playbook
Ideal for futures, ETFs, and options day traders
If you enjoy this tool, please like, comment, or follow. More enhancements are coming.
Trade smart.
Algo ۞ Halo 7MAs WonderA complete trend following and important MA crossing tool.
The indicator is self-explanatory. You decide where you want the triggers to go.
Enjoy!
The Biz (ADX/DI/RSI Revised)This is an indicator that will help you trade the GEX, showing when price is trending hard, or about to reverse, and will guide you in picking direction and bias. (INDICATOR SLIGHTLY LAGS)
RSI Golden & Dead Cross AlertRSI 14 Golden And Dead Cross Indicator
It will give you an alert when there are rsi golden and dead cross.
It is a intergated signal: Crossing up and Crossing down of RSI.
BTC / XAU Calculator/Hesaplayıcı
USER GUIDE
BTC/XAU Calculator is a table-based indicator that displays Bitcoin price, Gold price (XAU/USD), and the BTC/XAU ratio simultaneously. It pulls real-time market data and calculates values based on your manual inputs.
⸻
Features
• Automatically fetches live BTCUSD and XAUUSD prices.
• Supports two-way manual calculations:
• BTC price → Ratio calculation
• Ratio → BTC price calculation
• Clear table layout showing Market vs Calculated values.
• Compatible with Binance, OANDA, and all brokers.
⸻
1. Settings
Gold Price (XAU/USD)
• When “Use live XAU price” is enabled, the indicator uses real-time XAU/USD.
• If disabled, you can enter your own gold price manually.
⸻
2. Calculation Modes
A) Calculate BTC from Ratio
BTC = Ratio × Gold price
Example:
XAU = 4200
Ratio = 19.08
→ BTC = 4200 × 19.08 = 80,136 USD
⸻
B) Calculate Ratio from BTC
Ratio = BTC price ÷ Gold price
Example:
BTC = 90,000
XAU = 4250
→ Ratio = 90,000 / 4,250 = 21.18
3. Suggested Uses
• Evaluate BTC as cheap/expensive relative to gold
• BTC target projections based on gold
• Macro hedge and correlation analysis
• BTC/XAU ratio-based scenario modeling
⸻
Notes
• This indicator does not generate trading signals.
• It is intended for numerical comparison and scenario building only.
Source: The design and calculation logic of this indicator were created in collaboration with OpenAI’s ChatGPT model.
Pure FVG [Textbook]1. The Core Concept
This is not a standard "show all gaps" indicator. It is a specific entry signal generator based on Smart Money Concepts (SMC).
It focuses on Consequent Encroachment (The 50% Level). The underlying principle is that a Fair Value Gap (FVG) represents a market inefficiency where opposing traders are trapped. When price retraces at least 50% back into this gap, it creates pressure as these trapped positions look to exit—either through stop-losses or position reversal. This makes the gap most likely to act as a reversal zone.
2. How It Works (The Lifecycle)
The indicator logic follows a strict sequence of events. A signal is generated only if all conditions are met in order:
-- Phase 1: Identification (The Fresh Gap)
The script scans for the classic 3-candle FVG pattern (where the 1st and 3rd candles do not overlap).
Visual: It draws a box (Green for Bullish, Red for Bearish) extending to the right.
The 50% Line: A dashed line is drawn through the center of the gap.
-- Phase 2: Mitigation (The Gray Zone)
This is the critical filter. The indicator waits for a candle to CLOSE past the 50% dashed line.
Once this happens, the gap is considered "Deeply Mitigated."
Visual: The box changes color to Gray. This tells the trader: "Price is deep in the zone, watch for a reaction."
-- Phase 3: The Signal (Rejection)
Once the box is Gray, the script watches for a "Rejection Candle."
Bullish Scenario: Price is deep in the gap (Gray). The script waits for a candle to close higher than it opened (a green candle).
Bearish Scenario: Price is deep in the gap (Gray). The script waits for a candle to close lower than it opened (a red candle).
Visual: A Triangle Label (▲ or ▼) appears, signaling an entry.
-- Phase 4: Invalidation
If the price closes completely past the far edge of the box (the Stop Loss level), the box is deleted immediately.
3. Key Options
These are the most important settings for the user:
-- Min Gap Size (%):
Filters out "noise." It ensures the script ignores tiny, insignificant gaps that are less than X% in height.
-- Max Visible Gaps:
Keeps your chart clean. It limits how many open boxes can be on the screen at once (e.g., only show the last 3 unclosed gaps).
-- Show Signal History Only:
Feature Highlight: When enabled, this hides all the "noise" of open or failed gaps. It only draws the boxes that successfully produced a Rejection Signal in the past.
MACD Ultimate MTF [Radisa] MACD Ultimate MTF - Enhanced MACD with Beautiful Fills
Based on the legendary CM_MacD_Ult_MTF by ChrisMoody - upgraded to Pine Script v5 with beautiful gradient fills and an informative dashboard.
🎯 FEATURES:
- Multi-timeframe support (MTF) - view higher timeframe MACD on any chart
- Beautiful fill between MACD & Signal line
- 4-color histogram (strong/weak bull & bear)
- Smooth lines on current timeframe (no stepping)
- Cross signals with dot markers
- Real-time info dashboard
- Fully customizable colors
📊 SIGNALS:
- 🟢 Bullish Cross: MACD crosses above Signal
- 🔴 Bearish Cross: MACD crosses below Signal
- Histogram color intensity shows momentum strength
📈 HISTOGRAM COLORS:
- Bright Green: Above zero + rising (strong bullish)
- Dark Green: Above zero + falling (weakening bullish)
- Bright Red: Below zero + falling (strong bearish)
- Dark Red: Below zero + rising (weakening bearish)
⚙️ SETTINGS:
- Fast/Slow/Signal Length (default: 12/26/9)
- Use current or custom timeframe
- Toggle MACD line, Signal line, Histogram
- Toggle fills and color changes
- Customizable colors for all elements
💡 DASHBOARD SHOWS:
- MACD value with colored background
- Signal value
- Histogram value
- Trend direction (Bullish/Bearish)
- Momentum strength (Strong/Fading)
- Current timeframe
Perfect for trend-following strategies. Combine with RSI or Supertrend for confirmation.
Works on Crypto, Forex, Stocks - all timeframes.
Diganta Trend MTF 10 MIn / 2 MinThe Script does the following :
Buy Condition - Blue Dot gets plotted
1. On both 10 mins and 2 Mins TF
2. Close above 33 ema high
3. RSI > 55
4. +di > -Di & +di > 25
Sell Conditions - Red Dot gets plotted
1. On both 10 mins and 2 Mins TF
2. Close below 33 ema low
3. RSI < 45
4. -di > +Di & -di > 25
US Sessions - New Age 🚀 US SESSIONS - NEW AGE
Finally. A session indicator that doesn't look like it was made in 2005.
Welcome to the New Age. 🔮
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
Visualizes US market sessions with NEON style backgrounds:
🌙 Premarket (04:00-09:30 NY) — Bright Green
🔔 US Open (09:30-11:30 NY) — Cyan
🍔 Lunch Break (11:30-13:30 NY) — Silver
📈 Afternoon (13:30-15:30 NY) — Red
🌃 After Hours (15:30-20:00 NY) — Orange
All times are automatically synced to New York timezone (EST/EDT).
No more manual calculations. No more confusion. Just works.™
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⭐ BONUS: ORB BOX (Opening Range Breakout)
This is the secret weapon. 🔥
The indicator automatically draws a NEON GLOWING box around the first 15 minutes of trading (9:30-9:45 NY). This is the Opening Range — one of the most powerful concepts in day trading.
📦 HOW THE ORB BOX WORKS:
- Box shows the HIGH and LOW of the first 15-minute candle
- Box extends from 9:45 until 15:30 (end of regular session)
- 🔵 CYAN GLOW = Price is ABOVE the ORB → Bullish bias
- 🔴 RED GLOW = Price is BELOW the ORB → Bearish bias
The color changes LIVE as price moves. Instant visual feedback!
Why does this matter?
→ 70%+ of the time, price will break and HOLD one side of the ORB
→ The direction of the first breakout often defines the trend for the day
→ Use it as dynamic support/resistance
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
🕐 SESSION TIMES
→ Toggle each session ON/OFF with one click
→ All sessions enabled by default
📦 ORB BOX
→ Show/Hide the Opening Range Box
→ Enable/Disable the Neon Glow effect
→ Hover over settings for detailed info
🏷️ LABELS
→ Size: tiny, small, normal, large, huge
→ Height: Distance above candles (ATR based)
→ Transparency: 0% (solid) → 80% (subtle)
📊 DASHBOARD
→ Live NY time display
→ Shows active session
→ Market status indicator
→ Moveable to any corner
🎨 NEON COLORS
→ Fully customizable
→ Default: Cyan/Red theme
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS
- 🌙 Premarket Start
- 🔔 US Market Open
- 🌃 After Hours Start
Never miss a session change again.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 PRO TIPS
1. Use ORB breakouts as entry signals
2. Avoid trading during Lunch (low volume = choppy)
3. Best moves happen at US Open and Afternoon
4. Premarket shows overnight sentiment
5. Combine with your favorite strategy
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Because good trading deserves good design. ✨
Made with 🔥 by R4D1
Part of the NEW AGE indicator collection.
Buffett Quality Filter (TTM)//@version=6
indicator("Buffett Quality Filter (TTM)", overlay = true, max_labels_count = 500)
// 1. Get financial data (TTM / FY / FQ)
// EPS (TTM) for P/E
eps = request.financial(syminfo.tickerid, "EARNINGS_PER_SHARE_BASIC", "TTM")
// Profitability & moat (annual stats)
roe = request.financial(syminfo.tickerid, "RETURN_ON_EQUITY", "FY")
roic = request.financial(syminfo.tickerid, "RETURN_ON_INVESTED_CAPITAL", "FY")
// Margins (TTM – rolling 12 months)
grossMargin = request.financial(syminfo.tickerid, "GROSS_MARGIN", "TTM")
netMargin = request.financial(syminfo.tickerid, "NET_MARGIN", "TTM")
// Balance sheet safety (quarterly)
deRatio = request.financial(syminfo.tickerid, "DEBT_TO_EQUITY", "FQ")
currentRat = request.financial(syminfo.tickerid, "CURRENT_RATIO", "FQ")
// Growth (1-year change, TTM)
epsGrowth1Y = request.financial(syminfo.tickerid, "EARNINGS_PER_SHARE_BASIC_ONE_YEAR_GROWTH", "TTM")
revGrowth1Y = request.financial(syminfo.tickerid, "REVENUE_ONE_YEAR_GROWTH", "TTM")
// Free cash flow (TTM) and shares to build FCF per share for P/FCF
fcf = request.financial(syminfo.tickerid, "FREE_CASH_FLOW", "TTM")
sharesOut = request.financial(syminfo.tickerid, "TOTAL_SHARES_OUTSTANDING", "FQ")
fcfPerShare = (not na(fcf) and not na(sharesOut) and sharesOut != 0) ? fcf / sharesOut : na
// 2. Valuation ratios from price
pe = (not na(eps) and eps != 0) ? close / eps : na
pFcf = (not na(fcfPerShare) and fcfPerShare > 0) ? close / fcfPerShare : na
// 3. Thresholds (Buffett-style, adjustable)
minROE = input.float(15.0, "Min ROE %")
minROIC = input.float(12.0, "Min ROIC %")
minGM = input.float(30.0, "Min Gross Margin %")
minNM = input.float(8.0, "Min Net Margin %")
maxDE = input.float(0.7, "Max Debt / Equity")
minCurr = input.float(1.3, "Min Current Ratio")
minEPSG = input.float(8.0, "Min EPS Growth 1Y %")
minREVG = input.float(5.0, "Min Revenue Growth 1Y %")
maxPE = input.float(20.0, "Max P/E")
maxPFCF = input.float(20.0, "Max P/FCF")
// 4. Individual conditions
cROE = not na(roe) and roe > minROE
cROIC = not na(roic) and roic > minROIC
cGM = not na(grossMargin) and grossMargin > minGM
cNM = not na(netMargin) and netMargin > minNM
cDE = not na(deRatio) and deRatio < maxDE
cCurr = not na(currentRat) and currentRat > minCurr
cEPSG = not na(epsGrowth1Y) and epsGrowth1Y > minEPSG
cREVG = not na(revGrowth1Y) and revGrowth1Y > minREVG
cPE = not na(pe) and pe < maxPE
cPFCF = not na(pFcf) and pFcf < maxPFCF
// 5. Composite “Buffett Score” (0–10) – keep it on ONE line to avoid line-continuation errors
score = (cROE ? 1 : 0) + (cROIC ? 1 : 0) + (cGM ? 1 : 0) + (cNM ? 1 : 0) + (cDE ? 1 : 0) + (cCurr ? 1 : 0) + (cEPSG ? 1 : 0) + (cREVG ? 1 : 0) + (cPE ? 1 : 0) + (cPFCF ? 1 : 0)
// Strictness
minScoreForPass = input.int(7, "Min score to pass (0–10)", minval = 1, maxval = 10)
passes = score >= minScoreForPass
// 6. Visuals
bgcolor(passes ? color.new(color.green, 80) : na)
plot(score, "Buffett Score (0–10)", color = color.new(color.blue, 0))
// Info label on last bar
var label infoLabel = na
if barstate.islast
if not na(infoLabel)
label.delete(infoLabel)
infoText = str.format(
"Buffett score: {0} ROE: {1,number,#.0}% | ROIC: {2,number,#.0}% GM: {3,number,#.0}% | NM: {4,number,#.0}% P/E: {5,number,#.0} | P/FCF: {6,number,#.0} D/E: {7,number,#.00} | Curr: {8,number,#.00}",
score, roe, roic, grossMargin, netMargin, pe, pFcf, deRatio, currentRat)
infoLabel := label.new(bar_index, high, infoText,
style = label.style_label_right,
color = color.new(color.black, 0),
textcolor = color.white,
size = size.small)
GCM MACD based Range OscillatorGCM MACD based Range Oscillator (MRO)
Introduction
The GCM MACD based Range Oscillator (MRO) is a hybrid technical indicator that combines the momentum-tracking capabilities of the classic MACD (Moving Average Convergence Divergence) with a custom Range Oscillator.
The core problem this script solves is normalization. Usually, Range Oscillators and MACD Histograms operate on vastly different scales, making it impossible to overlay them accurately. This script dynamically scales the Range Oscillator to fit within the recent amplitude of the MACD Histogram, allowing traders to visualize volatility and momentum on a single, unified interface.
How It Works (The Math)
1. MACD Calculation: The script calculates a standard MACD (Fast MA - Slow MA) and its Signal line to derive the MACD Histogram.
2. Weighted Range Oscillator: Instead of a simple RSI or Stochastic, this script uses a volatility-based calculation. It compares the current Close to a Weighted Moving Average (derived from price deltas).
3. Dynamic Fitting: The script looks back 100 bars to find the maximum amplitude of the MACD Histogram. It then normalizes the Range Oscillator values to match this amplitude.
4. Bands & Coloring:
o Slope Coloring: Both the MACD and the Oscillator change color based on their slope. Green indicates rising values (bullish pressure), and Red indicates falling values (bearish pressure).
o Fixed Bands: Horizontal bands are placed at +0.75 and -0.75 relative to the scaled data to act as Overbought and Oversold zones, with a yellow-tinted background for visibility.
How to Use This Indicator
• Trend Confirmation: When both the MACD line and the Range Oscillator are green, the trend is strongly bullish. When both are red, the trend is bearish.
• Contraction & Expansion: The yellow zone (between -0.75 and +0.75) represents the "equilibrium" or ranging area. Breakouts above the Upper Band (+0.75) usually signal strong expansion or overbought conditions, while drops below the Lower Band (-0.75) signal oversold conditions.
• The "Fill" Gap: The space between the Range Oscillator line and the MACD line is filled. A widening gap between these two metrics can indicate a divergence between pure price action (Range) and momentum (MACD).
• High/Low Marks: Small markers are plotted on the most recent 3 candles to show the exact High and Low oscillation points for short-term entries.
Settings Included
• Range Length & Multiplier: Adjust the sensitivity of the Range Oscillator.
• MACD Inputs: Customizable Fast, Slow, and Signal lengths, with options for SMA or EMA types.
• Visuals: Fully customizable colors for Rising/Falling trends, band opacity, and line thickness.
How this follows House Rules
1. Originality:
o Rule: You cannot simply upload a generic MACD.
o Compliance: This is not a standard MACD. It is a complex script that performs mathematical normalization to fit two different indicator types onto one scale. The "Dynamic Fitting" logic makes it unique.
2. Description Quality:
o Rule: You must explain the math and how to read the signals.
o Compliance: The description above details the "Weighted MA logic" and the "Dynamic Fitting" process. It avoids saying "Buy when Green" (which is low effort) and instead explains why it turns green (slope analysis).
3. Visuals:
o Rule: Plots must be clear and not cluttered.
o Compliance: The script uses overlay=false (separate pane). The specific colors you requested (#37ff0c, #ff0014, and the Yellow tint) are high-contrast and distinct, making the chart easy to read.
4. No "Holy Grail" Claims:
o Rule: Do not promise guaranteed profits.
o Compliance: The description uses terms like "Trend Confirmation" and "Signal," avoiding words like "Guaranteed," "Win-rate," or "No Repaint."
Industry Group Strength (Custom ETFs)This script is a modified version of the 'Industry Group Strength' indicator. It enhances the 'Investment Trusts/Mutual Funds' category by incorporating a curated list of key Sector and Thematic ETFs (e.g., SMH, XBI, BLOK) for top-down market analysis. This allows traders to track broad sector rotation while retaining the original functionality of ranking individual stocks within their specific industries based on Relative Strength.
Gold-to-GDX Flow Ratio (Metal vs Miners)# 📊 Indicator: Gold/GDX Flow Ratio (Metal vs Miners)
🔎 What it does
This indicator tracks the **relative flow of capital between gold and gold miners (GDX ETF)**. By plotting the ratio of gold price to GDX, it shows whether investors are favoring the **metal itself** or the **equities that mine it**.
- **Ratio rising:** Flow favors gold (metal > miners).
- **Ratio falling:** Flow favors miners (miners > metal).
- **Crossovers:** Fast/slow EMA crossovers highlight regime shifts.
- **Z‑score bands:** ±2 standard deviations flag stretched conditions, often precursors to mean reversion.
⚙️ Features
- **Customizable inputs:** Choose spot gold (`XAUUSD`) or futures (`GC1!`), and GDX ETF.
- **Moving averages:** Fast and slow EMAs to define flow regimes.
- **Z‑score overlay:** Detects extremes in the ratio.
- **Alerts:** Triggered on regime flips or exhaustion signals.
- **Prompt flow option:** Displays the current ratio as a clear on‑screen figure for quick read.
🎭 Why it matters
- **Gold vs miners divergence:** Miners often amplify moves in gold, but sometimes decouple. This ratio helps spot those divergences early.
- **Flow diagnostics:** Instead of vague “profit taking” narratives, you see where capital is actually rotating.
- **Tactical entries:** Use resistance/stop‑cluster maps in gold together with this ratio to time miner trades more effectively.
🧭 How to use
1. Add the indicator to your chart.
2. Watch the **ratio trend**: rising = metal strength, falling = miner strength.
3. Use **EMA crossovers** as regime signals.
4. Treat **Z‑score extremes** as caution zones for stretched flows.
5. Combine with your VWAP and resistance overlays for execution discipline.






















