Sharpe Ratio ScreenerThe original code was created by tim_amblard , and the modifications were made by Mr_Rakun for the purpose of adapting the script into a screener format.
The Sharpe ratio is a popular metric used to measure the risk-adjusted return of an asset or portfolio, which allows traders and investors to assess whether the returns they are receiving are worth the risk they are taking. In this script, the Sharpe ratio is calculated over a 180-day period (approximately 6 months), and several valuation zones are defined based on the ratio to help assess whether an asset is overvalued, undervalued, or critically undervalued.
Key Features:
1. Risk-Free Rate Input: The user can define the risk-free rate (usually the return of government bonds or a similar safe asset) for Sharpe ratio calculation.
2. Lookback Period (180 Days): The default lookback period is set to 180 days (approximately 6 months) to calculate the mean and standard deviation of the asset’s daily returns.
3. Valuation Zones:
• Overvalued Zone: If the Sharpe ratio is greater than 5.
• Undervalued Zone: If the Sharpe ratio is between -1 and 5.
• Critically Undervalued Zone: If the Sharpe ratio is below -3.
• Neutral Zone: If the Sharpe ratio does not meet any of the above conditions.
4. Table View: The script pulls a list of symbols from the user (e.g., cryptocurrency or stock tickers) and displays their latest price, Sharpe ratio, and whether they are in an overvalued, undervalued, or neutral zone in a table format.
5. Custom Symbol Input: The user can input a list of symbols (separated by commas) to track.
6. Daily Timeframe Check: The script warns the user to ensure they are using a daily timeframe, as this indicator is designed specifically for it.
How It Works:
• The script calculates the daily returns for each symbol over the specified lookback period.
• It then calculates the mean and standard deviation of the returns to derive the Sharpe ratio.
• The Sharpe ratio is annualized, and it’s compared to the defined thresholds to categorize the symbol into different valuation zones.
• A table is generated on the chart to show the symbols, their current prices, and their Sharpe ratios, with color-coded background to easily identify whether they are overvalued (red), undervalued (green), or critically undervalued (blue).
This tool is useful for screening multiple assets for their Sharpe ratio to find investment opportunities with optimal risk-adjusted returns.
Original code credit: This code was originally written by tim_amblard and modified by Mr_Rakun for use as a screener.
Türkçe Açıklama:
Orijinal kod tim_amblard tarafından yazılmıştır ve Mr_Rakun tarafından, bu script’in tarayıcı formatına dönüştürülmesi amacıyla değiştirilmiştir.
Sharpe oranı, bir varlığın veya portföyün risk düzeltilmiş getirisini ölçmek için yaygın olarak kullanılan bir metriktir. Bu metrik, yatırımcıların aldıkları risk karşılığında aldıkları getirinin ne kadar verimli olduğunu değerlendirmelerine olanak tanır. Bu script’te, Sharpe oranı 180 günlük bir periyot (yaklaşık 6 ay) boyunca hesaplanır ve oranı baz alarak varlıkların değerleme bölgeleri tanımlanır: aşırı değerli, değerli ve kritik şekilde değersiz.
Ana Özellikler:
1. Risk-Free Rate (Risk-Free Oranı) Girişi: Kullanıcı, Sharpe oranı hesaplaması için risk-free (risksiz) oranı (genellikle devlet tahvilleri veya benzeri güvenli bir varlık getirisi) tanımlayabilir.
2. Lookback (Geribildirim) Periyodu (180 Gün): Varsayılan geribildirim periyodu, varlığın günlük getirilerinin ortalama ve standart sapmalarını hesaplamak için 180 gün (yaklaşık 6 ay) olarak ayarlanmıştır.
3. Değerleme Bölgeleri:
• Aşırı Değerli Bölge: Sharpe oranı 5’ten büyükse.
• Değerli Bölge: Sharpe oranı -1 ile 5 arasında ise.
• Kritik Derecede Değersiz Bölge: Sharpe oranı -3’ten küçükse.
• Nötr Bölge: Sharpe oranı yukarıdaki hiçbir koşulu karşılamıyorsa.
4. Tablo Görünümü: Script, kullanıcıdan alınan semboller listesine göre (örneğin, kripto para veya hisse senedi sembolleri) her bir sembolün son fiyatını, Sharpe oranını ve değerleme bölgesini tablo şeklinde gösterir.
5. Özel Sembol Girişi: Kullanıcı, izlemek istediği semboller listesini (virgülle ayrılmış) girebilir.
6. Günlük Zaman Çerçevesi Kontrolü: Script, kullanıcının doğru sonuçlar almak için günlük zaman çerçevesinde işlem yapması gerektiğini hatırlatır.
Nasıl Çalışır:
• Script, her sembol için belirtilen geribildirim periyodu boyunca günlük getirileri hesaplar.
• Ardından, getirilerin ortalama ve standart sapmasını hesaplayarak Sharpe oranını çıkarır.
• Sharpe oranı yıllıklaştırılır ve tanımlanan eşiklerle karşılaştırılarak sembol, farklı değerleme bölgelerine kategorize edilir.
• Grafik üzerinde, semboller, mevcut fiyatları ve Sharpe oranları gösteren bir tablo oluşturulur. Bu tablo, hangi sembollerin aşırı değerli (kırmızı), değerli (yeşil) veya kritik derecede değersiz (mavi) olduğunu kolayca görmek için renk kodlu arka planlar kullanır.
Bu araç, yatırım fırsatlarını daha verimli bir şekilde değerlendirebilmek için risk düzeltilmiş getiri açısından optimal fırsatları bulmak için birden fazla varlığın Sharpe oranlarını taramak için kullanışlıdır.
Penunjuk dan strategi
PSP - NQ ES YMThe PSP - NQ ES YM indicator tracks the price movements of the NQ, ES, and YM futures to identify correlation and divergence between them.
🔸 Orange dot (above candle) → When NQ and ES have opposite trends (one up, one down).
🔹 Blue dot (below candle) → When YM differs from either NQ or ES, but NQ and ES are aligned.
🟠🔹 Both dots on the same candle → When NQ and ES differ, and one of them also differs from YM.
🟢 Green dot (above candle at 12 AM NY time) → Marks the daily open at 12 AM New York time.
This helps traders spot market divergence patterns between major indices and potential trading opportunities. 🚀
CAPM Alpha & BetaThe CAPM Alpha & Beta indicator is a crucial tool in finance and investment analysis derived from the Capital Asset Pricing Model (CAPM) . It provides insights into an asset's risk-adjusted performance (Alpha) and its relationship to broader market movements (Beta). Here’s a breakdown:
1. How Does It Work?
Alpha:
Definition: Alpha measures the portion of an investment's return that is not explained by market movements, i.e., the excess return over and above what the market is expected to deliver.
Purpose: It represents the value a fund manager or strategy adds (or subtracts) from an investment’s performance, adjusting for market risk.
Calculation:
Alpha is derived from comparing actual returns to expected returns predicted by CAPM:
Alpha = Actual Return − (Risk-Free Rate + β × (Market Return − Risk-Free Rate))
Alpha = Actual Return − (Risk-Free Rate + β × (Market Return − Risk-Free Rate))
Interpretation:
Positive Alpha: The investment outperformed its CAPM prediction (good performance for additional value/risk).
Negative Alpha: The investment underperformed its CAPM prediction.
Beta:
Definition: Beta measures the sensitivity of an asset's returns relative to the overall market's returns. It quantifies systematic risk.
Purpose: Indicates how volatile or correlated an investment is relative to the market benchmark (e.g., S&P 500).
Calculation:
Beta is computed as the ratio of the covariance of the asset and market returns to the variance of the market returns:
β = Covariance (Asset Return, Market Return) / Variance (Market Return)
β = Variance (Market Return) Covariance (Asset Return, Market Return)
Interpretation:
Beta = 1: The asset’s price moves in line with the market.
Beta > 1: The asset is more volatile than the market (higher risk/higher potential reward).
Beta < 1: The asset is less volatile than the market (lower risk/lower reward).
Beta < 0: The asset moves inversely to the market.
2. How to Use It?
Using Alpha:
Portfolio Evaluation: Investors use Alpha to gauge whether a portfolio manager or a strategy has successfully outperformed the market on a risk-adjusted basis.
If Alpha is consistently positive, the portfolio may deliver higher-than-expected returns for the given level of risk.
Stock/Asset Selection: Compare Alpha across multiple securities. Positive Alpha signals that the asset may be a good addition to your portfolio for excess returns.
Adjusting Investment Strategy: If Alpha is negative, reassess the asset's role in the portfolio and refine strategies.
Using Beta:
Risk Management:
A high Beta (e.g., 1.5) indicates higher sensitivity to market movements. Use such assets if you want to take on more risk during bullish market phases or expect higher returns.
A low Beta (e.g., 0.7) indicates stability and is useful in diversifying risk in volatile or bearish markets.
Portfolio Diversification: Combine assets with varying Betas to achieve the desired level of market responsiveness and smooth out portfolio volatility.
Monitoring Systematic Risk: Beta helps identify whether an investment aligns with your risk tolerance. For example, high-Beta stocks may not be suitable for conservative investors.
Practical Application:
Use both Alpha and Beta together:
Assess performance with Alpha (excess returns).
Assess risk exposure with Beta (market sensitivity).
Example: A stock with a Beta of 1.2 and a highly positive Alpha might suggest a solid performer that is slightly more volatile than the market, making it a suitable pick for risk-tolerant, return-maximizing investors.
In conclusion, the CAPM Alpha & Beta indicator gives a comprehensive view of an asset's performance and risk. Alpha enables performance evaluation on a risk-adjusted basis, while Beta reveals the level of market risk. Together, they help investors make informed decisions, build optimal portfolios, and align investments with their risk-return preferences.
Auto Draw ToolAuto Draw Tool for TradingView – Trend, Support/Resistance & Fibonacci Indicator ( HIMANSHU AGNIHOTRY)
The Auto Draw Tool is a powerful TradingView indicator that automatically detects trend lines, support & resistance levels, and Fibonacci retracement zones. It helps traders identify key price levels and market trends without manual effort.
🔹 Features
✔ Automatic Support & Resistance Detection – Finds the strongest price levels based on past highs and lows
✔ Trend Line Auto-Plotting – Detects market trends using swing highs and lows
✔ Fibonacci Retracement Levels – Highlights key retracement points for potential reversals
✔ Candlestick Pattern Detection – Identifies bullish and bearish engulfing patterns
✔ Background Alerts for Patterns – Highlights candlestick patterns with color-coded backgrounds
✔ Works on Any Timeframe – Suitable for scalping, swing trading, and long-term investing
🛠 How It Works?
Support & Resistance Levels: The script calculates the highest and lowest price levels within a given lookback period.
Trend Line Identification: It detects swing highs and swing lows to draw automatic trend lines.
Fibonacci Retracement: The script marks important Fibonacci levels (0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%) for potential entry and exit points.
Engulfing Candlestick Patterns: It recognizes bullish engulfing and bearish engulfing patterns, which indicate strong buying or selling pressure.
Alerts & Background Highlighting: When an engulfing pattern is detected, the background color changes (green for bullish, red for bearish).
🔔 Alerts & Signals
🚀 Bullish Engulfing Detected: Green background & buy signal alert
🚀 Bearish Engulfing Detected: Red background & sell signal alert
🎯 Who Can Use It?
✅ Day Traders & Scalpers – Quickly identify key price action levels
✅ Swing Traders – Find strong support/resistance and Fibonacci retracement areas
✅ Trend Followers – Confirm trend direction with auto-drawn trend lines
✅ Price Action Traders – Get real-time candlestick pattern alerts
ATR Percentages BoxThis custom indicator provides a quick visual reference for volatility-based price ranges, directly on your TradingView charts. It calculates and displays three ranges derived from the Daily Average True Range (ATR) with a standard 14-period setting:
5 Min (3% ATR): Ideal for very short-term scalping and quick intraday moves.
1 Hour (5% ATR): Useful for hourly setups, short-term trades, and intraday volatility assessment.
Day (10% ATR): Perfect for daily volatility context, swing trades, or placing stops and targets.
The ranges are clearly shown in a compact box at the top-right corner, providing traders immediate insights into realistic price movements, helping to optimise entries, stops, and profit targets efficiently.
Hosoda Time Cycles (Forward + Backward)Hosoda Time Cycles
Market Timing Projection Tool
The Hosoda Time Cycles indicator is inspired by the legendary Japanese trader Ichimoku Hosoda, who emphasized the power of time in forecasting market behavior. This tool visualizes forward and backward time cycles based on significant price pivots, enabling traders to anticipate potential trend shifts, consolidations, or continuations with high precision.
Key Features:
Forward & Backward Cycles: Projects future and past time intervals based on selected pivots to reveal cyclical patterns.
Manual & Auto Pivot Selection: Choose between automatic detection or manually selected swing highs/lows.
Cycle Ratios: Includes traditional Hosoda counts such as 9, 17, 26, 33, 42, and 65 — key numbers in Ichimoku time theory.
Multi-Timeframe Utility: Effective across intraday, swing, and long-term charts.
Minimalist Overlay: Clean design to avoid clutter while providing powerful cycle insights.
Customizable Visuals: Adjustable line styles, colors, and cycle projection lengths for clarity and personalization.
Ideal For:
Traders focused on time-based confluence, cycle forecasting, and market rhythm detection, especially those who blend price action with Japanese trading techniques.
Sweep Engulf CHoCH📖 Indicator Overview
The Sweep Engulf CHoCH indicator is designed to detect the Sweep + Engulf + CHoCH (Change of Character) pattern on price charts. This indicator helps traders identify bullish and bearish entry opportunities based on the last three candles forming this pattern.
📊 How the Indicator Works
The indicator analyzes specific conditions in the last three candles:
🔹 Bullish Entry (Buy Signal)
✔️ Candle 1 must be bearish (close < open )
✔️ Candle 2 must sweep the low of candle 1 (low < low )
✔️ Candle 2 must also engulf candle 1 (close > close )
✔️ Candle 3 must break structure (CHoCH) by closing above the open of candle 1 (close > open )
🔻 Bearish Entry (Sell Signal)
✔️ Candle 1 must be bullish (close > open )
✔️ Candle 2 must sweep the high of candle 1 (high > high )
✔️ Candle 2 must also engulf candle 1 (close < open )
✔️ Candle 3 must break structure (CHoCH) by closing below the open of candle 1 (close < open )
52W CP/H & H/L with percentage % differences52 Week High/Low Indicator with percentage difference between High/Low & High/Current Price
A simple indicator that can be used on any timeframe to display the 52 week High/Low values along with percentage differences (rounded) between High/Low & High/Current Price to get an idea of the strength in the instruments current price to it's 52 week journey.
Features
* Works on any timeframe.
* Simple horizontal lines showing only the current 52 week values.
* Allows the user to select whether to calculate the 52-week values from candle close values or the respective highs/lows.
* Allows users to toggle percentages label on/off
This script is open source for users to refine as per their needs. Additionally I would appreciate any constructive feedback. Thank you
Sweep Engulf 2 Candle🔍 Overview:
This script identifies Bullish Engulfing and Bearish Engulfing candlestick patterns on the chart. These formations are widely used in technical analysis to spot potential reversals in price action. The indicator helps traders quickly identify these patterns by marking them directly on the chart with small arrows.
📌 Features:
✅ Bullish Engulfing & Bearish Engulfing Detection
✅ Customizable Display Options (Enable/Disable Bullish or Bearish signals)
✅ Real-Time Alerts (Receive notifications when a pattern is formed)
✅ Optimized Marker Size (Smaller icons for better chart visibility)
📊 How It Works:
1. Bullish Engulfing Condition:
The second candle's low is lower than the first candle's low.
The second candle's close is higher than the first candle's open (if the first candle is bearish) OR higher than the first candle's close (if the first candle is bullish).
2. Bearish Engulfing Condition:
The second candle's high is higher than the first candle's high.
The second candle's close is lower than the first candle's close (if the first candle is bearish) OR lower than the first candle's open (if the first candle is bullish).
⚙️ How to Use:
Add the script to your TradingView chart.
Adjust settings to enable/disable Bullish or Bearish Engulfing patterns.
Enable alerts to receive real-time notifications when a pattern is detected.
Use this indicator to support your technical analysis and trade decisions.
📌 Notes:
This indicator is best used in combination with other technical analysis tools like support & resistance levels, trendlines, or volume analysis.
It works on all timeframes and asset
SemiCircle Cycle Notation PivotsFor decades, traders have sought to decode the rhythm of the markets through cycle theory. From the groundbreaking work of HM Gartley in the 1930s to modern-day cycle trading tools on TradingView, the concept remains the same: markets move in repeating waves with larger cycles influencing smaller ones in a fractal-like structure, and understanding their timing gives traders an edge to better anticipate future price movements🔮.
Traditional cycle analysis has always been manual, requiring traders to painstakingly plot semicircles, diamonds, or sine waves to estimate pivot points and time reversals. Drawing tools like semicircle & sine wave projections exist on TradingView, but they lack automation—forcing traders to adjust cycle lengths by eye, often leading to inconsistencies.
This is where SemiCircle Cycle Notation Pivots indicator comes in. Semicircle cycle chart notation appears to have evolved as a practical visualization tool among cycle theorists rather than being pioneered by a single individual; some key influences include HM Gartley, WD Gann, JM Hurst, Walter Bressert, and RayTomes. Built upon LonesomeTheBlue's foundational ZigZag Waves indicator , this indicator takes cycle visualization to the next level by dynamically detecting price pivots and then automatically plotting semicircles based on real-time cycle length calculations & expected rhythm of price action over time.
Key Features:
Automated Cycle Detection: The indicator identifies pivot points based on your preference—highs, lows, or both—and plots semicircle waves that correspond to Hurst's cycle notation.
Customizable Cycle Lengths: Tailor the analysis to your trading strategy with adjustable cycle lengths, defaulting to 10, 20, and 40 bars, allowing for flexibility across various timeframes and assets.
Dynamic Wave Scaling: The semicircle waves adapt to different price structures, ensuring that the visualization remains proportional to the detected cycle lengths and aiding in the identification of potential reversal points.
Automated Cycle Detection: Dynamically identifies price pivot points and automatically adjusts offsets based on real-time cycle length calculations, ensuring precise semicircle wave alignment with market structure.
Color-Coded Cycle Tiers: Each cycle tier is distinctly color-coded, enabling quick differentiation and a clearer understanding of nested market cycles.
Advanced Momentum Scanner [QuantAlgo]Introducing the Advanced Momentum Scanner by QuantAlgo , a sophisticated technical indicator that leverages multiple EMA combinations, momentum metrics, and adaptive visualization techniques to provide deep insights into market trends and momentum shifts. It is particularly valuable for those looking to identify high-probability trading and investing opportunities based on trend changes and momentum shifts across any market and timeframe.
🟢 Technical Foundation
The Advanced Momentum Scanner utilizes sophisticated trend analysis techniques to identify market momentum and trend direction. The core strategy employs a multi-layered approach with four different EMA periods:
Ultra-Fast EMA for quick trend changes detection
Fast EMA for short-term trend analysis
Mid EMA for intermediate confirmation
Slow EMA for long-term trend identification
For momentum detection, the indicator implements a Rate of Change (RoC) calculation to measure price momentum over a specified period. It further enhances analysis by incorporating RSI readings, volatility measurements through ATR, and optional volume confirmation. When these elements align, the indicator generates various trading signals based on the selected sensitivity mode.
🟢 Key Features & Signals
1. Multi-Period Trend Identification
The indicator combines multiple EMAs of different lengths to provide comprehensive trend analysis within the same timeframe, displaying the information through color-coded visual elements on the chart.
When an uptrend is detected, chart elements are colored with the bullish theme color (default: green/teal).
Similarly, when a downtrend is detected, chart elements are colored with the bearish theme color (default: red).
During neutral or indecisive periods, chart elements are colored with a neutral gray color, providing clear visual distinction between trending and non-trending market conditions.
This visualization provides immediate insights into underlying trend direction without requiring separate indicators, helping traders and investors quickly identify the market's current state.
2. Trend Strength Information Panel
The trend panel operates in three different sensitivity modes (Conservative, Aggressive, and Balanced), each affecting how the indicator processes and displays market information.
The Conservative mode prioritizes signal reliability over frequency, showing only strong trend movements with high conviction levels.
The Aggressive mode detects early trend changes, providing more frequent signals but potentially more false positives.
The Balanced mode offers a middle ground with moderate signal frequency and reliability.
Regardless of the selected mode, the panel displays:
Current trend direction (UPTREND, DOWNTREND, or NEUTRAL)
Trend strength percentage (0-100%)
Early detection signals when applicable
The active sensitivity mode
This comprehensive approach helps traders and investors:
→ Assess the strength and reliability of current market trends
→ Identify early potential trend changes before full confirmation
→ Make more informed trading and investing decisions based on trend context
3. Customizable Visualization Settings
This indicator offers extensive visual customization options to suit different trading/investing styles and preferences:
Display options:
→ Fully customizable uptrend, downtrend, and neutral colors
→ Color-coded price bars showing trend direction
→ Dynamic gradient bands visualizing potential trend channels
→ Optional background coloring based on trend intensity
→ Adjustable transparency levels for all visual elements
These visualization settings can be fine-tuned through the indicator's interface, allowing traders and investors to create a personalized chart environment that emphasizes the most relevant information for their strategy.
The indicator also features a comprehensive alert system with notifications for:
New trend formations (uptrend, downtrend, neutral)
Early trend change signals
Momentum threshold crossovers
Other significant market conditions
Alerts can be delivered through TradingView's notification system, making it easy to stay informed of important market developments even when you are away from the charts.
🟢 Practical Usage Tips
→ Trend Analysis and Interpretation: The indicator visualizes trend direction and strength directly on the chart through color-coding and the information panel, allowing traders and investors to immediately identify the current market context. This information helps in assessing the potential for continuation or reversal.
→ Signal Generation Strategies: The indicator generates potential trading signals based on trend direction, momentum confirmation, and selected sensitivity mode. Users can choose between Conservative (fewer but more reliable signals), Balanced (moderate approach), or Aggressive (more frequent but potentially less reliable signals).
→ Multi-Period Trend Assessment: Through its layered EMA approach, the indicator enables users to understand trend conditions across different lookback periods within the same timeframe. This helps in identifying the dominant trend and potential turning points.
🟢 Pro Tips
Adjust EMA periods based on your timeframe:
→ Lower values for shorter timeframes and more frequent signals
→ Higher values for higher timeframes and more reliable signals
Fine-tune sensitivity mode based on your trading style:
→ "Conservative" for position trading/long-term investing and fewer false signals
→ "Balanced" for swing trading/medium-term investing with moderate signal frequency
→ "Aggressive" for scalping/day trading and catching early trend changes
Look for confluence between components:
→ Strong trend strength percentage and direction in the information panel
→ Overall market context aligning with the expected direction
Use for multiple trading approaches:
→ Trend following during strong momentum periods
→ Counter-trend trading at band extremes during overextension
→ Early trend change detection with sensitivity adjustments
→ Stop loss placement using dynamic bands
Combine with:
→ Volume indicators like the Volume Delta & Order Block Suite for additional confirmation
→ Support/resistance analysis for strategic entry/exit points
→ Multiple timeframe analysis for broader market context
VWAP Balance Zones - SessionsVWAP Balance Zones Sessions Version is an alternate take on the Original VWAP Balance Zones indicator. The Sessions version allows users to select a specific session to view the VWAP Balance Zones at while still utilizing the full ETH Data.
The Session version provides a better focused display while still maintaining the core functions of the original script with mindful optimizations.
Author's Note: "VBZ Sessions was made with logistics in mind, for the users who only trade within certain times of the day. While it displays the same core concepts, it is not as "Raw" of a display as the Original. For this reason, some users may prefer the Original VWAP Balance Zones, which is why I have opted to release this alternate version instead of updating the original."
> What are VWAP Balance Zones?
"VWAP Balance Zones" is an original concept aimed at identifying the equilibrium area between market participants within the current trend by averaging the Daily Extremes and the Daily VWAP.
Refer to the illustration below for a better understanding of exactly how VWAP Balance Zones are formed:
These zones are displayed for the Daily, Weekly, and Monthly VWAPs, with the most interactive timeframe being the Daily.
> Features
1. The Session Version uses ETH data at all times, and does not solely rely on the chart's data to create the VWAPs or Zones.
This allows the user to focus on a specific trading session, while not losing out on the full VBZ Calculation, with the notable benefit of a cleaner display.
The Original VBZ starts drawing at the beginning of the chart's "Day", and would produce different results when using an RTH chart vs an ETH chart. Along with creating a bird's nest of unusable data at the beginning of the day.
2. Session Start and End lines are displayed for easier identification of the designated trading session.
3. The extreme "Close" Lines are no longer displayed to reduce noise and redundancy.
4. Additionally, the interior VWAP lines are no longer displayed. Ultimately, this was to reduce noise and focus the script on the 50% zones.
5. Weekly and Monthly Zones are now displayed due to the reduced noise!
6. As with the original, the weekly display will yield to the daily, and the monthly display will yield to the weekly.
In the screenshot below, you can observe this behavior.
Enjoy!
15-Minute ORB by @RhinoTradezOverview
Hey traders, ready to jump on the morning breakout train? The 15-Minute ORB by @RhinoTradez
is your go-to pal for rocking the Opening Range Breakout (ORB) scene, zeroing in on the first 15 minutes of the U.S. market day—9:30 to 9:45 AM Eastern Time. Picture this: sleek orange lines mark the high and low of that opening rush, but they only hang out during regular trading hours (9:30 AM-4:00 PM ET) and reset fresh each day—no old baggage here! Built in Pine Script v6 for that cutting-edge feel, it’s loaded with breakout signals and alerts to keep your trading game strong—ideal for SPY, QQQ, or any ticker you love.
Crafted by @RhinoTradez
to fuel your daily grind—let’s hit those breakouts running!
What It Does
The ORB strategy is all about that early market spark: the 9:30-9:45 AM range sets the battlefield, and breakouts signal the charge. Here’s the rundown:
Captures the Range : Snags the high and low from the 9:30-9:45 AM ET candle—U.S. market kickoff, locked in.
Daily Refresh : Wipes yesterday’s lines at 9:30 AM ET each day—today’s all that matters.
Regular Hours Focus : Orange lines shine from 9:45 AM to 4:00 PM ET, vanishing outside those hours.
Breakout Signals : Green triangles for upside breaks, red for downside, all within regular hours.
Alerts You : Chimes in with “Price broke above 15-min ORB High: 597” (or below the low) when the move hits.
It’s your morning breakout blueprint—simple, focused, and trader-ready.
Functionality Breakdown:
15-Minute ORB Snap:
Locks the high and low of the 9:30-9:45 AM ET candle on a 15-minute chart (EST/EDT auto-adjusted).
Resets daily at 9:30 AM ET—yesterday’s range is outta here.
Regular Hours Only:
Lines glow from 9:45 AM to 4:00 PM ET, keeping pre-market and after-hours clean.
Breakout Flags:
Marks price busting above the ORB high (green triangle below bar) or below the low (red triangle above), only during 9:30 AM-4:00 PM.
Alert Action:
Drops a custom alert with the breakout price (e.g., “Price broke below 15-min ORB Low: 594”)—stay in the know, hands-free.
Customization Options
Keep it chill with one slick tweak:
ORB Line Color : Starts at orange—vibrant and trader-cool! Flip it to blue, purple, or any shade you dig in the settings. Make it yours.
How to Use It
Pop It On: Add it to a 15-minute chart—SPY, QQQ, or your hot pick works like a dream.
Time It Right: Set your chart to “America/New_York” time (Chart Settings > Time Zone) to sync with 9:30 AM ET.
Choose Your Color: Dive into the indicator settings and pick your ORB line color—orange kicks it off, but you’re in charge.
Set Alerts: Right-click the indicator, add an alert with “Any alert() function call,” and catch breakouts live.
Ride the Wave: Green triangle? Upward vibe. Red? Downside alert. Mix with volume or candles for extra punch.
Pro Tips
15-Minute Only : Tailored for that 9:30-9:45 AM ET candle—other timeframes won’t sync up.
Daily Reset : Lines refresh at 9:30 AM ET—always today’s play.
Breakout Boost : High volume or RSI can seal the deal on those triangle signals.
No Clutter : Lines stick to 9:30 AM-4:00 PM ET—your chart stays tidy.
Brought to you by @RhinoTradez
in Pine Script v6, this ORB script’s your morning breakout wingman. Slap it on, pick a color, and let’s chase those moves together! Happy trading!
Volume Width Based Candles
Overview
This indicator reimagines traditional candlestick charts by adjusting the horizontal width of each candle based on the bar’s trading volume. In other words, candles with higher volume appear wider, while those with lower volume are drawn narrower. This extra visual dimension can help traders quickly identify bars with significant volume relative to a defined lookback period.
Key Components
Volume Normalization:
The script calculates the highest volume over a user-defined lookback period (default is 100 bars).
Each bar’s volume is then normalized by dividing it by this maximum value. The result is a value between 0 and 1 that represents how the current volume compares to the maximum over the lookback.
Variable Candle Width Calculation:
A base multiplier (default set to 0.4) is used to control how much the volume influences the candle width.
The normalized volume is multiplied by this multiplier to compute an offset value.
Instead of using timestamps (which could lead to drawing objects too far into the future), the script uses the bar_index (the sequential index of bars) to determine the left and right positions of each candle.
The left and right x–positions are calculated by subtracting and adding the offset from the current bar index, respectively.
Candle Body & Wick Drawing:
Candle Body:
The body is drawn using box.new as a rectangle.
The top and bottom of the box are determined by the higher and lower values of the open and close prices.
The color of the candle is set based on whether the bar is bullish (green) or bearish (red).
Wicks:
The upper wick is drawn from the high of the bar down to the top of the body.
The lower wick is drawn from the low up to the bottom of the body.
These are created using line.new at the current bar index.
Handling Edge Cases:
The indicator includes conditions to avoid drawing errors on the very first bar (or any bar where prior data is unavailable).
It also converts the calculated x–coordinates (which are derived from the bar index plus a floating point offset) to integers since box.new requires integer values for positioning.
What It Tells the Trader
Volume Visualization:
Wider candles indicate bars where trading volume is high relative to recent history, potentially highlighting periods of increased market activity.
Narrower candles suggest lower volume, which can signal less interest or participation during that bar.
Contextual Price Action:
By integrating volume into the visual representation of each candle, traders get an immediate sense of the strength behind price movements.
This can be particularly useful for spotting potential breakouts, reversals, or confirming trends when analyzed alongside traditional price-based indicators.
Customization Options
Volume Lookback Period:
You can adjust the number of bars considered when determining the maximum volume. A shorter period may be more responsive to recent changes, while a longer period provides a broader context.
Base Width Multiplier:
Adjusting this multiplier changes how pronounced the effect of volume is on the candle’s width. Increasing it will make high-volume candles even wider, and decreasing it will reduce the difference between high and low volume candles.
Final Thoughts
This indicator is a creative way to overlay volume information directly onto the price chart without the need for separate volume bars. It provides an at-a-glance understanding of market activity and can be a valuable addition to a trader’s toolkit, especially for those who prefer visual cues integrated with price action. However, due to limitations (like the maximum number of drawn boxes), it’s best used on charts with a moderate amount of historical data or with appropriate adjustments to manage performance.
Custom Support & Resistance with 3 LevelsThis Pine Script indicator calculates and displays three levels of support and resistance based on the opening price of the first bar of the day.
Here's how it works:
Identifies the Day's Open: The indicator first determines the opening price of the trading day. It does this by checking if the current bar's day is different from the previous bar's day. If it is, it stores the current bar's opening price as the day's opening price.
Calculates Support and Resistance: The user provides six input values: three for calculating resistance levels and three for calculating support levels. These values are added to or subtracted from the day's opening price to determine the three support and resistance levels.
Plots the Levels: The indicator then plots these six levels on the chart as horizontal lines. Resistance levels are typically plotted in shades of red, orange, and yellow, while support levels are plotted in shades of green, blue, and purple.
Key Features:
Day-Based Calculation: The support and resistance levels are anchored to the opening price of the day, providing a consistent reference point regardless of intraday price fluctuations.
Multiple Levels: The indicator provides three levels each for support and resistance, giving traders a broader perspective on potential price turning points.
Customizable: Traders can adjust the values used to calculate the support and resistance levels, allowing for flexibility and adaptation to different trading styles and markets.
Potential Use Cases:
Identifying Entry and Exit Points: Traders can use the support and resistance levels to identify potential entry points for long trades (near support) and short trades (near resistance), as well as exit points for existing positions.
Setting Stop-Loss Orders: The support and resistance levels can be used to set stop-loss orders to limit potential losses.
Gauging Trend Strength: A strong break above a resistance level can indicate bullish momentum, while a break below a support level can suggest bearish pressure.
This indicator can be a valuable tool for traders seeking to incorporate support and resistance levels into their technical analysis. However, it's important to remember that these levels are not absolute guarantees of price reversals and should be used in conjunction with other technical indicators and risk management strategies.
Multiple AVWAP [OmegaTools]The Multiple AVWAP indicator is a sophisticated trading tool designed for professional traders who require precision in volume-weighted price tracking. This indicator allows for the deployment of multiple Anchored Volume Weighted Average Price (AVWAP) calculations simultaneously, offering deep insights into price movements, dynamic support and resistance levels, and trend structures across multiple timeframes.
This indicator caters to both institutional and retail traders by integrating flexible anchoring methods, multi-timeframe adaptability, and enhanced visualization features. It also includes deviation bands for statistical analysis, making it a comprehensive volume-based trading solution.
Key Features & Functionalities
1. Multiple AVWAP Configurations
Users can configure up to four distinct AVWAP calculations to track different market conditions.
Supports various anchoring methods:
Fixed: A traditional AVWAP that starts from a defined historical point.
Perpetual: A rolling VWAP that continuously adjusts over time.
Extension: An extension-based AVWAP that projects from past calculations.
High Volume: Anchors AVWAP to the highest volume bar within a specified period.
None: Option to disable AVWAP calculation if not required.
2. Advanced Deviation Bands
Implements standard deviation bands (1st and 2nd deviation) to provide a statistical measure of price dispersion from the AVWAP.
Serves as a dynamic method for identifying overbought and oversold conditions relative to VWAP pricing.
Deviation bands are customizable in terms of visibility, color, and transparency.
3. Multi-Timeframe Support
Users can assign different timeframes to each AVWAP calculation for macro and micro analysis.
Helps in identifying long-term institutional trading levels alongside short-term intraday trends.
4. Z-Score Normalization Mode
Option to standardize oscillator values based on AVWAP deviations.
Converts price movements into a statistical Z-score, allowing traders to measure price strength in a normalized range.
Helps in detecting extreme price dislocations and mean-reversion opportunities.
5. Customizable Visual & Aesthetic Settings
Fully customizable line colors, transparency, and thickness to enhance clarity.
Users can modify AVWAP and deviation band colors to distinguish between different levels.
Configurable display options to match personal trading preferences.
6. Oscillator Mode for Trend & Momentum Analysis
The indicator converts price deviations into an oscillator format, displaying AVWAP strength and weakness dynamically.
This provides traders with a momentum-based perspective on volume-weighted price movements.
User Guide & Implementation
1. Configuring AVWAPs for Optimal Use
Choose the mode for each AVWAP instance:
Fixed (set historical point)
Perpetual (rolling, continuously updated AVWAP)
Extension (projection from past AVWAP levels)
High Volume (anchored to highest volume bar)
None (disables the AVWAP line)
Adjust the length settings to fine-tune calculation sensitivity.
2. Utilizing Deviation Bands for Market Context
Activate deviation bands to see statistical boundaries of price action.
Monitor +1 / -1 and +2 / -2 standard deviation levels for extended price movements.
Consider price action outside of deviation bands as potential mean-reversion signals.
3. Multi-Timeframe Analysis for Institutional-Level Insights
Assign different timeframes to each AVWAP to compare:
Daily VWAP (institutional trading levels)
Weekly VWAP (swing trading trends)
Intraday VWAPs (short-term momentum shifts)
Helps identify where institutional liquidity is positioned relative to price.
4. Activating the Oscillator for Momentum & Bias Confirmation
The oscillator converts AVWAP deviations into a normalized value.
Use overbought/oversold levels to determine strength and potential reversals.
Combine with other indicators (RSI, MACD) for confluence-based trading decisions.
Trading Applications & Strategies
5. Trend Confirmation & Institutional VWAP Tracking
If price consistently holds above the primary AVWAP, it signals a bullish trend.
If price remains below AVWAP, it indicates selling pressure and a bearish trend.
Monitor retests of AVWAP levels for potential trend continuation or reversal.
6. Dynamic Support & Resistance Levels
AVWAP lines act as dynamic floating support and resistance zones.
Price bouncing off AVWAP suggests continuation, whereas breakdowns indicate a shift in momentum.
Look for confluence with high-volume zones for stronger trade signals.
7. Mean Reversion & Statistical Edge Trading
Prices that deviate beyond +2 or -2 standard deviations often revert toward AVWAP.
Mean reversion traders can fade extended moves and target AVWAP re-tests.
Helps in identifying exhaustion points in trending markets.
8. Institutional Liquidity & Volume Footprints
Institutions often execute large trades near VWAP zones, causing price reactions.
Tracking multi-timeframe AVWAP levels allows traders to anticipate key liquidity areas.
Use higher timeframe AVWAPs as macro support/resistance for swing trading setups.
9. Enhancing Momentum Trading with AVWAP Oscillator
The oscillator provides a momentum-based measure of AVWAP deviations.
Helps in confirming entry and exit timing for trend-following trades.
Useful for pairing with stochastic oscillators, MACD, or RSI to validate trade decisions.
Best Practices & Trading Tips
Use in Conjunction with Volume Analysis: Combine with volume profiles, OBV, or CVD for increased accuracy.
Adjust Timeframes Based on Trading Style: Scalpers can focus on short-term AVWAP, while swing traders benefit from weekly/daily AVWAP tracking.
Backtest Different AVWAP Configurations: Experiment with different anchoring methods and lookback periods to optimize trade performance.
Monitor Institutional Order Flow: Identify key VWAP zones where institutional traders may be active.
Use with Other Technical Indicators: Enhance trading confidence by integrating with moving averages, Bollinger Bands, or Fibonacci retracements.
Final Thoughts & Disclaimer
The Multiple AVWAP indicator provides a comprehensive approach to volume-weighted price tracking, making it ideal for professional traders. While this tool enhances market clarity and trade decision-making, it should be used as part of a well-rounded trading strategy with risk management principles in place.
This indicator is provided for informational and educational purposes only. Trading involves risk, and past performance is not indicative of future results. Always conduct your own analysis and due diligence before executing trades.
OmegaTools - Enhancing Market Clarity with Precision Indicators