RS Proxy Suite (Sector-Weighted) - by kuokkuokIndicator Description
RS Proxy Suite (Sector-Weighted) is a Pine Script indicator for TradingView, designed for stock traders to calculate a stock's Relative Strength (RS) proxy score. This indicator simulates a market proxy universe by weighting multiple sector ETFs, evaluating a stock's strength relative to a benchmark like the SPX. Inspired by the M.E.T.S. (Multiple Edge Trading Strategy) system, it helps users identify market-leading stocks, potential breakout opportunities, and low-risk entry points.
Key Features and Benefits:
RS Proxy Rating (1–99 Score): Computes the stock's RS score (higher is stronger), aiding in screening super-strong stocks. A score above 80 indicates the stock outperforms most peers, making it a prime buy candidate.
RS Line and Blue Dot Divergence: Displays the RS line trend and marks RS-leading new high divergences. This acts like an "early warning light," signaling potential low-risk entries (e.g., when RS hits a new high but price hasn't caught up yet).
Sector-Weighted Design: Integrates Growth, Cyclical, Defensive, and Policy ETFs to simulate a comprehensive market environment. Weights are adjustable for flexibility across market phases.
Dashboard Display: A concise panel shows RS Rating, RS Trend, and Blue Dot status for quick decision-making.
Application Scenarios: Ideal for technical analysts to screen leaders, spot trend reversals, or confirm breakouts with VCP patterns (Volatility Contraction Patterns). Its strength lies in avoiding single-index bias for more stable RS assessments.
This indicator avoids subjective judgments, relying on quantitative momentum calculations to help traders "go with the flow" and reduce false breakout risks. Shared for community use—feedback welcome for improvements.
User Manual -
This manual guides you on installing and using the RS Proxy Suite (Sector-Weighted) indicator on TradingView. It's suited for daily or weekly charts, applicable to US stocks or markets correlated with SPX. Ensure your TradingView account supports Pine Script v6.
1. Installation Steps
Step 1: Log in to TradingView and open the Chart page.
Step 2: Click the "Indicators" button in the top toolbar, search for "RS Proxy Suite (Sector-Weighted)" (or paste the Pine Script code into the Pine Editor and add it).
Step 3: If installing from the Community Scripts library, click "Add to Chart"; for custom code, save and add to the chart.
Step 4: The indicator will appear below the chart (overlay=false). Confirm no error messages.
2. Parameter Adjustment Guide
The indicator offers multiple input parameters in TradingView's "Settings" panel. Defaults are optimized, but adjust based on market conditions. Here's a grouped breakdown:
Data Source:
Market Index SPX: Default "SP:SPX", changeable to other indices (e.g., "TVC:NDX").
Calculation Price: Default close (closing price), switch to high/low/open for sensitivity tweaks.
RS Momentum Periods (Adjustable):
Short Term (Default 63 days): Short-term momentum; larger values smooth it out.
Medium Term (Default 126 days): Mid-term momentum.
Long Term (Default 252 days): Long-term momentum for capturing major trends.
Momentum Weights:
Short Term Weight: Default 0.4, emphasizes recent performance.
Medium Term Weight: Default 0.2.
Long Term Weight: Default 0.4. Sum doesn't need to be 1; system normalizes automatically.
Sector Weights: Each ETF weight is independently adjustable (step 0.1). Defaults reflect sector importance, e.g., higher for growth ETFs.
XLK Weight (Technology): Default 1.5.
SOXX Weight (Semiconductors): Default 1.3.
XLY Weight (Consumer Discretionary): Default 1.2.
XLC Weight (Communication Services): Default 1.1.
XLG Weight (Large Cap Growth): Default 1.3.
XLI Weight (Industrials): Default 1.0.
XLF Weight (Financials): Default 1.0.
XLB Weight (Materials): Default 0.9.
XLE Weight (Energy): Default 0.9.
XLV Weight (Health Care): Default 0.8.
XLP Weight (Consumer Staples): Default 0.8.
XLU Weight (Utilities): Default 0.7.
XLRE Weight (Real Estate): Default 0.7.
PPA Weight (Aerospace & Defense): Default 0.9.
Adjustment Tips: Boost XLK/SOXX for tech-favorable markets; increase XLV/XLP for defensive phases.
Visualization Settings:
Show RS Line: Displays RS line (black) and 50-day MA (gray).
Show Blue Dot Divergence (Blue Dot): Marks divergence signals.
Show Dashboard: Enables the dashboard.
Dashboard Position: Choose locations like "Bottom Right".
3. Output Interpretation
RS Line: Black line shows stock strength vs. SPX; upward trend means outperforming. Gray line is 50-day MA—breaking above signals strength.
Blue Dot: Blue circle appears for RS leading price new highs (like a "coiled spring"), indicating potential low-risk entries. Confirm with: RS > 50-day MA and volume surge.
Dashboard:
RS Rating: Score 1–99; green (>80) for strong, yellow (50–80) neutral, red (<50) weak.
RS Trend: Green "Strong" or red "Weak".
Blue Dot: Blue "Present" or red "None".
Interpretation Analogy: RS Rating is like a stock's "health score"—above 80 is an "athlete" worth tracking for breakouts; Blue Dot is a "green light," but pair with volume to confirm true breakouts (avoid fakes).
4. Usage Examples
Screening Leaders: Add to AAPL chart—if RS Rating > 85 and Blue Dot appears, check if price nears VCP pivot; this is a low-risk buy setup.
Trend Judgment: Rising RS line with M.E.T.S. Stage 2 (uptrend) confirms trend-following trades.
Weight Tweaks: For defensive markets, raise XLV/XLU weights and recalculate RS Proxy.
5. Common Issues and Warnings
Q: Indicator not showing? A: Verify ETF symbols (e.g., AMEX:XLK) or switch timeframes.
Q: Inaccurate scores? A: Adjust periods/weights and backtest on historical data.
Q: Avoiding false breakouts? A: Combine with volume and support/resistance; Blue Dot is a alert, not a buy signal.
Warnings: Based on historical data; markets are volatile—use with other tools. Results are for reference only, not investment advice. Test in a demo account.
インジケーターとストラテジー
Median Anchor Oscillator [ALPHA]ALPHA – Median Anchor Oscillator
A clean, outlier-resistant z-score oscillator built around a rolling median (not mean) and Median Absolute Deviation (MAD) instead of standard deviation.
Key features:
- Green/red histogram shows deviation strength from the median anchor
- Dashed lines at ± threshold (default 2.5 – adjustable)
- Optional purple fill for extreme zones
- Auto-scales perfectly (no price squish on BTC or high-value assets)
Ideal for mean-reversion traders spotting overextension or "gravity" pullbacks.
SHORT = breaching top dashed line (red)
LONG = breaching bottom dashed line (green)
Use with a MACD or RSI for those divergence signal confirmations.
This is ALPHA – early version, still tuning.
Companion overlay suite (medians, pivot, signals, RSI overlay) coming in future, possible standalone update(s).
Feedback / suggestions very welcome!
Tags: z-score, median, oscillator, mean-reversion, BTC, crypto, deviation
ApexTrend Lite
ApexTrend Lite is a directional trend band indicator designed to show market structure, trend direction, and volatility in a simple visual form.
The indicator plots a single adaptive band that changes position based on trend conditions. In bullish markets, the band appears below price. In bearish markets, the band appears above price. During sideways or low-strength conditions, the band compresses near the trend average.
The band automatically expands when volatility and trend strength increase and contracts when conditions weaken. Color intensity reflects trend strength, helping distinguish strong trends from weak or choppy periods.
The band is anchored to candle extremes, ensuring it hugs price without gaps and accurately represents market structure. ApexTrend Lite does not repaint and works across all asset classes, including equities, indices, and commodities.
This is the Lite version focused on clean visual trend context
orb by codeUltimate Opening Range Break (ORB) Tool
Shows the future NY and ASIA sessions with a countdown timer.
Toggle past sessions, future session markers, midlines, countdown boxes, and all labels for the opening range breakout.
Takes the high, low, midline of the 15 min candle 1 hour into the sessions.
Customize every color element — including fills, highs, lows, and midlines for both NY and Asia sessions.
Built for traders who want a clean, flexible, and powerful ORB workflow.
20MA_Touch_LongCandle//@version=5
indicator("MA20 Touch + Big Bull Candle (Daily)", overlay=true)
// --- Inputs
maLen = input.int(20, "MA Length", minval=1)
avgLen = input.int(20, "Avg Body Lookback", minval=5)
bigMult = input.float(2.0, "Big Candle Multiplier", step=0.1)
touchMode = input.string("Touch (low <= MA)", "MA Touch Mode", options= )
nearPct = input.float(0.3, "Near % (if Near mode)", step=0.1) // 0.3% default
// --- MA
ma20 = ta.sma(close, maLen)
plot(ma20, "MA20", linewidth=2)
// --- Candle metrics
body = math.abs(close - open)
avgBody = ta.sma(body, avgLen)
// --- Conditions
isBull = close > open
isBig = body >= avgBody * bigMult
touchCond = switch touchMode
"Touch (low <= MA)" => low <= ma20 and high >= ma20 // '찍었다' 느낌(통과 포함)
=> math.abs(close - ma20) / ma20 * 100 <= nearPct
signal = isBull and isBig and touchCond
// --- Plot
plotshape(signal, title="Signal", style=shape.labelup, text="MA20 BIG", location=location.belowbar, size=size.tiny)
// --- Alert
alertcondition(signal, title="MA20 Touch + Big Bull", message="MA20 Touch + Big Bull Candle detected on {{ticker}} (Daily)")
MACDHLAdapted from Mohamed3nan. Added 1H MACD logic. Background colors indicate momentum shifts: Red for bearish (Red Histogram peaking) and Green for bullish (Green Histogram bottoming). Buy/Sell signals are triggered by Center Line breakouts or rejections. The Center Line serves as a dynamic Support and Resistance (S/R) for short-term trading.
TGA Real Historialen Based on the Publish script window on your screen, here is a concise description in English that you can use for your indicator:
"This indicator displays the historical balance of the U.S. Treasury General Account (TGA). Data is dynamically loaded from an external CSV file hosted on GitHub to ensure the history is automatically kept up to date."
clirings//@version=5
indicator("Range Marker ", overlay=true)
// Функция для проверки времени на вхождение в диапазон с 23:50 до 10:00 (ночной клиринг)
isNightTime = (hour >= 23 and minute >= 50) or (hour < 9)
// Функция для проверки времени на вхождение в диапазон с 18:50 до 19:05 (вечерний клиринг)
isEveningClearing = (hour == 18 and minute >= 50) or (hour == 19 and minute <= 5)
// Функция для проверки времени на вхождение в диапазона с 14:00 до 14:05 (дневной клиринг)
isDayClearing = (hour == 14 and minute <= 5)
// Фоновый цвет для ночного времени (23:50–09:00)
bgcolor(isNightTime ? color.new(color.blue, 80) : na, title="Night Session")
// Фоновый цвет для вечернего клиринга (18:50–19:05)
bgcolor(isEveningClearing ? color.new(color.red, 80) : na, title="Evening Clearing")
// Фоновый цвет для дневного клиринга (14:00–14:05)
bgcolor(isDayClearing ? color.new(color.orange, 80) : na, title="Day Clearing")
Golden Cross
This indicator is designed to identify major trend reversals and entry points using a Triple Exponential Moving Average (EMA) system. It simplifies trend analysis by visually plotting three key moving averages and highlighting crossover points with distinct markers.
How it Works: This script plots three specific EMAs to track short, medium, and long-term market sentiment:
Short-Term Momentum (20 EMA): Captures immediate price action and potential pullbacks.
Medium-Term Trend (50 EMA): Acts as the primary signal line for swing trading.
Long-Term Baseline (200 EMA): Defines the overall market health (Bullish vs. Bearish territory).
Visual Guide & Colors:
💛 Yellow Line (20 EMA): The fastest moving average.
💚 Green Line (50 EMA): The medium trend line.
💙 Blue Line (200 EMA): The major trend filter.
Trading Signals: The indicator automatically plots an "X" on the chart whenever a significant crossover occurs:
Short-Term Cross (Yellow/Green "X"):
Occurs when the 20 EMA crosses the 50 EMA.
Useful for identifying early entry points or adding to positions within an existing trend.
The Golden Cross (Green/Blue "X"):
Occurs when the 50 EMA crosses the 200 EMA.
Bullish Signal: 50 EMA crosses above the 200 EMA. This is the classic "Golden Cross," often signaling the start of a long-term bull market.
Bearish Signal: 50 EMA crosses below the 200 EMA. This is the "Death Cross," often signaling the start of a long-term bear market.
Best Use:
Timeframe: Highly recommended for the Daily (1D) chart to reduce noise and capture significant market moves.
Markets: Works well on Stocks, Crypto, and Forex pairs that trend strongly.
Disclaimer: This tool is for educational purposes and trend visualization. Always use proper risk management and confirm signals with other indicators (such as Volume or RSI).
30-Candle Look-Back MarkerA simple dotted line that marks 30 candles back of historical data. On the 4 HR timeframe this equals a weeks worth of trading history.
Risk & Reward Position PlannerDescription
This script is a trade architecture tool designed to help traders calculate position sizes and visualize risk-reward ratios dynamically on the chart. It focuses on functional precision and clean aesthetics, offering two distinct visual styles: "Cyber" for modern high-tech charts and "Classic" for a traditional look.
Key Features
Interactive Setup: Upon adding the script or resetting, it prompts you to click directly on the chart to set your Entry and Stop Loss levels.
Dynamic Position Sizing: Calculates the total risk in currency (USD) based on your custom unit size.
Multi-Target Planning: Visualizes four customizable Take Profit targets based on specific RR ratios.
Cyber UI Aesthetics: Full control over colors, neon glow effects, and horizontal alignment to fit any chart layout.
Comprehensive Data: Displays price, percentage distance, currency risk, and RR ratios at a single glance.
User Guide (How to use)
To ensure the most efficient workflow, here are the essential steps for operating the tool:
Setting a New Trade (Resetting)
If you change your symbol or want to plan a completely new trade, you can clear the current setup and trigger the interactive selection again:
Right-click on the indicator in the chart OR click the three dots (...) next to the indicator name in the legend.
Select "Reset Points".
The indicator will prompt you to click two new points on the chart: first for the Entry, then for the Stop Loss.
Moving Entry and Stop Loss
Move the mouse over the line of the Entry or the StopLoss and grab the grip of the line to move it up or down. Drop it to the price you want to set.
SMC Rebalance to Equilibrium + ATR/ADX (Release)Markets spend more time rebalancing than trending. After an impulsive move, price naturally seeks fair value (equilibrium / mean / VWAP / 50%) where buyers and sellers agree again.
This makes rebalance trades higher win-rate and lower risk compared to continuation or breakout strategies.
Examples from real market behaviour:
- Gold futures (GC) rebalance very frequently because gold is heavily mean-reverted by institutions and hedgers. Roughly 60–70% of intraday moves show some form of rebalance.
- Nasdaq (NQ) is momentum-dominant, but even then 45–55% of intraday extensions rebalance, especially outside NY Open.
- FCPO is strongly controlled and rotational, with 70–80% of moves showing rebalance behaviour, especially outside aggressive news flows.
What each candle label means in this indicator
This indicator labels ATR state per candle to read market intent:
E (Expansion) - Volatility increasing. Aggressive participation. Used to drive price, not to rebalance.
S (Strong) - Sustained momentum. Trend still active.
D (Decreasing) - Volatility contracting. Acceptance forming. This is the core condition for rebalance.
W (Weak) represents very low momentum and temporary hesitation. W means the market is unsure.
Indicator features explained
This indicator is designed to be simple, objective, and rule-based:
Candle labels show real-time ATR state (E / S / D / W)
Strong rebalance condition is highlighted when D-D-D forms
Filters avoid signals during ADX expansion
Designed specifically for SMC rebalance to equilibrium, not continuation
Alerts trigger only when valid rebalance conditions appear, helping traders avoid over-trading and impulsive entries
Why D-D-D is very important?
Three consecutive D candles (D-D-D) mean:
- Volatility has contracted for multiple closes
- Chasers are gone
- Order flow is absorbed
- Market accepts current price as unfair
This is the strongest condition for price to return to equilibrium and sometimes continue further to MRH / MRL instead of stopping at 50%.
Important: One or two D candles are not enough. D-D-D confirms acceptance, not just a pause
Why NOT to trade rebalance when ADX is expanding
ADX expansion means trend strength is increasing. When ADX is expanding:
- Decreasing ATR often means reload, not reversal
- Price is being delivered, not balanced
- Rebalance attempts usually fail
This indicator filters out rebalance signals when ADX shows expansion because trend strength overrides balance logic.
Why price can rebalance without taking liquidity
A liquidity sweep is not required for rebalance.
Rebalance happens because acceptance changes, not because stops are hunted.
Price returns to equilibrium when:
- Momentum fades
- Volatility contracts
- Participation drops
- Passive orders dominate
Liquidity sweeps only make the move faster, not necessary. This is why rebalances commonly happen in Asian session, late US session, and mid-range conditions without any obvious stop-run.
Best time to trade rebalance (US & Malaysia time)
Rebalance works best when liquidity is stable or decaying, not expanding.
Best for Gold (GC)
- US Late Session: 11:30 pm – 2:00 am MYT
- Asian Morning: 7:00 am – 11:00 am MYT
Best for Nasdaq (NQ)
- US Late Session only: 11:30 pm – 1:30 am MYT
Avoid for all markets
- NY Open impulse: 8:30 pm – 10:30 pm MYT
This is delivery time, not balance time.
Core idea to remember
Rebalance trading is not about predicting reversals. It is about waiting for acceptance.
Liquidity makes moves fast. Acceptance makes moves possible. This indicator exists to help you trade what markets do most of the time — rebalance back to fair value — with discipline and structure
Toby Crabel's HisVolAs in Linda Raschke's Street smarts..... . This indicator shows the signals of Toby Crabel's Historical Volatility 6/100 strategy. The strategy assumes, that volatility contraction measured by two measures would give better results.
There is one other script that is a strategy , but it assumes that the signal requires both inside bar and narrowest range, what is not as in Linda Raschke's.
The strategy and what does the script do:
1) measures short-term unannualized volatility (by default six), long term uannualized volatility (by default 100), and measures the ratio of short volatility / long volatility.
2) checks if the current bar is an inside bar or has narrowest range out of last X bar (by default 4), or both,
3) puts an etiquette if short volatility / long volatility is equal to or smaller than 0,5 AND the day is inside bar, has narrowest range, or both.
Next day both buy-stop and sell-stop should be set. Buy-stop at the high and sell-stop at the low of the bar with etiquette.
This is by no means any financial advice, nor the historical results guarantee future gain.
Stop lossHi all!
This simple indicator will alert you when a price limit is reached (stop loss). I've created this indicator out of 2 reasons:
1. My broker only lets me to set a stop loss limit until a certain time. The time is a couple of months forward in time, but with a Tradingview plan that lets you set open-ended alerts this can alert you later than that.
2. I would like a stop loss on closing price only. This will not get you stopped out by a wick, but needing a 'close' price to be equal or below (for long trades) or equal or above (for short trades).
So this indicator will alert you when your stop to is hit and exit with a 'runtime.error' on the tick after the alert. It won't give you any good looking visuals, just a red line of your chosen stop loss price. Set it in the settings or click '...'->'Reset points...' and drag the line to your desired limit price. Also choose if your trade direction is long or short and if the bar that enters below/above your stop loss needs to be closed.
Note that there's a limitation depending on your style of trading (short term or long term) and if your Tradingview subscription provides live data or not. Also this will only alert you, not buy (for short trades) or sell (for long trades) your contracts when the stop loss is hit.
Best of trading luck!
Winners Scalper Pro - Bull/Bear (v1.5)best settings all standart but only change rsi
15 min rsi 8-9
30 min rsi 12-14
FVG for Backtesting3-Candle Trend + FVG (15m) – v6
This indicator identifies three consecutive bullish or bearish candles on the 15-minute timeframe and highlights Fair Value Gaps (FVG) in the middle candle.
It displays:
Boxes marking the FVG zones
Labels showing “FVG”
Triangle signals for long (bullish) and short (bearish) setups
Fully compatible with Pine Script v6, it serves as a visual tool for spotting trend setups and potential trading opportunities.
Weekly Moving Averages (MAs) to Intraday ChartUpdated EMAs to SMAs
Updated SMA lengths to standard lengths.
INDICADOR PRO🧪 How to Use It Effectively (Forex & Crypto)
✔️ Ideal for:
EURUSD, GBPUSD, USDJPY
BTC, ETH (best during London + New York sessions)
✔️ Recommended:
Disable the Asia session for crypto if the market is noisy
Backtest for at least 3–6 months
Use PDH/PDL as a strong filter
EMA 9/15 AI Buy Sell Signal (KEWME)This strategy is primarily a Trend Following and Scalping strategy. It relies on the crossover of two Exponential Moving Averages (EMA) to identify short-term momentum shifts. The "AI" or "KEWME" part usually refers to the filtering logic added to standard EMAs to reduce false signals during choppy (sideways) markets.
1. Core Components
Fast EMA (Period 9): This tracks the most recent price data very closely. It reacts quickly to price changes.
Slow EMA (Period 15): This acts as the baseline or immediate support/resistance level. It reacts slower than the 9 EMA.
2. Buy Signal Logic (Long Entry)
A Buy signal is generated when the short-term momentum shifts upwards.
Crossover Condition: The EMA 9 (Fast) must cross ABOVE the EMA 15 (Slow).
Candle Confirmation: The candle causing the crossover should ideally close green (bullish) and above both EMA lines.
AI/Filter Logic:
Slope Check: The "AI" logic checks if the slope of the EMA 15 is pointing up. If the lines are flat (horizontal), the signal is often ignored to avoid sideways markets.
Volume: There should be higher than average volume during the crossover to confirm the strength of the move.
Trader's Action: Enter a Buy position immediately after the candle closes.
3. Sell Signal Logic (Short Entry)
A Sell signal is generated when the short-term momentum shifts downwards.
Crossunder Condition: The EMA 9 (Fast) must cross BELOW the EMA 15 (Slow).
Candle Confirmation: The candle causing the crossover should ideally close red (bearish) and below both EMA lines.
AI/Filter Logic:
Slope Check: The "AI" logic checks if the slope of the EMA 15 is pointing down.
Volume: Selling pressure (volume) should be visible.
Trader's Action: Enter a Sell position immediately after the candle closes.
4. The "AI" filtering (Why it is different from basic EMA)
Standard EMA crossovers often fail in "Choppy Markets" (when price moves up and down within a small range), causing losses. The KEWME/AI version usually adds these extra rules:
Range Filter: If the distance between EMA 9 and EMA 15 is very small (the lines are hugging each other), the AI suppresses the signal. It waits for the lines to "fan out" or separate.
Trend Alignment: It might check a higher timeframe (like 200 EMA). If the price is above the 200 EMA, it might only show Buy signals and hide Sell signals (Trend Filtering).
5. Exit Strategy (Stop Loss & Target)
Stop Loss (SL):
For Buy: Just below the recent Swing Low or below the EMA 15.
For Sell: Just above the recent Swing High or above the EMA 15.
Take Profit (TP): usually taken when the EMAs cross back in the opposite direction, or at a 1:1.5 Risk-Reward ratio.
MACD Signals with Impulse ScoresCustom indicator to generat buy sell signals. optimized for 5min NQ during RTH
SOFT V2PV_Pivot _Validation FAST_SLOWSOFT V2PV is a market structure indicator based on confirmed price pivots, combining two independent detection engines:
• FAST engine: early detection (more signals, lower reliability)
• SLOW engine: delayed detection (fewer signals, higher reliability)
• CONFIRMED signals: validated when FAST and SLOW agree within a confirmation window
Main features:
- Pivot labels marking structural turning points
- Validation labels displayed on the confirmation candle (not on the pivot bar)
- Configurable vertical stacking for FAST / SLOW / CONFIRMED labels
- Reliability score table (LOW / MED / HIGH)
- Built-in TradingView alerts (FAST, SLOW, CONFIRMED, ANY signal)
Signal interpretation:
LOW (FAST) → aggressive / early signal
MED (SLOW) → more reliable structural signal
HIGH (CONFIRMED) → high-probability setup (FAST + SLOW)
The indicator is designed for intraday and swing trading.
It works on all markets: indices, forex, crypto, commodities, and metals.
⚠️ Important notes:
- Pivot points are confirmed only after a defined number of bars (ZigZag-like logic).
- Signals are plotted only after confirmation.
- No intentional repainting: once a signal is displayed, it does not move or disappear.
Support/Resistance & EMA Crossovers with AlertsPublic Script for Support/Resistance & EMA Crossovers with Alerts






















