Custom Index CompositeCustom Index Composite calculates an unweighted composite index by averaging the daily returns of multiple stock tickers. Instead of using price-level weighting, it focuses solely on percentage change, allowing you to compare diverse market themes side by side on a common basis.
Why Use a Custom Index Composite?
Unlike traditional indices that often lean on market capitalization or price-level data, a custom composite based solely on returns strips out the bias inherent to high-priced stocks. This provides several benefits:
Objective Cross-Comparison:
When stocks or market themes trade at very different price levels, it can be difficult to assess performance objectively. Using percentage returns, the composite creates an even playing field, enabling a clear comparison between different assets or themes.
Tailored Benchmarking:
By selecting and combining specific tickers, you can create benchmarks that better represent the segments or strategies you’re interested in. This is particularly useful when standard indices do not capture the nuances of your investment approach.
Performance Normalization:
Converting raw price data into daily percentage returns minimizes distortions that arise from price differences. This normalization helps in understanding true performance trends across the chosen tickers, making the composite index a more reliable gauge of relative market movement.
Custom Analysis Framework:
The indicator offers flexibility to adjust the lookback period (defaulting to about 3 months) so you can fine-tune the sensitivity of the index to recent market behavior. This enables you to either smooth out volatility or capture a more immediate trend, depending on your analytical needs.
Key Features:
Configurable Appearance:
You can easily configure the line color, line width, index name, and index name color via the options panel.
Ticker Configuration:
By default, you can enter up to 15 different tickers into the composite index. Technically, the indicator supports up to 40 tickers (these additional inputs are commented out by default to maintain performance), and you may enable them individually if required.
Calculated Bars Length:
The indicator uses a “Calculated bars length” setting, which is set by default to 63 days (approximately 3 months). This value can be adjusted, and it is recommended to use the greatest common denominator for consistent analysis.
How To Configure Your Chart:
Add the Indicator:
Place the Custom Index Composite on your chart.
Disable Main Symbol Visibility:
Hide the primary symbol’s plot and set its scale to “None” to prevent interference with the composite display.
Pin to Right Scale:
Set the scale of the first composite indicator to “Pinned to right scale.” This helps maintain consistency across different composite indicators.
Add Multiple Composites:
You can add additional composite indicators and set their scales to “Pinned to right scale” (or alternatively to “A”) for convenient comparison.
Limitations:
If a ticker symbol is set once in the options, it cannot be cleared to an empty value later. As a result, the symbol will continue to appear in the indicator’s title on the chart. The only way to remove an unwanted symbol is to completely reset the settings and re-enter your desired tickers.
Fyntrade
Zanger Volume Ratio (ZVR)Zanger Volume Ratio (ZVR)
Credits:
Most of the underlying code and logic in this script have been adapted from the work originally published by The_Peaceful_Lizard
Overview
The Zanger Volume Ratio (ZVR) is a powerful indicator designed to reveal market dynamics by comparing current cumulative volume to an average determined over a historical look-back period. It uses the concept of relative volume to not only highlight unusual volume spikes, but also uses color to illustrate how today's trading compares to typical levels. This unique method of volume analysis was popularized by Dan Zanger - a trader known for turning $10,775 into $18,000,000 in less than two years - by identifying key shifts in market interest and volume behavior.
Key Features
Volume Pacing Analysis:
The script calculates a volume delta by comparing the cumulative volume at any given moment to an average derived over a user-defined lookback period (Default 20-day). The resulting percentage difference offers a clear visualization and insight into unusual volume activity.
Dynamic Visual Representation:
Choose between either “Columns” or “Area” plot styles to display the percent difference. Additionally, you have the option to switch between a standard plot or a background color display, with customizable transparency, ensuring the indicator fits seamlessly with your chart’s aesthetics.
Dashboard Integration:
A simple dashboard table is displayed on the chart, showcasing the current ZVR value in real-time. With user-configurable position, text size, alignment, and color options, this feature ensures that the key metric is always visible and easy to interpret.
Why Use the Zanger Volume Ratio?
The ZVR is more than just a volume indicator. It acts as a window into market sentiment by highlighting days when trading interest intensifies. Many traders believe that an unusually high volume ratio may confirm trend strength or signal a reversal, making the indicator a valuable tool when used in conjunction with other technical analysis methods.
Whether you’re monitoring stocks, commodities, or forex markets, the Zanger Volume Ratio offers an accessible yet sophisticated method to decode volume dynamics. Its practical design and real-time visual feedback provide traders of all experience levels with critical data to spot high-potential setups.
Chart Description
First Pane: normal Volume Indicator on the foreground, ZVR as Background colors
Second Pane: ZVR Indicator with Column Style (default)
First panel: normal volume indicator in foreground, ZVR as background colors
Second panel: ZVR indicator with column style (default)
Note: This indicator is intended for use on intraday charts only!
IBD PowerTrendThis IBD PowerTrend indicator is designed to help traders identify strong market uptrends based on the IBD Market School's Power Trend methodology. It is intended to be added to daily charts on major indexes.
Concept and Methodology
The IBD PowerTrend helps traders identify strong market uptrends. Markets generally exist in three states: uptrends, downtrends, and rangebound motion. This methodology focuses on:
Downtrends: Stay out of the market.
Rangebound markets: Often frustrating, best avoided.
Uptrends: Identify the strongest uptrends early.
This indicator uses IBD's research on historical uptrends to help traders get in and stay in during robust market phases.
How It Works
A PowerTrend starts when the following four conditions are met simultaneously on a major index:
10-Day Low Above 21-Day EMA : The market's low must be above the 21-day exponential moving average (EMA) for at least 10 consecutive days.
21-Day EMA Above 50-Day SMA : The 21-day EMA must be above the 50-day simple moving average (SMA) for at least five consecutive days.
50-Day SMA Uptrend : The 50-day SMA must be in an uptrend (one day is sufficient).
Market Closes Up : The market must close higher than the previous day's close.
A PowerTrend typically ends when the 21-day EMA crosses back below the 50-day SMA. However, there are rare cases where a PowerTrend can end early due to a circuit breaker or a follow-through day failure. In this script, a circuit breaker is defined as a break of the 50-day line and being more than 10% below recent highs (interpreted as three months).
How to Use
When the PowerTrend is active, the indicator will plot green circles, signaling a strong market uptrend. During these periods, traders might observe opportunities in growth stocks breaking out of sound bases and consider the use of margin. Conversely, during downtrends, the indicator suggests a more defensive approach.
It is recommended to use on daily timeframe.
Chart Description
Main Chart:
- EMA 21 (blue): The 21-day exponential moving average.
- SMA 50 (red): The 50-day simple moving average.
First Panel:
- IBD PowerTrend Indicator: Plots the PowerTrend status with green circles indicating an active PowerTrend.
Second Panel:
- Volume Bars
Multi-Day Rolling VWAP [Intraday]Ideas from Brian Shannon's book "Anchored VWAP"
The Multi-Day Rolling VWAP indicator for intraday timeframes allows you to track the Volume Weighted Average Price (VWAP) over multiple days, specifically for 1-day, 2-day, 3-day, 4-day, and 5-day periods. This indicator beyond the standard daily VWAP provides a broader perspective on price trends and market sentiment.
Features:
- Multi-day VWAPs: Analyze VWAP over several days to observe longer-term price movements.
- Customizable display: Choose which VWAP periods to display on the chart
- Colorize: Choose different colors for each VWAP to easily distinguish between periods.
- Adjustable settings: Change the line thickness and select the price source for VWAP calculations.
- Works with Replay Mode
- Works in any intraday timeframe on any asset with volume and price
Benefits:
- Trend identification: Compare current prices with multi-day rolling VWAPs to spot trends.
- Spot reversals: Look for potential price reversals or support when prices cross VWAP lines.
Market Performance TableThe Market Performance Table displays the performance of multiple tickers (up to 5) in a table format. The tickers can be customized by selecting them through the indicator settings.
The indicator calculates various metrics for each ticker, including the 1-day change percentage, whether the price is above the 50, 20, and 10-day simple moving averages (SMA), as well as the relative strength compared to the 10/20 SMA and 20/50 SMA crossovers. It also calculates the price deviation from the 50-day SMA.
The table is displayed on the chart and can be positioned in different locations.
Credits for the idea to @Alex_PrimeTrading ;)