Market Sentiment Technicals by Carlos ChavezA comprehensive visual tool that measures market sentiment by combining multiple indicators (RSI, Stochastic, CCI, Bull/Bear Power, MA, VWAP, Bollinger Bands, Supertrend, Linear Regression, Market Structure, etc.) into a unified sentiment meter.
This script includes:
Horizontal Sentiment Thermometer with clear Strong Bearish → Strong Bullish labels.
Dynamic Color Gradient for intuitive trend visualization (red → green).
Market Sentiment Oscillator with real-time divergence detection.
Technical Panel displaying oscillator and trend indicator readings with automatic normalization.
It’s designed for traders who want a quick and powerful overview of market strength and direction during intraday or swing sessions.
All credits and layout belong to Carlos C.
Inspired by LuxAlgo’s Market Sentiment concept.
This version is a complete re-implementation with unique visual improvements and logic optimizations by Carlos C.
隨機RSI (STOCH RSI)
🐬Stochastic_RSIStochastic RSI
The indicator highlights the chart background for two specific signals:
- A bearish deadcross occurring above the upper band.
- A bullish goldencross occurring below the lower band.
-----
스토캐스틱 RSI
두가지 신호를 배경색으로 나타냅니다.
- 어퍼 밴드 위에서의 데드크로스
- 로우어 밴드 아래에서의 골든크로스
-----
Alt buy signal 1H Entry + 4H Confirm (MACD + Stoch RSI + HMA)This indicator is a multi-timeframe (MTF) analysis tool designed for the ALT trading , capturing entry signals on the 1-hour (1H) timeframe and confirming trends on the 4-hour (4H) timeframe. It combines MACD, Stoch RSI, and Hull Moving Average (HMA) to identify precise buy opportunities, particularly at reversal points after a downtrend or during trend shifts. It visually marks both past and current BUY signals for easy reference.
Key Features:
1H Entry Signal (Early Ping): Triggers on a MACD golden cross (below 0) combined with a Stoch RSI oversold cross (below 20), offering an initial buy opportunity.
4H Trend Confirmation (Entry Ready): Validates the trend with a 4H MACD histogram rising (in negative territory) or a golden cross, plus a Stoch RSI turn-up (above 30).
Past BUY Display: Labels past data points where these conditions were met as "1H BUY" or "FULL BUY," facilitating backtesting.
HMA Filter: Optional HMA(16) to confirm price breakouts, enhancing trend validation.
Purpose: Ideal for short-term scalping and swing trading. Supports a two-step strategy: initial partial entry on 1H signals, followed by additional entry on 4H confirmation.
Usage Instructions
Installation: Add the indicator to an IMX/USDT 1H chart on TradingView.
Signal Interpretation:
lime "1H BUY": 1H conditions met, consider initial entry (stop-loss: 3-5% below recent low).
green "FULL BUY": 1H+4H conditions met, confirm trend for additional entry (take-profit: 10% below recent swing high).
Customization: Adjust TF (1H/4H), MACD/Stoch RSI parameters, and HMA usage via the input settings.
Alert Setup: Enable alerts for "ENTRY READY" (1H+4H) or "EARLY PING" (1H only) conditions.
Advantages
Accuracy: Reduces false signals by combining MACD golden cross below 0 with Stoch RSI oversold conditions.
Dual Confirmation: 1H for quick timing and 4H for trend validation, improving risk management.
Visualization: Past BUY points enable easy backtesting and pattern recognition.
Flexibility: 4H confirmation mode adjustable (histogram rise or golden cross).
Limitations
Timeframe Dependency: Optimized for 1H charts; may not work on other timeframes.
Market Conditions: Potential whipsaws in sideways markets; additional filters (e.g., RSI > 50) recommended.
Manual Management: Stop-loss and take-profit require user discretion.
BTC Momentum Strategy - RSI & Stoch RSI Entry and EMA ExitBTC Momentum Strategy: RSI & Stoch RSI Entry with EMA Exit
This strategy is designed to identify potentially strong entry points for Bitcoin (BTC) during periods of shifting momentum and then ride the trend until it shows signs of weakness. It's a straightforward, long-only strategy, meaning it only looks for opportunities to buy and then sell for a profit.
How It Works:
The strategy combines a few classic indicators to make its decisions. Think of it as a two-step confirmation system for buying, with a simple rule for selling.
1. The Buy Signal (Green Triangle)
To generate a buy signal, the strategy looks for two things to happen at the same time:
RSI Confirmation: It first waits for the Relative Strength Index (RSI) to show signs of bullish momentum. Specifically, it's looking for the RSI line to cross above its own moving average, suggesting that strength is starting to build from a lower level. This helps catch moves as they begin to turn positive.
Stochastic RSI Confirmation: As an extra layer of confirmation, it also checks the Stochastic RSI. This helps filter out weaker signals and confirm that momentum is truly shifting upwards from an oversold or "bottomed-out" condition.
When both of these conditions are met, a green "buy" triangle will appear below the candle, and the strategy will enter a long position.
2. The Sell Signal (Red Triangle)
The exit rule is simple and designed to let your winners run while protecting you when the trend reverses.
* EMA-Based Exit: The strategy plots an orange line on your chart, which is an Exponential Moving Average (EMA). The strategy will hold the position as long as the price stays above this line. If a candle closes *below* the orange EMA line, it's taken as a sign that the short-term trend is weakening, and the strategy will close the position to lock in profits or cut losses. A red "sell" triangle will appear above that candle.
Best Use:
This strategy was built with Bitcoin in mind and tends to perform best on higher timeframes like the Weekly charts. It aims to capture major swings rather than small, quick scalps.
You can adjust all the settings for the RSI, Stochastic RSI, and the Exit EMA to fine-tune the strategy to your own trading style.
AI Trading Alerts v6 — SL/TP + Confidence + Panel (Fixed)Overview
This Pine Script is designed to identify high-probability trading opportunities in Forex, commodities, and crypto markets. It combines EMA trend filters, RSI, and Stochastic RSI, with automatic stop-loss (SL) & take-profit (TP) suggestions, and provides a confidence panel to quickly assess the trade setup strength.
It also includes TradingView alert conditions so you can set up notifications for Long/Short setups and EMA crosses.
⚙️ Features
EMA Trend Filter
Uses EMA 50, 100, 200 for trend confirmation.
Bull trend = EMA50 > EMA100 > EMA200
Bear trend = EMA50 < EMA100 < EMA200
RSI Filter
Bullish trades require RSI > 50
Bearish trades require RSI < 50
Stochastic RSI Filter
Prevents entries during overbought/oversold extremes.
Bullish entry only if %K and %D < 80
Bearish entry only if %K and %D > 20
EMA Proximity Check
Price must be near EMA50 (within ATR × adjustable multiplier).
Signals
Continuation Signals:
Long if all bullish conditions align.
Short if all bearish conditions align.
Cross Events:
Long Cross when price crosses above EMA50 in bull trend.
Short Cross when price crosses below EMA50 in bear trend.
Automatic SL/TP Suggestions
SL size adjusts depending on asset:
Gold/Silver (XAU/XAG): 5 pts
Bitcoin/Ethereum: 100 pts
FX pairs (default): 20 pts
TP = SL × Risk:Reward ratio (default 1:2).
Confidence Score (0–4)
Based on conditions met (trend, RSI, Stoch, EMA proximity).
Labels:
Strongest (4/4)
Strong (3/4)
Medium (2/4)
Low (1/4)
Visual Panel on Chart
Shows ✅/❌ for each condition (trend, RSI, Stoch, EMA proximity, signal now).
Confidence row with color-coded strength.
Alerts
Long Setup
Short Setup
Long Cross
Short Cross
🖥️ How to Use
1. Add the Script
Open TradingView → Pine Editor.
Paste the full script.
Click Add to chart.
Save as "AI Trading Alerts v6 — SL/TP + Confidence + Panel".
2. Configure Inputs
EMA Lengths: Default 50/100/200 (works well for swing trading).
RSI Length: 14 (standard).
Stochastic Length/K/D: Default 14/3/3.
Risk:Reward Ratio: Default 2.0 (can change to 1.5, 3.0, etc.).
EMA Proximity Threshold: Default 0.20 × ATR (adjust to be stricter/looser).
3. Read the Panel
Top-right of chart, you’ll see ✅ or ❌ for:
Trend → Are EMAs aligned?
RSI → Above 50 (bull) or below 50 (bear)?
Stoch OK → Not extreme?
Near EMA50 → Close enough to EMA50?
Above/Below OK → Price position vs. EMA50 matches trend?
Signal Now → Entry triggered?
Confidence row:
🟢 Green = Strongest
🟩 Light green = Strong
🟧 Orange = Medium
🟨 Yellow = Low
⬜ Gray = None
4. Alerts Setup
Go to TradingView Alerts (⏰ icon).
Choose the script under “Condition”.
Select alert type:
Long Setup
Short Setup
Long Cross
Short Cross
Set notification method (popup, sound, email, mobile).
Click Create.
Now TradingView will notify you automatically when signals appear.
5. Example Workflow
Wait for Confidence = Strong/Strongest.
Check if market session supports volatility (e.g., XAU in London/NY).
Review SL/TP suggestions:
Long → Entry: current price, SL: close - risk_pts, TP: close + risk_pts × RR.
Short → Entry: current price, SL: close + risk_pts, TP: close - risk_pts × RR.
Adjust based on your own price action analysis.
📊 Best Practices
Use on H1 + D1 combo → align higher timeframe bias with intraday entries.
Risk only 1–2% of account per trade (position sizing required).
Filter with market sessions (Asia, Europe, US).
Strongest signals work best with trending pairs (e.g., XAUUSD, USDJPY, BTCUSD).
Multi-Timeframe Stochastic RSI Momentum MatrixThis indicator gives you a "bigger picture" view of a stock's momentum by showing you the Daily, Weekly, and Monthly Stoch RSI all in one place. It helps answer two key questions: "Where is the price going?" and "When might things change?". The results of this indicator are presented in a table for easy viewing.
What the Columns Mean:
Stoch RSI : The main momentum score. Red means "overbought" (momentum is high and might be getting tired), and green means "oversold" (momentum is low and might be ready to bounce).
Price for OB/OS : This shows you the approximate price the stock needs to hit to become overbought or oversold.
- (Hist) means the target is a real price that happened recently.
- (Pred) means the price has exceeded the historical momentum boundary at which was oversold or overbough so the indicator has to predict a new target instead of leveraging a historical target.
Key Anchor Reset In : Think of this as a simple countdown. It tells you how many bars (days, weeks, etc.) are left until a key old price is dropped from the indicator's memory. When this countdown hits zero, it can cause a sharp change in the momentum reading, giving you a "heads-up" for a potential shift.
If you're interested in more technical details, read below:
I have leveraged a quantitative framework for analyzing the temporal dynamics of the Stochastic RSI across multiple timeframes (Daily, Weekly, Monthly). It functions as a correlational matrix, designed to move beyond simple overbought/oversold signals by providing contextual and data-driven targets in both price and time.
The matrix computes two primary sets of forward-looking data points:
Price Targets : A hybrid model is employed to determine the price required to push the StochRSI oscillator into an extreme state.
- Historical Anchor (Hist) : This is the primary/default method. It identifies the
deterministic close price within the lookback period that corresponds to the highest (or
lowest) RSI value. This represents a concrete and historically-defined momentum boundary.
- Predictive Heuristic (Pred) : In instances where the current price has invalidated this
historical anchor (i.e., the market is in a state of momentum expansion), the model
switches to a predictive heuristic. It calculates the recent price-to-RSI volatility ratio and
extrapolates the approximate price movement required to achieve an overbought or
oversold state.
Temporal Targets ("Key Anchor Reset In") : This metric provides a temporal forecast. It identifies the highest and lowest RSI values currently anchoring the Stochastic calculation and determines the number of bars remaining until these key data points are excluded from the lookback window. The roll-off of these anchors can precede a significant, non-linear reset in the oscillator's value, thus serving as a leading indicator for a potential momentum state-shift.
Disclaimer : This tool is a derivative of historical price action and should be used for quantitative analysis of momentum states, not as an oracle. The "predictive" components are heuristic extrapolations based on recent volatility and momentum characteristics and they are probabilistic in nature and do not account for exogenous market variables or fundamental shifts. All outputs are contingent on the continuation of the ticker's current momentum profile.
Mean Reversion Probability Zones [BigBeluga]🔵 OVERVIEW
The Mean Reversion Probability Zones indicator measures the likelihood of price reverting back toward its mean . By analyzing oscillator dynamics (RSI, MFI, or Stochastic), it calculates probability zones both above and below the oscillator. These zones are visualized as histograms, colored regions on the main chart, and a compact dashboard, helping traders spot when the market is statistically stretched and more likely to revert.
🔵 CONCEPTS
Mean Reversion : The tendency of price to return to its average after significant extensions.
Oscillator-Based Analysis : Uses RSI, MFI, or Stochastic as the base signal for detecting overextension.
Probability Model : The probability of reversion is computed using three factors:
Whether the oscillator is rising or declining.
Whether the oscillator is above or below user-defined thresholds.
The oscillator’s actual value (distance from equilibrium).
Dual-Zone Output :
Upper histogram = probability of downward mean reversion.
Lower histogram = probability of upward mean reversion.
Historical Extremes : The dashboard highlights the recent maximum probability values for both upward and downward scenarios.
🔵 FEATURES
Oscillator Choice : Switch between RSI, MFI, and Stochastic.
Customizable Zones : User-defined upper/lower thresholds with independent colors.
Probability Histograms :
Above oscillator → down reversion probability.
Below oscillator → up reversion probability.
Colored Gradient Zones on Chart : Visual overlays showing where mean reversion probabilities are strongest.
Probability Labels : Percentages displayed next to histogram values for clarity.
Dashboard : Compact table in the corner showing the recent maximum probabilities for both upward and downward mean reversion.
Overlay Compatibility : Works in both chart pane and sub-pane with oscillators.
🔵 HOW TO USE
Set Oscillator : Choose RSI, MFI, or Stochastic depending on your strategy style.
Adjust Zones : Define upper/lower bounds for when oscillator values indicate strong overbought/oversold conditions.
Interpret Histograms :
Orange (upper) histogram → higher chance of a pullback/downward mean reversion.
Green (lower) histogram → higher chance of upward reversion/bounce.
Watch Gradient Zones : On the main chart, shaded areas highlight where probability of mean reversion is elevated.
Consult Dashboard : Use the “Recent MAX” values to understand how strong recent reversion probabilities have been in either direction.
Confluence Strategy : Combine with support/resistance, order flow, or trend filters to avoid counter-trend trades.
🔵 CONCLUSION
The Mean Reversion Probability Zones provides traders with an advanced way to quantify and visualize mean reversion opportunities. By blending oscillator momentum, threshold logic, and probability calculations, it highlights when markets are statistically stretched and primed for reversal. Whether you are a contrarian trader or simply looking for exhaustion signals to fade, this tool helps bring structure and clarity to mean reversion setups.
FlowSpike ES — BB • RSI • VWAP + AVWAP + News MuteThis indicator is purpose-built for E-mini S&P 500 (ES) futures traders, combining volatility bands, momentum filters, and session-anchored levels into a streamlined tool for intraday execution.
Key Features:
• ES-Tuned Presets
Automatically optimized settings for scalping (1–2m), daytrading (5m), and swing trading (15–60m) timeframes.
• Bollinger Band & RSI Signals
Entry signals trigger only at statistically significant extremes, with RSI filters to reduce false moves.
• VWAP & Anchored VWAPs
Session VWAP plus anchored VWAPs (RTH open, weekly, monthly, and custom) provide high-confidence reference levels used by professional order-flow traders.
• Volatility Filter (ATR in ticks)
Ensures signals are only shown when the ES is moving enough to offer tradable edges.
• News-Time Mute
Suppresses signals around scheduled economic releases (customizable windows in ET), helping traders avoid whipsaw conditions.
• Clean Alerts
Long/short alerts are generated only when all conditions align, with optional bar-close confirmation.
Why It’s Tailored for ES Futures:
• Designed around ES tick size (0.25) and volatility structure.
• Session settings respect RTH hours (09:30–16:00 ET), the period where most liquidity and institutional flows concentrate.
• ATR thresholds and RSI bands are pre-tuned for ES market behavior, reducing the need for manual optimization.
⸻
This is not a generic indicator—it’s a futures-focused tool created to align with the way ES trades day after day. Whether you scalp the open, manage intraday swings, or align to weekly/monthly anchored flows, FlowSpike ES gives you a clear, rules-based signal framework.
Slingshot System By Dusty InvestmentsSlingshot System by Dusty Investments
What it is
A trend-following pullback system designed to time entries inside an established trend using a two-EMA “cloud” plus a Stochastic-RSI K oscillator.
It's the improved version of this script:
It plots:
An EMA cloud (trend and pullback filter)
Long/Short setup markers
“TAKE PROFIT” markers based on the oscillator
Core building blocks
Trend filter (EMA Cloud)
Fast EMA vs Slow EMA
Uptrend: Fast EMA > Slow EMA
Downtrend: Fast EMA < Slow EMA
The area between the two EMAs is filled (the “cloud”).
Cloud touch
The system requires price to touch/pierce the cloud with a small tolerance (configurable) to qualify a pullback.
Oscillator
K is a smoothed Stochastic of RSI (StochRSI K).
Oversold/Overbought levels default to 20/80, with a small tolerance kTol to avoid edge flicker.
Long logic (pullbacks within uptrend)
Purpose: Catch a second, “higher” dip during an uptrend.
Steps:
Candidate V1: While in uptrend, if K ≤ Oversold and price touches the EMA cloud, a V1 candidate is stored (the first dip).
Deal lock: When K later reaches ≥ Overbought in uptrend, the last V1 candidate is “locked in” as V1 for this cycle.
V2 search: After the lock, if another pullback appears (still in uptrend, K ≤ Oversold, price touching the cloud) and the low stays strictly above V1’s low, the script starts searching for the best V2 low (the lowest low of this second dip that remains above V1’s low).
Long signal: When K exits the oversold area, if a valid V2 was found above V1’s low, the indicator places a LONG label at that V2 low.
Take profit for Long: The “TAKE PROFIT” marker is shown when K crosses up through the Overbought level (≥ 80 by default).
Short logic (pullbacks within downtrend)
Purpose: Catch lower‑high pullbacks during a downtrend. The workflow is explicit and labeled:
D1 (first anchor): In downtrend, when price touches the cloud and K ≥ Overbought, mark D1 (the first high).
Valley: The first time K reaches ≤ Oversold after D1.
D2 (setup high): After the valley, the first bar that again touches the cloud with K ≥ Overbought and makes a strict Lower High vs D1 becomes D2. This opens a “window.”
Signal (live): From D2 until confirmation, the Signal marker follows the most recent swing high that forms on downtrend bars. It never tracks uptrend bars.
Confirmation: The first time K reaches ≤ Oversold after D2, the Signal is fixed at the last tracked high. From here the system waits for TP.
Take profit for Short: The “TAKE PROFIT” marker is shown when K crosses back above the Overbought level (≥ 80 by default).
Chaining (New D1): At TP, the prior D2 is promoted to “New D1,” allowing the next cycle to form if conditions repeat (D1 → Valley → D2).
What the labels mean
LONG: A validated long setup at the V2 low (second dip above the first dip’s low) within an uptrend.
SHORT: The live Short entry marker that moves to the latest downtrend swing high between D2 and confirmation; it gets fixed when K hits ≤ Oversold.
TAKE PROFIT: Suggestive exit markers tied to the K oscillator (Long TP when K crosses up 80; Short TP when K crosses up 80 after a Short confirmation).
Strict constraints baked in
No signals against the trend
Fast EMA / Slow EMA periods (trend and cloud)
RSI period for the StochRSI, Stochastic period, and K smoothing
Oversold/Overbought levels (defaults 20/80)
Cloud touch tolerance (percent)
kTol: tolerance around 20/80 thresholds for K
How to use it
Pick your market and use the 4H timeframe since you get the best results this way.
Trade with the trend:
Uptrend: Watch for LONG markers (V1 then V2 higher‑low behavior).
Downtrend: Watch the D1 → Valley → D2 sequence. The Signal marker appears after D2 and is fixed at confirmation; TP comes on K > 80.
Calibrate touchTolPct and kTol per symbol/timeframe to match how tightly you want to require cloud touches and K thresholds.
Risk management is up to you. The indicator outputs entries and TP suggestions; it does not set stops.
Notes
Signals confirm at bar close. During a Short window, the live Signal may move to newer downtrend highs; once confirmed, it becomes fixed.
The LONG side is symmetrical in spirit (pullback‑then‑higher‑low in uptrend), but naming uses V1/V2 instead of D1/D2.
Sling Shot System By LorinThis script uses the Sling Shot System to draw a cloud of Fast EMA of 38 and Slow EMA of 62, a cloud where most of the pullbacks go to. Together with the Stochastic RSI it draws long and short signals:
1. Longs:
when the RSI is bellow 20.
when the candle has touched the cloud on close.
when the price is forming a higher low, meaning its higher then the last time these conditions were met.
when the price is the uptrend, meaning the cloud is green.
2. Shorts:
when the RSI is above 80.
when the candle has touched the cloud on close.
when the price is forming a lower low, meaning its lower then the last time these conditions were met.
when the price is in the downtrend, meaning the cloud is red.
MTF Stochastic Range FinderThis indicator compares Stochastic RSI from 2 timeframes to signal possible reversals. Default 5 minute and 2 minute. Both Stochastic RSIs are customizable.
Allows for 6 support/resistance lines and allows a tolerance to filter proximity to levels for entry.
Can filter price level by manual support/resistance levels and/or VWAP
Triple-Timeframe Stochastic Alerts (Smart Filtered)multi time stochastic w/ volume.
Smart filters, volume cool off,
3 adjustable time stochastic.
volume filter
REMS Snap Shot OverlayThe REMS Snap Shot indicator is a multi-factor, confluence-based system that combines momentum (RSI, Stochastic RSI), trend (EMA, MACD), and optional filters (volume, MACD histogram, session time) to identify high-probability trade setups. Signals are only triggered when all enabled conditions align, giving the trader a filtered, visually clear entry signal.
This indicator uses an optional 'look-back' feature where in it will signal an entry based on the recency of specified cross events.
To use the indicator, select which technical indicators you wish to filter, the session you wish to apply (default is 9:30am - 4pm EST, based on your chart time settings), and if which cross events you wish to trigger a reset on the cooldown.
The default settings filter the 4 major technical indicators (RSI, EMAs, MACD, Stochastic RSI) but optional filters exist to further fine tune Stochastic Range, MACD momentum and strength, and volume, with optional visual cues for MACD position, Stochastic RSI position, and volume.
EMAs can be drawn on the chart from this indicator with optional shaded background.
This indicator is an alternative to REMS First Strike, which uses a recency filter instead of a cool down.
REMS First Strike OverlayThe REMS First Strike indicator is a multi-factor, confluence-based system that combines momentum (RSI, Stochastic RSI), trend (EMA, MACD), and optional filters (volume, MACD histogram, session time) to identify high-probability trade setups. Signals are only triggered when all enabled conditions align, giving the trader a filtered, visually clear entry signal.
This indicator uses an optional 'cool down' feature where in it will signal an entry only after any of the specified cross events occur.
To use the indicator, select which technical indicators you wish to filter, the session you wish to apply (default is 9:30am - 4pm EST, based on your chart time settings), and if which cross events you wish to trigger a reset on the cooldown.
The default settings filter the 4 major technical indicators (RSI, EMAs, MACD, Stochastic RSI) but optional filters exist to further fine tune Stochastic Range, MACD momentum and strength, and volume, with optional visual cues for MACD position, Stochastic RSI position, and volume.
EMAs can be drawn on the chart from this indicator with optional shaded background.
This indicator is an alternative to REMS Snap Shot, which uses a recency filter instead of a cool down.
Penguin Trend with RSI on DiffVisualizes volatility regime via the percent spread between the upper Bollinger Band and the upper Keltner Channel, with bar colors from a lightweight trend engine and an RSI computed on the Diff signal. Supports SMA/EMA/WMA/RMA/HMA/VWMA/VWAP and an optional calculation timeframe. Defaults preserve the original look and behavior.
Penguin Trend with RSI on Diff shows expansion vs. compression in price action by comparing two classic volatility envelopes. It computes:
Diff% = (UpperBB − UpperKC) / UpperKC × 100
• Diff > 0: Bollinger Bands are wider than Keltner Channels → expansion / momentum regime
• Diff < 0: BB narrower than KC → compression / squeeze regime
A white “Average Diff” line smooths Diff% (default: SMA(5)) to highlight regime shifts. Bars are colored only when Diff > 0 to focus on expansion phases. A lightweight trend engine defines four states from a fast/slow MA bias and a short “thrust” MA on ohlc4:
• Green: Bullish bias and thrust > fast MA (healthy upside thrust)
• Red: Bearish bias and thrust < fast MA (healthy downside thrust)
• Yellow: Bullish bias but thrust ≤ fast MA (pullback/weakness)
• Blue: Bearish bias but thrust ≥ fast MA (bear rally/short squeeze)
RSI on Diff:
The indicator adds an RSI applied to Diff% to gauge momentum of the expansion/compression signal itself. Choose between Built-in RSI or a manual RMA-based computation, and optionally smooth it. Default OB/OS lines are 70/30.
How it works:
• Bollinger Bands (BB): Basis = selected MA of src (default SMA(20)); Width = StdDev × Mult (default 2.0)
• Keltner Channels (KC): Basis = selected MA of src (default SMA(20)); Width = ATR(kcATR) × Mult (defaults 20 and 2.0)
• Diff%: Safe division guards against division-by-zero
• MA engine: Select SMA / EMA / WMA / RMA / HMA / VWMA / VWAP for BB/KC bases, Average Diff, and trend components (VWAP is session-anchored)
• Calculation timeframe: Compute internals on a chosen TF via request.security() while viewing any chart TF
Inputs (key):
• Calculation timeframe: Empty = chart TF; set e.g., 60/240 to compute on that TF
• BB: Length, StdDev Mult, MA Type
• KC: Basis Length, ATR Length, Multiplier, MA Type
• Average Diff: Length and MA Type
• RSI on Diff: RSI Length, Method (Built-in or Manual RMA), Smoothing Length, OB/OS levels, show/hide
• Trend Engine: Fast/Slow lengths & MA type, Signal (kept for completeness), Thrust MA length & type
• Display/Visibility: Paint bars only when Diff > 0; show zero line; “true Blue” color toggle; show/hide Diff columns and Average Diff
How to use:
1. Regime changes: Watch Diff% or Average Diff crossing 0. Above zero favors momentum/continuation setups; below zero suggests compression and potential breakout conditions.
2. State confirmation: During expansion (Diff > 0), prioritize Green/Red for aligned thrust; treat Yellow/Blue as cautionary/contrarian.
3. RSI on Diff: Use OB/OS and crossovers for timing entries/exits or for confirming/negating expansion strength.
Alerts:
• Diff crosses above/below 0
• Average Diff crosses above/below 0
• RSI(Diff) crosses above OB / below OS
• State changes: GREEN / RED / YELLOW / BLUE
Notes & limitations:
• VWAP is session-anchored and best on intraday data. If not applicable on the selected calculation TF, the script automatically falls back to EMA.
• Defaults (SMA(20) for BB/KC, multipliers 2.0, SMA(5) Average Diff, original trend coloring and bar painting) preserve the original appearance.
• RSI on Diff is plotted in the same pane for a compact workflow; you can hide it or split into a separate indicator if desired.
Release notes:
v6.0 — Upgraded to Pine v6. Added multi-MA options (SMA/EMA/WMA/RMA/HMA/VWMA/VWAP), calculation timeframe, RSI on Diff (Built-in or Manual RMA) with smoothing, safe division guard, optional zero line, and optional true Blue color. Defaults retain the original behavior.
License / disclaimer:
© waranyu.trkm — MIT License. Educational use only; not financial advice.
- Trading Bot – Dynamic RSI (Professional) - Robot Strategy -1. General Concept and Philosophy
This strategy was designed for systematic traders and work especially well on short timeframes (1 to 5 minutes), who seek to capture trend reversal movements with a high degree of confirmation. The goal is not to follow the trend, but to identify precise entry points in oversold or overbought zones, and then to exit the position dynamically to adapt to changing market conditions.
The originality of Trading Bot Dynamic RSI lies not in a single indicator, but in the intelligent fusion of several concepts:
Dynamic RSI bands for both entries and exits .
A triple confirmation filter to secure trade entries.
A fully parameterizable design ready for automation .
2. Originality at the Core of the Strategy: Key Features
Dynamic Exits on RSI Bands: This is a main original feature of this script. Unlike traditional strategies that use fixed Take-Profits and Stop-Losses, this one uses an exit RSI band, calculated with parameters independent of the entry ones. This allows the strategy to:
Adapt to Volatility: In a volatile market, the exit band will move further away, allowing for the capture of larger moves. In a ranging market, it will tighten to secure smaller gains.
Optimize Profits: The exit occurs when momentum genuinely fades, not at an arbitrary price level, thus maximizing the potential of each trade.
Triple Confirmation Filter for Precise Entries: To avoid false signals, each entry is validated by the convergence of three distinct conditions:
The base signal is generated when the price reaches an overbought or oversold zone, materialized by an RSI band calculated directly on the chart.
The WaveTrend oscillator must also be in an extreme zone, confirming that the short-term momentum is ready for a reversal.
Finally, the StochRSI must validate that the RSI itself is in an overbought or oversold condition, adding an extra layer of security.
"Automation Ready" Design: The strategy was developed with automation in mind.
Customizable Alert Messages: All messages for entries and exits (Long/Short) can be formatted to be compatible with automated trade execution platforms.
Precise Capital Management: The position size calculation can be set as a fixed amount (e.g., 100 USDT), a percentage of the total capital, or of the available capital, and includes leverage. These parameters are crucial for a trading bot.
3. Detailed Operation
Entry Logic: A position is opened only if the following three conditions are met:
The market price touches (or closes below/above) the entry RSI band (lower for a buy, upper for a sell).
The WaveTrend indicator is in the oversold zone (for a buy) or overbought zone (for a sell).
The Stochastic RSI indicator is also in the oversold zone (for a buy) or overbought zone (for a sell).
The order is placed as a limit order on the RSI band, allowing for execution at the best possible price.
Exit Logic: The primary exit is dynamic.
For a Long position, the trade is closed when the price reaches the upper exit RSI band.
For a Short position, the trade is closed when the price reaches the lower exit RSI band.
Optionally, a percentage-based Stop-Loss and Take-Profit can be activated for more traditional risk management, although the dynamic exit is the recommended default mechanism.
4. Ease of Use and Customization
Despite its internal complexity, the strategy is designed to be user-friendly :
Clear Settings Panel: Parameters are grouped by function (Long Entry, Long Exit, Quantity, etc.), and each option comes with an explanatory tooltip.
Integrated Display: All key information (performance, current settings) is displayed in clean and discreet tables directly on the chart, allowing you to see at a glance how the strategy is configured.
Total Flexibility: Although default settings are provided, every parameter (RSI lengths, levels, filters) can be adjusted to optimize the strategy on any asset (cryptocurrencies, Forex, indices...) and any timeframe.
5. Detailed Guide to User Settings
A comprehensive set of parameters
To offer you complete control and maximum flexibility, the strategy exposes a comprehensive set of parameters. Here is an overview of what you can customize:
Trading Mode and Display
Trading Mode: Choose to enable only long positions ("Long Only"), only short positions ("Short Only"), or both simultaneously ("Long and Short").
Display: Manage the information panels on the chart. You can opt for a full display, a minimal window showing the profit, or hide all information for a clean chart.
Filters Smoothing (StochRSI K)
Filters Smoothing: This key parameter adjusts the smoothing of the Stochastic RSI. A lower value will make the filter more responsive, generating more signals. A higher value will make it smoother, generating fewer but potentially more reliable signals.
LONG Position Settings
Long Only mode
Entry: Define the RSI length and Oversold level that draw the lower band for long position entries.
Exit: Independently configure the RSI length and Overbought level that draw the upper band for the dynamic position exit.
Options: Optionally enable a percentage-based Take-Profit and/or Stop-Loss.
SHORT Position Settings
Short Only Mode
Entry: Define the RSI length and Overbought level for the upper entry band for short positions.
Exit: Independently configure the RSI length and Oversold level for the lower dynamic exit band.
Options: Just like for long positions, you can enable a percentage-based Take-Profit and/or Stop-Loss.
Quantity and Leverage
Quantity Type: Calculate your position size in three ways: as a fixed cash amount, as a percentage of available capital, or as a percentage of the total account balance.
Amount: Specify the dollar amount or percentage to commit per trade.
Leverage: Set the leverage to be applied. This is crucial for automation.
Backtest Period
Backtest Period: Enable this option to limit the strategy's calculations to a specific time period. This is a powerful tool for testing performance under particular market conditions.
Bot Alert Messages
Bot Alert Messages: This section is dedicated to automation. Customize the exact text messages that will be sent by TradingView alerts for each event (enter long, exit long, etc.).
Other Settings (Advanced - Optional)
Other Settings: This section allows experienced users to fine-tune the confirmation engine. You can adjust the parameters of the WaveTrend and Stochastic RSI oscillators in detail.
Spread Calculator (Informative Only)
Spread Calculator: This handy tool helps you estimate the actual fees of your exchange to run a much more realistic backtest. This panel has no impact on the trading logic itself.
Disclaimer
This strategy provides signals based on past market conditions. Past performance is not indicative of future results. Trading involves risk, and it is the responsibility of each user to manage their risk appropriately. It is strongly recommended to conduct thorough backtests and to understand the functioning of each parameter before using this strategy in live conditions or automating it. Take into account transaction fees, spread, and slippage, which can impact real results.
Wolf long or short this indicator is based on RSI, Stoch, BB , this indicator is giving a better understanding of short or long combined with 3 indicator
BTC/Dominance RSI by Sajad BagheriTitle: "BTC/Dominance RSI by Sajad Bagheri"
Description: "Combines BTC Price RSI (Red) and BTC Dominance RSI (Green) to detect trend conflicts and overbought/oversold conditions."
Category: Oscillators
Tags: #BTC, #Dominance, #RSI, #Bitcoin
Access: Public/Private
GMO The GMO is a multi-component confluence oscillator that helps traders visualise when several momentum and trend conditions align.
It blends an EMA trend filter, RSI bias, MACD histogram direction, and Stochastic RSI crossovers, with the option to add Fibonacci retracement proximity for additional confidence.
When multiple conditions agree, combined visual markers (triangle + emoji) appear above or below price, and background shading reflects bullish or bearish momentum. Supporting plots display MACD histogram bars, RSI, Stochastic RSI lines, and the chosen Fibonacci level, allowing quick confirmation at a glance.
This tool is best used as part of a broader confluence-based strategy and should be paired with independent analysis and risk management.
SMI Base-Trigger Bullish Re-acceleration (Higher High)Description
What it does
This indicator highlights a two-step bullish pattern using Stochastic Momentum Index (SMI) plus an ATR distance filter:
1. Base (orange) – Marks a momentum “reset.” A base prints when SMI %K crosses up through %D while %K is below the Base level (default -70). The base stores the base price and starts a waiting window.
2. Trigger (green) – Confirms momentum and price strength. A trigger prints only if, before the timeout window ends:
• SMI %K crosses up through %D again,
• %K is above the Trigger level (default -60),
• Close > Base Price, and
• Price has advanced at least Min ATR multiple (default 1.0× the 14-period ATR) above the base price.
A dashed green line connects the base to the trigger.
Why it’s useful
It seeks a bullish divergence / reacceleration: momentum recovers from deeply negative territory, then price reclaims and exceeds the base by a volatility-aware margin. This helps filter out weak “oversold bounces.”
Signals
• Base ▲ (orange): Potential setup begins.
• Trigger ▲ (green): Confirmation—momentum and price agree.
Inputs (key ones)
• %K Length / EMA Smoothing / %D Length: SMI construction.
• Base when %K < (default -70): depth required for a valid reset.
• Trigger when %K > (default -60): strength required on confirmation.
• Base timeout (days) (default 100): maximum look-ahead window.
• ATR Length (default 14) and Min ATR multiple (default 1.0): price must exceed the base by this ATR-scaled distance.
How traders use it (example rules)
• Entry: On the Trigger.
• Risk: A common approach is a stop somewhere between the base price and a multiple of ATR below trigger; or use your system’s volatility stop.
• Exits: Your choice—trend MA cross, fixed R multiple, or structure-based levels.
Notes & tips
• Works best on liquid symbols and mid-to-higher timeframes (reduce noise).
• Increase Min ATR multiple to demand stronger price confirmation; tighten or widen Base/Trigger levels to fit your market.
• This script plots signals only; convert to a strategy to backtest entries/exits.
Bullish Divergence SMI Base & Trigger with ATR FilterDescription:
A bullish divergence indicator combining the Stochastic Momentum Index (SMI) and Average True Range (ATR) to pinpoint high-probability entries:
1. Base Arrow (Orange ▲):
• Marks every SMI %K / %D bullish crossover where %K < –70 (deep oversold)—the first half of the divergence setup.
• Each new qualifying crossover replaces the previous base, continuously “arming” the divergence signal.
• Configurable SMI lookbacks, oversold threshold, and a base timeout (default 100 days) to clear stale bases.
2. Trigger Arrow (Green ▲):
• Completes the bullish divergence: fires on the next SMI bullish crossover where %K > –60 and price has dropped below the base arrow’s close by at least N × ATR (default 1 × 14-day ATR).
• A dashed green line links the base and trigger to visually confirm the divergence.
• Resets after triggering, ready for a new divergence cycle.
Inputs:
• SMI %K Length, EMA Smoothing, %D Length
• Oversold Base Level (–70), Trigger Level (–60)
• ATR Length (14), ATR Multiplier (1.0)
• Base Timeout (100 days)
Ideal for any market, this study highlights genuine bullish divergences—oversold momentum crossovers that coincide with significant price reactions—before entering long trades.