Volume FIltered RSI Buy/Sell StrategyVolume Filtered RSI Buy/Sell Strategy
Introduction
This publication introduces the "Volume Filtered RSI Buy/Sell Strategy," a systematic trading approach designed specifically for cryptocurrency markets. This strategy combines RSI momentum signals with volume confirmation and precise candle pattern recognition to identify high-probability entry points while filtering out weak signals.
Overview
The strategy implements a multi-layered filtering system that requires several conditions to align before entering a trade. By requiring RSI momentum shifts, significant volume, and strong candle patterns, the system aims to capture only the most reliable trade setups. Built-in risk management features provide automatic stop-loss and take-profit placement based on either ATR volatility or fixed percentage risk.
Strategy Core Components:
RSI Momentum Detection : Identifies transitions from oversold to bullish (for longs) and overbought to bearish (for shorts)
Volume Confirmation : Ensures entries occur with above-average volume, filtering out low-liquidity signals
Candle Pattern Analysis : Requires strong bullish/bearish candles where the body comprises at least 50% of the candle range
Optional Supertrend Filter : Provides trend alignment confirmation across multiple timeframes
Dynamic ATR Stop-Loss System : Adapts protection levels based on current market volatility
Default Settings:
RSI Parameters : 14-period length with 70/30 overbought/oversold levels
Risk Management : 1.5 risk-reward ratio with option for ATR-based or fixed 0.5% stop-loss
Commission : 0.055% per trade (realistic for major exchanges)
Initial Capital : 100 USDT (realistic for average trader)
Order Size : Recommended 20 USDT per trade (20% risk per trade)
Entry Logic:
The strategy creates a powerful filtering system by requiring all of the following conditions to align:
Long Entry : RSI crosses above 30 from below + Strong bullish candle (body > 50% of range) + Volume > 14-period SMA
Short Entry : RSI crosses below 70 from above + Strong bearish candle (body > 50% of range) + Volume > 14-period SMA
Optional Trend Alignment : When enabled, entries must align with Supertrend direction
Exit Methods:
The strategy offers two comprehensive exit approaches:
ATR-Based : Dynamically calculates stop-loss and take-profit levels based on current volatility (3.5x ATR multiplier)
Fixed Percentage : Uses a consistent 0.5% stop-loss with take-profit set at 1.5x the risk distance
Visualization : All entry points, stop-loss levels and take-profit targets are clearly displayed on the chart
Why This Combination Works:
The power of this strategy comes from its multi-confirmation approach:
RSI identifies potential momentum shifts but can produce false signals in ranging markets
Volume confirmation ensures trades are only taken when sufficient market interest exists
Candle pattern requirements filter out weak reversals by demanding strong price action
When combined, these three filters significantly reduce false signals while capturing strong momentum shifts
Backtesting Results:
When tested on BTCUSDT 5-minute chart with the default settings:
Total trades: 53 (provides sufficient sample size)
Profitable trades: 58.49%
Profit factor: 1.472
Max drawdown: 3.01%
Net profit: +6.52%
Recommended Usage:
Optimal Timeframe : 5-minute chart for BTCUSDT
Trade Direction : Can be configured for Long-only, Short-only or Both directions
Risk Management : The default settings risk approximately 1% per trade with the recommended 20 USDT order size on 100 USDT capital
Indicator Mode : For those who prefer manual trade management, right-click on chart and disable "Trades On Chart"
Customization Options:
The strategy provides multiple parameters that can be adjusted to match different trading styles:
RSI length and overbought/oversold levels
ATR period for stop-loss calculation
Risk-reward ratio
Fixed stop-loss percentage
Optional Supertrend filter with adjustable factor and period
Disclaimer
This strategy is shared for educational purposes only. The default parameters have been tested to provide a balance between win rate and profitability, but past performance does not guarantee future results. The commission setting (0.055%) reflects realistic exchange fees, and the recommended position sizing (20% of capital) is higher than traditional 1-2% but represents common practice in cryptocurrency trading. Users should thoroughly test any changes to parameters before trading real capital.
震盪指標
StockTrend_VolThe MACD is computed as normal: EMA(fast) - EMA(slow).
It’s then scaled by volume, normalized over a moving average of volume.
The signal line is the EMA of this volume-weighted MACD.
A histogram shows the difference, as with standard MACD.
Buy/Sell Oscillator (BSO)📊 Buy/Sell Oscillator (BSO) – TradingView Script (Quick Guide)
What It Is:
A momentum-based indicator that plots buy/sell signals using a custom oscillator similar to RSI.
How It Works:
Calculates average gain/loss over a set period using Wilder’s method.
Converts the ratio into a BSO value (0–100 scale).
Buy Signal (Green Arrow): When BSO crosses below 40 (oversold).
Sell Signal (Red Arrow): When BSO crosses above 60 (overbought).
How to Use:
Apply on intraday charts (1–5 min) for momentum trading.
Buy on green arrow + price strength.
Sell or short on red arrow + weakness.
Works best with trend or volume confirmation.
Customizable:
Length, overbought/oversold levels, arrow visibility.
ADX Trend StrengthThis ADX Trend Strength indicator visually highlights trend intensity and direction using dynamic color-coded ADX lines, shaded threshold zones (20 & 25), and a top-pane label summarizing current market conditions. The label updates in real time to identify:
Strong Uptrend (ADX > 25 and +DI > -DI)
Strong Downtrend (ADX > 25 and -DI > +DI)
No Trend (ADX < 20)
Potential Trend Forming (ADX between 20–25)
Works well with breakout, trend-following, and pullback strategies—especially when paired with moving averages, RSI, or price action patterns. Includes optional alerts for ADX crossing key thresholds to signal early trend development.
RSI Divergences (Regular, Hidden, Exaggerated)RSI Divergences (Regular, Hidden, Exaggerated)
This indicator detects and visually highlights all major types of RSI divergences on your chart: Regular, Hidden, and Exaggerated divergences, both bullish and bearish.
Key Features:
Calculates RSI based on a user-defined length and timeframe that automatically matches your chart's timeframe.
Identifies pivot highs and lows on both price and RSI using customizable pivot left/right bars.
Detects divergences when RSI and price movements disagree, signaling potential trend reversals or continuation.
Differentiates between three types of divergences:
Regular Divergence: Classic signal for possible trend reversal.
Hidden Divergence: Often indicates trend continuation.
Exaggerated Divergence: A less common form signaling momentum changes.
Draws clear colored lines and labels on the RSI pane for each divergence, using green for bullish and red for bearish signals.
Includes RSI overbought (70) and oversold (30) bands with gradient fills to help visualize RSI zones.
Efficient use of arrays to track pivots and manage plotting history for smooth performance.
Usage:
Ideal for traders looking to leverage RSI divergences for better timing entries and exits in trending and range-bound markets. The script is fully customizable and works seamlessly across different timeframes
5min orb all filters (9:45end)5min orb signal fired off the first 5min candle to open/close outside the range.. this version has trend filters and 2 take profit levels with a auto breakeven feature
Big Mover Catcher BTC 4h🧠 Big Mover Catcher (BTC 4H Strategy) — Educational Tool
⚠️ Disclaimer: I am not a financial advisor. This script is for educational and testing purposes only. Cryptocurrency trading is highly volatile and involves significant risk. You can lose all of your invested capital.
📌 Overview
The Big Mover Catcher strategy is a work-in-progress trading system designed for Bitcoin (BTC) on the 4-hour chart. It aims to identify strong breakout moves by combining multiple technical indicators and conditions, allowing for high customization and filter-based confirmations.
This script is part of a personal project to learn Pine Script and backtesting on TradingView. It is currently in the testing and research phase.
🎯 Strategy Objective
Catch large, high-momentum breakout moves in the BTC market using:
Bollinger Band breakouts for entry signals
Momentum, volatility, and trend filters for trade confirmation
🧰 Features & Filters
The script provides a flexible set of filters that can be turned ON/OFF and adjusted directly from the settings panel:
✅ Entry Conditions
Price must break above or below Bollinger Bands
All selected filters must align before entry
🧪 Available Filters:
Relative Strength Index (RSI) with EMA/SMA smoothing
Average Directional Index (ADX) with EMA/SMA smoothing
Average True Range (ATR) with EMA/SMA smoothing
MACD Signal above or below zero
EMA 350 trend filter
ATR / ADX / RSI Threshold toggles for added control
🔥 Additional Feature:
Force Take Profit: Optionally closes the trade immediately if a candle closes with more than a defined % movement (default: 5%). This can help lock in quick profits during high volatility moves.
⚙️ Customizable Inputs
You can configure:
Stop loss percentage
All indicator lengths
Smoothing types (EMA/SMA)
Threshold activation toggles
Individual filter ON/OFF switches
This makes the strategy highly adaptable for educational exploration and optimization.
📊 Best Used For
Learning Pine Script and strategy structure
Testing filter combinations for BTC on the 4H timeframe
Understanding how different indicators interact in live markets
⚠️ Note: ❌ Short trades are currently disabled by default, as short-side logic is still under development.
❗ Final Reminder
This script is not financial advice. It is an educational tool. Use it to learn and explore trading logic. Trading cryptocurrencies carries high risk — only invest what you can afford to lose.
Mimas buy and sellBollinger Bands: Calculated using a simple moving average (basis) and standard deviation (dev).
EMAs: Two exponential moving averages (EMA 5 and EMA 20) are plotted to identify short-term and long-term trends.
Price Action Patterns: The script detects higher highs and higher lows for bullish conditions, and lower highs and lower lows for bearish conditions.
Trend Strength: An exponential moving average of the price change is used to gauge the strength of the trend.
Trade Signals: Buy and sell signals are plotted on the chart when specific conditions are met, combining price action patterns, trend strength, Bollinger Bands, and EMA crossovers.
Take-Profit Levels: Dynamic take-profit levels are calculated based on recent swing highs and lows, adjusted by a user-defined multiplier. These levels are displayed on the chart using plot to draw horizontal lines.
StochRSI Context EngineThe StochRSI Context Engine is a premium, logic-driven indicator built to provide comprehensive intraday momentum context using multi-timeframe Stochastic RSI analysis. Rather than issuing direct buy or sell signals, the tool is designed to give traders enhanced clarity on trend posture, overbought/oversold conditions, volatility states, and potential momentum reversals. It combines multiple layers of signal processing to deliver an intelligent overview of market conditions in real time.
What it does:
The indicator performs a multi-timeframe evaluation of the Stochastic RSI, sampling values from four customizable timeframes (default: 5m, 15m, 1h, 4h). These values are blended and processed through a series of analytical engines to provide the following:
1. StochRSI Multi-Timeframe Engine
* Computes a smoothed Stochastic RSI value on each selected timeframe.
* Applies user-defined smoothing (SMA, EMA, RMA, or WMA).
* Aggregates these into an average (sRSIavg) for further analysis.
2. Trend and Volatility Engine
* Uses EMA stacking logic (8, 21, 50) to determine directional alignment.
* Calculates linear regression slope for directional bias.
* Assesses volatility using ATR relative to price.
* Derives a trendScore based on EMA alignment, price position, and slope strength.
3. Bias and Slope Analysis
* Measures fast/slow EMA slope differentials to detect bias direction and strength.
* Computes slope deltas and volatility-weighted stacking to score bias conditions.
* Outputs a classification such as strong bullish, moderate bearish, or neutral.
4. Dynamic OB/OS Zone Detection
* Adapts overbought and oversold thresholds based on volatility and trend regime.
* Adjusts the zone boundaries if in a trending or high-volatility environment.
5. Microzone Proximity Detection
* Tracks whether the average StochRSI is approaching key OB/OS thresholds.
* Flags conditions like “Near Overbought,” “Near Oversold,” or “Mid Range.”
6. Velocity and Acceleration Detection
* Measures how quickly StochRSI values are changing.
* Uses delta calculations to gauge the momentum’s thrust or decay.
* Classifies shifts in RSI movement (e.g., flat, slow, fast, or thrusting).
7. Range Expansion / Compression Engine
* Evaluates whether StochRSI values across timeframes are diverging or compressing.
* Identifies regime changes in momentum coherence.
8. Momentum Scoring System
* Calculates a composite score based on bias, slope strength, volatility, and range.
* Labels momentum phases from dormant to full-throttle.
9. Confluence Detection
* Tallies how many of the 4 timeframes are currently overbought or oversold.
* High confluence increases the probability of valid reversal or continuation zones.
10. Support and Resistance Zone Memory
* Tracks and plots previous areas where StochRSI bounced or rejected near zones.
* Stores and updates these zones over time, acting as momentum-based S/R levels.
* Includes a proximity check to cluster zones that are close in value.
11. Divergence Detection Engine
* Detects classic bullish or bearish divergence between price and the aggregated StochRSI.
* Draws lines to show divergence structure and triggers real-time alerts.
12. Smart Background Highlighting
* Shades the background based on whether current StochRSI is in an overbought, oversold, or
neutral zone.
13. Real-Time Dashboard
* Displays trend, bias, confluence count, velocity, divergence state, momentum score, and
more.
* Dynamically updates and is optimized for top-right screen positioning with compact
formatting.
14. Smart Alerts
* Issues alerts for divergence detection and high-confluence reversal conditions.
15. Real-Time Labels on Curves
* Shows the selected timeframes alongside each plotted StochRSI line to clarify source data.
What it’s based on:
* Stochastic RSI as the core input signal, providing normalized momentum across timeframes.
* EMA stacking logic, adapted from institutional trend-following models.
* Volatility normalization using ATR to adapt thresholds in high vs. low volatility environments.
* Slope forecasting using linear regression to infer directional conviction.
* Bias analysis modeled on a composite of EMA distance, alignment, and directional thrust.
* Support/resistance zone memory derived from repeated interaction with dynamic OB/OS thresholds.
* Divergence logic based on localized price and oscillator peaks/troughs.
* Multi-factor confidence scoring, aggregating up to 6 inputs to rate market clarity.
This script is for educational and informational purposes only. It does not generate trade signals or provide financial advice. It is not intended to be used as a standalone system for trading or investment decisions. Use at your own discretion. Always confirm with your broader strategy and risk management practices.
Kunsh Midline StochThis script utilizes a multi-timeframe approach to ride bigger trends using the Stochastic RSI and the MACD.
The Higher time frame MACD confirms a 50 line cross of the Stochastic RSI for a more precise entry.
RSI mura visionOverview
The Enhanced RSI with Custom 40/60 Zones is a Pine Script™ v6 open-source indicator that builds on the classic Relative Strength Index by adding two additional horizontal levels at 40 and 60, alongside the standard 30/70. These extra zones help you identify early momentum shifts and distinguish trending markets from ranging ones with greater precision.
Key Features & Originality
* Custom Mid-Zones (40/60): Standard RSI signals can be noisy around the 50 midpoint. By marking 40 as a “weak momentum” threshold and 60 as a “strong momentum” confirmation, you get clearer entry and exit cues.
* Color-Coded Zones: The RSI line changes color when crossing 40, 50, 60, 70, and 30, letting you visually spot momentum acceleration or deceleration.
* Configurable Alerts: Built-in alert conditions fire when RSI crosses 40 or 60 in either direction, so you never miss a potential trend onset or exhaustion.
* Lightweight & Clean: No external dependencies, no look-ahead bias, and minimal repainting—ideal for both novice and professional traders.
How It Works
1. Momentum Decomposition: The standard 14-period RSI measures overbought/oversold extremes. Adding 40/60 lets you see when momentum shifts from neutral to bullish (crossing above 60) or bearish (dropping below 40) earlier than the classic 70/30 thresholds.
2. Trend Confirmation vs. Pullbacks: Readings between 40–60 often correspond to healthy pullbacks within a trend. A bounce off 40 suggests continuation; a rejection at 60 warns of a deeper pullback or reversal.
Usage & Inputs
* RSI Length (default 14): Period for calculating RSI.
* Level Inputs: Customize levels for overbought (70), support (60), neutral (50), weak (40), and oversold (30).
* Alert Toggles: Enable/disable alerts on each cross.
Why This Adds Value
* Early Signals: Capture trend beginnings before the market reaches extreme overbought/oversold levels.
* Noise Reduction: Filter sideways chop by watching the 40–60 corridor.
* Flexibility: Works on any timeframe or ticker.
Pine Script™ Version: v6
Open-Source License: MPL-2.0
Feel free to fork, modify, and share.
Selectable Time Stoch Quad OscillatorJust like my other Stochastic oscillator, with the addition of selectable timeframe!
Stoch Quad Oscillator — User Guide
🧠 Overview
The Stoch Quad Oscillator is a multi-timeframe momentum indicator that tracks four independent stochastic %D lines, each with different smoothing and period settings. It helps detect strong bullish or bearish rotational conditions and overbought/oversold extremes across timeframes.
This version includes:
Configurable timeframe (default: 1-minute) using security()
Slope-based rotation detection across four stochastic levels
Background highlights for strong bullish/bearish momentum setups
⚙️ Inputs & Parameters
🕒 Timeframe
Timeframe for Stochastic Calculation
Type: timeframe
Default: "1" (1-minute)
Sets the timeframe on which all stochastic calculations are performed using request.security().
📈 Stochastic Levels
Each stochastic level has its own %K period and %D smoothing:
Level %K Length %D Smoothing Default Label
1 9 3 %D K9 D3
2 14 3 %D K14 D3
3 40 4 %D K40 D4
4 60 10 %D K60 D10
Smoothing Type: Choose between SMA and EMA for the %D line (default: EMA).
📊 Overbought / Oversold Levels
Overbought Level: Default = 80
Oversold Level: Default = 20
Used to highlight all four stochastics being in extreme zones.
🔁 Quad Rotation Detection
Detects high-momentum reversals across all four stochastic levels using slope and aggregate thresholds.
Setting Description
Enable Quad Rotation Enables detection of bullish/bearish multi-level slope convergence
Slope Calculation Bars How many bars back to compare the slope
Slope Threshold Slope required to trigger a sharp rotation
Oversold Quad Level Total %D value across all 4 levels to consider as oversold (default: 90)
Overbought Quad Level Total %D value to consider as overbought (default: 310)
Slope Averaging Method "Simple" or "Weighted" slope averaging across levels
Max Signal Bar Window Future-proof field (not actively used in this version)
🎨 Visualization Colors
Bullish Rotation Highlight: Background color when bullish quad rotation is detected
Bearish Rotation Highlight: Background color when bearish quad rotation is detected
Also includes faint background when all four %D values are simultaneously:
Above the overbought level (deep red)
Below the oversold level (deep green)
📉 Chart Display
✅ Lines Plotted
Four %D lines representing different stochastic timeframes and lengths
Overbought (80) and Oversold (20) horizontal reference lines
🎯 Background Highlights
Light Green: Bullish rotation across all 4 stochastics from oversold zone with strong slope up
Light Red: Bearish rotation across all 4 stochastics from overbought zone with strong slope down
Faint Red/Green: All four stochastics are above or below extreme levels
📌 How to Use
Bullish Setup
All four %D lines are oversold (sum < oversoldQuadLevel)
Average slope across levels is rising above slopeThreshold
Background turns light green — signals potential reversal up
Bearish Setup
All four %D lines are overbought (sum > overboughtQuadLevel)
Average slope across levels is falling below -slopeThreshold
Background turns light red — signals potential reversal down
🚧 Limitations
Uses only %D lines (smoothed K) — raw %K values are not plotted
Assumes valid %D range is , clamps values accordingly
Not predictive — signals may lag if settings are too long or slope is too smooth
May repaint when using higher timeframes due to request.security() behavior
🧪 Tips for Power Users
Set timeframe to "5" or "15" to align fast signals with higher-timeframe context
Combine with price action tools (support/resistance, trendlines, candles) for confirmation
Use "Weighted" slope averaging to emphasize longer-period stochastic moves
RSI Divergence Indicator - Trading VidhyalayaThis indicator automatically identifies RSI-based bullish and bearish divergences and visually marks them directly on the candlestick chart, making it easier for traders to spot potential reversals.
✅ Key Features:
Bullish Divergence
When the price makes a lower low, but the RSI makes a higher low, the indicator highlights the candle with a green arrow or label to signal potential upward reversal.
Bearish Divergence
When the price makes a higher high, but the RSI forms a lower high, the indicator marks the candle with a red arrow or label to indicate a possible downside move.
Real-time Detection
Divergences are plotted in real-time, helping traders react quickly to changing market conditions.
Candlestick Overlay
Signals are shown directly on the chart, rather than below in a separate panel, allowing for faster and clearer decision-making.
📊 Benefits:
Helps in identifying early trend reversals
Works well with other indicators like MACD, Moving Averages, or Volume
Great for both beginners and advanced traders
Saves time by automating divergence spotting, reducing manual errors
Parsifal.RSI.TrendContext
The Relative Strength Index (RSI) is one of the most widely used classical indicators in technical analysis, typically employed to identify overbought or oversold market conditions. It reflects the degree of upside or downside dominance within a specified period. However, in its standard form, RSI is not particularly effective as a standalone entry trigger.
The Parsifal.RSI.Trend indicator builds upon the RSI to offer a more reliable method for distinguishing between bullish and bearish market regimes. It is a very simple, but surprisingly efficient concept.
________________________________________
Concept
In trending markets, an Exponential Moving Average (EMA) of the price is often smoother and more stable than raw price data. As a result, the RSI calculated on this smoothed price (i.e., the EMA) tends to react earlier and more consistently than the standard RSI. Specifically:
• In uptrends, the RSI of the EMA tends to exceed the RSI of the original price.
• In downtrends, it tends to lag behind.
The difference between these two RSI readings provides a stable and less noisy measure of market bias—positive in uptrends, negative in downtrends.
________________________________________
Indicator Mechanics
The RSI.Trend indicator works as follows:
• Baseline:
o 14-period RSI of the original price (RSI)
o 14-period EMA of that RSI (RSI.EMA)
• Trigger Line:
o 5-period EMA of the price series
o 14-period RSI on that smoothed price (RSI5M)
o 14-period EMA of RSI5M (RSI5M.EMA)
• The difference between the trigger line and the baseline reflects the current trend regime:
o A crossover of the trigger line above the baseline indicates a shift to a bullish regime.
o A crossunder signals a transition to a bearish regime.
________________________________________
RSI.Trend Background Value
The RSI.Trend Flow Background enhances this difference by incorporating recent changes in the trend state. This produces a slightly accelerated signal and visually shades the background:
• > 0 (Green background): Bullish regime
• < 0 (Red background): Bearish regime
________________________________________
How to Use RSI.Trend
• Use crossovers and crossunders between the trigger line and the baseline as entry signals or confirmation of regime shifts.
• The background value can serve as:
o A secondary confirmation signal
o A position sizing multiplier for continuous trading, adjusting exposure based on the trend strength rather than relying on discrete entry points.
________________________________________
Final Notes
As with all indicators, the RSI.Trend is most effective when used in conjunction with other technical tools and market context. It does not predict future price movements; rather, it reflects current market dynamics and recent directional tendencies. Use it with discretion and as part of a broader trading strategy.
MTF StochRSI SignalsThe idea is to have a lower timeframe Stochastic RSI and a higher timeframe Stochastic RSI for big picture analysis.
An alert pops whenever the lower timeframe stochastic RSI aligns with an existing higher timeframe.
The general theme is to trade in the direction of the longer trend.
Fibo MA & RSI RibbonDisplays customizable EMA and RSI ribbons using Fibonacci-based periods (3–233). Includes toggleable visibility, professional color coding, and supports 3–10 lines per ribbon for trend and momentum analysis.
Stochastic RSI HistogramThe stochastic relative strength index (stochRSI) is a technical indicator that greatly influences how technically-minded investors read market momentum.
Mimas buy and sellBollinger Bands: Calculated using a simple moving average (basis) and standard deviation (dev).
EMAs: Two exponential moving averages (EMA 5 and EMA 20) are plotted to identify short-term and long-term trends.
Price Action Patterns: The script detects higher highs and higher lows for bullish conditions, and lower highs and lower lows for bearish conditions.
Trend Strength: An exponential moving average of the price change is used to gauge the strength of the trend.
Trade Signals: Buy and sell signals are plotted on the chart when specific conditions are met, combining price action patterns, trend strength, Bollinger Bands, and EMA crossovers.
Take-Profit Levels: Dynamic take-profit levels are calculated based on recent swing highs and lows, adjusted by a user-defined multiplier. These levels are displayed on the chart using plot to draw horizontal lines.
AT Stochastic RSIA simple variation of the Stochastic RSI indicator designed to make it easier to view k and d positions. It marks the (k,d) crossovers and the (k,20) and (k,80) crossovers with triangles at the bottom and top.
GMMA + MTF StochRSI + WAE AlertsThis Script combines the Guppy multiple moving average, Waddah Attar Explosion and the Stochastic RSI.
The principle is to have the Stochastic alert on the lower timeframe and use the GMMA as higher trend confirmation.
Weekly Swing Momentum Strategy (India)Use 1D timeframe
Use daily chart (1D) to place trades.
Each trade is expected to last a few days to a week.
AT - Relative Strength IndexVariation of the RSI indicator that marks the intersection of RSI and RSIMA.
It is designed to be used by including this code in your own strategy script.
You can vary the upper and lower bands, as well as the timeframe and base of the average included in the original script.
RTH Session Range Position (0-100) with EMAA Pine Script indicator designed to help traders understand where the current price is located within the Regular Trading Hours (RTH) session range, from 0 (session low) to 100 (session high). It also plots a smoothed EMA of this position to provide insight into momentum or trend during the RTH session.
What the Indicator Does
Defines RTH (Regular Trading Hours):
Start: 9:30 AM
End: 4:00 PM
These are typical US equity market hours.
Tracks the session's high and low during RTH:
sessionHigh and sessionLow update only during RTH.
Calculates position of the current price within the RTH range:
Formula: ((close - sessionLow) / (sessionHigh - sessionLow)) * 100
Result is a percentage:
0 = at session low
100 = at session high
50 = middle of session range
Calculates an EMA of that position (posEMA):
Smooths out the raw position to help visualize momentum within the range.
Plots and table:
Plots pos and posEMA on a separate chart pane.
Adds horizontal lines at key levels (0, 30, 50, 70, 100).
Table shows current values for Position, EMA, and Range.
Visual cues:
bgcolor highlights when pos crosses over or under the EMA — potential momentum shifts.
Alerts:
Cross above/below 50 (session midpoint).
Cross above/below EMA.
How to Use It Effectively
1. Session Strength & Momentum
Position above 70: Price is near session highs — strong upward momentum.
Position below 30: Price is near session lows — strong downward momentum.
Use the EMA of position to filter out noise and identify trends.
2. Breakout or Reversal Detection
Cross above EMA: Momentum may be turning bullish.
Cross below EMA: Momentum may be turning bearish.
These crosses (especially near mid-levels like 50) can hint at session trend shifts.
3. Range Context for Entries
If you're a mean-reversion trader, look for:
Price > 70 + turning down below EMA → possible short.
Price < 30 + turning up above EMA → possible long.
For breakout traders, you might wait for:
Crosses above 70 with EMA support.
Crosses below 30 with EMA resistance.
4. Confirmation Tool
Use this indicator alongside others to confirm:
Whether price action has strength within the day.
Whether breakouts have real momentum or are extended already.