Year-over-Year % Change for PCEPILFEHello, traders!
This indicator is specifically for FRED:PCEPILFE , which is a 'Personal Consumption Expenditures (PCE) Index excluding food and energy.'
What this indicator does is compare the monthly data to that of the same month last year to see how it has changed over the year. This comparison method is widely known as YoY(Year-over-Year).
While I made this indicator to use for FRED:PCEPILFE , you may use it for different charts as long as they show monthly data.
FRED:PCEPILFE is one of the main measures of inflation the Federal Reserve uses.
You can see the YoY % change of the PCE Index excluding food and energy in the official website for the Bureau of Labor Statistics, but unfortunately, I couldn't find one in TradingView.
So instead, I decided to make my own indicator showing the changes using FRED:PCEPILFE .
The code is very simple: it compares the data to the data 12 points ago because 12 points would mean 12 months in this chart. We then multiply the result by 100 for percentage.
Doing so, we compare the current month to the same month of the previous year.
Because I am only interested in the YoY % Change of the index, I pulled the indicator all the way up, covering the original chart data entirely. (Or you could achieve the same by simply moving your indicator to the pane above. But this way, the original chart data is also visible.)
I hope this indicator helps you with your analysis. Feel free to ask questions if have any!
God bless!
Educational
Compare Symbol [LuxmiAI]This indicator allows users to plot candles or bars for a selected symbol and add a moving average of their choice as an underlay. Users can customize the moving average type and length, making it versatile for a wide range of trading strategies.
This script is designed to offer flexibility, letting traders select the symbol, timeframe, candle style, and moving average type directly from the input options. The moving averages include the Exponential Moving Average (EMA), Simple Moving Average (SMA), Weighted Moving Average (WMA), and Volume-Weighted Moving Average (VWMA).
Features of the Script
This indicator provides the following key features:
1. Symbol Selection: Users can input the ticker symbol for which they want to plot the data.
2. Timeframe Selection: The script allows users to choose a timeframe for the symbol data.
3. Candle Styles: Users can select from three styles - regular candles, bars, or Heikin-Ashi candles.
4. Moving Average Options: Users can choose between EMA, SMA, WMA, and VWMA for added trend analysis.
5. Customizable Moving Average Length: The length of the moving average can be adjusted to suit individual trading strategies.
How the Script Works
The script starts by taking user inputs for the symbol and timeframe. It then retrieves the open, high, low, and close prices of the selected symbol and timeframe using the request.security function. Users can select between three candle styles: standard candles, bars, and Heikin-Ashi candles. If Heikin-Ashi candles are selected, the script calculates the Heikin-Ashi open, high, low, and close values.
To add further analysis capabilities, the script includes a moving average. Traders can select the moving average type from EMA, SMA, WMA, or VWMA and specify the desired length. The selected moving average is then plotted on the chart to provide a clear visualization of the trend.
Step-by-Step Implementation
1. Input Options: The script starts by taking inputs for the symbol, timeframe, candle style, moving average type, and length.
2. Data Retrieval: The script fetches OHLC data for the selected symbol and timeframe using request.security.
3. Candle Style Logic: It determines which candle style to plot based on the user’s selection. If Heikin-Ashi is selected, the script calculates Heikin-Ashi values.
4. Moving Average Calculation: Depending on the user’s choice, the script calculates the selected moving average.
5. Visualization: The script plots the candles or bars and overlays the moving average on the chart.
Benefits of Using This Indicator
This custom indicator provides multiple benefits for traders. It allows for quick comparisons between symbols and timeframes, helping traders identify trends and patterns. The flexibility to choose different candle styles and moving averages enhances its adaptability to various trading strategies. Additionally, the ability to customize the moving average length makes it suitable for both short-term and long-term analysis.
Session Bar/Candle ColoringChange the color of candles within a user-defined trading session. Borders and wicks can be changed as well, not just the body color.
PREFACE
This script can be used an educational resource for those who are interested in learning Pine Script. Therefore, the script is published open source and is organized in a manner that follows the recommended Style Guide .
While the main premise of the indicator is rather simple, the script showcases various things that can be achieved such as conditional plotting, alignment of indicator settings, user input validation, script optimization, and more. The script also has examples of taking into consideration the chart timeframe and/or different chart types (Heikin Ashi, Renko, etc.) that a user might be running it on. Note: for complete beginners, I strongly suggest going through the Pine Script User Manual (possibly more than once).
FEATURES
Besides being able to select a specific time window, the indicator also provides additional color settings for changing the background color or changing the colors of neutral/indecisive candles, as shown in the image below.
This allows for a higher level of customization beyond the TradingView chart settings or other similar scripts that are currently available.
HOW TO USE
First, define the intraday trading session that will contain the candles to modify. The session can be limited to specific days of the week.
Next, select the parts of the candles that should be modified: Body, Borders, Wick, and/or Background.
For each of the candle parts that were enabled, you can select the colors that will be used depending on whether a candle is bullish (⇧), bearish (⇩), or neutral (⇆).
All other indicator settings will have a detailed tooltip to describe its usage and/or effect.
LIMITATIONS
The indicator is not intended to function on Daily or higher timeframes due to the intraday nature of session time windows.
The indicator cannot always automatically detect the chart type being used, therefore the user is requested to manually input the chart type via the " Chart Style " setting.
Depending on the available historical data and the selected choice for the " Portion of bar in session " setting, the indicator may not be able to update very old candles on the chart.
EXAMPLE USAGE
This section will show examples of different scenarios that the indicator can be used for.
Emphasizing a main trading session.
Defining a "Pre/post market hours background" like is available for some symbols (e.g., NASDAQ:AAPL ).
Highlighting in which bar the midnight candle occurs.
Hiding indecision bars (neutral candles).
Showing only "Regular Trading Hours" for a chart that does not have the option to toggle ETH/RTH. To achieve this, the actual chart data is hidden, and only the indicator is visible; alternatively, a 2nd instance of the indicator could change colors to match the chart background.
Using a combination of Bars and Japanese Candlesticks. Alternatively, this could be done by hiding the main chart data and using 2 instances of the indicator (one with " Chart Style " setting as Bars , and the other set to Candles ).
Using a combination of thin and thick bars on Range charts. Note: requires disabling the "Thin Bars" setting for Bar charts in the TradingView chart settings.
NOTES
If using more than one instance of this indicator on the same chart, you can use the TradingView "Save Indicator Template" feature to avoid having to re-configure the multiple indicators at a later time.
This indicator is intended to work "out-of-the-box" thanks to the behind_chart option introduced to Pine Script in October 2024. But you can always manually bring the indicator to the front just in case the color changes are not being seen (using the "More" option in the indicator status line: More > Visual Order > Bring to front ).
Many thanks to fikira for their help and inspiring me to create open source scripts.
Any feedback including bug reports or suggestions for improving the indicator (or source code itself) are always welcome in the comments section.
MMXM ICT [TradingFinder] Market Maker Model PO3 CHoCH/CSID + FVG🔵 Introduction
The MMXM Smart Money Reversal leverages key metrics such as SMT Divergence, Liquidity Sweep, HTF PD Array, Market Structure Shift (MSS) or (ChoCh), CISD, and Fair Value Gap (FVG) to identify critical turning points in the market. Designed for traders aiming to analyze the behavior of major market participants, this setup pinpoints strategic areas for making informed trading decisions.
The document introduces the MMXM model, a trading strategy that identifies market maker activity to predict price movements. The model operates across five distinct stages: original consolidation, price run, smart money reversal, accumulation/distribution, and completion. This systematic approach allows traders to differentiate between buyside and sellside curves, offering a structured framework for interpreting price action.
Market makers play a pivotal role in facilitating these movements by bridging liquidity gaps. They continuously quote bid (buy) and ask (sell) prices for assets, ensuring smooth trading conditions.
By maintaining liquidity, market makers prevent scenarios where buyers are left without sellers and vice versa, making their activity a cornerstone of the MMXM strategy.
SMT Divergence serves as the first signal of a potential trend reversal, arising from discrepancies between the movements of related assets or indices. This divergence is detected when two or more highly correlated assets or indices move in opposite directions, signaling a likely shift in market trends.
Liquidity Sweep occurs when the market targets liquidity in specific zones through false price movements. This process allows major market participants to execute their orders efficiently by collecting the necessary liquidity to enter or exit positions.
The HTF PD Array refers to premium and discount zones on higher timeframes. These zones highlight price levels where the market is in a premium (ideal for selling) or discount (ideal for buying). These areas are identified based on higher timeframe market behavior and guide traders toward lucrative opportunities.
Market Structure Shift (MSS), also referred to as ChoCh, indicates a change in market structure, often marked by breaking key support or resistance levels. This shift confirms the directional movement of the market, signaling the start of a new trend.
CISD (Change in State of Delivery) reflects a transition in price delivery mechanisms. Typically occurring after MSS, CISD confirms the continuation of price movement in the new direction.
Fair Value Gap (FVG) represents zones where price imbalance exists between buyers and sellers. These gaps often act as price targets for filling, offering traders opportunities for entry or exit.
By combining all these metrics, the Smart Money Reversal provides a comprehensive tool for analyzing market behavior and identifying key trading opportunities. It enables traders to anticipate the actions of major players and align their strategies accordingly.
MMBM :
MMSM :
🔵 How to Use
The Smart Money Reversal operates in two primary states: MMBM (Market Maker Buy Model) and MMSM (Market Maker Sell Model). Each state highlights critical structural changes in market trends, focusing on liquidity behavior and price reactions at key levels to offer precise and effective trading opportunities.
The MMXM model expands on this by identifying five distinct stages of market behavior: original consolidation, price run, smart money reversal, accumulation/distribution, and completion. These stages provide traders with a detailed roadmap for interpreting price action and anticipating market maker activity.
🟣 Market Maker Buy Model
In the MMBM state, the market transitions from a bearish trend to a bullish trend. Initially, SMT Divergence between related assets or indices reveals weaknesses in the bearish trend. Subsequently, a Liquidity Sweep collects liquidity from lower levels through false breakouts.
After this, the price reacts to discount zones identified in the HTF PD Array, where major market participants often execute buy orders. The market confirms the bullish trend with a Market Structure Shift (MSS) and a change in price delivery state (CISD). During this phase, an FVG emerges as a key trading opportunity. Traders can open long positions upon a pullback to this FVG zone, capitalizing on the bullish continuation.
🟣 Market Maker Sell Model
In the MMSM state, the market shifts from a bullish trend to a bearish trend. Here, SMT Divergence highlights weaknesses in the bullish trend. A Liquidity Sweep then gathers liquidity from higher levels.
The price reacts to premium zones identified in the HTF PD Array, where major sellers enter the market and reverse the price direction. A Market Structure Shift (MSS) and a change in delivery state (CISD) confirm the bearish trend. The FVG then acts as a target for the price. Traders can initiate short positions upon a pullback to this FVG zone, profiting from the bearish continuation.
Market makers actively bridge liquidity gaps throughout these stages, quoting continuous bid and ask prices for assets. This ensures that trades are executed seamlessly, even during periods of low market participation, and supports the structured progression of the MMXM model.
The price’s reaction to FVG zones in both states provides traders with opportunities to reduce risk and enhance precision. These pullbacks to FVG zones not only represent optimal entry points but also create avenues for maximizing returns with minimal risk.
🔵 Settings
Higher TimeFrame PD Array : Selects the timeframe for identifying premium/discount arrays on higher timeframes.
PD Array Period : Specifies the number of candles for identifying key swing points.
ATR Coefficient Threshold : Defines the threshold for acceptable volatility based on ATR.
Max Swing Back Method : Choose between analyzing all swings ("All") or a fixed number ("Custom").
Max Swing Back : Sets the maximum number of candles to consider for swing analysis (if "Custom" is selected).
Second Symbol for SMT : Specifies the second asset or index for detecting SMT divergence.
SMT Fractal Periods : Sets the number of candles required to identify SMT fractals.
FVG Validity Period : Defines the validity duration for FVG zones.
MSS Validity Period : Sets the validity duration for MSS zones.
FVG Filter : Activates filtering for FVG zones based on width.
FVG Filter Type : Selects the filtering level from "Very Aggressive" to "Very Defensive."
Mitigation Level FVG : Determines the level within the FVG zone (proximal, 50%, or distal) that price reacts to.
Demand FVG : Enables the display of demand FVG zones.
Supply FVG : Enables the display of supply FVG zones.
Zone Colors : Allows customization of colors for demand and supply FVG zones.
Bottom Line & Label : Enables or disables the SMT divergence line and label from the bottom.
Top Line & Label : Enables or disables the SMT divergence line and label from the top.
Show All HTF Levels : Displays all premium/discount levels on higher timeframes.
High/Low Levels : Activates the display of high/low levels.
Color Options : Customizes the colors for high/low lines and labels.
Show All MSS Levels : Enables display of all MSS zones.
High/Low MSS Levels : Activates the display of high/low MSS levels.
Color Options : Customizes the colors for MSS lines and labels.
🔵 Conclusion
The Smart Money Reversal model represents one of the most advanced tools for technical analysis, enabling traders to identify critical market turning points. By leveraging metrics such as SMT Divergence, Liquidity Sweep, HTF PD Array, MSS, CISD, and FVG, traders can predict future price movements with precision.
The price’s interaction with key zones such as PD Array and FVG, combined with pullbacks to imbalance areas, offers exceptional opportunities with favorable risk-to-reward ratios. This approach empowers traders to analyze the behavior of major market participants and adopt professional strategies for entry and exit.
By employing this analytical framework, traders can reduce errors, make more informed decisions, and capitalize on profitable opportunities. The Smart Money Reversal focuses on liquidity behavior and structural changes, making it an indispensable tool for financial market success.
6 Band Parametric EQThis indicator implements a complete parametric equalizer on any data source using high-pass and low-pass filters, high and low shelving filters, and six fully configurable bell filters. Each filter stage features standard audio DSP controls including frequency, Q factor, and gain where applicable. While parametric EQ is typically used for audio processing, this implementation raises questions about the nature of filtering in technical analysis. Why stop at simple moving averages when you can shape your signal's frequency response with surgical precision? The answer may reveal more about our assumptions than our indicators.
Filter Types and Parameters
High-Pass Filter:
A high-pass filter attenuates frequency components below its cutoff frequency while passing higher frequencies. The Q parameter controls resonance at the cutoff point, with higher values creating more pronounced peaks.
Low-Pass Filter:
The low-pass filter does the opposite - it attenuates frequencies above the cutoff while passing lower frequencies. Like the high-pass, its Q parameter affects the resonance at the cutoff frequency.
High/Low Shelf Filters:
Shelf filters boost or cut all frequencies above (high shelf) or below (low shelf) the target frequency. The slope parameter determines the steepness of the transition around the target frequency , with a value of 1.0 creating a gentle slope and lower values making the transition more abrupt. The gain parameter sets the amount of boost or cut in decibels.
Bell Filters:
Bell (or peaking) filters create a boost or cut centered around a specific frequency. A bell filter's frequency parameter determines the center point of the effect, while Q controls the width of the affected frequency range - higher Q values create a narrower bandwidth. The gain parameter defines the amount of boost or cut in decibels.
All filters run in series, processing the signal in this order: high-pass → low shelf → bell filters → high shelf → low-pass. Each stage can be independently enabled or bypassed.
The frequency parameter for all filters represents the period length of the targeted frequency component. Lower values target higher frequencies and vice versa. All gain values are in decibels, where positive values boost and negative values cut.
The 6-Band Parametric EQ combines these filters into a comprehensive frequency shaping tool. Just as audio engineers use parametric EQs to sculpt sound, this indicator lets you shape market data's frequency components with surgical precision. But beyond its technical implementation, this indicator serves as a thought experiment about the nature of filtering in technical analysis. While traditional indicators often rely on simple moving averages or single-frequency filters, the parametric EQ takes this concept to its logical extreme - offering complete control over the frequency domain of price action. Whether this level of filtering precision is useful for analysis is perhaps less important than what it reveals about our assumptions regarding market data and its frequency components.
Weekly Trading StrategyStrategy Overview:
This trading strategy is designed for short-term trades over weekly intervals, utilizing the combination of Simple Moving Averages (SMA) for trend identification and the Relative Strength Index (RSI) for overbought/oversold conditions. It aims to capitalize on momentum shifts while mitigating the risk of entering a market at extreme points.
Key Components:
Fast SMA (9 periods): Acts as a short-term trend indicator, providing insights into quick price changes.
Slow SMA (21 periods): Represents a longer-term trend, smoothing out price fluctuations to show a more stable trend line.
RSI (14 periods): An oscillator that measures the speed and change of price movements, helping to identify potential reversal points.
Entry Signals:
Buy Signal:
Condition 1: The fast SMA (9 periods) crosses above the slow SMA (21 periods), indicating a potential upward trend shift.
Condition 2: RSI falls below 30, suggesting the asset is potentially oversold and due for a correction upwards.
Sell Signal:
Condition 1: The fast SMA crosses below the slow SMA, signaling a possible downward trend shift.
Condition 2: RSI climbs above 70, indicating the asset might be overbought and could pull back.
Strategy Execution:
Timeframe: This strategy is optimized for a weekly chart (W), where each bar or candle represents one week of trading data.
Alert System: Alerts can be set up for buy and sell signals, allowing traders to react promptly to market conditions without constant chart monitoring.
Risk Management:
This strategy includes inherent risk management by avoiding trades when the market shows extreme conditions via RSI. However, traders should also consider:
Position sizing based on account size and risk tolerance.
Setting stop-loss orders to manage potential losses if the market moves against the position.
Considering additional market analysis or indicators for confirmation before executing trades.
Considerations:
Backtesting: Before live trading, backtest the strategy on historical data to assess performance across different market conditions.
Adaptation: Market dynamics change, so periodic review and adjustment of SMA periods and RSI thresholds might be necessary.
Complementary Analysis: Enhance this strategy with fundamental analysis or other technical indicators for a more robust trading approach.
This strategy is suited for traders looking for weekly swings in the market, balancing between following the trend and spotting potential reversals. However, like all trading strategies, it should not be used in isolation but as part of a broader trading plan.
Candle Spread Oscillator (CS0)The Candle Spread Oscillator (CSO) is a custom technical indicator designed to help traders identify momentum and directional strength in the market by analyzing the relationship between the candle body spread and the total candle range. This oscillator provides traders with a visually intuitive representation of price action dynamics and highlights key transitions between positive and negative momentum.
How It Works:
Body Spread vs. Total Range:
The CSO calculates the body spread (difference between the close and open price) and compares it to the total range (difference between the high and low price) of a candle.
The ratio of the body spread to the total range represents the proportion of price movement driven by directional momentum.
Smoothed Oscillator:
To remove noise and enhance clarity, the ratio is smoothed using a Hull Moving Average (HMA). The smoothing period can be adjusted through the "Smoothing Period" input, enabling traders to tailor the indicator to their preferred timeframes or strategies.
Gradient Visualization:
A gradient coloring is applied to the oscillator, transitioning smoothly between colors (e.g., fuchsia for negative momentum and aqua for positive momentum). This provides traders with a clear, intuitive visual cue of market behavior.
Visual Features:
Oscillator Plot:
The oscillator is displayed as an area-style plot, dynamically colored using a gradient. Positive values are represented in shades of aqua, while negative values are in shades of fuchsia.
Midline (0 Level):
A horizontal midline is plotted at the zero level, serving as a key reference point for identifying transitions between positive and negative momentum.
Background Highlights:
The chart background is subtly colored to match the oscillator's state, enhancing the visual emphasis on current momentum conditions.
Alerts for Key Crossovers:
The CSO comes with built-in alert conditions, making it highly actionable for traders:
Cross Up Alert: Triggers when the oscillator crosses above the midline (0), signaling a potential shift into positive momentum.
Cross Down Alert: Triggers when the oscillator crosses below the midline (0), indicating a potential transition into negative momentum.
These alerts allow traders to stay informed about critical market shifts without constantly monitoring the chart.
How to Use:
Trend Identification:
When the oscillator is above the midline and positive, it indicates that price action is moving with bullish momentum.
When the oscillator is below the midline and negative, it reflects bearish momentum.
Momentum Strength:
The magnitude of the oscillator (its distance from the midline) helps traders gauge the strength of the momentum. Stronger moves will push the oscillator further from zero.
Potential Reversals:
Crossovers of the oscillator through the midline can signal potential reversals or shifts in market direction.
Customization:
Adjust the Smoothing Period to adapt the sensitivity of the oscillator to different timeframes. A lower smoothing period reacts faster to price changes, while a higher smoothing period smooths out noise.
Best Use Cases:
Momentum Trading: Identify periods of sustained bullish or bearish momentum to align with the trend.
Reversal Signals: Spot transitions in market direction when the oscillator crosses the midline.
Confirmation Tool: Use the CSO alongside other indicators (e.g., volume, trendlines, or moving averages) to confirm trading signals.
Key Inputs:
Smoothing Period: Customize the sensitivity of the oscillator by adjusting the lookback period for the Hull Moving Average.
Gradient Range: The color gradient transitions between defined thresholds (-0.1 to 0.2 by default), ensuring a smooth visual experience.
[Why Use the Candle Spread Oscillator?
The CSO is a simple yet powerful tool for traders who want to:
Gain a deeper understanding of price momentum.
Quickly visualize shifts between bullish and bearish trends.
Use clear, actionable signals with customizable alerts.
Disclaimer: This indicator is not a standalone trading strategy. It should be used in combination with other technical and fundamental analysis tools. Always trade responsibly, and consult a financial advisor for personalized advice.
Dynamic Intensity Transition Oscillator (DITO)The Dynamic Intensity Transition Oscillator (DITO) is a comprehensive indicator designed to identify and visualize the slope of price action normalized by volatility, enabling consistent comparisons across different assets. This indicator calculates and categorizes the intensity of price movement into six states—three positive and three negative—while providing visual cues and alerts for state transitions.
Components and Functionality
1. Slope Calculation
- The slope represents the rate of change in price action over a specified period (Slope Calculation Period).
- It is calculated as the difference between the current price and the simple moving average (SMA) of the price, divided by the length of the period.
2. Normalization Using ATR
- To standardize the slope across assets with different price scales and volatilities, the slope is divided by the Average True Range (ATR).
- The ATR ensures that the slope is comparable across assets with varying price levels and volatility.
3. Intensity Levels
- The normalized slope is categorized into six distinct intensity levels:
High Positive: Strong upward momentum.
Medium Positive: Moderate upward momentum.
Low Positive: Weak upward movement or consolidation.
Low Negative: Weak downward movement or consolidation.
Medium Negative: Moderate downward momentum.
High Negative: Strong downward momentum.
4. Visual Representation
- The oscillator is displayed as a histogram, with each intensity level represented by a unique color:
High Positive: Lime green.
Medium Positive: Aqua.
Low Positive: Blue.
Low Negative: Yellow.
Medium Negative: Purple.
High Negative: Fuchsia.
Threshold levels (Low Intensity, Medium Intensity) are plotted as horizontal dotted lines for visual reference, with separate colors for positive and negative thresholds.
5. Intensity Table
- A dynamic table is displayed on the chart to show the current intensity level.
- The table's text color matches the intensity level color for easy interpretation, and its size and position are customizable.
6. Alerts for State Transitions
- The indicator includes a robust alerting system that triggers when the intensity level transitions from one state to another (e.g., from "Medium Positive" to "High Positive").
- The alert includes both the previous and current states for clarity.
Inputs and Customization
The DITO indicator offers a variety of customizable settings:
Indicator Parameters
Slope Calculation Period: Defines the period over which the slope is calculated.
ATR Calculation Period: Defines the period for the ATR used in normalization.
Low Intensity Threshold: Threshold for categorizing weak momentum.
Medium Intensity Threshold: Threshold for categorizing moderate momentum.
Intensity Table Settings
Table Position: Allows you to position the intensity table anywhere on the chart (e.g., "Bottom Right," "Top Left").
Table Size: Enables customization of table text size (e.g., "Small," "Large").
Use Cases
Trend Identification:
- Quickly assess the strength and direction of price movement with color-coded intensity levels.
Cross-Asset Comparisons:
- Use the normalized slope to compare momentum across different assets, regardless of price scale or volatility.
Dynamic Alerts:
- Receive timely alerts when the intensity transitions, helping you act on significant momentum changes.
Consolidation Detection:
- Identify periods of low intensity, signaling potential reversals or breakout opportunities.
How to Use
- Add the indicator to your chart.
- Configure the input parameters to align with your trading strategy.
Observe:
The Oscillator: Use the color-coded histogram to monitor price action intensity.
The Intensity Table: Track the current intensity level dynamically.
Alerts: Respond to state transitions as notified by the alerts.
Final Notes
The Dynamic Intensity Transition Oscillator (DITO) combines trend strength detection, cross-asset comparability, and real-time alerts to offer traders an insightful tool for analyzing market conditions. Its user-friendly visualization and comprehensive alerting make it suitable for both novice and advanced traders.
Disclaimer: This indicator is for educational purposes and is not financial advice. Always perform your own analysis before making trading decisions.
ICT Digital open Daily DividersDescription for "ICT Digital Open Daily Dividers" TradingView Indicator
Overview
The "ICT Digital Open Daily Dividers" is a versatile and comprehensive TradingView Pine Script indicator designed for traders who utilize Institutional Order Flow methodologies, particularly in ICT (Inner Circle Trader) trading. This indicator provides a structured visual framework to assist traders in identifying key daily market sessions, critical opening prices, and distinguishing different trading days, especially focusing on the Sunday open, which is a crucial element in the ICT trading strategy.
Core Functionalities
Daily Vertical Lines: The script plots vertical lines at the start of each trading day, which helps to demarcate daily trading sessions. These lines are customizable, allowing traders to choose their color, style (solid, dashed, or dotted), and width. This feature helps in visually segmenting each trading day, making it easier to analyze daily price action patterns.
Sunday Open Differentiation: Unlike many other daily divider indicators, this script uniquely provides the option to highlight the Sunday open at 6 PM EST with distinct lines. This feature is especially valuable for ICT traders who consider the Sunday open as a critical reference point for weekly analysis. The color, style, and width of the Sunday open lines can be set separately, providing a clear visual distinction from regular weekday separators.
12 AM Open Toggle: For markets that are influenced by midnight opens, the indicator includes an option to shift the daily open line to 12 AM instead of the default 6 PM. This flexibility allows traders to adapt the indicator to different market dynamics or trading strategies.
Timezone Customization: The indicator allows traders to set the timezone for the open lines, ensuring that the vertical lines align accurately with the trader’s specific market hours, whether they follow New York time or any other timezone.
Session Time Filters: The script can hide or show specific trading session markers, such as the New York session open and close, which are pivotal for ICT traders. These markers help in focusing on the most active and liquid trading times.
Customizable Style Settings: The script includes comprehensive styling options for the plotted lines and session markers, allowing traders to personalize their charts to suit their visual preferences and improve clarity.
Day of the Week Labels: The indicator can plot labels for each day of the week, providing a quick reference to the day’s price action. This feature is particularly useful in reviewing weekly trading patterns and performance.
Use in ICT Trading
In ICT trading, the concept of the "open" is fundamental. The "ICT Digital Open Daily Dividers" indicator serves multiple purposes:
Market Structure Identification: By clearly marking daily opens, traders can easily identify market structure changes such as breakouts, retracements, or consolidations around these key levels.
Reference Points: The Sunday open is often a key level in ICT analysis, serving as a benchmark for assessing market direction for the upcoming week. This indicator’s ability to plot Sunday opens separately makes it uniquely suited for ICT strategies.
Time-based Analysis: ICT methodology often involves analyzing the market at specific times of the day. This indicator supports such analysis by marking significant session opens and closes.
Uniqueness and Advantages
The "ICT Digital Open Daily Dividers" stands out from other similar indicators due to its specialized features:
Sunday Open Highlighting: Few indicators offer the capability to specifically mark the Sunday open with distinct styling options.
Flexibility in Time Adjustments: With options to adjust the open time to either 6 PM or 12 AM, this indicator caters to a broader range of trading strategies and market conditions.
Enhanced Visualization: The wide range of customization options ensures that traders can tailor the indicator to their specific needs, enhancing the usability and visual clarity of their charts.
Compliance with TradingView's Pine Script Community Guidelines
The description adheres to TradingView's guidelines by being comprehensive, clear, and informative. It highlights the utility of the script, its unique features, and its application in trading strategies without making exaggerated claims about performance or profitability. The detailed customization options and unique functionalities are emphasized to differentiate this script from other standard daily divider indicators.
RSI + CHOP + Stochastic Strategy ( LONG/SHORT ) TP/SLMożna edytować poziomy TP i SL dla pozycji LONG i SHORT
SCALPING - interwał 5min
nifty supertrend tritonTrend based Strategy based on EMA , ATR and supertrend . Currently being used and testing on Nifty and Banknifty with adjusted parameters .
Do backtest before taking any trade
[ADDYad] Google Search Trends - Bitcoin (2012 Jan - 2025 Jan)This Pine Script shows the Google Search Trends as an indicator for Bitcoin from January 2012 to January 2025, based on monthly data retrieved from Google Trends. It calculates and displays the relative search interest for Bitcoin over time, offering a historical perspective on its popularity mainly built for BITSTAMP:BTCUSD .
Important note: This is not a live indicator. It visualizes historical search trends based on Google Trends data.
Key Features:
Data Source : Google Trends (Last retrieved in January 10 2025).
Timeframe : The script is designed to be used on a monthly chart, with the data reflecting monthly search trends from January 2012 to January 2025. For other timeframes, the data is linearly interpolated to estimate the trends at finer resolutions.
Purpose : This indicator helps visualize Bitcoin's search interest over the years, offering insights into public interest and sentiment during specific periods (e.g., major price movements or news events).
Data Handling : The data is interpolated for use on non-monthly timeframes, allowing you to view search trends on any chart timeframe. This makes it versatile for use in longer-term analysis or shorter timeframes, despite the raw data being available only on a monthly basis. However, it is most relevant for Monthly, Weekly, and Daily timeframes.
How It Works:
The script calculates the number of months elapsed since January 1, 2012, and uses this to interpolate Google Trends data values for any given point in time on the chart.
The linear interpolation function adjusts the monthly data to provide an approximate trend for intermediate months.
Why It's Useful:
Track Bitcoin's historic search trends to understand how interest in Bitcoin evolved over time, potentially correlating with price movements.
Correlate search trends with price action and other market indicators to analyze the effects of public sentiment and sentiment-driven market momentum.
Final Notes:
This script is unique because it shows real-world, non-financial dataset (Google Trends) to understand price action of Bitcoin correlating with public interest. Hopefully is a valuable addition to the TradingView community.
ADDYad
13, 21, 34 SMAs tradewithshamincluded 13,21 and 34 simple moving average for swing trade. use it in day candle
Percentage Calculator by Akshay GaurThis indicator calculates and displays percentage levels above and below the current price. It allows you to easily identify any percentage levels which can be used in many things like creating strangles and straddles and make informed trading decisions. The indicator automatically adjusts and redraws the lines and labels on the latest bar to reflect real-time market conditions.
Key Features:
• Calculates percentage levels above and below the current price
• Displays percentage levels on big labels with the horizontal lines on the chart
• Allows you to adjust the percentage value and every details.
• Allows you to see Fluctuation line on the chart.
How to Use:
1. Set the percentage value to the desired level (e.g. 1%, 2%, etc.)
2. If you want to see Fluctuation lines also then turn on it from Input settings.
3. Use the displayed levels to identify desired percentage levels.
4. Make informed trading decisions based on the calculated levels
Implied and Historical VolatilityAbstract
This TradingView indicator visualizes implied volatility (IV) derived from the VIX index and historical volatility (HV) computed from past price data of the S&P 500 (or any selected asset). It enables users to compare market participants' forward-looking volatility expectations (via VIX) with realized past volatility (via historical returns). Such comparisons are pivotal in identifying risk sentiment, volatility regimes, and potential mispricing in derivatives.
Functionality
Implied Volatility (IV):
The implied volatility is extracted from the VIX index, often referred to as the "fear gauge." The VIX represents the market's expectation of 30-day forward volatility, derived from options pricing on the S&P 500. Higher values of VIX indicate increased uncertainty and risk aversion (Whaley, 2000).
Historical Volatility (HV):
The historical volatility is calculated using the standard deviation of logarithmic returns over a user-defined period (default: 20 trading days). The result is annualized using a scaling factor (default: 252 trading days). Historical volatility represents the asset's past price fluctuation intensity, often used as a benchmark for realized risk (Hull, 2018).
Dynamic Background Visualization:
A dynamic background is used to highlight the relationship between IV and HV:
Yellow background: Implied volatility exceeds historical volatility, signaling elevated market expectations relative to past realized risk.
Blue background: Historical volatility exceeds implied volatility, suggesting the market might be underestimating future uncertainty.
Use Cases
Options Pricing and Trading:
The disparity between IV and HV provides insights into whether options are over- or underpriced. For example, when IV is significantly higher than HV, options traders might consider selling volatility-based derivatives to capitalize on elevated premiums (Natenberg, 1994).
Market Sentiment Analysis:
Implied volatility is often used as a proxy for market sentiment. Comparing IV to HV can help identify whether the market is overly optimistic or pessimistic about future risks.
Risk Management:
Institutional and retail investors alike use volatility measures to adjust portfolio risk exposure. Periods of high implied or historical volatility might necessitate rebalancing strategies to mitigate potential drawdowns (Campbell et al., 2001).
Volatility Trading Strategies:
Traders employing volatility arbitrage can benefit from understanding the IV/HV relationship. Strategies such as "long gamma" positions (buying options when IV < HV) or "short gamma" (selling options when IV > HV) are directly informed by these metrics.
Scientific Basis
The indicator leverages established financial principles:
Implied Volatility: Derived from the Black-Scholes-Merton model, implied volatility reflects the market's aggregate expectation of future price fluctuations (Black & Scholes, 1973).
Historical Volatility: Computed as the realized standard deviation of asset returns, historical volatility measures the intensity of past price movements, forming the basis for risk quantification (Jorion, 2007).
Behavioral Implications: IV often deviates from HV due to behavioral biases such as risk aversion and herding, creating opportunities for arbitrage (Baker & Wurgler, 2007).
Practical Considerations
Input Flexibility: Users can modify the length of the HV calculation and the annualization factor to suit specific markets or instruments.
Market Selection: The default ticker for implied volatility is the VIX (CBOE:VIX), but other volatility indices can be substituted for assets outside the S&P 500.
Data Frequency: This indicator is most effective on daily charts, as VIX data typically updates at a daily frequency.
Limitations
Implied volatility reflects the market's consensus but does not guarantee future accuracy, as it is subject to rapid adjustments based on news or events.
Historical volatility assumes a stationary distribution of returns, which might not hold during structural breaks or crises (Engle, 1982).
References
Black, F., & Scholes, M. (1973). "The Pricing of Options and Corporate Liabilities." Journal of Political Economy, 81(3), 637-654.
Whaley, R. E. (2000). "The Investor Fear Gauge." The Journal of Portfolio Management, 26(3), 12-17.
Hull, J. C. (2018). Options, Futures, and Other Derivatives. Pearson Education.
Natenberg, S. (1994). Option Volatility and Pricing: Advanced Trading Strategies and Techniques. McGraw-Hill.
Campbell, J. Y., Lo, A. W., & MacKinlay, A. C. (2001). The Econometrics of Financial Markets. Princeton University Press.
Jorion, P. (2007). Value at Risk: The New Benchmark for Managing Financial Risk. McGraw-Hill.
Baker, M., & Wurgler, J. (2007). "Investor Sentiment in the Stock Market." Journal of Economic Perspectives, 21(2), 129-151.
BTC vs Mag7 Combined IndexThis Mag7 Combined Index script is a custom TradingView indicator that calculates and visualizes the collective performance of the Magnificent 7 (Mag7) stocks—Apple, Microsoft, Alphabet, Amazon, NVIDIA, Tesla, and Meta (red line) compared to Bitcoin (blue line). It normalizes the daily closing prices of each stock to their initial value on the chart, scales them into percentages, and then computes their simple average to form a combined index. The result is plotted as a single red line, offering a clear view of the aggregated performance of these influential stocks over time compared to Bitcoin.
This indicator is ideal for analyzing the overall market impact of Bitcoin compared to the Mag7 stocks.
Bitcoin vs Mag7 Combined IndexThis Mag7 Combined Index script is a custom TradingView indicator that calculates and visualizes the collective performance of the Magnificent 7 (Mag7) stocks—Apple, Microsoft, Alphabet, Amazon, NVIDIA, Tesla, and Meta (red line) compared to Bitcoin (blue line). It normalizes the daily closing prices of each stock to their initial value on the chart, scales them into percentages, and then computes their simple average to form a combined index. The result is plotted as a single line, offering a clear view of the aggregated performance of these influential stocks over time compared to Bitcoin.
This indicator is ideal for analyzing the overall market impact of the Mag7 compared to Bitcoin.
Kamal 5 Tick Trading SetupKamal 5 Tick Trading Setup
The "Kamal 5 Tick Trading Setup" is a custom indicator designed by Kamal Preet Singh Trader for TradingView to identify potential Buy and Sell signals on daily forex charts. This indicator helps traders make informed decisions based on the price action of the previous five daily candles.
Indicator Logic:
Buy Signal: A Buy signal is generated when the closing price of the current candle exceeds the highest high of the previous five daily candles.
Sell Signal: A Sell signal is generated when the closing price of the current candle falls below the lowest low of the previous five daily candles.
Features:
Lookback Period: The indicator uses a lookback period of five candles to determine the highest high and lowest low.
Visual Signals: Buy signals are plotted as green "BUY" labels below the candles, while Sell signals are plotted as red "SELL" labels above the candles.
Debugging Plots: The highest high and lowest low of the previous five candles are plotted as blue and orange lines, respectively, to help verify the conditions for Buy and Sell signals.
Non-Repetitive Signals: The indicator ensures that once a Buy signal is given, no further Buy signals are generated until a Sell signal is given, and vice versa.
Usage:
Apply the indicator to your daily forex chart in TradingView.
Observe the plotted Buy and Sell signals to identify potential entry and exit points.
Use the debugging plots to ensure the conditions for the signals are being met correctly.
This indicator provides a straightforward approach to trading based on recent price action, helping traders capitalize on potential breakout and breakdown opportunities.
Beardy Squeeze Pro (With high compression squeeze alert)Added high compression squeeze alert to the Beardy Squeeze Pro
Dr. Elder Overbought Zone v2Only a test, work in progress. Trying to figure out when to a stock has had a too large move, and it's bound to return back to the mean.
Simple Average Price & Target ProfitThis script is designed to help users calculate and visualize the weighted average price of an asset based on multiple entry points, along with the target price and the potential profit. The user can input specific prices for three different entries, along with the percentage of total investment allocated to each price point. The script then calculates the weighted average price based on these entries and displays it on the chart. Additionally, it calculates the potential profit at a given target price, which is plotted on the chart.
mr.crypto731Description:
📊 Enhanced MACD with Strong Buy/Sell Signals 🚀
This script is designed to enhance the standard MACD indicator by adding clear, strong buy and sell signals. It includes:
MACD Line: A fast-moving average that reacts quickly to price changes.
Signal Line: A slower-moving average that smooths out price fluctuations.
MACD Histogram: The difference between the MACD Line and Signal Line, helping to identify trend strength and direction.
Key Features:
Strong Buy/Sell Signals: Uses crossovers of the MACD Line and Signal Line to generate strong buy/sell signals.
Color-Coded Background: Provides visual cues with background colors to highlight strong signals.
User-Friendly Interface: Customizable settings for MACD Fast Length, Slow Length, and Signal Smoothing.