Sector Momentum Dashboard (Pure 3M / 6M / 12M)Script Description (Simple + Accurate)
This script builds a sector‑momentum dashboard that ranks major U.S. sector ETFs based on their pure trailing performance over a selected lookback period. Instead of using academic momentum windows like 3‑1M or 12‑1M, it measures straight returns over the past 3, 6, or 12 months, using daily closing prices.
The script:
Pulls daily price data for 11 sector ETFs (XLK, XLC, XLI, XLF, XLB, XLV, XLU, XLY, XLE, XLP, XLRE)
Calculates each ETF’s return over the chosen lookback window:
3M = 63 trading days
6M = 126 trading days
12M = 252 trading days
Sorts the ETFs from strongest momentum to weakest
Displays the ranked list in a compact table on the chart
Highlights:
Top 3 sectors in green
Bottom 3 sectors in red
The intention is to give traders a quick, visual snapshot of sector leadership, making it easier to:
Identify which sectors are outperforming
Spot rotation trends
Build or adjust a sector‑rotation strategy
Compare relative strength across the market
It’s designed to be simple, fast, and reliable — ideal for anyone who wants a clean momentum‑based view of the U.S. sector landscape.
指标和策略
CVD Complete Volume Analysis ProCVD Complete Volume Analysis Pro | Order Flow & Absorption
Introduction:
In the world of modern trading, Price is the advertisement, but Volume is the fuel. However, standard volume indicators on TradingView are often insufficient. They tell you how much was traded, but they don’t tell you how it was traded.
Was that large volume spike aggressive buying driving the trend? or was it a "buying frenzy" hitting a wall of passive limit orders (absorption)?
The CVD Complete Volume Analysis Pro (v5) is an advanced institutional-grade Order Flow engine. By utilizing 1-second intrabar data, this indicator reconstructs the "Tick Rule" to separate Aggressive (Market) orders from Passive (Limit) orders. It calculates Cumulative Volume Delta (CVD), detects Absorption/Distribution anomalies, and utilizes an embedded Logistic Regression model to predict daily directional bias.
This is not just an indicator; it is a complete Order Flow Dashboard designed to aid and support complex footprint charts for the everyday trader.
🏗️ How It Works: The "Micro-Structure" Engine
Most volume indicators on TradingView look at the close of a 1-minute or 5-minute bar to guess the volume direction. This script goes deeper.
1. The 1-Second Granularity
Using TradingView's request.security_lower_tf capability, this script pulls 1-second resolution data regardless of the chart timeframe you are on.
It analyzes the price movement every second.
It applies the "Tick Rule": If price moves up, volume is classified as Buy. If price moves down, volume is classified as Sell.
This allows for a highly accurate reconstruction of Buying vs. Selling pressure that standard indicators miss.
2. The "Cluster" Concept
The script aggregates these 1-second data points into Clusters.
Default: 60 seconds (1 minute) per cluster.
This creates a normalized "Heartbeat" of the market, allowing us to compare the efficiency of volume over fixed time windows, removing the noise of time-based chart distortions.
3. The "Passive" Detection Logic (The Core Feature)
This is the most powerful aspect of the tool. It calculates the relationship between Effort (CVD) and Result (Price Move).
The Baseline: The script calculates a rolling statistical baseline (Standard Deviation) of how much price should move for a given amount of Delta.
Absorption (Hidden Buying): If we see massive Aggressive Selling (Negative CVD) but price refuses to drop (or drops significantly less than the statistical model predicts), the script identifies this as Passive Buying.
Distribution (Hidden Selling): If we see massive Aggressive Buying (Positive CVD) but price refuses to rise, the script identifies this as Passive Selling.
📊 The Dashboard Breakdown
The on-screen dashboard is your command center. It updates in real-time to provide a snapshot of the market's internal mechanics.
Section 1: Flow Analysis
This section analyzes the current session's behavior.
Flow Type: Categorizes the market state using algorithmic logic.
Aggressive Buying/Selling: The market is trending, and aggressive participants are winning.
Strong Accumulation/Distribution: A reversal signal. Aggressive participants are trapped, and passive whales are absorbing order flow.
Flow vs. Price: Detects divergences instantly.
Bullish Divergence: Net Flow is Positive, but Price is down (indicates manipulation or temporary suppression).
Bearish Divergence: Net Flow is Negative, but Price is up (indicates a "trap" move).
Section 2: Volume Breakdown
A detailed ledger of the day's activity.
Aggressive Buy/Sell: Market orders executing at the ask/bid. This represents "Impatience."
Passive Buy/Sell: The estimated volume of Limit Orders absorbing the aggressive flow. This represents "Intent."
Net Flow: The mathematical sum of all buy pressure minus sell pressure.
Section 3: Net Positioning (Multi-Day)
Markets don't happen in a vacuum. This section looks back (default 5 days) to see the accumulated inventory.
Bias: Are we in a multi-day accumulation or distribution phase?
Activity Type:
High Hidden Activity: Indicates a fighting market with heavy limit orders (choppy/reversal prone).
Mostly Aggressive: Indicates a trending market with low resistance.
Section 4: Predictive Model (Machine Learning)
The script features an embedded Logistic Regression Model.
It trains on the last N days of Flow Data (CVD, Net Aggressive, Net Passive, Passive Ratios).
It outputs a Probability Score (0% to 100%) regarding the likelihood of an UP close for the current session.
Note: This is a probability model based on order flow history, not a guarantee. Use it as a bias confirmation tool.
🧠 Educational: How to Trade With This
Strategy 1: The "Absorption" Reversal
Context: Price hits a major resistance level.
Look at the Dashboard: You want to see "Flow Type" switch to "Strong Distribution".
The Logic: Price is rising, and aggressive buyers are hitting the ask. However, the script detects that for every buy order, a passive seller is absorbing it. Price stops moving up despite high volume.
The Trigger: When Price creates a lower low on the chart while the dashboard shows Distribution, this is a high-probability short entry.
Strategy 2: The Flow Divergence
Context: Price is trending down.
Look at the Dashboard: Price is making new lows, but the "Net Flow" is turning Green (Positive), or the "Cum CVD" is sloping upwards.
The Logic: This is "Effort vs. Result." Sellers are exhausted. They are pushing price down, but the net flow is shifting to buyers.
The Trigger: Enter Long on the first structure break.
Strategy 3: Trend Continuation
Context: Market is opening or breaking a range.
Look at the Dashboard: You want "Full Alignment."
Signals: "Flow Type" says Aggressive Buying, Net Flow is Positive, and the Predictive Model shows >60% Bullish Probability.
The Logic: There is no passive resistance. Aggressive buyers are pushing price up freely.
The Trigger: Buy pullbacks.
⚙️ Settings & Configuration
Cluster Size: The number of 1-second bars to group together.
Use 60 (1 min) for Scalping.
Use 300 (5 min) for Day Trading.
Average Length: The baseline for statistical calculations. Higher numbers = smoother baselines but slower adaptation.
Detection Settings:
Passive Multiplier: Adjusts the sensitivity of the absorption estimation. 1.0 is standard. Increase to 1.5 if you only want to see extreme anomalies.
Daily Tracking:
History Days: How many days of data to display in the table. Note: Due to TradingView data limits, keeping this between 3-5 days ensures the most stability.
⚠️ Important Technical Limitations
Please read this section carefully to understand the constraints of the Pine Script environment:
Data Depth (The 100k Limit): TradingView limits request.security_lower_tf to approximately 100,000 intrabars.
This means the script can typically only "see" the last 3 to 5 days of true 1-second data.
If you set History Days or Training Days too high (e.g., 20 days), the script may return 0 values for older dates because the high-resolution data simply doesn't exist on the server.
Approximation of Ticks: While 1-second data is extremely precise, it is still an aggregation. In extremely high-volatility events (like CPI releases), multiple ticks happen inside one second. The script attributes the volume of that second based on the close relative to the open/prev close. It is the best approximation possible on TradingView, but not a replacement for Level 3 Tick Data feeds.
Calculation Time: This is a heavy script. On lower-end devices or when loading on many charts simultaneously, you may experience a "Calculation took too long" warning. If this happens, reduce the History Days to 3.
🛡️ Disclaimer
No Repainting: This indicator uses strict historical referencing and does not repaint closed clusters.
Not Financial Advice: This tool provides data visualization. Order flow is a subjective art. Always manage your risk.
Author's Note:
I built this tool because I wanted the power of Order Flow footprint charts without the visual clutter. By using statistical baselines to detect passive liquidity, we can finally see the "invisible hand" of the market directly on our TradingView charts. I hope this adds value to your trading.
👍 If you find this script useful, please leave a Boost and a Comment below!
HMA SqueezeTo all kinds of squeeze/ release indicators, here is one more, arguably the simplest. Only three paramenters: (1) user inputs for three HMA timeframes, in this case 400, 450, 500. (2) number of crossovers. (3) range of bars in which the crossovers must occur.
SMC Liquidity Grab ProSMC LIquidity GRab Pro is an high probability strategy for the Smart Money Concept (SMC).
It looks for liquidity sweeps also known as stop hunts, where large financial institutions move the price beyond significant levels in order to trigger market orders and then reverse the price quickly.
Features
1. Liquidity Sweeps : It follows the previous 4 hour high/low liquidity in order to pinpoint stop runs.
2. Liquidity grab confirmation: Trade setup where price momentarily breaks through the liquidity level but then ends up again inside the range suggests that there’s been a false breakout.
3.Structure-Based Risk Management: Stop losses are placed beyond the latest swing high/low pivot, instead of basing it on a pip value.
- Live Performance Dashboard - Allows you to display real-time data such as net profit, win rate, and active trade on your chart.
-Customizable Risk-to-Reward- Traders can set risk/reward ratio as per their requirement. Default value is 2.0 RR. Graph Timeframe: This strategy is used on 5-minute or 15-minute charts.
Chart Timeframe: Apply the strategy to 5-minute or 15-minute charts.
HTF Configuration: Set the higher timeframe above your execution chart e.g., 240 minutes for 4-hours.
Fine-Tuning: Adjust the swing lookback parameter to adapt stop-loss placement according to market volatility.
7,25,50 EMA Convergence Detector It is to detect coins for conversing 3 EMAs.
As you know well, it is a good chance to take a position when the MA lines are conversing.
This is designed to detect the point.
Momentum Status Tracker by VKKScript Coder: Vivek K.
Disclaimer : Use this indicator at your own risk. Do proper back testing to make sure it works for you. I am not responsible for any losses you may have. Indicator may give false signals during consolidation state. Make sure to use other indicators for correct momentum or directional confirmations.
Bullish: Price is above the 5, 13, 20 EMAs AND the VWAP.
Bearish: Price is below the 5, 13, 20 EMAs AND the VWAP.
Cautious: This triggers when the "stack" is broken. For example, if you are in a clear uptrend but the price closes below the 5 EMA, the table will flip to Cautious to warn you of a potential slowdown.
Neutral: Used as a fallback if the price is chopping directly inside the EMA cluster.
PropKorea US10Y Monitor for NQPropKorea US10Y Monitor for NQ
Overview This indicator is specifically designed for Nasdaq (NQ) day traders and scalpers. It visualizes the real-time fluctuations of the US 10-Year Treasury Yield (US10Y), which historically has a strong Inverse Correlation with tech stocks.
By monitoring the US10Y yield in real-time, traders can gauge the macro pressure on the Nasdaq. This script features a Smart Smoothing Algorithm to filter out tick noise on lower timeframes (e.g., 1-minute chart) and uses a "Neon" visual effect to intuitively display market sentiment (Risk On/Off).
Key Features
Neon Trend Signals (Risk Gauge)
🔴 Red Zone: Yield is UP vs. Previous Close (Bearish pressure on NQ → Short Bias).
🟢 Green Zone: Yield is DOWN vs. Previous Close (Bullish pressure on NQ → Long Bias).
⚪ Gray (Neutral): Trend is reversing or consolidating (Wait or Exit signal).
Smart Smoothing (Noise Filter)
Apply a customizable Moving Average filter to ignore minor tick whipsaws on 1-minute charts.
Adjust the Smoothing Strength in settings to fit your trading style.
1:1 Candle Matching (Dot Style)
Supports "Line + Dots" style to align yield data points perfectly with NQ candles for precise timing.
Session Filter
The Neon effect activates only during the main NY Session (08:30 – 17:00 EST) to focus on high-liquidity hours.
How to Use
Add this indicator to a separate pane below your NQ chart.
Short Setup: If the background/line is Red, look for Short opportunities when NQ bounces.
Long Setup: If the background/line is Green, look for Long opportunities when NQ dips.
Caution: If the color turns Gray, the yield trend is losing momentum. Consider tightening stops or waiting.
Disclaimer This tool is for informational purposes only and does not guarantee profits. Please be aware that markets can decouple from yields during major news events (e.g., Earnings surprises).
개요 (Overview) 이 지표는 나스닥(NQ) 데이 트레이더와 스캘퍼를 위해 제작되었습니다. 기술주와 강력한 **역상관 관계(Inverse Correlation)**를 가지는 **미국 10년물 국채 금리(US10Y)**의 실시간 변동을 시각화하여 트레이딩에 도움을 줍니다.
1분봉 이하의 빠른 스캘핑 환경에서도 틱 노이즈(Noise)에 속지 않도록 스마트 스무딩(Smart Smoothing) 알고리즘이 적용되어 있으며, 네온(Neon) 효과를 통해 현재 시장의 분위기(Risk On/Off)를 직관적으로 파악할 수 있습니다.
핵심 기능 (Key Features)
네온 트렌드 신호 (Neon Trend)
🔴 레드존 (Red Zone): 전일 대비 금리 상승 중 (나스닥 하방 압력 → 매도 우위)
🟢 그린존 (Green Zone): 전일 대비 금리 하락 중 (나스닥 상방 압력 → 매수 우위)
⚪ 회색 (Gray): 추세 반전 또는 횡보 구간 (관망 또는 청산 신호)
스마트 스무딩 (노이즈 제거)
이동평균 필터를 적용하여 1분봉 차트에서의 자잘한 틱 튀김 현상을 걸러냅니다.
설정에서 노이즈 제거 강도를 조절하여 본인의 스타일에 맞게 튜닝할 수 있습니다.
1:1 캔들 매칭 (Dot Style)
"Line + Dots" 스타일을 지원하여 나스닥 캔들과 금리 데이터를 1:1로 매칭해 정확한 타점을 볼 수 있습니다.
세션 필터 (Session Filter)
유동성이 풍부한 뉴욕 본장(08:30~17:00 EST) 시간에만 네온 효과가 켜지고, 그 외 시간에는 눈의 피로를 줄이기 위해 차분한 회색으로 전환됩니다.
사용 가이드 (How to Use)
NQ 차트 하단 패널에 이 지표를 추가하십시오.
매도 진입: 배경과 선이 붉은색일 때, 나스닥이 반등하면 매도 포지션 진입을 고려합니다.
매수 진입: 배경과 선이 초록색일 때, 나스닥이 눌림목을 주면 매수 포지션 진입을 고려합니다.
주의: 선명하던 색상이 회색으로 변하면 금리 추세가 멈추거나 반전되고 있다는 신호이므로 주의가 필요합니다.
주의 사항 (Disclaimer) 본 지표는 보조 도구일 뿐이며 절대적인 수익을 보장하지 않습니다. 강력한 개별 호재(실적 발표 등)가 있는 날에는 금리와 디커플링(Decoupling) 될 수 있음을 유의하십시오.
Developed by PropKorea
Previous Highs and Lows (M, W, D) Displays previous Monthly, Weekly, and Daily key swing highs/lows with clean , timeframe-specific coloring. Essential structure reference for multi-timeframe traders!!
Your Monthly/Weekly/Daily structural backbone in one indicator!!!!
Intervalo de la confianza T.JODENStandard deviation measures how dispersed the data in a set is relative to its average (mean). A low standard deviation indicates that the data is clustered close to the mean, while a high standard deviation shows that it is widely spread, making it useful for evaluating consistency and risk (in finance).
This work provides two channels within a single indicator, making it more powerful for providing dual information.
The Confidence Interval-10 (CI-10) channel (FOMO and FUD) contains another channel representing the Standard Deviation of 14-day data (14-day SMA and 14-day VWMA).
All you have to do is adjust the last two data points to reduce the color of the channels, and you'll see the second channel appear almost magically.
Analyze the second channel within the main channel. This channel uses the 14-day Standard Deviation (STD-14), the 14-day SMA, and the 14-day VWMA.
NOTE: This is not investment or trading advice.
Users assume all risk of loss.
But if you profit from your investments using this indicator, remember that you've done well.
Crypto Options Confluence Overlay Crypto Options Confluence Overlay is a decision-first options framework designed to help crypto traders answer one core question clearly and consistently:
Should I trade CALLs, PUTs, or stand down today?
This indicator does not attempt to price options or replace Greeks. Instead, it focuses on timing, directional bias, and structured exits, using a confluence of price, volatility, momentum, and higher-timeframe context on the daily chart.
It is designed specifically for crypto options and perpetuals, where volatility is high and overstaying trades is often more dangerous than missing them.
What This Indicator Shows
1️⃣ Directional Bias (CALL / PUT / NO-TRADE)
CALL → bullish directional environment
PUT → bearish directional environment
NO-TRADE → mixed alignment (stand down)
This bias is derived from:
Mean trend alignment
Momentum structure (Stoch RSI behavior)
Volatility context (ATR + deviation bands)
Optional weekly directional filter
2️⃣ Timing Window
The indicator highlights whether a trade window is ACTIVE, BUILDING, or OFF.
ACTIVE → valid timing environment
BUILDING → momentum approaching, but not ready
OFF → no timing edge present
This prevents entering trades too early or after momentum has already passed.
3️⃣ Preferred Entry Zone (PEZ)
Shaded zones visually guide where entries are statistically cleaner, rather than chasing price.
Green PEZ → preferred CALL entry region
Red PEZ → preferred PUT entry region
These zones are informational — they help assess entry quality, not force entries.
4️⃣ Primary Exit (Early Profit Zone)
Instead of encouraging traders to hold for a full ATR move, the indicator introduces a Primary Exit, which represents a partial ATR objective.
This:
Reduces emotional decision-making
Encourages consistent profit capture
Aligns better with how options premiums often move
The Primary Exit is intentionally designed as a realistic exit, not a maximum move target.
5️⃣ ATR Target & Risk Context
For traders who want structure:
ATR Target → extended move reference
Band-based Risk Line → invalidation zone
These are context tools, not mandatory holds.
6️⃣ Confidence Score
Each trade environment is scored (e.g., 2/4, 3/4) based on alignment factors.
Higher scores indicate cleaner conditions, not guaranteed outcomes.
How to Use the Indicator (Model Trade Example)
Example: CALL Trade
Bias: CALL
Window: ACTIVE
Confidence: 3/4 or higher
Price Location: Inside or near GREEN PEZ
Entry: Near PEZ during the active window
Primary Exit: At the Primary Exit line
Optional Runner: Toward ATR target if momentum remains strong
Risk: Below the Band-1 risk line
If bias flips to NO-TRADE or PUT, the trade is considered invalid.
Example: PUT Trade
The same process applies in reverse:
Red PEZ
Downside Primary Exit
Risk above Band-1 high
What This Indicator Is — and Is Not
✔ Is
A structured decision engine
Designed for crypto options behavior
Focused on timing + exits
Effective for avoiding bad trades
✖ Is Not
A signal-only indicator
A replacement for position sizing
A guarantee of profit
A strategy that forces constant trading
Recommended Use
Daily timeframe
Liquid crypto pairs
Options or perpetual traders
Traders who value discipline over frequency
Final Note
This indicator will often say NO-TRADE — by design.
Standing down is considered a valid, successful outcome.
My Swift-like Algo ALIMOJANIDSwift Algo Chart is a trend-following trading indicator designed to provide clear bias, precise entries, and visual risk management.
It combines EMA trend direction, pullback-based signals, market structure (HH/HL/LH/LL), and ATR-based Stop Loss & Take Profit levels to help traders make disciplined decisions.
🔑 Key Features
Trend Regime Detection
Identifies LONG, SHORT, or NO TRADE conditions using Fast & Slow EMAs.
Pullback Entry Signals
Signals appear only in the direction of the active trend, with optional RSI confirmation.
ATR-Based Risk Levels
Automatically plots SL, TP1, and TP2, including exact price values on the chart.
Preview Levels
Shows projected SL/TP levels when a trend is active, even before an entry.
Market Structure Visualization
Marks HH / HL / LH / LL, draws structure lines, and highlights BOS and CHOCH.
Clean & Non-Repainting Logic
Uses confirmed pivots and closed candles for stability.
Strategy-Compatible
Can be used for discretionary trading or full strategy backtesting.
🧠 Best Used For
Crypto, Forex, Indices
15m to 4H timeframes
Traders who want structure + trend + risk clarity in one tool
Smart S&D v1.0 [Breaker Blocks]Automatically marks off supply and demand zones based on previous and consequent candles.
Previous and consequent candles can be changed.
Recommend 5:3 for 15m, or 7:5 for 10m
ATR default 1
Volume confirmation off by default but there as an option
The number on bars is the number of times price has bounced off the zone. After 3 bounces (this can be changed/personalized in settings) the zone is exhausted and removed.
If price breaks through a zone, it becomes a breaker zone, flipping supply to demand, or demand to supply. Ideal for a break and retest setup.
My Swift-like Algo J.ALIMOJANIDSwift Algo Chart — Trend, Structure & ATR Risk
Swift Algo Chart is a trend-following trading indicator designed to provide clear bias, precise entries, and visual risk management.
It combines EMA trend direction, pullback-based signals, market structure (HH/HL/LH/LL), and ATR-based Stop Loss & Take Profit levels to help traders make disciplined decisions.
🔑 Key Features
Trend Regime Detection
Identifies LONG, SHORT, or NO TRADE conditions using Fast & Slow EMAs.
Pullback Entry Signals
Signals appear only in the direction of the active trend, with optional RSI confirmation.
ATR-Based Risk Levels
Automatically plots SL, TP1, and TP2, including exact price values on the chart.
Preview Levels
Shows projected SL/TP levels when a trend is active, even before an entry.
Market Structure Visualization
Marks HH / HL / LH / LL, draws structure lines, and highlights BOS and CHOCH.
Clean & Non-Repainting Logic
Uses confirmed pivots and closed candles for stability.
Strategy-Compatible
Can be used for discretionary trading or full strategy backtesting.
🧠 Best Used For
Crypto, Forex, Indices
15m to 4H timeframes
Traders who want structure + trend + risk clarity in one tool
AlgoYields - AAlgoYields A — Everyday Overlay for Clean, Actionable Context
Please follow — more indicators & ideas coming soon!
Equipped with alerts and customizable styles, this overlay is designed for daily use: attractive look for fast reads, low noise, high signal. It blends a few trusted tools into a single, elegant view so you can track trend, momentum, and breakouts without overcrowding.
What’s inside
Trading Session Backdrop
Quarter-tinted background (distinct color per quarter) for quick macro orientation; subtle week-to-week transparency shifts; CME pre-market, regular session, and post-market shading; weekends left clear.
Includes multiple curated color palettes. Ask if you want a custom theme.
EMA Cloud
A staircase of short EMAs for trend strength + two macro EMAs (defaults: 80 & 200). Macro EMAs auto-tint: blue when price is above, orange when below.
All lengths are user-configurable.
RSI-Derived Bar Colors
Contextual bar coloring by RSI level/zone to make strength/weakness instantly visible.
Comes with multiple palettes optimized for light/dark charts.
Price Channel & Breakouts
Select band source: Close (tight), HLC3 (medium), or High/Low (widest). Breakout dots print above/below bars and are color-coded by trend context:
Green : break below lower band in an uptrend (buy-the-dip candidates).
Yellow : break above upper band in an uptrend (potential exhaustion / quick scalp).
Orange : break below lower band in a downtrend (continuation shorts).
Red : break above upper band in a downtrend (fade-the-pop entries).
Buffer values can be tuned to reduce noise or enhance reactivity
How to use it
––––––––––
Bullish Breakdowns ( green dots) — often attractive dip-buys within uptrends.
Confirm with macro-EMA slope: steeper = stronger follow-through; flatting slope = take quicker profits and watch for potential rollover.
Bullish Breakouts ( yellow dots) — be selective. If RSI confirms strength, these can be solid for quick scalps; otherwise, beware “touch-and-fade” at the upper band.
Apply the same logic in reverse for shorts:
Bearish Breakouts ( red ) and Bearish Breakdowns ( orange ) favor short entries/continuations.
Inputs worth tweaking
EMA lengths (short stack + macro 80/200 defaults).
RSI bar-color palette (pick for light/dark themes).
Channel source (Close / HLC3 / High-Low) and breakout buffer.
Session/quarter palette selection.
Alerts
Choose from built-in signals (channel breaks, EMA crosses, significant RSI levels).
Notes & best practices
Backtest breakouts per asset/timeframe to tune buffers and TP/SL targets.
Use level + slope together: RSI/EMA levels flag conditions; slope confirms impulse/continuation.
Let the EMA cloud and macro EMAs set bias; use RSI bars and breakout dots for timing.
Options Confluence Overlay - Stocks (1D) The Options Confluence Overlay — Stocks is a daily timeframe indicator designed for equities and ETFs, with a focus on timing, structure, and risk clarity rather than frequent signals.
This tool combines price structure, volatility, and momentum timing into a single visual framework that helps traders decide when to trade, when to stand aside, and where risk and exits are clearly defined.
Unlike fast-signal indicators, this script emphasizes trade quality over trade quantity.
🔍 What the indicator does
The indicator evaluates four core components on the daily chart, with an optional weekly trend filter:
• Mean + Deviation Band (Band 1) to define structure
• ATR-based targets to project realistic price expansion
• Momentum timing using Stochastic RSI (cross or approach)
• Confluence scoring to allow or block trades
Only when these elements align does the indicator permit a CALL, PUT, or display NO-TRADE.
🟩 Preferred Entry Zone (PEZ)
When a CALL or PUT is allowed, the indicator highlights a Preferred Entry Zone (PEZ):
• CALL PEZ: Mean → Lower Band
• PUT PEZ: Mean → Upper Band
This zone represents areas where risk is better defined and entries are typically more favorable.
🎯 Primary Exit (Partial ATR)
Instead of encouraging traders to chase full volatility expansion, the indicator includes a Primary Exit level:
• A configurable percentage of ATR
• Designed to capture early, high-probability movement
• Especially useful for shorter-term trades or profit protection
Full ATR targets are still shown, but the Primary Exit is intended as the first decision point, not a promise of full extension.
🧠 Entry Quality (Informational)
When enabled, the dashboard displays an Entry Quality hint:
• PEZ Deep — price is deeper into the zone (higher potential, higher patience required)
• PEZ Shallow — price is closer to the mean (faster, but less extended setups)
This is informational only and does not block trades.
🚦 Trade states
The dashboard clearly communicates one of three states:
• CALL allowed
• PUT allowed
• NO-TRADE (conditions are mixed or incomplete)
The indicator is intentionally conservative during NO-TRADE periods.
⚠️ Important notes
• Designed for stocks and ETFs, not crypto
• Intended for daily timeframe analysis
• Not financial advice
• Always combine with proper risk management
📘 Model Trade Example (CALL)
The dashboard shows CALL allowed
Price pulls back into the green PEZ
Weekly filter confirms bullish direction
Enter near the PEZ (no chasing breakouts)
Risk: below Band 1 low
Primary Exit: at the yellow Primary Exit level
Optional: hold partial size toward full ATR target if momentum remains strong
If the dashboard changes to NO-TRADE, no new entries are taken.
📕 Model Trade Example (PUT)
The dashboard shows PUT allowed
Price rallies into the red PEZ
Weekly filter confirms bearish direction
Enter near resistance inside PEZ
Risk: above Band 1 high
Primary Exit: at the yellow Primary Exit level
Avoid holding through momentum exhaustion
Angle-able Thick Linean options to get thicker/thick trendlines. personally i dont think 4 pixels is wide enough so i made this, here you go
Bullish, Bearish, & Normal RSI1. Identifying "True" Momentum (The Aqua/Fuchsia Logic)The most useful part of this script is the comparison between the three lines.Bullish Conviction (Aqua): When both the Bullish and Bearish lines are above the Normal RSI, it suggests that even on "down" candles (red candles), the price isn't losing significant ground. The overall structure is buoyant.Bearish Conviction (Fuchsia): When both are below the Normal RSI, it indicates that even when you get "up" candles (green candles), they lack the strength to lift the average momentum. The sellers are effectively "smothering" the bounces.
2. Spotting Hidden Weakness/Strength (Spread Analysis)The "Spread" (the gap between rsiBull and rsiBear) provides a unique utility:ScenarioInterpretationUtilityWide SpreadHigh volatility and indecision. Green candles are very strong, but red candles are also very weak.Avoid trend-following; wait for a "squeeze" or narrowing.Tight SpreadHigh agreement in price action. Most candles are moving in a similar direction or with similar intensity.Great for identifying stable, trending moves with low noise.Bull/Bear CrossIf the Bullish RSI crosses above the Bearish RSI significantly.Can act as an early entry signal before the Standard RSI hits the 50-midline.
3. Practical Strategy Use CasesFilter for Breakouts: If you see a price breakout but the RSI color remains Gray, the move might lack "conviction." You ideally want to see the color flip to Aqua (for long) or Fuchsia (for short) as the breakout occurs.Exhaustion Signal: If the Normal RSI is overbought ($>70$) but the rsiBull begins to dip toward the rsiNormal, it suggests that the "green candle strength" is waning even if the price is staying high—a potential warning of a reversal.Potential Drawbacks to WatchLag: Like all RSI-based indicators, this is lagging. Because you are using a 14-period lookback on three different calculations, it may take a few bars to confirm a sentiment shift.Whipsaw in Sideways Markets: In a tight range-bound market, the color may flip between Aqua and Fuchsia rapidly, creating "noise."Pro-Tip: This indicator would be most effective when used in conjunction with Volume. If you get an "Aqua" signal on rising volume, the probability of a sustained trend is significantly higher.
Multi Cycles Slope-Fit System MLMulti Cycles Predictive System : A Slope-Adaptive Ensemble
Executive Summary:
The MCPS-Slope (Multi Cycles Slope-Fit System) represents a paradigm shift from static technical analysis to adaptive, probabilistic market modeling. Unlike traditional indicators that rely on a single algorithm with fixed settings, this system deploys a "Mixture of Experts" (MoE) ensemble comprising 13 distinct cycle and trend algorithms.
Using a Gradient-Based Memory (GBM) learning engine, the system dynamically solves the "Cycle Mode" problem by real-time weighting. It aggressively curve-fits the Slope of component cycles to the Slope of the price action, rewarding algorithms that successfully predict direction while suppressing those that fail.
This is a non-repainting, adaptive oscillator designed to identify market regimes, pinpoint high-probability reversals via OB/OS logic, and visualize the aggregate consensus of advanced signal processing mathematics.
1. The Core Philosophy: Why "Slope" Matters:
In technical analysis, most traders focus on Levels (Price is above X) or Values (RSI is at 70). However, the primary driver of price action is Momentum, which is mathematically defined as the Rate of Change, or the Slope.
This script introduces a novel approach: Slope Fitting.
Instead of asking "Is the cycle high or low?", this system asks: "Is the trajectory (Slope) of this cycle matching the trajectory of the price?"
The Dual-Functionality of the Normalized Oscillator
The final output is a normalized oscillator bounded between -1.0 and +1.0. This structure serves two critical functions simultaneously:
Directional Bias (The Slope):
When the Combined Cycle line is rising (Positive Slope), the aggregate consensus of the 13 algorithms suggests bullish momentum. When falling (Negative Slope), it suggests bearish momentum. The script measures how well these slopes correlate with price action over a rolling lookback window to assign confidence weights.
Overbought / Oversold (OB/OS) Identification:
Because the output is mathematically clipped and normalized:
Approaching +1.0 (Overbought): Indicates that the top-weighted algorithms have reached their theoretical maximum amplitude. This is a statistical extreme, often preceding a mean reversion or trend exhaustion.
Approaching -1.0 (Oversold): Indicates the aggregate cycle has reached maximum bearish extension, signaling a potential accumulation zone.
Zero Line (0.0): The equilibrium point. A cross of the Zero Line is the most traditional signal of a trend shift.
2. The "Mixture of Experts" (MoE) Architecture:
Markets are dynamic. Sometimes they trend (Trend Following works), sometimes they chop (Mean Reversion works), and sometimes they cycle cleanly (Signal Processing works). No single indicator works in all regimes.
This system solves that problem by running 13 Algorithms simultaneously and voting on the outcome.
The 13 "Experts" Inside the Code:
All algorithms have been engineered to be Non-Repainting.
Ehlers Bandpass Filter: Extracts cycle components within a specific frequency bandwidth.
Schaff Trend Cycle: A double-smoothed stochastic of the MACD, excellent for cycle turning points.
Fisher Transform: Normalizes prices into a Gaussian distribution to pinpoint turning points.
Zero-Lag EMA (ZLEMA): Reduces lag to track price changes faster than standard MAs.
Coppock Curve: A momentum indicator originally designed for long-term market bottoms.
Detrended Price Oscillator (DPO): Removes trend to isolate short-term cycles.
MESA Adaptive (Sine Wave): Uses Phase accumulation to detect cycle turns.
Goertzel Algorithm: Uses Digital Signal Processing (DSP) to detect the magnitude of specific frequencies.
Hilbert Transform: Measures the instantaneous position of the cycle.
Autocorrelation: measures the correlation of the current price series with a lagged version of itself.
SSA (Simplified): Singular Spectrum Analysis approximation (Lag-compensated, non-repainting).
Wavelet (Simplified): Decomposes price into approximation and detail coefficients.
EMD (Simplified): Empirical Mode Decomposition approximation using envelope theory.
3. The Adaptive "GBM" Learning Engine
This is the "Machine Learning" component of the script. It does not use pre-trained weights; it learns live on your chart.
How it works:
Fitting Window: On every bar, the system looks back 20 days (configurable).
Slope Correlation: It calculates the correlation between the Slope of each of the 13 algorithms and the Slope of the Price.
Directional Bonus: It checks if the algorithm is pointing in the same direction as the price.
Weight Optimization:
Algorithms that match the price direction and correlation receive a higher "Fit Score."
Algorithms that diverge from price action are penalized.
A "Softmax" style temperature function and memory decay allow the weights to shift smoothly but aggressively.
The Result: If the market enters a clean sine-wave cycle, the Ehlers and Goertzel weights will spike. If the market explodes into a linear trend, ZLEMA and Schaff will take over, suppressing the cycle indicators that would otherwise call for a premature top.
4. How to Read the Interface:
The visual interface is designed for maximum information density without clutter.
The Dashboard (Bottom Left - GBM Stats)
Combined Fit: A percentage score (0-100%). High values (>70%) mean the system is "Locked In" and tracking price accurately. Low values suggest market chaos/noise.
Entropy: A measure of disorder. High entropy means the algorithms disagree (Neutral/Chop). Low entropy means the algorithms are unanimous (Strong Trend).
Top 1 / Top 3 Weight: Shows how concentrated the decision is. If Top 1 Weight is 50%, one algorithm is dominating the decision.
The Matrix (Bottom Right - Weight Table)
This table lifts the hood on the engine.
Fit Score: How well this specific algo is performing right now.
Corr/Dir: Raw correlation and Direction Match stats.
Weight: The actual percentage influence this algorithm has on the final line.
Cycle: The current value of that specific algorithm.
Regime: Identifies if the consensus is Bullish, Bearish, or Neutral.
The Chart Overlay
The Line: The Gradient-Colored line is the Weighted Ensemble Prediction.
Green: Bullish Slope.
Red: Bearish Slope.
Triangles: Zero-Cross signals (Bullish/Bearish).
"STRONG" Labels: Appears when the cycle sustains a value above +0.5 or below -0.5, indicating strong momentum.
Background Color: Changes subtly to reflect the aggregate Regime (Strong Up, Bullish, Neutral, Bearish, Strong Down).
5. Trading Strategies:
A. The Slope Reversal (OB/OS Fade)
Concept: Catching tops and bottoms using the -1/+1 normalization.
Signal: Wait for the Combined Cycle to reach extreme values (>0.8 or <-0.8).
Trigger: The entry is taken not when it hits the level, but when the Slope flips.
Short: Cycle hits +0.9, color turns from Green to Red (Slope becomes negative).
Long: Cycle hits -0.9, color turns from Red to Green (Slope becomes positive).
B. The Zero-Line Trend Join
Concept: Joining an established trend after a correction.
Signal: Price is trending, but the Cycle pulls back to the Zero line.
Trigger: A "Triangle" signal appears as the cycle crosses Zero in the direction of the higher timeframe trend.
C. Divergence Analysis
Concept: Using the "Fit Score" to identify weak moves.
Signal: Price makes a Higher High, but the Combined Cycle makes a Lower High.
Confirmation: Check the GBM Stats table. If "Combined Fit" is dropping while price is rising, the trend is decoupling from the cycle logic. This is a high-probability reversal warning.
6. Technical Configuration:
Fitting Window (Default: 20): The number of bars the ML engine looks back to judge algorithm performance. Lower (10-15) for scalping/quick adaptation. Higher (30-50) for swing trading and stability.
GBM Learning Rate (Default: 0.25): Controls how fast weights change.
High (>0.3): The system reacts instantly to new behaviors but may be "jumpy."
Low (<0.15): The system is very smooth but may lag in regime changes.
Max Single Weight (Default: 0.55): Prevents one single algorithm from completely hijacking the system, ensuring an ensemble effect remains.
Slope Lookback: The period over which the slope (velocity) is calculated.
7. Disclaimer & Notes:
Repainting: This indicator utilizes closed bar data for calculations and employs non-repainting approximations of SSA, EMD, and Wavelets. It does not repaint historical signals.
Calculations: The "ML" label refers to the adaptive weighting algorithm (Gradient-based optimization), not a neural network black box.
Risk: No indicator guarantees future performance. The "Fit Score" is a backward-looking metric of recent performance; market regimes can shift instantly. Always use proper risk management.
Author's Note
The MCPS-Slope was built to solve the frustration of "indicator shopping." Instead of switching between an RSI, a MACD, and a Stochastic depending on the day, this system mathematically determines which one is working best right now and presents you with a single, synthesized data stream.
If you find this tool useful, please leave a Boost and a Comment below!
My Swiftlike Algo Backtest ATR SL/TP HH/HL/LH/LL BOS/CHOCHSwift-Like Algo is a trend-following strategy that trades pullbacks using EMA trend direction, market structure (HH/HL/LH/LL), and ATR-based risk management.
It enters only in the direction of the trend, with automatic Stop-Loss, TP1, and TP2, and supports full strategy backtesting.
Best used on 15m–4H timeframes for crypto, forex, and indices.
⚠️ For educational and testing purposes only.
Spearman Correlation🔗 Spearman Correlation – Ranked Relationship Tracker
Overview:
This indicator calculates and plots the Spearman Rank Correlation Coefficient between the current chart’s asset and a custom comparison ticker (the example shown is BTC vs the OTHERS market cap for crypto). Unlike Pearson correlation, which measures linear relationships, Spearman correlation captures monotonic (ranked) relationships—making it better suited for analysing assets that move in sync but not necessarily in a linear fashion.
🧠 What It Does:
Computes ranked correlation between two assets over a user-defined lookback period
Smooths the correlation curve for better readability
Visually shades the background by correlation strength and direction:
🟩 Strong Positive (+0.5 to +1)
🟨 Weak Positive (+0.1 to +0.5)
⬜ No Correlation (–0.1 to +0.1)
🟧 Weak Negative (–0.5 to –0.1)
🟥 Strong Negative (–1 to –0.5)
⚙️ User Inputs:
Lookback Period: Number of bars used to calculate correlation
Comparison Ticker: Choose any asset to compare against
Shading Toggles: Customize which correlation zones are highlighted
📈 Use Cases:
Identify evolving relationships between assets (e.g., BTC vs DXY, ETH vs SPX)
Spot when assets become inversely correlated or lose correlation entirely
Track regime shifts where traditional relationships break down or re-align
Use alongside trend or momentum strategies to add a cross-asset confirmation layer
🔍 Interpreting the Correlation:
+1 → Perfect positive (ranks match exactly)
+0.5 to +1 → Strong positive relationship
+0.1 to +0.5 → Weak but positive relationship
–0.1 to +0.1 → Essentially uncorrelated
–0.5 to –0.1 → Weak negative correlation
–1 to –0.5 → Strong inverse relationship
–1 → Perfect negative (rankings are completely opposite)
🧪 Technical Notes:
Calculation uses ranked returns to better reflect monotonic relationships
Smoothed with a simple moving average (SMA) for stability
Arrays are managed internally to maintain performance and adaptability
This script is ideal for traders seeking deeper insight into cross-asset dynamics, portfolio hedging, or timing divergence-based strategies.
Directional Comparisons - Two Tickers📊 Directional Comparisons – Two Tickers
Overview:
This tool allows you to visually and statistically compare the directional behaviour of any two assets on any chart timeframe. It identifies and color-codes each bar based on how both the current asset and your chosen comparison asset performed in that period (e.g., both up, both down, diverging). A statistical summary table dynamically updates in the corner of your chart, tracking the probability and streak performance of each condition.
🛠 How It Works:
Each candle is analysed and color-coded based on the relationship between the current chart's asset and a comparison asset of your choice:
✅ Green – Both tickers closed higher (bullish alignment)
🔻 Red – Both tickers closed lower (bearish alignment)
🔷 Blue – Current ticker up, comparison ticker down (positive divergence)
🟧 Orange – Current ticker down, comparison ticker up (negative divergence)
You can toggle each colour condition on/off independently.
📈 Statistical Table (Top Right):
For the candles in the visible chart range, the indicator displays:
The frequency (probability) of each condition
Longest, shortest, and average streaks for each condition
Average % change for both the current and comparison asset under each scenario
All stats auto-update as you zoom or scroll through the chart.
🔧 User Inputs:
Comparison Ticker: Choose any ticker symbol to compare against the current chart
Toggle Conditions: Enable or disable individual directional conditions (color-coded)
✅ Use Cases:
Spot high-probability alignment zones between two assets (e.g., BTC vs ETH, SPX vs VIX)
Identify divergence opportunities for trading signals
Analyse historical relationships and co-movements between assets
Perform correlation streak studies directly on the chart
🔍 Notes:
The script works across all timeframes (1min to monthly).
Stats only consider visible bars on your chart for responsiveness.
Ideal for pair traders, macro analysts, or anyone interested in cross-asset relationships.
Swift-like Algo (V1) Trend Pullback ATR Risk AlimojanidThis indicator is a simple, rule-based trend-following system designed to help identify potential LONG and SHORT opportunities using market structure, momentum, and volatility.
It is inspired by professional “algo-style” tools, but built from scratch for learning, transparency, and flexibility.
🔹 How it works
1️⃣ Trend Detection
Uses Fast EMA vs Slow EMA
Only looks for:
LONGs in bullish trends
SHORTs in bearish trends
2️⃣ Entry Logic
Waits for a pullback toward the fast EMA
Confirms direction using price behavior
Optional RSI filter to avoid weak momentum trades
3️⃣ Risk Management
Stop Loss (SL) and Take Profit (TP) levels are calculated using ATR
Risk is defined in R-multiples (TP1, TP2)
Designed to adapt to market volatility
4️⃣ Visual & Alerts
Clear LONG / SHORT arrows
Automatic SL / TP level plotting
Built-in alert conditions for trade notifications
⚙️ Settings You Can Adjust
EMA lengths (trend sensitivity)
RSI confirmation (on/off)
ATR stop size
Risk-reward targets
Cooldown bars to avoid over-trading
⚠️ Disclaimer
This indicator is NOT a guaranteed trading system and should not be used as financial advice.
Always:
Backtest on your own market and timeframe
Use proper risk management
Paper trade before using real funds
The author is not responsible for any trading losses.
💡 Notes
Best used on trending markets
Works on Forex, Crypto, Indices, and Commodities
Timeframes: 15m and higher recommended






















