ORB Strategy + Backtesting (fixed timestamp) - Lines Adjusted⚡ ORB Strategy + Backtesting (Pine Script v5)
This script implements a complete Opening Range Breakout (ORB) strategy, featuring built-in backtesting, advanced TP/SL visualization, full style customization, and a performance dashboard. It is designed for traders who want to clearly evaluate breakout performance directly on the chart.
🕑 ORB Window Configuration
🔹 Session selection: choose between Market Timezone or Custom Session.
🔹 Timezone support: configurable from UTC-8 to UTC+12.
🔹 Daily limit: option to allow only one trade per day.
🔹 Risk/Reward (RR) settings:
Configurable TP1, TP2, and TP3 levels.
Stop Loss calculated dynamically from the ORB range.
📊 Backtesting Engine
🔹 Interactive dashboard showing trades, wins, losses, and win rate.
🔹 Adjustable partial exits for each TP (TP1, TP2, TP3).
🔹 Automatic calculation of percentage-based profit and loss.
🔹 Tracks total trades, total profit, and average profit per trade.
🎨 Visual Customization
🔹 Fully customizable colors:
ORB high/low lines and range fill.
Buy/Sell entry labels.
TP and SL lines with background zones.
🔹 Line style and thickness options (solid, dotted, dashed).
🔹 Visibility controls for each TP/SL level.
🔹 Clear profit and loss zones drawn directly on the chart.
🚀 Trading Logic
🔹 LONG entries: triggered when price breaks above the ORB high.
🔹 SHORT entries: triggered when price breaks below the ORB low.
🔹 Automatic calculation of Stop Loss and TP1, TP2, TP3 based on ORB range and RR.
🔹 Customizable BUY / SELL labels displayed at entry.
✅ TP / SL Detection
🔹 Real-time detection of TP1, TP2, TP3, and SL hits.
🔹 Prevents double counting of the same level.
🔹 Extended TP/SL lines with shaded zones for better clarity.
📈 Backtesting Dashboard
🔹 Displayed in the top-right corner of the chart.
🔹 Shows:
Total trades
Wins / Losses
Win rate (%)
Total profit (%)
Average profit per trade
🔹 Fully customizable panel color.
✨ Summary
This script combines:
Opening Range detection
Breakout trading logic with advanced risk management
Professional-grade visualizations
Integrated historical performance tracking
High customization for sessions, styles, and colors
💡 Ideal for traders who want to trade ORB setups with clarity, structure, and measurable results.
Chỉ báo Độ rộng
RSI+Breadth Multi-Factor# RSI+ Breadth Multi-Factor Indicator
**Multi-factor scoring system for US market timing | 美股多因子择时评分系统**
[! (img.shields.io)](www.tradingview.com)
[! (img.shields.io)](www.tradingview.com)
[! (img.shields.io)](LICENSE)
---
## Overview | 概述
A quantitative indicator that combines **RSI**, **market breadth** (% above 20/50-day MA), and **up/down volume ratio** to generate actionable buy/sell signals for SPY, QQQ, and IWM.
这是一个结合 **RSI**、**市场广度**(站上20/50日均线比例)和 **涨跌成交量比** 的量化指标,为 SPY、QQQ 和 IWM 生成可操作的买卖信号。
---
## Features | 功能特点
| Feature | 功能 |
|---------|------|
| 🎯 Multi-factor scoring (-10 to +10) | 多因子评分系统 (-10 到 +10) |
| 📊 RSI + Breadth + Volume integration | RSI + 广度 + 成交量三重验证 |
| 🔀 Three markets: SPY, QQQ, IWM | 三大市场:SPY、QQQ、IWM |
| 🔥 Cross-market resonance detection | 跨市场共振信号检测 |
| 📈 Trend filter (MA-based) | 趋势过滤(均线判断) |
| ⏰ Auto-adapts to intraday timeframes | 自动适配日内时间周期 |
| 🎚️ Three modes: Aggressive/Standard/Conservative | 三种模式:激进/标准/保守 |
---
## Signal Reference | 信号说明
| Score | Emoji | Signal | 中文 | Action |
|:-----:|:-----:|--------|:----:|--------|
| ≥ 6 | 🚀 | **PANIC LOW** | 恐慌低点 | Strong buy 强烈买入 |
| ≥ 4 | 📈 | **BUY ZONE** | 低吸区 | Accumulate 分批建仓 |
| -3~3 | - | **HOLD** | 持有 | Hold position 持仓观望 |
| ≤ -4↑ | ⭐ | **ELEVATED** | 高估 | Hold cautious 持有但谨慎 |
| ≤ -4↓ | ⚡ | **CAUTION** | 观望 | Take profit 止盈 |
| ≤ -6↓ | ⚠️ | **REDUCE** | 减仓 | Reduce position 减少仓位 |
> **↑ = Uptrend** (price > MA) | **↓ = Downtrend** (price < MA)
### Resonance Signals | 共振信号
| Emoji | Signal | Description |
|:-----:|--------|-------------|
| 🔥 | Resonance Buy | Multiple markets in buy zone 多市场同时低吸 |
| ❄️ | Resonance Risk | Multiple markets in risk zone 多市场同时高估 |
---
## Scoring Logic | 评分逻辑
### Factors | 因子
| Factor | Weight | Buy Score | Sell Score |
|--------|--------|-----------|------------|
| **RSI** | 1x | RSI < 30 → +2, < 40 → +1 | RSI > 75 → -2, > 65 → -1 |
| **FI (50D MA%)** | Bottom focus | < 25% → +3, < 35% → +2 | > 85% → -2, > 78% → -1 |
| **TW (20D MA%)** | Top focus | < 30% → +1 | > 82% → -3, > 72% → -2 |
| **Volume Ratio** | 1x | UVOL/DVOL < 0.5 → +2 | > 2.5 → -2 |
### Breadth Symbols | 广度数据
| Market | TW Symbol | FI Symbol | Volume |
|--------|-----------|-----------|--------|
| SPY (S&P 500) | INDEX:S5TW | INDEX:S5FI | USI:UVOL/DVOL |
| QQQ (NASDAQ) | INDEX:NCTW | INDEX:NCFI | USI:UVOLQ/DVOLQ |
| IWM (Russell 2000) | INDEX:R2TW | INDEX:R2FI | USI:UVOL/DVOL |
---
## Settings | 设置说明
### Mode | 模式
- **Aggressive**: Lower thresholds, shorter cooldown (5 bars)
- **Standard**: Balanced defaults (10 bar cooldown)
- **Conservative**: Higher thresholds, longer cooldown (15 bars)
### Key Parameters | 关键参数
| Parameter | Default | Description |
|-----------|---------|-------------|
| RSI Length | 14 | RSI calculation period |
| Trend MA Length | 10 | MA for trend filter |
| Cooldown Bars | 10 | Min bars between same signals |
| Resonance Window | 3 | Bars to check for multi-market agreement |
| Min Markets | 2 | # of markets needed for resonance |
---
## Usage | 使用方法
### Installation | 安装
1. Copy the indicator code
2. In TradingView: **Pine Editor** → **New** → Paste code → **Add to Chart**
### Recommended Setup | 推荐设置
- **Timeframe**: Daily (D) for best accuracy | 推荐日线图
- **Markets**: Apply on SPY, QQQ, or IWM | 应用于SPY/QQQ/IWM
- **Mode**: Start with "Standard" | 建议从"标准"模式开始
### Intraday Mode | 日内模式
The indicator automatically detects intraday timeframes and adjusts:
- Uses only RSI + Volume factors (TW/FI are daily-only data)
- Lowers signal thresholds accordingly
指标会自动检测日内周期并调整:
- 仅使用 RSI + 成交量因子(TW/FI 仅有日线数据)
- 相应降低信号触发阈值
---
## Dashboard | 仪表盘
Displays real-time factor breakdown:
```
┌────────┬───────┬────────┐
│ Factor │ Score │ Weight │
├────────┼───────┼────────┤
│ RSI │ 1.0 │ 1x │
│ FI(50D)│ 2.0 │ Bottom │
│ TW(20D)│ -1.0 │ Top │
│ Vol │ 1.0 │ 1x │
│ Trend │ ↑ │ 10MA │
├────────┼───────┼────────┤
│ Total │ 3.0 │ HOLD │
└────────┴───────┴────────┘
```
---
## Alerts | 警报
Available alerts for each market (SPY/QQQ/IWM):
- Panic Low / Buy Zone (entry signals)
- Reduce / Caution (exit signals)
- Resonance Buy / Risk (cross-market confirmation)
每个市场(SPY/QQQ/IWM)可设置以下警报:
- 恐慌低点 / 低吸区(入场信号)
- 减仓 / 观望(出场信号)
- 共振买入 / 风险(跨市场确认)
---
## Trend Filter | 趋势过滤
**Key feature**: Risk signals (CAUTION/REDUCE) only trigger when **price is below the trend MA**.
When price is above MA (uptrend), the indicator shows **ELEVATED** ⭐ instead, preventing premature exits during strong rallies.
**核心功能**:风险信号(观望/减仓)仅在 **价格跌破趋势均线** 时触发。
当价格在均线之上(上升趋势)时,指标显示 **高估** ⭐,避免在强势上涨中过早离场。
---
## Disclaimer | 免责声明
This indicator is for **educational and informational purposes only**. It is not financial advice. Past performance does not guarantee future results. Always do your own research and consider your risk tolerance before trading.
本指标仅供 **教育和参考用途**,不构成投资建议。历史表现不代表未来收益。交易前请自行研究并考虑风险承受能力。
---
## License | 许可
MIT License - Free to use and modify with attribution.
MIT 许可证 - 可自由使用和修改,请注明出处。
---
## Author | 作者
Built with ❤️ for the trading community.
为交易社区精心打造 ❤️
RS vs Indexes By Shashi MishraRS vs Indexes giving details about strength of the sripts against the TIDE which is indexes that you can follow , for example small cap index 100 / 250
Adaptive 2-Pole Trend Bands [supfabio]Adaptive 2-Pole Trend Bands is a volatility-aware trend filtering indicator designed to identify the dominant market direction while providing dynamic reference zones around price.
Instead of relying on traditional moving averages, this indicator uses a two-pole digital filter to smooth price action while maintaining responsiveness. Around this central trend line, a multi-band structure based on ATR is applied to help traders evaluate pullbacks, extensions, and potential exhaustion areas within a trend.
Core Concept
The indicator is built around three key ideas:
Digital Trend Filtering
Volatility-Adjusted Bands
Trend Persistence Measurement
These components work together to separate meaningful price movement from noise and to provide context for how far price has moved relative to recent volatility.
Two-Pole Trend Filter
At its core, the indicator uses a two-pole smoothing filter, which produces a cleaner trend curve than common moving averages.
Compared to standard averages, this approach:
Reduces market noise
Produces smoother transitions
Responds faster to genuine trend changes
Avoids excessive lag in trending markets
The result is a trend line that represents the structural direction of price, rather than short-term fluctuations.
Adaptive Multi-Band System
Around the central trend filter, the indicator plots four independent volatility-based bands, each derived from the Average True Range (ATR).
Each band represents a different degree of price extension:
Band 1: Shallow pullbacks and minor reactions
Band 2: Moderate extensions within a trend
Band 3: Strong directional moves
Band 4: Extreme extensions relative to recent volatility
Because the bands are ATR-based, they automatically adapt to changing market conditions, expanding during high volatility and contracting during calmer periods.
This makes the indicator suitable for both slow and fast markets without manual recalibration.
Trend State Detection
The color of the central filter dynamically reflects trend persistence, not just direction:
Sustained upward movement highlights bullish conditions
Sustained downward movement highlights bearish conditions
Transitional phases are visually distinct, helping identify regime changes
This logic is based on how long price has maintained directional behavior, reducing sensitivity to isolated candles or short-lived spikes.
Practical Applications
This indicator can be used as:
A trend filter for discretionary or systematic strategies
A context tool to evaluate pullbacks versus overextension
A risk reference to avoid entries in extreme price zones
A confirmation layer when combined with price action or momentum tools
It performs consistently across different asset classes, including futures, cryptocurrencies, forex, indices, and equities.
Configuration
Key parameters such as filter length, damping factor, and band multipliers are fully configurable, allowing traders to adapt the indicator to different timeframes and trading styles.
Important Notes
This indicator does not predict future price movement
It does not generate guaranteed buy or sell signals
Best results are achieved when used in combination with sound risk management and additional confirmation tools
Past behavior does not imply future performance
Disclaimer
This indicator is provided for educational and analytical purposes only and should not be considered financial advice.
Se quiser, posso:
Criar uma versão resumida para a primeira linha da publicação
Ajustar o texto para um tom mais técnico ou mais comercial
Traduzir para português mantendo o inglês como idioma principal
Revisar o título para SEO dentro da Biblioteca Pública
Session Range Control [PointAlgo]Session Range Control (SRC)
The Session Range Control (SRC) indicator provides a structured view of intraday price behavior by tracking where the current price sits within the session’s high–low range and how today’s volatility compares to the Average Daily Range (ADR). It combines range analytics, momentum context, volatility interpretation, and visual cues to help traders understand session strength and shifts in intraday conditions.
Core Concept
Every trading session forms a unique high and low. SRC continuously reads these values and calculates the Position in Range, expressed on a scale from 0% to 100%:
0% → Price at Day Low
100% → Price at Day High
50% → Mid-range equilibrium
By normalizing price into a percentage, traders can quickly interpret where market pressure is concentrated during the session.
Trend Zones and Market State
SRC divides the range into logical zones to show the likely sentiment of the session:
1. Strong Uptrend Zone (Above Threshold)
When price consistently holds above the user-defined upper threshold (e.g., 60%), the indicator marks a Strong Uptrend.
This typically reflects:
Persistent intraday buying pressure
Price acceptance near the upper part of the range
Reduced likelihood of deep pullbacks
2. Strong Downtrend Zone (Below Threshold)
When price remains below the lower threshold (e.g., 40%), SRC signals a Strong Downtrend, indicating:
Dominant intraday selling
Consistent pressure keeping price near session lows
3. Bullish / Bearish Zones
Between the midline and strong thresholds, SRC displays softer trend zones:
Above 50% = Bullish Zone
Below 50% = Bearish Zone
These zones help classify whether price is trending, balanced, or drifting.
4. Neutral Territory
When price hovers around the mid-level without conviction, the indicator treats it as a neutral or undecided phase.
Signal Logic :
SRC includes built-in momentum shift signals based on range transitions:
Long Signal
Triggered when price crosses upward through 50%, often showing:
A shift from intraday weakness to strength
Buyers gaining control of the session
Short Signal
Triggered when price crosses downward through 50%, suggesting:
Loss of intraday strength
Sellers taking control
These signals help highlight potential turning points inside the session.
Extreme Levels :
SRC highlights the top and bottom 10% of the range:
> 90% = Extreme High (Overbought intraday condition)
< 10% = Extreme Low (Oversold intraday condition)
These conditions can be useful for identifying overextended movements or potential reaction zones.
ADR Comparison and Volatility Context :
The indicator also measures how today’s price range compares to the Average Daily Range (ADR):
Range Expanding: Today’s range is significantly larger than the ADR
Indicates heightened volatility
Often associated with trending or breakout environments
Range Compressing: Today’s range is much smaller
Suggests low volatility
Common before breakout phases
Characteristic of consolidation or balanced markets
This volatility context helps traders assess whether the session is behaving within normal boundaries or deviating significantly.
Dashboard Overview :
When enabled, the dashboard summarizes key intraday metrics in a structured table:
Trend status (Strong Uptrend, Strong Downtrend, Bullish, Bearish, Neutral)
Range position (%)
Signal status (Long Cross, Short Cross, Extreme High/Low, or None)
Day range calculation
Range vs ADR (%)
Day High / Day Low
Current price level
Simplified action label based on current conditions
This provides a quick reference system to interpret both trend and volatility at a glance without analyzing the full chart visually.
Visual Elements
SRC includes:
Colored dynamic plot for easy trend recognition
Horizontal reference lines at key levels (0%, 50%, 100%, strong-trend thresholds)
Background shading during extreme zone conditions
A separate ADR comparison plot
These visuals ensure the indicator remains intuitive regardless of chart style or timeframe.
Alerts
The script includes alert conditions for:
Long cross
Short cross
Strong trend detection
Extreme high / extreme low
These allow users to automate notifications during key market events without manually monitoring the chart.
Customization Options
Users can configure:
ADR length
Strong trend thresholds
Dashboard visibility
Dashboard position on chart
This makes SRC adaptable to different trading instruments and intraday styles.
Usage Notes
Works best on intraday timeframes where session boundaries are clearly defined.
Designed for analytical interpretation—trend bias, volatility phase, and range structure.
Can complement other tools such as moving averages, volume, or market structure analysis.
Disclaimer :
This indicator is intended for chart analysis and educational purposes only.
It does not generate financial, investment, or trading advice.
Users should validate signals with additional research and apply proper risk management.
MAJOR PA Zones + Structure + Targets (Gray/Purple)This script highlights major price-action structure (HH/HL/LH/LL), marks BOS/CHOCH events, and draws key supply/demand zones to help visualize trend shifts and potential targets.
ALT Risk Strategy with Fear & Greed + ISM PMI📊 Overview
This advanced crypto trading strategy combines multiple macro indicators to identify optimal buy and sell zones for altcoins. It tracks the relationship between altcoin performance versus Bitcoin (ALT/BTC pairs) while incorporating broader market sentiment and economic data to generate risk-adjusted entry and exit signals.
🎯 Core Methodology
Base Risk Metric (65% weight):
MACD Momentum (5%): Normalized trend strength on weekly ALT/BTC pair
RSI (60%): Relative strength indicating overbought/oversold conditions
Price Deviation (35%): Distance from 150-period moving average
Fear & Greed Index (20% weight):
Analyzes market sentiment using multiple factors:
Price momentum and rate of return
Money flow and volume analysis
Volatility metrics (crypto: BVOL24H, traditional: VIX)
Dominance indicators (crypto: BTC.D, traditional: Gold)
Two modes: Crypto-focused or Traditional markets
Customizable smoothing and weighting
US ISM PMI Integration (15% weight):
Manufacturing economic indicator (contraction vs expansion)
PMI < 50 = Economic weakness = Better crypto buying opportunities
PMI > 50 = Economic strength = Risk-on environment
Configurable offset to lead/lag the signal
Daily data smoothed over customizable period
💰 Trading Logic
Tiered Buy System:
Level 1 (Risk < 70): Initial entry with conservative amount
Level 2 (Risk < 50): Double down as risk decreases
Level 3 (Risk < 30): Maximum accumulation at extreme lows
All purchases customizable by dollar amount
Tiered Sell System:
Level 1 (Risk > 70): Take partial profits (default 25%)
Level 2 (Risk > 85): Continue scaling out (default 35%)
Level 3 (Risk > 100): Final exit (default 40%)
Sells reset when new buys occur (can re-accumulate)
⚙️ Key Features
Multi-Asset Support: ETH, SOL, ADA, LINK, UNI, XRP, DOGE, AVAX, MATIC, RENDER, or custom
Exchange Selection: Works with Binance, Coinbase, Kraken, Bitfinex, Bybit
3Commas Integration: Optional webhook alerts for automated bot trading
Visual Risk Zones: Color-coded indicator (green/lime/yellow/orange/red/maroon)
Real-time Info Table: Displays current risk metric, F&G index, PMI value, weights, and position status
Flexible Weighting: Adjust influence of each component (Base/F&G/PMI)
Weekly Timeframe: Reduces noise and focuses on macro trends
📈 Use Cases
DCA Strategy: Dollar-cost averaging with intelligent timing
Swing Trading: Catching major market cycles (weeks to months)
Risk Management: Exit before major downturns, enter during fear
Macro Trading: Align crypto positions with economic conditions
Bot Automation: Connect to 3Commas for hands-free execution
🎓 Credits & Attribution
Original Concept & Base Risk Metric:
Inspired by community-developed ALT/BTC risk oscillators
Fear & Greed methodology adapted from crypto market sentiment research
Enhancements & Integration:
ISM PMI integration and weighting system
Multi-indicator combination framework
Tiered buy/sell logic with reset mechanism
3Commas webhook integration
Development:
Primary Development: Claude AI (Anthropic)
Collaboration & Testing: User feedback and iteration
Pine Script Implementation: TradingView v5
⚠️ Disclaimer
This strategy is for educational and informational purposes only. Past performance does not guarantee future results. Cryptocurrency trading involves substantial risk of loss. Always conduct your own research and consider your risk tolerance before trading. The strategy uses lagging indicators (weekly timeframe) which may not react quickly to sudden market changes.
🔧 Recommended Settings
For better performance than default conservative settings:
Increase buy amounts: Try $50/$75/$100 for more meaningful positions
Adjust thresholds: Consider 40/60/80 for more frequent entries
Test different weights: Experiment with F&G and PMI influence
Optimize for your asset: Different cryptos may require different parameters
Version: 1.0
Last Updated: December 2025
Compatible With: TradingView Pine Script v5
MNQ Quant Oscillator Lab v2.1MNQ Quant Oscillator Lab v2.1 — Clean Namespaces
Adaptive LinReg Oscillator + Auto Regime Switching + MTF Confirmation + MOEP Gate + Research Harness
MNQ Quant Oscillator Lab is a research-grade oscillator framework designed for MNQ/NQ (and other liquid futures/indices) on 1-minute and intraday timeframes. It combines a linear-regression-based detrended oscillator with quant-style normalization, adaptive parameterization, regime switching, multi-timeframe confirmation, and an optional MOEP (Minimum Optimal Entry Point) gate. The goal is to provide a customizable signal laboratory that is stable in real time, non-repainting by default, and suitable for systematic experimentation.
What this indicator does
1) Core oscillator (quant-normalized)
The indicator computes a linear regression (LinReg) detrended signal and expresses it as a z-scored oscillator for portability across volatility regimes and assets. You can switch the oscillator “transform family” via Oscillator type:
LinReg Residual / Residual Z: detrended residual (mean-reversion sensitive)
LinReg Slope Z: regression slope (trend-derivative sensitive)
LogReturn Z: log-return oscillator (momentum-style)
VolNorm Return Z: volatility-normalized returns (risk-scaled)
This yields a single oscillator that is comparable over time, not tied to raw point values.
2) Adaptive length (dynamic calibration)
When enabled, the regression length is automatically adapted using a volatility-regime proxy (ATR% z-scored → logistic mapping). High volatility typically shortens the effective lookback; low volatility allows longer lookbacks. This helps the oscillator remain responsive during expansions while staying stable in compressions.
Important: the adaptive logic is implemented with safe warmup behavior, so it will not throw NaN errors on early bars.
3) Adaptive thresholds (dynamic bands)
Instead of static overbought/oversold levels, the indicator can compute dynamic upper/lower bands from the oscillator’s own distribution (rolling mean + sigma). This creates thresholds that adjust automatically to regime changes.
4) Auto regime switching (Trend vs Mean Reversion)
With Auto regime switch enabled, the indicator selects whether to behave as a Trend system or a Mean Reversion system using an interpretable heuristic:
Trend regime when EMA-spread is strong relative to ATR and ATR is rising
Otherwise defaults to Mean Reversion
This prevents running mean-reversion logic in trend breakouts and reduces “mode mismatch.”
5) Multi-timeframe (MTF) confirmation (optional)
MTF confirmation can be enabled to require that the higher timeframe oscillator sign aligns with the direction of the signal. This is useful for reducing noise on MNQ 1m by requiring higher-timeframe structure agreement (e.g., 5m or 15m).
6) MOEP Gate (optional “institutional” filter)
The MOEP gate is a confluence score filter intended to reduce low-quality signals. It aggregates multiple components into a 0–100 score:
BB/KC squeeze condition
Expansion proxy
Trend proxy
Momentum proxy (RSI-based)
Volume catalyst (volume z-score)
Structure break (highest/lowest break)
You can set:
Score threshold (minimum score required)
Minimum components required (forces diversity of evidence)
When enabled, a signal must satisfy both oscillator logic and MOEP confluence conditions.
7) Research harness (NON-CAUSAL, OFF by default)
A built-in research mode evaluates signals using future bars to compute basic forward excursion statistics:
MFE (max favorable excursion)
MAE (max adverse excursion)
Simple win-rate proxy based on MFE vs MAE
This feature is strictly for offline analysis and tuning. It is disabled by default and should not be considered “live-safe” because it uses future information for evaluation.
Signals and interpretation
Mean Reversion regime
Long: oscillator is below the lower band and turns back upward across it
Short: oscillator is above the upper band and turns back downward across it
Trend regime
Long: oscillator crosses above zero (optionally requires structure break confirmation)
Short: oscillator crosses below zero (optionally requires structure break confirmation)
Hybrid
When Hybrid is selected (manual mode), the indicator allows both trend and mean-reversion triggers, but still respects the filters and gates you enable.
Recommended starting configuration (MNQ 1m)
If you want stable, high-quality signals first, then expand into research:
Use RTH only: ON
Auto regime switch: ON
Adaptive length: ON
Adaptive bands: ON
MTF confirmation: OFF initially (turn ON later with 5m)
MOEP Gate: OFF initially (turn ON after you confirm base behavior)
Research harness: OFF (only enable for tuning studies)
Practical notes / transparency
The indicator is designed to be stable on live bars (optional confirmed-bar behavior reduces flicker).
No repainting logic is used for signals.
Any “performance” numbers shown under Research harness are not tradable metrics; they are forward-looking evaluation outputs intended strictly for experimentation.
Disclaimer
This script is provided for educational and research purposes only and does not constitute financial advice. Futures trading involves substantial risk, including the possibility of loss exceeding initial investment.
Daily contextThis indicator automatically marks the Previous Day’s High and Low, as well as the market’s midnight opening price.
These levels are updated at the start of each new trading day and remain visible throughout the entire session.
By providing key daily reference points, the indicator helps establish a clear market context and allows traders to immediately understand where price is positioned relative to the previous day’s range and the daily open.
PURNA STOCK2. Candle Analysis:
Candle Strength (body ratio)
Doji Patterns - Indecision
Strong Candle (>60% body) - Momentum kuat
3. Position Analysis:
Near Resistance - Potensi rejection
Near Support - Potensi rebound
Mid Range - Netral
4. Trend Analysis:
Strong Bullish (EMA gap > 2%)
Strong Bearish (EMA gap < -2%)
Moderate Trend
5. Market Predictions:
🚀 PUMP POTENTIAL - Volume extreme + candle kuat + bullish
📈 REBOUND EXPECTED - Volume kuat + near support
⚡ BREAKOUT WATCH - Volume spike + near resistance
🔻 DUMP WARNING - Volume extreme + red candle kuat
📉 REJECTION CONFIRMED - Volume kuat + rejection resistance
😴 SIDEWAYS/SLEEP - Volume rendah
Supfabio Break-Return BandsSupfabio Break-Return Bands (B3 & B4 • 3-Candle Confirmation)
Supfabio Break-Return Bands is a volatility-based price action indicator built on top of a Two-Pole smoothing filter combined with ATR-derived dynamic bands.
It is designed to highlight price exhaustion, rejection, and potential reversal zones, with a strong emphasis on structural confirmation rather than immediate breakouts.
Core Concept
The indicator plots four volatility bands (Band 1 to Band 4) above and below a smoothed Two-Pole filter.
Signals are intentionally restricted to the outer bands, where price behavior is statistically more likely to show:
Volatility expansion
Liquidity grabs (stop runs / false breaks)
Strong rejection or mean-reversion behavior
Signal Logic
Band 4 (Primary Extreme Zone)
BUY and SELL signals are generated when:
Initial trigger (first candle)
Price either crosses the Band 4 level or
Touches and rejects the band (wick / pin behavior)
Confirmation on the 3rd candle (t + 2)
The confirmation candle:
Must not touch the same band again
Must close on the correct side of the band
Confirms that the initial break or pin was rejected
This delayed confirmation helps filter false breakouts and impulsive entries.
Band 3 (Secondary Setup)
On Band 3, signals are intentionally more selective:
Pin / rejection only
No direct cross signals
Uses the same 3-candle confirmation logic
This allows Band 3 signals to act as deeper pullback or early exhaustion setups.
Confirmation Mechanism
The script uses an internal state-based logic to:
Track the exact bar where the trigger occurred
Confirm signals only on the correct third candle
Prevent duplicate or consecutive signals from the same setup
Ensure pin-based triggers are not missed
Visual Elements
Main Two-Pole filter plotted as a thick continuous line
Volatility bands plotted with progressive line thickness
Band line styles (dotted / dashed) can be customized manually in the Style tab
Clear BUY and SELL labels plotted directly on the confirmation candle
Optional candle coloring based on filter direction
Alerts & Automation
Built-in alertcondition() for BUY and SELL
Alerts are suitable for webhook automation
Compatible with external systems and trading bots
Intended Use
This indicator is suitable for:
Reversal and exhaustion analysis
Mean-reversion strategies
Liquidity and rejection-based setups
Manual trading or automated execution
Intraday and higher-timeframe analysis
Notes
This script is intended as an analytical tool, not as a standalone trading system.
Signals should be used in combination with market structure, trend context, and proper risk management.
Liquidity-Aware Daily Box (Stable v4)Highlights previous day liquidity range and estimates potential liquidation zones using volume and volatility stress. Overlapping lines indicate stronger liquidity confluence areas. Designed as a context tool, not a standalone signal.
RSI WMA Crossover Momentum w/ Highlight by SfxinvestRSI WMA Crossover Momentum
This is a momentum indicator that tracks the RSI. Its principle is to use the WMA line to determine the trend of the RSI, and from the RSI, the price trend can be determined.
CCI + Buy/Sell Cross (supfabio)This indicator is an enhanced version of the Commodity Channel Index (CCI) designed to generate clear BUY and SELL signals based on customizable level crossovers, with built-in support for webhook automation and external trade execution.
🔹 Signal Logic
BUY Signal:
Triggered when the CCI crosses upward (from below to above) the user-defined BUY level (red line).
SELL Signal:
Triggered when the CCI crosses downward (from above to below) the user-defined SELL level (green line).
Signals can optionally be configured to trigger only on candle close, reducing real-time noise and false signals.
🔹 Key Features
✅ Original CCI calculation (standard formula preserved)
✅ Fully configurable BUY and SELL levels
✅ Optional display of signal level lines
✅ Visual BUY / SELL markers plotted on the CCI panel
✅ Support for moving average smoothing and Bollinger Bands applied to the CCI
✅ Dynamic alerts using alert(), ideal for:
Webhook integrations
Trading bots
External servers and automated execution systems
🔹 Alerts & Webhook Integration
The indicator sends dynamic alert messages containing:
Action type (BUY / SELL)
Symbol
Closing price
Timestamp
To use:
Add the indicator to your chart
Create an alert and select “Any alert() function call”
Enable Webhook URL and configure your endpoint
Done — signals will be sent automatically
🔹 Best Use Cases
Traders who use CCI as a primary entry trigger
Momentum or mean-reversion strategies
Automated trading systems
Visual backtesting and signal validation
⚠️ Disclaimer
This indicator is not a complete trading system and does not replace proper risk management. Always use it in combination with market context, confirmation tools, and sound position sizing.
Forexsebi - DAX Future Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Forexsebi - NASDAQ Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Forexsebi - GBPJPY Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Forexsebi - EURUSD Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Forexsebi - GBPUSD Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Forexsebi - GOLD Psychological Levels - TrendflowPsychological GOLD levels every $50 with clear zones, highlighted $100 & $500 levels, SMA 50 & 200, and a multi-timeframe trend table. Perfect for structure, trend, and rejection trading on XAUUSD.
Psychologische GOLD-Levels in 50-Dollar-Abständen mit klaren Zonen, 100- & 500-Dollar-Highlights, SMA 50 & 200 sowie einer Multi-Timeframe Trend-Tabelle. Ideal für Struktur-, Trend- und Rejection-Trading auf XAUUSD.
Key Features
Psychological Gold Levels
Automatic levels every $50
Adjustable number of levels above and below current price
Highlighted zones around each level for clearer reaction areas
Special Level Highlighting
$100 levels (xx00) highlighted for medium importance
$500 levels (x000 / x500) marked as major psychological levels
Different colors and stronger line thickness for key zones
Price Labels
Clean price labels displayed on the chart
Special symbols for 100 and 500 dollar levels
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Displays the current trading session (Asia, Frankfurt, London, NY)
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Distinction between normal, $100 and $500 levels
$$\text{Entry and Exit Signals (RSI, MACD, Stochastic)}$$بالتأكيد. إليك شرح كامل للكود البرمجي (Pine Script) الذي يمثل استراتيجية مؤشر الزخم الثلاثي (RSI, MACD, Stochastic) باللغة الإنجليزية، مع توضيح منطق كل شرط:
-----
## 🇺🇸 Multi-Indicator Momentum Confirmation Strategy (Pine Script Explanation)
This custom indicator is designed to generate highly confirmed **Entry (Buy)** and **Exit (Sell/Short)** signals by ensuring that three key momentum and oscillator indicators—**RSI, MACD, and Stochastic**—are all aligned in the same direction.
### 📜 Indicator Code Structure
```pinescript
//@version=5
indicator("إشارات الدخول والخروج (RSI, MACD, Stochastic)", overlay=true)
// --- 1. Indicator Settings (Inputs) ---
rsiLength = input.int(14, title="RSI Length")
rsiLevel = input.float(50, title="Positive RSI Level")
// ... MACD and Stochastic inputs
// --- 2. Calculation of Indicators ---
rsiValue = ta.rsi(close, rsiLength)
= ta.macd(close, fastLength, slowLength, signalLength)
stochK = ta.stoch(close, high, low, stochKLength)
// --- 3. Entry (Bullish) and Exit (Bearish) Conditions ---
//
// --- 4. Final Signal Determination ---
finalEntrySignal = rsiCondition_Bullish and macdCondition_Bullish and stochCondition_Bullish
finalExitSignal = rsiCondition_Bearish and macdCondition_Bearish and stochCondition_Bearish
// --- 5. Plotting the Signals ---
plotshape(
finalEntrySignal ? low : na,
style=shape.labelup,
location=location.belowbar,
text="دخول", // 'Entry'
// ... color and size settings
)
plotshape(
finalExitSignal ? high : na,
style=shape.labeldown,
location=location.abovebar,
text="خروج", // 'Exit'
// ... color and size settings
)
```
### 🧠 Logic Behind the Entry Signal ("دخول" - Buy)
A **"Entry" (Buy)** signal is generated when **ALL THREE** of the following bullish conditions are met on the same candlestick:
| Indicator | Bullish Condition (The Logic) | Why this ensures strong momentum? |
| :--- | :--- | :--- |
| **Relative Strength Index (RSI)** | **Positive AND Increasing:** (`rsiValue > 50`) AND (`rsiValue > rsiValue `) | The asset is not only gaining strength (above the 50 centerline) but its strength is actively **accelerating** (current value is higher than the previous one). |
| **Moving Average Convergence Divergence (MACD)** | **Bullish Crossover:** `macdLine > signalLine` | This indicates that the shorter-term momentum (MACD Line) has crossed above the longer-term momentum average (Signal Line), confirming a potential shift to bullish momentum. |
| **Stochastic Oscillator** | **Positive:** `stochK > 50` | The closing price is in the upper half of the recent price range, suggesting that buying pressure is dominating the current trend cycle. |
**The `finalEntrySignal` is triggered only when `RSI_Bullish AND MACD_Bullish AND Stochastic_Bullish` are true.**
-----
### 📉 Logic Behind the Exit Signal ("خروج" - Sell/Short)
A **"Exit" (Sell/Short)** signal is generated when **ALL THREE** of the following bearish conditions are met on the same candlestick:
| Indicator | Bearish Condition (The Logic) | Why this ensures strong momentum loss? |
| :--- | :--- | :--- |
| **Relative Strength Index (RSI)** | **Negative AND Decreasing:** (`rsiValue < 50`) AND (`rsiValue < rsiValue `) | The asset is losing strength (below the 50 centerline) and its weakness is actively **accelerating** (current value is lower than the previous one). |
| **Moving Average Convergence Divergence (MACD)** | **Bearish Crossover:** `macdLine < signalLine` | The shorter-term momentum has crossed below the Signal Line, confirming a potential shift to bearish momentum. |
| **Stochastic Oscillator** | **Negative:** `stochK < 50` | The closing price is in the lower half of the recent price range, suggesting that selling pressure is dominating the current trend cycle. |
**The `finalExitSignal` is triggered only when `RSI_Bearish AND MACD_Bearish AND Stochastic_Bearish` are true.**
### 💡 Visual Output
* **Entry Signal:** Plotted as a green label with the text "دخول" (**Entry**) **below the bar** (`location.belowbar`).
* **Exit Signal:** Plotted as a red label with the text "خروج" (**Exit**) **above the bar** (`location.abovebar`).
This strategy aims to filter out weak signals by requiring a high level of consensus across multiple technical dimensions.





















