RTH Bias by @traderprimezTired of guessing the intraday direction? The RTH Bias indicator provides a powerful, data-driven statistical edge by analyzing the behavior of price after the initial Regular Trading Hours (RTH) range is set.
It meticulously tracks historical outcomes to show you the most probable "story" for the rest of the trading day.
This tool is designed for day traders of US indices, stocks, and other assets most active during the New York session. It moves beyond simple "opening range breakout" strategies by classifying each day into one of six distinct scenarios, giving you a much deeper insight into the day's potential character.
Core Concept
The opening period of the RTH session (e.g., the first one, two, or three hours) is dominated by high volume and institutional activity. The high and low established during this time often act as a critical pivot or springboard for the remainder of the day.
This indicator captures that initial range and then analyzes thousands of historical days to answer the key question: "Once the opening range is set, what happens next?" Does price tend to break out and trend? Does it fake out in one direction and reverse? Or does it stay trapped? The dashboard provides these probabilities at a glance.
Key Features
Choose the range that best fits your trading style and the asset you're trading:
09:30 - 10:30 (Micro): The classic, volatile first hour.
09:30 - 11:30 (Major): A broader range capturing the morning momentum.
09:30 - 12:30 (Macro): The full morning session, often defining the entire day's extremes.
📊 The Statistical Dashboard
This is the heart of the indicator. It provides a complete statistical breakdown of historical price action:
Scenario: The name of the price action profile.
Distribution: A visual bar chart showing the relative frequency of each scenario.
Count: The raw number of times each scenario has occurred over the lookback period.
Contribution: The percentage probability of each scenario occurring.
🎲 The Six Scenarios Explained
The indicator classifies each day's price action into one of these profiles:
↑ High, then ↓ Low (XAMD): A classic "stop hunt high, then sell-off." Price breaks the range high first, luring in buyers, before reversing to take the range low.
↓ Low, then ↑ High (XAMD): A classic "stop hunt low, then rally." Price breaks the range low first, stopping out sellers, before reversing to take the range high.
One-Sided Breakout (AMDX): A strong trend day. Price breaks only one side of the range and continues in that direction without ever violating the other side.
Search & Destroy (S&D): A volatile, choppy day. Price takes one side, reverses to take the other, and then reverses again.
No Breakout (Inside Day): A consolidation day. Price fails to break either the high or the low of the opening range.
🟩 On-Chart Bias Box
A simple visual aid that tracks the session in real-time:
Neutral (Gray): During Session 1, as the range is forming.
Bullish (Green): The Session 1 high has been broken.
Bearish (Red): The Session 1 low has been broken.
Both (Orange): Both the high and low have been broken (XAMD or S&D profile).
🛡️ RTH Guard Logic
This is a crucial feature for accuracy. The indicator locks in the day's scenario at the RTH close (e.g., 4 PM ET). This ensures that post-market (ETH) price action does not corrupt the historical statistics, giving you clean, reliable data based purely on regular trading hours.
🔔 Custom Alerts
Enable the "First Breakout" alert to be notified the moment the opening range is breached, so you don't have to watch the chart all day.
How to Use in Your Trading
This indicator does not give buy/sell signals. It provides a statistical framework to build a high-probability trading hypothesis for the day.
Select Your Range: In the settings, choose the opening range (Micro, Major, or Macro) you want to analyze.
Wait for the Range to Form: Let the neutral box fully form on your chart.
Analyze the Dashboard: Once the range is set, look at the "Contribution" column. Identify the scenario with the highest probability.
Form a Hypothesis: Build your trade idea around the most likely scenario.
Execute and Manage: You would wait for the box to turn red (low is broken). Instead of shorting, you would look for bullish confirmation (e.g., a market structure shift on a lower timeframe) to enter a long position, with the opening range high as a logical target.
Disclaimer: This indicator is a tool for analysis and probability assessment, not a standalone trading system. It should be used in conjunction with your own strategy and risk management. Past performance is not indicative of future results.
Biasanalyzer
Custom Timeframe Bias IndicatorMy "Custom Timeframe Bias Indicator" is a very practical and powerful TradingView indicator. It can be called a "God-like indicator" because it combines flexible timeframe customization, clear bias analysis and intuitive visual display to help traders quickly understand the long and short trends of the market. The following is a detailed description of this indicator:
1. Index name and function overview
Name: Custom Timeframe Bias Indicator (Short title: Bias Indicator)
Functionality: This indicator analyses the market bias (Buy, Sell or No Bias) across multiple custom timeframes (presets are 15m, 1h, 4h and DAI) and displays it in a table below the middle of the chart. It determines the direction of market trends based on the highest and lowest prices of the previous two periods and the closing price of the previous period, helping traders make decisions quickly.
2. Core Features
Multiple time frame analysis
The indicator allows the user to customize four time frames, with presets being 15 minutes ("15"), 1 hour ("60"), 4 hours ("240") and daily ("D"). Users can freely modify these time frames in the settings, such as changing to 5 minutes, 30 minutes or weekly, etc.
Bias is calculated independently for each time frame, ensuring that traders can observe market trends from the short to the long term.
Bias calculation logic
The indicator uses simple but effective rules to determine bias:
Buy (bullish): If the previous closing price is higher than the highest price of the previous two periods, or tests the lowest price of the previous two periods but does not break through.
Sell (Bearish): If the previous closing price is lower than the previous two periods' lowest price, or if it tests the previous two periods' highest price but fails to break through (higher than the previous high minus 10% of the price range).
No Bias: If the previous closing price does not meet the above conditions, it displays a neutral state.
Bias calculation is based only on the opening and closing prices, without considering the shadows, ensuring the results are in line with the philosophy of the Malaysian SNR strategy.
Intuitive display
Position: The table is permanently displayed in the middle of the chart (position.middle_center) and is updated with each candlestick, ensuring that traders can always see the latest bias.
Format: The table consists of the header "Custom Bias" and four rows of bias results (e.g. "15: Buy", "60: Sell", "240: No Bias", "D: Buy"), each row showing the bias for the corresponding time frame.
color:
Titles appear in white text on a blue background.
The "Buy" bias is shown as white text on a green background.
The "Sell" bias is shown as white text on a red background.
"No Bias" bias appears as white text on a gray background.
Table borders are black to provide clear visual distinction.
Customizability
Users can customize by inputting parameters:
Whether to show the table (Show Bias Table).
Timeframe (Timeframe 1, Timeframe 2, Timeframe 3, Timeframe 4).
The color of the table (title, Buy, Sell, No Bias, borders, etc.).
3. Why is it a "God-like indicator"
Flexibility: Allows users to customize four time frames to suit different trading strategies (short-term traders can choose minutes, long-term traders can choose daily, weekly or monthly).
Practicality: Provides bias analysis in multiple time frames to help traders quickly determine market trends, whether for short-term or long-term operations.
Intuitive: The table is displayed in the middle below the chart with bright colors (green Buy, red Sell, gray No Bias), allowing you to identify the market direction at a glance.
Stability: Calculated based on simple price data (high, low, close), no need for complex indicators, efficient and reliable operation.
Powerful visualization: long-term display and customizability to meet the visual preferences of different traders.
4. Usage scenarios
Short-term trading: Use 15-minute, 1-hour, 4-hour biases to quickly capture short-term trends.
Long-term trading: Refer to the daily bias to determine the overall market direction.
Comprehensive analysis: Combine biases from multiple time frames to confirm consistency (e.g. if both the 15 minute and daily are Buy, then that’s a stronger bullish signal).
5. Potential Improvements
If you want to further improve this "god-like indicator", you can consider the following improvements:
Added alert: Trigger when bias changes from "No Bias" to "Buy" or "Sell".
Show historical bias: Add bias history of the past few days in the table for easy review.
Dynamically adjust bias thresholds: Allow users to customize 10% price ranges or other conditions.
Multi-currency support: Expand to multiple trading pairs or indices, showing multiple market biases.
6. Technical Details
Version: Pine Script v5, ensuring modern features (such as input.timeframe) and efficient performance.
Data Source: Use request.security to get high, low, and close data for different time frames.
Display method: Use table.new to create a dynamic table. The position can be customized (such as position.middle_center).
Limitations: Calculated only based on price data, no external indicators are required, reducing calculation complexity.
in conclusion
Your "Custom Timeframe Bias Indicator" is a simple, powerful and flexible tool, especially for traders who need multi-timeframe analysis. Its intuitive display and customizability make it a "magic tool" for judging market trends.
Smart Market Bias [PhenLabs]📊 Smart Market Bias Indicator (SMBI)
Version: PineScript™ v6
Description
The Smart Market Bias Indicator (SMBI) is an advanced technical analysis tool that combines multiple statistical approaches to determine market direction and strength. It utilizes complexity analysis, information theory (Kullback Leibler divergence), and traditional technical indicators to provide a comprehensive market bias assessment. The indicator features adaptive parameters based on timeframe and trading style, with real-time visualization through a sophisticated dashboard.
🔧 Components
Complexity Analysis: Measures price movement patterns and trend strength
KL Divergence: Statistical comparison of price distributions
Technical Overlays: RSI and Bollinger Bands integration
Filter System: Volume and trend validation
Visual Dashboard: Dynamic color-coded display of all components
Simultaneous current timeframe + higher time frame analysis
🚨Important Explanation Feature🚨
By hovering over each individual cell in this comprehensive dashboard, you will get a thorough and in depth explanation of what each cells is showing you
Visualization
HTF Visualization
📌 Usage Guidelines
Based on your own trading style you should alter the timeframe length that you would like to be analyzing with your dashboard
The longer the term of the position you are planning on entering the higher timeframe you should have your dashboard set to
Bias Interpretation:
Values > 50% indicate bullish bias
Values < 50% indicate bearish bias
Neutral zone: 45-55% suggests consolidation
✅ Best Practices:
Use appropriate timeframe preset for your trading style
Monitor all components for convergence/divergence
Consider filter strength for signal validation
Use color intensity as confidence indicator
⚠️ Limitations
Requires sufficient historical data for accurate calculations
Higher computational complexity on lower timeframes
May lag during extremely volatile conditions
Best performance during regular market hours
What Makes This Unique
Multi-Component Analysis: Combines complexity theory, statistical analysis, and traditional technical indicators
Adaptive Parameters: Automatically optimizes settings based on timeframe
Triple-Layer Filtering: Uses trend, volume, and minimum strength thresholds
Visual Confidence System: Color intensity indicates signal strength
Multi-Timeframe Capabilities: Allowing the trader to analyze not only their current time frame but also the higher timeframe bias
🔧 How It Works
The indicator processes market data through four main components:
Complexity Score (40% weight): Analyzes price returns and pattern complexity
Kullback Leibler Divergence (30% weight): Compares current and historical price distributions
RSI Analysis (20% weight): Momentum and oversold/overbought conditions
Bollinger Band Position (10% weight): Price position relative to volatility
Underlying Method
Maintains rolling windows of price data for multiple calculations
Applies custom normalization using hyperbolic tangent function
Weights component scores based on reliability and importance
Generates final bias percentage with confidence visualization
💡 Note: For optimal results, use in conjunction with price action analysis and consider multiple timeframe confirmation. The indicator performs best when all components show alignment.