PriorHourRangeLevels_v0.1PriorHourRangeLevels_v0.1
Created by dc_77 | © 2025 | Mozilla Public License 2.0
Overview
"PriorHourRangeLevels_v0.1" is a versatile Pine Script™ indicator designed to help traders visualize and analyze price levels based on the prior hour’s range. It overlays key levels—High, Low, 75%, 50% (EQ), and 25%—from the previous hour onto the current price chart, alongside the current hour’s opening price. With customizable display options and time zone support, it’s ideal for intraday traders looking to identify support, resistance, and breakout zones.
How It Works
Hourly Reset: The indicator detects the start of each hour based on your chosen time zone (e.g., "America/New_York" by default).
Prior Hour Range: It calculates the High and Low of the previous hour, then derives three additional levels:
75%: 75% of the range above the Low.
EQ (50%): The midpoint of the range.
25%: 25% of the range above the Low.
Current Hour Open: Displays the opening price of the current hour.
Projection: Lines extend forward (default: 24 bars) to project these levels into the future, aiding in real-time analysis.
Alerts: Triggers alerts when the price crosses any of the prior hour’s levels (High, 75%, EQ, 25%, Low).
Key Features
Time Zone Flexibility: Choose from options like UTC, New York, Tokyo, or London to align with your trading session.
Visual Customization:
Toggle visibility for each level (High, Low, 75%, EQ, 25%, Open, and Anchor).
Adjust line styles (Solid, Dashed, Dotted), colors, and widths.
Show or hide labels with adjustable sizes (Tiny, Small, Normal, Large).
Anchor Line: A vertical line marks the start of the prior hour, with optional labeling.
Alert Conditions: Set up notifications for price crossings to catch key moments without watching the chart.
Usage Tips
Use the High and Low as potential breakout levels, while 75%, EQ, and 25% act as intermediate support/resistance zones.
Trend Confirmation: Watch how price interacts with the EQ (50%) level to gauge momentum.
Session Planning: Adjust the time zone to match your market (e.g., "Europe/London" for FTSE trading).
Projection Offset: Extend or shorten the lines (via "Projection Offset") based on your chart timeframe.
Inputs
Time Zone: Select your preferred market time zone.
Anchor Settings: Show/hide the prior hour start line, style, color, width, and label.
Level Settings: Customize visibility, style, color, width, and labels for Open, High, 75%, EQ, 25%, and Low.
Display: Set projection length and label size.
Các mẫu biểu đồ
SessionRangeLevels_v0.1SessionRangeLevels_v0.1
Overview:
SessionRangeLevels_v0.1 is a customizable Pine Script (v6) indicator designed to plot key price levels based on a user-defined trading session. It identifies the high and low of the session and calculates intermediate levels (75%, 50% "EQ", and 25%) within that range. These levels are projected forward as horizontal lines with accompanying labels, providing traders with dynamic support and resistance zones. The indicator supports extensive customization for session timing, time zones, line styles, colors, and more.
Key Features:
Session-Based Range Detection: Tracks the high and low prices during a specified session (e.g., 0600-0900) and updates them dynamically as the session progresses.
Customizable Levels: Displays High, 75%, EQ (50%), 25%, and Low levels, each with independent toggle options, styles (Solid, Dashed, Dotted), colors, and widths.
Session Anchor: Optional vertical line marking the session start, with customizable style, color, and width.
Projection Offset: Extends level lines forward by a user-defined number of bars (default: 24) for future price reference.
Labels: Toggleable labels for each level (e.g., "High," "75%," "EQ") with adjustable size (Tiny, Small, Normal, Large).
Time Zone Support: Aligns session timing to a selected time zone (e.g., America/New_York, UTC, Asia/Tokyo, etc.).
Alert Conditions: Triggers alerts when the price crosses any of the plotted levels (High, 75%, EQ, 25%, Low).
Inputs:
Session Time (HHMM-HHMM): Define the session range (e.g., "0600-0900" for 6:00 AM to 9:00 AM).
Time Zone: Choose from options like UTC, America/New_York, Europe/London, etc.
Anchor Settings: Toggle the session start line, adjust its style (default: Dotted), color (default: Black), and width (default: 1).
Level Settings:
High (Solid, Black, Width 2)
75% (Dotted, Blue, Width 1)
EQ/50% (Dotted, Orange, Width 1)
25% (Dotted, Blue, Width 1)
Low (Solid, Black, Width 2)
Each level includes options to show/hide, set style, color, width, and label visibility.
Projection Offset: Number of bars to extend lines (default: 24).
Label Size: Set label size (default: Small).
How It Works:
The indicator detects the start and end of the user-defined session based on the specified time and time zone.
During the session, it tracks the highest high and lowest low, updating the levels in real-time.
At the session start, it plots the High, Low, and intermediate levels (75%, 50%, 25%), projecting them forward.
Lines and labels dynamically adjust as new highs or lows occur within the session.
Alerts notify users when the price crosses any active level.
Usage:
Ideal for traders who focus on session-based strategies (e.g., London or New York open). Use it to identify key price zones, monitor breakouts, or set targets. Customize the appearance to suit your chart preferences and enable alerts for real-time trading signals.
Notes:
Ensure your chart’s timeframe aligns with your session duration for optimal results (e.g., 1-minute or 5-minute charts for short sessions).
The indicator overlays directly on the price chart for easy integration with other tools.
RakyatChart_ProUsed to determine exit points based on price volatility using ATR (Average True Range).
Key Features:
BUY/SELL signals with larger and clearer labels
Automatic trailing stop to safely follow trends
Alert notifications when a trend reversal occurs
Option to use close price or high/low for extremum calculations
Use this indicator for trend-following trading or as an additional confirmation tool in scalping/day trading strategies.
SMA20/50 Short-Only StrategyA simple strategy when the market shows bearish signals on the ETH-USDT FUTURE pair.
Works well and is profitable on the 15-minute timeframe on Binance. BINANCE:ETHUSDH2025
Momentum Streak BackgroundThis indicator visualizes weekly momentum by coloring the background based on consecutive weekly closes. It helps traders quickly assess trend strength and potential reversal zones at a glance.
• Upward streaks (bullish momentum) are shown in shades of yellow, orange, and red, getting deeper with each additional week of positive closes.
• Downward streaks (bearish momentum) are shown in shades of green, darkening with each additional week of negative closes.
The more intense the color, the longer the streak — offering an intuitive way to gauge when a trend may be strengthening or approaching exhaustion.
Best used on the weekly timeframe.
Advanced Chart Analysis bY AviCryptoWhat This Advanced Chart Analysis Script Does
This script is a comprehensive technical analysis tool that analyzes price charts to identify potential trading opportunities. Here's what it does:
1. Analyzes Multiple Indicators
Moving Averages: Tracks price trends using 7, 25, 99, and 200-period moving averages
Oscillators: Uses RSI, MACD, and Stochastic to identify overbought/oversold conditions
Volatility: Measures market volatility using Bollinger Bands and ATR
2. Detects Chart Patterns
Candlestick Patterns: Identifies bullish/bearish engulfing patterns, dojis, hammers, and shooting stars
Chart Patterns: Detects double tops/bottoms and head and shoulders patterns
Market Structure: Analyzes higher highs/lows and lower highs/lows to determine trend direction
3. Identifies Key Price Zones
Support/Resistance: Finds important price levels where the market has previously reversed
Order Blocks: Detects supply and demand zones where large orders might be placed
Volume Profile: Analyzes where the most trading activity is happening
4. Generates Trading Signals
Weighted System: Assigns different weights to various signals based on their reliability
Signal Strength: Calculates the confidence level of buy/sell signals
Final Decision: Combines all factors to determine if the overall signal is BUY, SELL, or NEUTRAL
5. Trading Strategy Implementation
Automated Trading: Can execute trades based on signals (when enabled)
Risk Management: Includes stop-loss and take-profit calculations based on your risk preferences
Backtesting: Allows you to test the strategy on historical data
6. Visual Dashboard
Signal Table: Displays current signal, confidence level, trend strength, and volatility
Pattern Recognition: Shows currently detected patterns
Volume Analysis: Indicates if volume is confirming price movement
In Simple Terms
Think of this script as a trading assistant that looks at many different aspects of price action, combines them using a scoring system, and then tells you if it thinks you should buy, sell, or stay neutral. It also provides visual signals on the chart and can even automatically execute trades based on these signals if you enable the strategy mode.
The beauty of this script is that it doesn't just rely on one or two indicators - it combines many different approaches to technical analysis to provide a more comprehensive view of the market.
NOTE : THIS SCRIP WILL NOT WORK ON CRYPTO CHARTS ..
Dynamic CCI-BOLLThis indicator combines the characteristics of the CCI indicator and those of the Bollinger Bands, and clearly indicates the buy and sell signals. "B" stands for buying, and "S" stands for selling. Buy in batches and sell in batches. Don't carry out a full-position transaction all at once.
Cut Alert - Bullish & Bearish CrossesThis indicator detects trend reversal signals by tracking when a custom oscillator (based on the difference between short and long SMAs of price midpoints) crosses the zero line. It calculates how many bars (cut) have passed since the last cross and sends alerts for both bullish (negative to positive) and bearish (positive to negative) shifts. Each alert includes the direction label, interval, and reset cut value for automated screening or strategy integration.
Master Buy/Sell Signal with S/R & SuperTrend Highlights of Script:
Good use of var to store persistent support and resistance.
Clear conditions combining multiple indicators for stronger signals.
Sensitivity control for S/R validations is a nice touch.
Clean plotting and label placement
EMA + RSI + Volume SignalEMA + RSI + Volume Signal
When the chart background turns green, it is a BUY signal.
When the chart background turns red, it is a SELL signal.
The BUY arrow appears when there is a buy signal, and the SELL arrow appears when there is a sell signal.
🔹 Note: This is a support tool; you should still combine it with other technical analysis methods to improve accuracy.
Find Untapped LevelsYou can find your daily, weekly and monthly levels with this indicator. You still need to go through each time frame and draw them yourself
60 MA & MACD 0 동시교차 (볼륨 캔들 대응)This script was created to visualize Dr. Choonman Cho’s trading method as an indicator.
I would like to express my sincere gratitude to Dr. Choonman Cho.
When the 60 MA and the MACD 0 line cross simultaneously, a major breakout often occurs.
Dr. Cho has identified this moment as the most optimal timing for both buying and selling.
This will be especially helpful for those who are focused on precise entry and exit points.
This script is open source.
If the Korean comments are inconvenient, feel free to edit them in your preferred language within the Pine Script editor.
<50% Body CandleThis TradingView indicator highlights candlesticks where the body is less than 50% of the total range (high-low) by placing a small white dot at the center of the candle body.
Features:
✅ Identifies low-body candles (common in indecision or reversal points)
✅ Customizable body threshold (default: 50%)
✅ Stable dot placement for consistent visualization
✅ Lightweight & non-intrusive
Usage:
Helps spot Doji or weak momentum candles.
Useful for trend reversals & consolidation detection.
Works seamlessly on any timeframe & market.
🚀 Try it out and enhance your candlestick analysis!
SMC + SMT DivergenceMost code taken from LuxAlgo
The SMC & SMT Divergences indicator is a powerful tool designed for traders utilizing Smart Money Concepts (SMC) and ICT (Inner Circle Trader) methodologies. It identifies key market structure shifts such as Break of Structure (BOS) and Change of Character (CHoCH), helping traders spot trend reversals and continuations. The indicator also highlights order blocks (OBs), fair value gaps (FVGs), and liquidity zones like equal highs and lows, which are critical areas for institutional trading activity. Additionally, it incorporates SMT (Smart Money Tool) divergences, allowing traders to detect intermarket discrepancies between correlated assets, further refining trade entries and exits. With its ability to visualize institutional footprints and key price levels, this indicator is an essential tool for traders seeking to align their strategies with smart money movements.
Custom 6H Candle HighlightHighlights a certain 6H candle on the chart. Input which 6H Candle in the settings for the indicator.
Trend Breakout IndicatorCombines the RSI and MACD to form buy and entry signals. RSI levels can be modified, but start at 25 for oversold and 70 for overbought as I'm creating this for penny stocks, so wanted a safer overbought level but change it to whatever you'd like. Default RSI goes back to 9 days, but also customizable along with the standard 12, 26, 9 levels.
Entry levels signal when the RSI goes below 25, MACD has a bullish crossover, and when the price breaks above the average VPVR for that resistance level.
Exit levels signal when the RSI goes above 70, the MACD has a bearish crossover, and the price increases by 9%. The latter can be modified or removed, I just have it there as I designed this for penny stocks and 9% is usually a really easy breakout to hit to still lock in decent prices as well as having it be options-trader friendly.
First script I've ever made so any feedback or suggestions to improve it (hopefully as well as teaching me HOW to improve it) is very much appreciated.
Overlay Hourly Candle [odnac] * This script overlays 1-hour candlestick representations on the chart.
* It captures the open, close, high, and low prices for each hourly period.
* The script dynamically updates as new hourly candles form and adjusts the
* box and wick positions accordingly.
*
* Features:
* - Draws an hourly candle with body and wicks.
* - Colors bullish candles in green and bearish candles in red.
* - Updates dynamically as new hourly candles form.
* - Uses TradingView's box and line functions to represent candle structures.
*
* Usage:
* - Add the script to your TradingView chart as an overlay.
* - Observe how the hourly candles appear distinctly on any timeframe.
Highest High & Lowest Low of 2nd/3rd Candle - Every DayHighest High & Lowest Low of 2nd/3rd Candle - Every Day
alphaJohnny Dynamic RSI IndicatorAlphaJohnny Dynamic RSI Indicator (Dyn RSI)
The Dynamic RSI Indicator (Dyn RSI) is a custom Pine Script tool designed for TradingView that aggregates Relative Strength Index (RSI) signals from multiple timeframes to provide a comprehensive view of market momentum. It combines RSI data from Weekly, Daily, 4-hour, 1-hour, and 30-minute intervals, offering traders a flexible and customizable way to analyze trends across different periods.
Key Features:
Multi-Timeframe RSI Aggregation: Combines RSI signals from user-selected timeframes for a holistic momentum assessment.
Dynamic or Equal Weighting: Choose between correlation-based dynamic weights (adjusting based on each timeframe’s correlation with price changes) or equal weights for simplicity.
Smoothed Momentum Line: A visually intuitive line that reflects the strength of the aggregate signal, smoothed for clarity.
Color-Coded Signal Strength:
Dark Green: Strong buy signal
Light Green: Weak buy signal
Yellow: Neutral
Light Red: Weak sell signal
Dark Red: Strong sell signal
Visual Markers: Large green triangles at the bottom for strong buy signals and red triangles at the top for strong sell signals.
How to Use:
Apply to Chart: Add the indicator to your TradingView chart (it will appear in a separate pane).
Customize Settings: Adjust inputs like RSI period, signal thresholds, included timeframes, weighting method, and smoothing period to fit your trading style.
Interpret Signals:
Momentum Line: Watch for color changes to gauge market conditions.
Triangles: Green at the bottom for strong buy opportunities, red at the top for strong sell opportunities.
Notes:
The indicator is designed for a separate pane (overlay=false), with triangles positioned relative to the pane’s range.
Fine-tune thresholds and weights based on your strategy and the asset being analyzed.
The source code is open for modification to suit your needs.
This indicator is ideal for traders seeking a multi-timeframe perspective on RSI to identify potential trend reversals and momentum shifts.
ICT/SMC XAUUSD Scalper v6This indicator combines **ICT (Inner Circle Trader)** and **SMC (Smart Money Concepts)** strategies for **3-minute XAUUSD scalping**. Key features:
1. **Liquidity Zones**
- Plots recent high/low levels as horizontal lines (red/green).
2. **Order Blocks (OB)**
- Labels bullish (green "OB" ▼) and bearish (red "OB" ▲) zones with 70% transparency.
- Auto-removes after 20 bars.
3. **Fair Value Gaps (FVG)**
- Highlights price imbalances with semi-transparent boxes (green=bullish, red=bearish).
- Cleans up after 9 bars (3x FVG length).
4. **Market Structure Shift (MSS)**
- Detects trend reversals via swing breaks.
5. **Signals**
- **Buy**: ▲ below price on bullish MSS + OB/FVG reaction + liquidity break.
- **Sell**: ▼ above price on bearish MSS + OB/FVG reaction + liquidity break.
**Optimized For**: Quick scalps (3-10 pips) during high liquidity sessions (London/NY overlap). Includes real-time alerts and clean visual hierarchy.