Elite RSI Strategy Elite RSI Strategy
________________________________________
🔍 Overview
The Elite RSI Strategy combines multiple technical indicators into a unified visual toolkit, providing deep insights into market strength, reversals, and momentum shifts. Designed for serious traders who value confluence, clarity, and customizability.
________________________________________
📊 Core Components
🔸 Relative Strength Index (RSI)
• Classic RSI calculation with customizable length and price source.
• Dynamic background shading on RSI/MA crosses.
• Gradient fills highlight overbought and oversold zones.
• Alerts on RSI-MA crossovers for bullish or bearish momentum signals.
🔸 Smoothing Moving Averages (MA)
• Choose from SMA, EMA, SMMA, WMA, or VWMA.
• Configurable length and style.
• MA plotted over RSI for cross signal visualization.
________________________________________
🔸 WaveTrend Oscillator (WT)
• Built-in WaveTrend calculation using dual smoothing.
• Color-coded histogram based on oscillator direction:
o 🟢 Green: Bullish momentum
o 🔴 Red: Bearish momentum
• Optional candle coloring based on WT sentiment.
• Alert system for WT trend shifts.
________________________________________
🔸 Money Flow Index (MFI)
• Centered around 0 for clear trend polarity:
o Positive → Bullish Bias
o Negative → Bearish Bias
• Includes custom MFI smoothing, not available in standard indicators.
• Custom levels plotted: +30, +15, 0, -15, -30 for confluence.
• Dynamic color changes on zero-line crosses.
• Alert-ready behavior on trend shifts.
________________________________________
🖌️ Customization & Styling
• Toggle visibility for:
o RSI
o WT
o MFI
o Bar Colors
o Level Lines
• Style options for all plot types: line, area, or columns.
• Full color customization for bullish and bearish signals.
________________________________________
🚨 Built-In Alerts
• 📈 RSI crosses above MA
• 📉 RSI crosses below MA
• 🔄 RSI/MA Cross (any)
• 🟢 WT turns Bullish
• 🔴 WT turns Bearish
• 🔁 WT Direction Change
________________________________________
🧠 Why Use Elite RSI Strategy?
• Combines momentum, volume flow, and trend structure.
• Helps filter false signals through multi-layer confluence.
• Increases confidence in entry/exit decisions.
• Fully customizable to suit any trading style.
________________________________________
Disclaimer:
This indicator script is intended for educational and informational purposes only. It does not constitute investment advice or a recommendation to buy or sell any asset.
Always seek guidance from a licensed financial advisor or broker. You are solely responsible for your own trading decisions.
Thank you.
Oscillatori
xGhozt Stoch RSI Consecutive Candles StrategyThis is a customizable strategy using the Stochastic RSI (Stoch RSI) to identify reversal points.
This strategy enters **Longs** when Stoch RSI's %K line is **below the `Lower Band` for `N` consecutive bars** (oversold confirmation), and **Shorts** when %K is **above the `Upper Band` for `N` consecutive bars** (overbought confirmation).
**Key Features:**
* **N-Bar Entry Confirmation:** Define how many consecutive bars Stoch RSI must spend in overbought/oversold zones before a trade is triggered, reducing false signals.
* **ATR-Based Risk Management:** Optional dynamic Stop Loss and Take Profit calculated using ATR.
* **Customizable:** Adjust Stoch RSI settings, bands, trade direction (longs/shorts), and signal reversal.
[Pandora] Laguerre Ultimate Explorations MulticatorIt's time to begin demonstrations differentiating the difference between known and actual feasibility beyond imagination... Welcome to my algorithmic twilight zone .
INTRODUCTION:
Hot off my press, I present this Laguerre multicator employing PSv6.0, originally formulated by John Ehlers for TASC - July 2025 Traders Tips. Basically I transcended Ehlers' notions of transversal filtration with an overhaul of his Laguerre design with my "what if" Pandora notions included. Striving beyond John Ehlers' original intended design. This action packed indicator is a radically revamped version of his original filter using novel techniques. My aim was to explore whether providing even more enhanced responsiveness and lesser lag is possible and how. Presented here is my mind warping results to witness.
EHLERS' LAGUERRE EXPLAINED:
First and foremost, the concept of Ehlers' Laguerre-izing method deserves a comprehensive deep dive. Ehlers' Laguerre filter design, as it functions originally, begins with his Ultimate Smoother (US) followed by a gang of four LERP (jargon for Linear intERPolation) filters. Following a myriad of cascading LERPs is a window-like FIR filter tapped into the LERP delay values to provide extra smoothness via the output.
On a side note, damping factor controlled LERP filters resemble EMAs indeed, but aren't exactly "periodic" filters that would have a period/length parameter and their subsequent calculations. I won't go into fine-grained relationship details, but EMA and LERP are indeed related in approach, being cousins of similar pedigree.
EXAMINING LAGUERRE:
I focused firstly on US initialization obstacles at Pine's bar_index==0 with nz() in abundance. The next primary notion of intrigue I mostly wondered about was, why are there four LERP elements instead of fewer or more. Why not three or why not two LERPs, etc... 1-4-6-4-1, I remember seeing those coefficients before in high pass filters.
Gathering my thoughts from that highpass knowledge base, I devised other tapped configuration modes to inspect their behavior out of curiosity. Eureka! There is actually more to Laguerre than Ehlers' mind provided, now that I had formulated additional modes. Each mode exhibits it's own lag/smoothness characteristics better than the quad LERPed version. I narrowed it down to a total of 5 modes for exploration. Mode 0 is just the raw US by itself.
ANALYZING FILTER BEHAVIORS:
Which option might be possibly superior, and how may I determine that? Fortunately, I have a custom-built analyzer allowing me to thoroughly examine transient responses across multiple periodicities simultaneously, providing remarkable visual insights.
While Ehlers has meagerly touched upon presenting general frequency responses in his books, I have excelled far beyond that. This robust filter analysis capability enables me to observe finer aspects hidden to others, ultimately leading to the deprecation of numerous existing filters. Not only this, but inventing entirely new species of filtration whether lowpass, highpass, or bandpass is already possible with a thorough comprehensive evaluation.
Revealing what's quirky with each filter and having the ability to discover what filters may be lacking in performance, is one of it's implications. I'm just going to explain this: For example US has a little too much overshoot to my liking, along with nonconformant cutoff frequency compliance with the period parameter. Perhaps Ehlers should inspect US coefficients a bit closer... I hope stating this is not received in an ill manner, as it's not my intention here.
What this technically eludes to is that UltimateSmoother can be further improved, analogous to my Laguerre alterations described above. I will also state Laguerre can indeed be reformulated to an even greater extent concerning group delay, from what I have already discussed. Another exciting time though... More investigative research is warranted.
LAGUERRE CONCLUSIONS:
After analyzing Laguerre's frequency compliance, transient responses, amplitudes, lag, symmetry across periodicities, noise rejection, and smoothness... I favor mode 3 for a multitude of reasons over the mode 4 configuration, but mostly superb smoothing with less lag, AND I also appreciated mode 1 & 2 for it's lower lag performance options.
Each mode and lag (phase shift) damping value has it's own unique characteristics at extremes, yet they demonstrate additional finesse in it's new hybrid form without adding too much more complexity. This multicator has a bunch of Laguerre filters in the overlay chart over many periodicities so you can easily witness it's differing periodic symmetries on an input signal while adjusting lag and mode.
LAGUERRE OSCILLATOR:
The oscillator is integrated into the laguerreMulti() function for the intention of posterity only. I performed no evaluation on it, only providing the code in Pine. That wasn't part of my intended exploration adventure, as I'm more TREND oriented for the time being, focusing my efforts there.
Market analysis has two primary aspects in my observations, one cyclic while the other is trending dynamics... There's endless oscillators, but my expectations for trend analysis seems a little lesser explored in my opinion, hence my laborious trend endeavors. Ehlers provided both indicator facets this time around, and I hope you find the filtration aspect more intriguing after absorption of this reading.
FUNCTION MODULES EXPLAINED:
The Ultimate Smoother is an advanced IIR lowpass smoothing filter intended to minimize noise in time series data with minimal group delay, similar to a traditional biquad filter. This calculation helps to create a smoother version of the original signal without the distortions of short-term fluctuations and with minimal lag, adjustable by period.
The Modified Laguerre Lowpass Filter (MLLF) enhances the functionality of US by introducing a Laguerre mode parameter along side the lag parameter to refine control over the amount of additional smoothing/lag applied to the signal. By tethering US with this LERPed lag mechanism, MLLF achieves an effective balance between responsiveness and smoothness, allowing for customizable lag adjustments via multiple inputs. This filter ends with selecting from a choice of weighted averages derived from a gang of up to four cascading LERP calculations, resulting with smoother representations of the data.
The Laguerre Oscillator is a momentum-like indicator derived from the output of US and a singular LERPed lowpass filter. It calculates the difference between the US data and Laguerre filter data, normalizing it by the root mean square (RMS). This quasi-normalization technique helps to assess the intensity of the momentum on any timeframe within an expected bound range centered around 0.0. When the Laguerre Oscillator is positive, it suggests that the smoothed data is trending upward, while a negative value indicates a downward trend. Adjustability is controlled with period, lag, Laguerre mode, and RMS period.
MVRV Altcoins📌 Technical Description of Indicator: MVRV Altcoins
This advanced script calculates the Market Value to Realized Value (MVRV) ratio across multiple cryptocurrencies simultaneously. It offers two analytical modes: Normal and Z-Score, optimized for visual comparison and real-time monitoring of up to 13 predefined assets. If a user applies the indicator to a symbol that is not among the 13 programmed assets, the default behavior displays the Bitcoin chart as a fallback reference.
🔍 What Is MVRV and Why Is It Important?
MVRV is an on-chain metric designed to assess whether a cryptocurrency is overvalued or undervalued by comparing its market capitalization to its realized capitalization.
- Market Cap: The total circulating supply multiplied by the current market price.
- Realized Cap: The sum value of all coins based on the price at the time they last moved on-chain, offering a time-weighted valuation.
Normal Calculation:
MVRV_Normal = Market Cap / Realized Cap
This version reflects investor profitability and identifies potential accumulation or distribution zones.
📊 Z-Score Calculation:
MVRV_ZScore = (Market Cap − Realized Cap) / Standard Deviation of Market Cap
This formula evaluates how extreme the current market conditions are compared to historical norms. It normalizes the difference using statistical dispersion, turning it into a volatility-aware metric that better reflects valuation extremes.
🔎 How Market Cap Is Computed
Unlike conventional indicators relying on consolidated feeds, this script uses modular components from CoinMetrics to construct the active capitalization more accurately, especially for altcoins. Here's the breakdown:
Active Capitalization = MARKETCAPFF + MARKETCAPACTSPLY
Realized Capitalization = MARKETCAPREAL
Component Definitions:
- MARKETCAPFF: Market Cap Free Float — total valuation based only on truly circulating coins.
- MARKETCAPACTSPLY: Capitalization from actively circulating supply — filters dormant or locked coins.
- MARKETCAPREAL: Realized Cap — historical valuation weighted by the last on-chain movement of each coin.
This method offers enhanced precision and compatibility across assets that may lack comprehensive data from centralized providers.
⚙️ User-Configurable Parameters
- MVRV Mode: Choose between Normal and Z-Score.
- Percentage Scale View: If enabled, visual output is scaled using predefined divisors (100 / 3.5 or 100 / 6).
- Thresholds for Analysis:
- Normal mode: Define overbought and oversold levels (default 1.0 and 3.5).
- Z-Score mode: Configure statistical boundaries (default 0.0 and 6.0).
- Table Controls:
- Adjustable position on screen (9 options).
- Font size customization: tiny, small, normal, large.
- Color scheme personalization:
- Header: text and background
- Body: text and background
- Central column separator color
📊 Multicrypto Table Architecture
The indicator renders a high-performance visual table displaying data from up to 13 assets simultaneously. Each asset is represented as a vertical column featuring eigth historical data points plus the most recent value.
- Assets are displayed in two blocks separated by a decorative column.
- Each value is rounded to one decimal place for clarity.
- Cells are styled dynamically based on user settings.
🎨 Decorative Column Separator
Since the entire table is built as a unified structure, a color-configurable empty column is inserted mid-table to act as a visual divider. This approach improves readability and aesthetic balance without duplicating code or splitting table logic.
🔁 Default Behavior on Unsupported Assets
If the active chart is not one of the 13 predefined assets, the indicator will automatically display Bitcoin’s data. This ensures the chart remains functional and informative even outside the target asset group.
🎯 Color Interpretation by Condition
The MVRV value for each asset is highlighted using a traffic light system:
- Green: Undervalued (below oversold threshold)
- Red: Overvalued (above overbought threshold)
- Yellow: Neutral zone
This coding simplifies decision-making and visual scanning across assets.
Final Notes
This indicator is modular and fully adaptable, with well-commented sections designed for efficient customization. Its multiactive architecture makes it a valuable tool for crypto analysts tracking diversified portfolios beyond Bitcoin and Ethereum.
It supports visual storytelling across assets, comparative historical evaluation, and identification of strategic zones — whether for accumulation, distribution, or monitoring on-chain sentiment.
PRO Investing - Apex EnginePRO Investing - Apex Engine
1. Core Concept: Why Does This Indicator Exist?
Traditional momentum oscillators like RSI or Stochastic use a fixed "lookback period" (e.g., 14). This creates a fundamental problem: a 14-period setting that works well in a fast, trending market will generate constant false signals in a slow, choppy market, and vice-versa. The market's character is dynamic, but most tools are static.
The Apex Engine was built to solve this problem. Its primary innovation is a self-optimizing core that continuously adapts to changing market conditions. Instead of relying on one fixed setting, it actively tests three different momentum profiles (Fast, Mid, and Slow) in real-time and selects the one that is most synchronized with the current price action.
This is not just a random combination of indicators; it's a deliberate synthesis designed to create a more robust momentum tool. It combines:
Volatility analysis (ATR) to generate adaptive lookback periods.
Momentum measurement (ROC) to gauge the speed of price changes.
Statistical analysis (Correlation) to validate which momentum measurement is most effective right now.
Classic trend filters (Moving Average, ADX) to ensure signals are only taken in favorable market conditions.
The result is an oscillator that aims to be more responsive in volatile trends and more stable in quiet periods, providing a more intelligent and adaptive signal.
2. How It Works: The Engine's Three-Stage Process
To be transparent, it's important to understand the step-by-step logic the indicator follows on every bar. It's a process of Adapt -> Validate -> Signal.
Stage 1: Adapt (Dynamic Length Calculation)
The engine first measures market volatility using the Average True Range (ATR) relative to its own long-term average. This creates a volatility_factor. In high-volatility environments, this factor causes the base calculation lengths to shorten. In low-volatility, they lengthen. This produces three potential Rate of Change (ROC) lengths: dynamic_fast_len, dynamic_mid_len, and dynamic_slow_len.
Stage 2: Validate (Self-Optimizing Mode Selection)
This is the core of the engine. It calculates the ROC for all three dynamic lengths. To determine which is best, it uses the ta.correlation() function to measure how well each ROC's movement has correlated with the actual bar-to-bar price changes over the "Optimization Lookback" period. The ROC length with the highest correlation score is chosen as the most effective profile for the current moment. This "active" mode is reflected in the oscillator's color and the dashboard.
Stage 3: Signal (Normalized Velocity Oscillator)
The winning ROC series is then normalized into a consistent oscillator (the Velocity line) that ranges from -100 (extreme oversold) to +100 (extreme overbought). This ensures signals are comparable across any asset or timeframe. Signals are only generated when this Velocity line crosses its signal line and the trend filters (explained below) give a green light.
3. How to Use the Indicator: A Practical Guide
Reading the Visuals:
Velocity Line (Blue/Yellow/Pink): The main oscillator line. Its color indicates which mode is active (Fast, Mid, or Slow).
Signal Line (White): A moving average of the Velocity line. Crossovers generate potential signals.
Buy/Sell Triangles (▲ / ▼): These are your primary entry signals. They are intentionally strict and only appear when momentum, trend, and price action align.
Background Color (Green/Red/Gray): This is your trend context.
Green: Bullish trend confirmed (e.g., price above a rising 200 EMA and ADX > 20). Only Buy signals (▲) can appear.
Red: Bearish trend confirmed. Only Sell signals (▼) can appear.
Gray: No clear trend. The market is likely choppy or consolidating. No signals will appear; it is best to stay out.
Trading Strategy Example:
Wait for a colored background. A green or red background indicates the market is in a tradable trend.
Look for a signal. For a green background, wait for a lime Buy triangle (▲) to appear.
Confirm the trade. Before entering, confirm the signal aligns with your own analysis (e.g., support/resistance levels, chart patterns).
Manage the trade. Set a stop-loss according to your risk management rules. An exit can be considered on a fixed target, a trailing stop, or when an opposing signal appears.
4. Settings and Customization
This script is open-source, and its settings are transparent. You are encouraged to understand them.
Synaptic Engine Group:
Volatility Period: The master control for the adaptive engine. Higher values are slower and more stable.
Optimization Lookback: How many bars to use for the correlation check.
Switch Sensitivity: A buffer to prevent frantic switching between modes.
Advanced Configuration & Filters Group:
Price Source: The data source for momentum calculation (default close).
Trend Filter MA Type & Length: Define your long-term trend.
Filter by MA Slope: A key feature. If ON, allows for "buy the dip" entries below a rising MA. If OFF, it's stricter, requiring price to be above the MA.
ADX Length & Threshold: Filters out non-trending, choppy markets. Signals will not fire if the ADX is below this threshold.
5. Important Disclaimer
This indicator is a decision-support tool for discretionary traders, not an automated trading system or financial advice. Past performance is not indicative of future results. All trading involves substantial risk. You should always use proper risk management, including setting stop-losses, and never risk more than you are prepared to lose. The signals generated by this script should be used as one component of a broader trading plan.
Gabriel's Dynamic Sentiment RSI📊 Dynamic Sentiment RSI with Velocity, Acceleration & Divergence Detection
Created by GabrielAmadeusLau
This advanced Pine Script indicator fuses multiple layers of market insight into a unified momentum and sentiment tool. It is designed to extract nuanced sentiment signals from price action using a hybridized RSI model enhanced with stochastic dynamics, volatility weighting, and divergence tracking. It adapts to a wide range of asset classes including equities, crypto, gold, and forex.
🔍 Core Components
✅ 1. Dynamic Sentiment RSI
A normalized, stochastic-based RSI that adjusts its sensitivity using the Sentiment Factor.
Smoothed using a Jurik Moving Average for precision noise filtering.
Weighted using volume, volatility (VIX-like), HL extremes, and trend-based adaptive weighting, giving it a powerful multi-dimensional response.
✅ 2. Hann-Window RSI Calculation
Leverages a Hann Window and Levy Flight transformation to amplify cyclical behavior in RSI inputs.
Applies power-based weighting to directional movement, ideal for assets with cyclic or fractal-like structure.
✅ 3. Velocity & Acceleration Engine
Measures the rate of RSI change over a customizable period, and then the rate of that rate (acceleration).
Both are plotted with adaptive coloring to visually represent momentum shifts.
This dynamic structure aids in anticipating breakout strength or exhaustion.
✅ 4. Sentiment Heat Background
Background shading reflects bullish (teal) or bearish (silver) sentiment using smoothed stochastic RSI outputs.
Creates an intuitive market "mood" indicator for quick-glance visual analysis.
🔁 Smoothing & Weighting Customizations
You can toggle between different weighting modes:
Volume Weighted: Uses volume or ATR if unavailable.
VIX Weighted: Incorporates a volatility-based weight via a WVF-like formula.
HL Weighted: High-Low range smoothed.
Linear Weighted: Applies linear regression to the signal.
Trend Adaptive: Squares rolling maximums/minimums for dynamic strength adaptation.
🔎 Divergence Detection System
Supports Regular & Hidden Divergence using any of the following pivots:
Raw RSI
Smoothed K% RSI
Sentiment RSI
Velocity
Acceleration
Allows divergence tracking on custom timeframes and Heikin Ashi data.
Custom line styles, colors, and optional “last signal only” visibility.
Alerts are provided for all four divergence types.
📌 Built-in Alerts
✅ Bullish/Bearish Regular Divergence
✅ Bullish/Bearish Hidden Divergence
✅ General Divergence Summary Alerts
⚙️ Highly Configurable Settings
Sentiment Factor scaling (default ~2.2)
Levy exponent (ideal between 0.4 to 3.2 depending on asset class)
Velocity & Acceleration scaling inputs
Pivot lookback controls
Toggle smoothing methods and weighting logic
🧠 Ideal Use Cases
Swing and Trend Trading: The dynamic structure identifies both trend continuations and reversals with precision.
Divergence Confirmation: Confirm entries or exits using regular/hidden divergence alongside acceleration/velocity overlays.
Adaptive Strategy Building: Integrate this tool as a sentiment engine for algorithmic trading strategies.
🔬 Recommended Settings by Asset Class
Asset Type Levy Sentiment Factor
Crypto 0.6–1.2 2.0–2.5
Gold 0.4–1.0 2.0–2.2
Stocks 0.9–1.2 2.2–2.5
Forex 2.5–3.2 1.8–2.3
*A sentiment Factor of 9.5 can tell the larger trend apart on Daily and up.*
🧩 Technical Notes
Uses Jurik MA (Power 2, Phase 50) for minimal lag smoothing.
Employs Chebyshev filters (pre-Stochastic) for advanced sentiment smoothing.
Weighted RSI is normalized from -100 to 100, with color-coded velocity and acceleration histograms.
xGhozt Stoch RSI StrategyA Stochastic RSI-based strategy that enters long or short when the K line exits extreme zones. Includes optional ATR-based stop loss and take profit levels. Supports both trend-following and reversal logic. Fully configurable.
xGhozt Stoch RSI StatsQuantify Stochastic RSI behavior with this unique analytical tool. It measures the average number of candles and total occurrences your chosen Stochastic RSI spends within its overbought and oversold zones. All historical data is presented in a clean, customizable table directly on your chart, helping you understand the typical persistence and frequency of extreme conditions to sharpen your market analysis.
KusKus Starlight Strategy📌 Gabriel's KusKus Starlight Strategy – Adaptive Volume-Based Momentum System
Description:
Gabriel’s KusKus Starlight Strategy is a high-precision, volume-driven trading system designed for short- to medium-term intraday setups. By combining Cumulative Volume Delta (CVD) with Fisher Transform logic, Z-Score anomaly detection, and adaptive moving averages (like Jurik MA and Super Smoother), the strategy seeks to capture early trend shifts, continuation breakouts, and statistically favorable reversals.
🧠 How It Works
CVD-Based Fisher Oscillator
Transforms volume delta imbalances into clean trend signals using a Fisher Transform with dual-stage smoothing.
Jurik Signal Line & Super Smoother
Provides confirmation filters that reduce whipsaw trades by identifying prevailing trend direction.
Z-Score & Velocity Boosters
Highlight when momentum is accelerating with statistical outliers, improving early entry timing.
ATR-Driven Trade Management
All entries use dynamically calculated Stop Loss and Take Profit levels based on ATR, with optional hour-specific overrides.
🎯 Strategy Entry Conditions
🔼 Long Entry:
A long trade is entered when all the following are true:
Fisher (smoothedFish) crosses above 0
Z-Score (ZKusKus) is rising or Z-Score velocity is rising
Fisher is above the Jurik MA (signal)
Price (src) is above the Super Smoother MA (ma)
Time filter is allowed (optional setting)
🔽 Short Entry:
A short trade is entered when all the following are true:
Fisher (smoothedFish) crosses below 0
Z-Score (ZKusKus) is falling or Z-Score velocity is rising
Fisher is still above the Jurik MA (signal) (anticipating exhaustion)
Price (src) is below the Super Smoother MA (ma)
Time filter is allowed (optional setting)
📤 Strategy Exit Conditions
Take Profit (TP) and Stop Loss (SL) levels are based on the ATR multiplied by dynamic multipliers.
Both TP and SL can be adjusted per hour using tp_hour_* and risk_hour_* settings to reflect optimal market behavior during different sessions.
⏰ Smart Hour-Based Filters
Use include Hours to restrict trading to 3 specific hours (e.g., 7, 8, 9). Each hour has its own:
Risk % Allocation
TP Multiplier
This adds fine-tuned control over position sizing and target reachability.
📈 Recommended Timeframes:
Optimized for 30-minute ~ 1 Hour charts, but adaptable to 1m–15m with parameter tuning.
Use hourly filters to target only statistically profitable hours, London ~ New York Afterhours.
📌 Ideal Use Case:
For traders looking to fade weak volume reversals or ride volume-supported breakouts with smart, auto-adjusting position sizing—this strategy offers a refined and flexible framework grounded in real-time order flow behavior.
RSI First Condition SignalsBuy signal with the exit of RSI from the bottom to the top of the number 30.
Sell signal with RSI exit from above 70 to below. The longer the RSI stays above the overbought zone, i.e above 70, and then breaks below 70,
the stronger the sell signal.
The longer the RSI stays below thw oversold zone, i.e. below 70, and then exits above 30,the stronger the buy signal.
And if the RSI exits below the 70 line with a steeper slope, the sell signal is valid.
And if the RSI exits with a steeper slope above 30, the buy signal is valid .
Order Block & Trendline Breakout StrategyaiTrendview.com Order Block & Trendline Breakout Strategy: Complete Guide
Introduction
The Order Block & Trendline Breakout Strategy ("ORDER BLOCK ANALYSIS") is a comprehensive TradingView Pine Script indicator that combines institutional order flow, trend recognition, breakout logic, multi-factor signal filtering, and real-time analytics—all visualized through an ergonomic stats dashboard.
This guide provides a full overview, feature breakdown, best practices, and step-by-step use for discretionary and systematic traders.
Key Features
1. Order Block (OB) Detection
• Relevant Periods: Detects bullish and bearish order blocks using consecutive bars in the same direction, with user-defined relevance (OB Relevant Periods).
• Move Threshold: Validates OB only if the price moves by a minimum user-set percentage.
• Channel Management: Keeps the latest OB levels displayed, removing stale ones for clarity.
2. Trendline Breakout Logic
• Pivot-Based TLs: Draws support/resistance trendlines using pivots, with options to use candle wicks or bodies.
• Automatic Extension: Trendlines are extended a user-specified number of bars.
• Breakout Detection: Signals are triggered on actual breakout events relative to calculated dynamic trendlines.
3. Sophisticated Filtering
• Volume Filter: Requires large real-time volume (spike versus average) for valid signals.
• ATR (Volatility) Filter: Filters out false/weak signals by excluding those that occur during choppy, low-vol markets.
• Trend Confirmation: Only generates signals aligned with current EMA-defined trend.
4. Market Environment & Risk Stats
• RSI/MACD Analysis: Real-time calculation/classification augments bias and signal scoring.
• Bollinger Bands: Used for overbought/oversold context and stats dashboard.
• Support & Resistance: Rolling levels used for context in both trading decisions and dashboard.
• Volatility, Momentum, Price Position: Tracks environment, enabling informed discretionary action.
5. Trade Analytics & Management
• Automated Trade Targets: Calculates and plots take-profit (TP) and stop-loss (SL) levels per trade based on ATR and current price.
• PnL, Win%, Count: Tracks and displays statistics for live decision support.
6. Dynamic Dashboard Table
• On-Chart Visual Table: Horizontal dashboard displays all critical readings, status, and history in one row, minimizing chart clutter.
• Customizable Table Size: Choose between small, medium, normal, large, and extra large for optimal screen space usage.
• Flexible Placement: Instantly drag-and-drop the dashboard to any screen edge or corner (360 degrees) via selector.
• Visual Color Coding: Instantly spot bullish/bearish/neutral/safe/dangerous market states.
7. Pro Alerts System
• Automated Alerts: Ready-to-use TradingView alertconditions for new signals, targets hit, stop-losses, no-trade zones, and high-opportunity events.
Configuration and Inputs
Setting Purpose
OB Relevant Periods Number of candles for order block detection.
Min. Percent Move Minimum validated move for OB.
Number of OB Channels Maximum live OB levels plotted.
Trendline Period Lookback for trendline pivots.
Use Wicks for Trendlines Candle wicks vs. candle closes for pivots.
Extension Bars How far to project trends into the future.
Use Volume Filter Demand higher-than-normal volume for signals.
Volume Threshold Multiplier Sensitivity for volume spikes.
Use ATR Filter Filter signals by current volatility.
ATR Filter Multiplier Sensitivity for volatility filter.
Show Information Table Toggle dashboard display.
Show Targets Toggle plotting of TP/SL lines.
Bullish/Bearish Color Individual color themes for OBs and signals.
Dashboard Table Size Resize dashboard text.
Dashboard Table Position Select any of 9 chart locations for dashboard placement.
Dashboard Table Fields
The dashboard always displays, in a single horizontal row:
• LTP/Change%/Volume: Current price, price movement, and volume spike multiple.
• RSI/MACD: Overbought/oversold and momentum context (numeric and bar).
• Trend/Sentiment: EMA-stacked market direction and emotional sentiment composite.
• Volatility: Current volatility tier (high/medium/low).
• Buy OB/Sell OB: Nearest bullish or bearish order block levels.
• Signal: Current strategy signal: BUY / SELL / WAIT.
• Status: "ACTIVE" or "AVOID" based on no-trade logic.
• Support/Resistance: Key rolling price levels.
• Position: Where price stands (support, resistance, upper/lower/mid).
• Risk Level: Volatility-based risk assessment.
• R:R Ratio: Reward-to-risk of currently open setup.
• Win %: Real-time win rate for signal quality transparency.
• Total PnL: Sum of PnL across all trade signals.
• Momentum: Reading of current price momentum.
All numerical and risk status fields use color highlighting for easy scanning.
How to Analyze and Use This Strategy
1. Setup & Customization
• Add script to your TradingView chart and open indicator settings.
• Adjust periods, trendline, volume/ATR filters, and display according to your market and trading style.
• Set dashboard size for clarity and place it where it's least intrusive.
2. Understanding Dashboard Status
• Green highlight: Bullish edge or buy signal confirmed.
• Red highlight: Bearish edge or sell confirmed.
• Gray/yellow: Neutral or sideways conditions; reduce trading activity.
• Signal "WAIT": No new signals; allow market to develop.
• Status "AVOID": Market is non-ideal (consolidating, low vol/volume); only act on highest conviction setups or step away.
3. Acting on Signals
• BUY/SELL Alerts: Watch for table to show "BUY" or "SELL". Confirm all filters align (bullish OB or resistance break, bullish trend, volume spike, etc.).
• Check Dashboard Stats: Only act if risk, momentum, and environment suit your trading plan.
• Trade Management: On signal, use plotted TP (take-profit) and SL (stop-loss) lines or values provided in the table.
• PnL & Win Rate Tracking: Monitor your performance in real-time.
• Respect AVOID status: Reduce risk or skip trades entirely if the dashboard calls a "No Trade Zone".
4. Use Alertconditions for Automation
• Enable alerts for buy/sell confirmations or targets; consider sending real-time notifications to your device.
• Alerts fire only when all filters and logic are satisfied.
Advanced Tips
• Tune Filters: Harsher filters (higher volume/ATR) reduce noise but may drop some strong signals; find your best trade-off.
• Position Sizing: Use dashboard's risk evaluation for position sizing and capital allocation.
• Combine with Price Action: Use dashboard levels and stats to reinforce other technical or fundamental reads.
• Evaluate Win % and PnL: Use the built-in statistics to periodically review and adjust strategy.
• Use Dashboard Placement and Size: Adjust according to trading setup, monitor spacing, or on mobile/tablet for legibility.
Best Practices
• Validate on Historical Data: Check how the signal would have performed over several months and market regimes.
• Stay Disciplined: Only take trades when OB, trend, volume, volatility, and risk assessment all align.
• Monitor Session Changes: Be aware of volatility and volume changes during market opens, closes, or events—dashboard helps highlight these shifts.
• Continually Learn: Analyze why signals succeed or fail using Win %, PnL, and environment fields.
Conclusion
This indicator provides a robust, institutional-grade edge by merging price action-based order blocks and trendlines with statistical filtering and professional analytics. The fully configurable dashboard and automated alerts make it suitable for both advanced and aspiring traders seeking visual clarity and tactical precision.
Mastering this tool means not just following signals, but actively reading and adapting to the conditions the dashboard provides for every phase of the market.
Previous Price Action## Previous Price Action - Market Structure Visualization Tool
**Three time-segmented boxes for enhanced market structure analysis:**
🟢 **240 Candles Box (Green)** - Historical context (candles -240 to -120)
🟡 **120 Candles Box (Yellow)** - Medium-term trend (candles -120 to -10)
🔴 **10 Candles Box (Red)** - Recent price action (last 10 candles)
**Key Features:**
- Non-overlapping time segments for clear trend analysis
- Uniform height based on 240-candle range for easy comparison
- 50% transparency to maintain chart readability
- Ideal for identifying momentum vs mean reversion conditions
**Perfect for:**
- Crypto day trading and scalping
- Market regime identification (trending vs choppy)
- Entry timing and trade management
- Duration of trend analysis
**Settings:** Fully customizable colors, transparency, and individual box toggle switches.
Vortex strategy🧠 Overview
The Vortex Strategy is a sophisticated trend-following and volatility-based trading algorithm designed for precision entries during directional market phases. It leverages Jurik smoothing, velocity filtering, and Vortex Indicator derivatives, enhanced with advanced risk management and hourly optimization. This strategy is best suited for futures and high-volume intraday markets like the CME E-Mini S&P 500 (ES1!).
🔧 Core Features
🔄 Vortex Indicator with Velocity Filter
Uses a velocity-enhanced form of the classic Vortex Indicator (VIP and VIM) to capture directional momentum.
Smooth VMP/VMM via SS & BW and pass that through a custom velocity function using RMS-scaled filtering.
📉 Super Smoother Trend Filter
Implements Ehlers' Super Smoother Filter to define trend bias dynamically.
Acts as a directional filter for long/short entry conditions, avoiding whipsaws.
🔊 Volume Velocity Confirmation
Entry signals require increasing volume velocity, calculated using RMS scaling and normalized via bandpass filtering.
🧠 Signal Conditions
Long Entry: VIP crosses above VIM, price above smoothed trend filter, and volume velocity increasing.
Short Entry: VIM crosses above VIP, price below trend filter, and volume velocity increasing.
🛡️ Risk & Trade Management
🎯 Dynamic Stop Loss & Take Profit
SL and TP are calculated using ATR smoothed with Jurik MA.
TP multiplier is customizable by hour, optimizing profit capture per trading session.
🕐 Hourly Optimization
Define up to 3 specific trade hours, each with:
Unique risk % allocation
Unique TP multipliers
Falls back to user-defined default settings if outside optimized hours, (Asia, New York).
🪙 Position Sizing
Risk-based sizing per trade.
Contracts are calculated dynamically using user/hourly risk and stop distance.
Rounded down to whole units to comply with futures contract rules.
⚙️ Advanced Tools
Jurik Moving Average (JMA): Smoothing with minimal lag
T3 Moving Average: Tilson’s smoother with configurable alpha
Laguerre Ultimate Smoother: Custom low-pass filter for signal confirmation
Hann Window FIR Filter: Optional for fine-tuned smoothing
Butterworth High-Pass & Bandpass Filters: For noise reduction and signal isolation
Z-Score Normalization: Detect extreme moves
Modular MA Framework: Plug-and-play MA type selector for quick experiments
⚙️ User Inputs (Grouped)
📌 Strategy Settings
Trade Direction: Long, Short, or Both
User-defined base risk (%)
📌 Entry Filters
Source type (hl2 default)
Vortex Length and Velocity Length
Super Smoother length
Volume Velocity length
📌 Risk & TP Settings
ATR Length, SL Multiplier, TP Multiplier
Per-hour TP/SL & risk percentages
📌 Time Filter
Toggle & configure 3 active trade hours
✅ Execution Logic
Strategy orders are submitted using strategy entry with calculated qty and a stop trigger.
Exits are handled by strategy exit with both SL and TP conditions.
Ensures each entry aligns with direction, trend filter, and volume momentum.
📈 Ideal For
Intraday futures traders (e.g., CME ES1!)
Traders needing hour-by-hour performance tuning
Strategies requiring advanced smoothing and signal validation
Quantitative backtesters analyzing risk-adjusted performance
Vortex Indicator with HistogramThis is a simple script showing a standard Vortex Indicator along with a histogram that displays the difference between the Vortex lines.
Momentum and Momentum ChangeThis is a simple script, showing a line for the 14-day momentum (changes in price) along with a histogram that displays the change in momentum (an indicator of price acceleration).
RSI with Williams %R Coloringsimple fusion of RSI to seek divergence and williams % R coloring to see overbought/oversold price.
not my own work, just merely took two standard indicators and infused them.
RSI Long Only with Confirmed CrossbacksThis RSI-based long-only strategy aims to identify and trade potential reversals with confirmation to reduce false signals. It enters a long position only after the Relative Strength Index (RSI) first dips below a specified oversold threshold (default 44) and then crosses back above it, signaling a possible bullish reversal with momentum. The strategy avoids premature entries by requiring this two-step confirmation. Similarly, it exits the long position only after RSI first rises above the overbought threshold (default 70) and then crosses back below it, indicating a potential loss of bullish momentum. By waiting for RSI to travel beyond the thresholds and then revert, the strategy attempts to capture stronger and more reliable directional moves while filtering out temporary spikes.
Unified Signal EngineThis Pine Script titled "Unified Signal Engine" is a comprehensive multi-indicator trading tool designed to generate buy and sell signals based on the combined logic of five different technical indicators:
🔍 Core Components
PMO (Price Momentum Oscillator)
Uses double-smoothed rate of change to detect momentum shifts.
Buy signal: when PMO crosses above its signal line.
Average Force
Measures the strength of price movement within a range.
Buy signal: when the force is positive.
Dynamic Sentiment RSI
A sentiment-weighted RSI with smoothing and step rounding.
Buy signal: when sentiment RSI is above zero.
Adaptive Resonance Oscillator
Uses Hilbert Transform and adaptive RSI logic.
Buy signal: when RSI crossover occurs and RSI is above 50 (added filter for stronger confirmation).
Turbo Oscillator
Combines RSI, MFI, and Stochastic indicators with divergence detection and take-profit logic.
Buy signal: when oscillator conditions and reversal patterns align.
📈 Signal Logic
Buy Signal (long) is triggered when all selected indicators (based on user input toggles) align positively.
Sell Signal (short) is triggered when all selected indicators align negatively.
🔔 Alerts and Visuals
Plots triangle shapes below/above bars for buy/sell signals.
Alerts are configured for buy, sell, and combined conditions.
🧠 Customisation
Users can toggle each indicator on/off.
Includes smoothing, divergence detection, and visual styling options.
This script is ideal for traders looking to unify multiple momentum and sentiment indicators into a single decision engine, offering flexibility and layered confirmation for entries and exits.
Cross-Correlation Lead/Lag AnalyzerCross-Correlation Lead/Lag Analyzer (XCorr)
Discover which instrument moves first with advanced cross-correlation analysis.
This indicator analyzes the lead/lag relationship between any two financial instruments using rolling cross-correlation at multiple time offsets. Perfect for pairs trading, market timing, and understanding inter-market relationships.
Key Features:
Universal compatibility - Works with any two symbols (stocks, futures, forex, crypto, commodities)
Multi-timeframe analysis - Automatically adjusts lag periods based on your chart timeframe
Real-time correlation table - Shows current correlation values for all lag scenarios
Visual lead/lag detection - Color-coded plots make it easy to spot which instrument leads
Smart "Best" indicator - Automatically identifies the strongest relationship
How to Use:
Set your symbols in the indicator settings (default: NQ1! vs RTY1!)
Adjust correlation length (default: 20 periods for smooth but responsive analysis)
Watch the colored lines:
• Red/Orange: Symbol 2 leads Symbol 1 by 1-2 periods
• Blue: Instruments move simultaneously
• Green/Purple: Symbol 1 leads Symbol 2 by 1-2 periods
Check the table for exact correlation values and the "Best" relationship
Interpreting Results:
Correlation > 0.7: Strong positive relationship
Correlation 0.3-0.7: Moderate relationship
Correlation < 0.3: Weak/no relationship
Highest line indicates the optimal timing relationship
Popular Use Cases:
Index Futures : NQ vs ES, RTY vs IWM
Sector Rotation : XLF vs XLK, QQQ vs SPY
Commodities : GC vs SI, CL vs NG
Currency Pairs : EURUSD vs GBPUSD
Crypto : BTC vs ETH correlation analysis
Technical Notes:
Cross-correlation measures linear relationships between two time series at different time lags. This implementation uses Pearson correlation with adjustable periods, calculating correlations from -2 to +2 period offsets to detect leading/lagging behavior.
Perfect for quantitative analysts, pairs traders, and anyone studying inter-market relationships.
NWE-cRSI-StochRSI增强反转信号 [2分钟专用]The NWE-cRSI-StochRSI Reversal System is a sophisticated trading indicator designed exclusively for 2-minute charts. It combines three powerful technical components—Nadaraya-Watson Envelope (NWE), Cyclical RSI (cRSI), and Stochastic RSI (StochRSI)—to identify high-probability reversal opportunities in fast-moving markets. This triple-confirmation system filters noise while capturing early reversal signals with precision.
BTCÐ&SOL 5M Sinal IndicatorThis is a signal indicator that combines MACD, RSI, and three moving averages. When all signals match, the entry signal is determined based on the golden cross/death cross of the moving averages.
The entry signal is set so that it does not occur when the RSI value is below 30 or above 70.
It also prevents countertrend trading based on the long-term moving average.
Based on Ethereum, it can achieve a 70% win rate and a 3:1 profit-to-loss ratio.
Compatible with Luxalgo S&O indicator.
BTCÐ&SOL 5M Sinal IndicatorThis is a signal indicator that combines MACD, RSI, and three moving averages. When all signals match, the entry signal is determined based on the golden cross/death cross of the moving averages.
The entry signal is set so that it does not occur when the RSI value is below 30 or above 70.
It also prevents countertrend trading based on the long-term moving average.
Based on Ethereum, it can achieve a 70% win rate and a 3:1 profit-to-loss ratio.
AethryonAethryon
Designed to provide a comprehensive market sentiment analysis by combining multiple technical indicators into a normalized Z-Score. It is suitable for assets like Bitcoin, on any timeframe.
Key Features:
Indicator Aggregation: Integrates RSI, Stochastic, Stochastic RSI, CCI, Bull Bear Power, Moving Average, VWAP Bands, Bollinger Bands, Supertrend, Linear Regression, and Market Structure, normalized to a 0-100 scale.
Customizable Inputs:
Z-Score lookback period (default 50) and upper/lower thresholds (default ±2.0).
Individual indicator settings (e.g., lengths, sources, multipliers).
Visualization options including style (Gradient, Bands, Pulses, Binary), glow effect, signals, thresholds, and dashboard size.
Visualization:
Plots a sentiment Z-Score line with a futuristic color scheme (cyan-green for bearish, magenta-red for bullish).
Features a gradient fill, bands, pulses, or binary visualization based on user selection.
Displays triangular buy/sell signals and threshold grid lines.
A dashboard shows value, trend, strength, signal, Z-Score, and system status with a neo-tech aesthetic.
Usage:
Helps traders gauge overall market sentiment and identify overbought/oversold conditions based on the Z-Score.
The dashboard provides real-time insights into trend direction, strength, and trading signals.
Ideal for overlay on a 1-day chart to monitor sentiment trends, as depicted in the Bitcoin/USD chart.