Open Range Candle [TradeWithRon]This Open Range Break indicator is a tool designed to help traders identify and visualize key price levels using the Opening Range Breakout (ORB) strategy. This indicator dynamically plots critical levels such as the high, low, and middle of a predefined range, along with Fibonacci retracement levels for further analysis. It also features several customization options to fit various trading styles.
Key Features:
Session Setup: Allows the user to set the time offset in GMT - or + to adjust the ORB session to their local time zone.
The default ORB session is set at 9:45 AM but can be adjusted based on user preferences.
Warning: Only supports 5-minute and 15-minute timeframes.
Visual Customization:
Line Styles: Users can choose from Solid, Dotted, or Dashed lines to represent key price levels.
Color Adjustments: Customizable colors for the high, middle, and low levels of the range, as well as Fibonacci levels and vertical lines.
Labeling Options: The labels can be customized in terms of size and color, helping to keep the chart clean and clear.
Fibonacci Retracement Levels: Fibonacci retracement levels are automatically drawn between the high and low of the range. Users can toggle these on or off and customize the offset to suit different trading instruments.
Time-Based Visuals: A vertical line is drawn at the start of the ORB session, providing a clear visual marker of where the breakout starts. This is useful for pinpointing key trade setups.
The indicator supports both 5-minute and 15-minute timeframes.
EMA Integration: The user can enable an Exponential Moving Average (EMA) on any chosen timeframe with adjustable parameters such as the length and color, providing additional trend context.
Dynamic Labeling: The indicator labels the high, middle, and low points of the ORB with custom text. These labels are updated in real-time as new data becomes available.
Limit on Lines and Labels: The indicator allows for a limit on the number of lines and labels drawn to maintain a clean chart, preventing unnecessary clutter as more ORB levels are plotted.
Daily Bias Information: The indicator assesses the daily trend bias (bullish or bearish) based on the relationship between the open and close prices for the last three daily candles, providing context for the current trading session.
Countdown Timer: The remaining time until the end of the current session is displayed in a countdown format, which helps traders to time their entries and exits more precisely.
How To Use:,
- Set the Timeframe to 15 minutes.
- Adjust the Time Zone Offset if needed, based on your local time zone.
- Enable the Show ORB feature for the first 15-minute candle to be drawn as the opening range. - The indicator will automatically mark the high, middle, and low points of the range.
Identify Breakout Points:
Bullish Breakout: If the price breaks above the high of the 15-minute opening range, this indicates a potential bullish breakout. The indicator will plot a vertical line marking the breakout point for further confirmation.
Bearish Breakout: If the price breaks below the low of the 15-minute opening range, this signals a potential bearish breakout. Again, the indicator will plot the breakout point with a vertical line for easy identification.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Tradewithron) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future
Suporte e Resistência
Autofib Extensions | DTDHello trader comuunity!
I'm introducing another script that is part of my main day-trading strategy. We all know regardless of what strategy we use, we need to know what levels offer the least amount of risk to our trade entry and a great tool to anticipate how far a move might go or what level a move may retrace to are the Fibonacci Retracement and Extensions. This indicator combines both together, but with a twist.
The main elements of the script are:
1. Multiple Session High and Lows | Developing my first script led me to understand that measuring key times during each session provides understanding of the market's continuity. I have provided 3 "sessions' a user can define according to CST time where the script saves the high and low of that session window to produce the retracement and extensions from those plots. Currently, the levels are always plotted from low to high (with the 0 mark being the high) and negative values provided so the levels are consistent. You can toggle each session on or off.
2. Coloring Key Retracements / Extensions | I use a dark background for my charts so the default colors help me distinguish from other another indicator I use. Feel free to adjust the colors to your preference. I consider 3 different colors because of their significance. Retracements that you want to see continue fall back into the .50 to .618 level (this I consider the "Golden Zone"). While basic Elliott Wave Theory states a wave is completed near the 1.618 level (this I consider "Major Extensions"). Everything isn't noise, but minor levels in a larger sequence.
______________
Script Limitations
All of my scripts are made with the help of ChatGPT so there are going to be limitations. One current one that I have made progress on, but not fully is when you are viewing a timeframe where the candle doesn't start when a session window starts. On smaller timeframes like the 7-minute this is not an issue. However, on the hourly, if your session window starts at the half hour which the 3rd session default window does, the lines will not produce. I will hopefully have this rectified in the near future. I will open the script since none of this work is original in nature and I would love to see how others can create a better product. Also, this is mainly a futures trading tool. If you are using this on stocks you will find it not as useful if the session window is too wide since the script waits until the session window closes to calculate the extension values.
Cheers,
DTD
Order Block Indicator | DTDHello trader comuunity!
I'm uploading a basic script that I felt necessary to make to help me with some gaps in my day trading. I personally am a visual trader that benefits greatly from automating some the ideas I have in my head. There are awesome builders out there and me creating this script isn't a knock on what's currently available to us, but something I wanted to be able to manage. I am opening up what I've found extremely helpful to my own trading to the community.
Here we have a very simple ATR-based order block (OB) finder. It's not anything original, but I do find consistent opportunities when combined with other tools I use to measure the market. It takes into consideration the previous 25 candles to determine if the OB is significant enough to mark. I use the average of 25 because I simply like it. I use the 25 EMA as part of my "trending" templates and find it to be a hybrid timeframe of sorts. You can find macro and micro trade locations by switching timeframes.
The main elements of the script are:
1. ATR based tracking | A bullish OB is defined as a down close candle that is eclipsed by an up-close candle that closes above its high and sustained for 2 consecutive candles. Inversely, a bearish OB is defined by an up-close candle immediately followed by a down-close candle that closes below the low of the up-close candle and sustains for 2 consecutive candles.
2. Coloring the OB | Though up-close and down-close define bearish and bullish levels, with this script I basically make OBs to switch colors based on where price is relative to the block. So a bullish block can become bearish and bearish can become bullish. Each block also has a dashed midpoint.
3. Order Block Mitigation | When price retests an OB by closing inside of it and retracing back out, that is considered mitigation. You will see price tap into it, but continues to track as a valid block, it's because it didn't close inside the block. This is subject to change in the future, but it's how the script functions for now.
______________
There are nuances to the script that you will see as you use it. Sometimes mitigated OBs act as levels to consider as well. When multiple blocks overlap I consider that a high traffic area. I would never suggest to use an indicator by itself for trade ideas, but blocks that align on multiple timeframes are good to consider.
At the end of the day it's a support and resistance measure. I'll comment an update with a snapshot of the indicator with another proprietary indicator I've made that provides ample intraday trading opportunities.
Cheers,
DTD
Pre-Market High/Low (Static Lines + Labels)
Pre-Market Range ✅
Draws the Pre-Market High & Low from 4:00 AM to 9:30 AM ET using accurate 1-minute intraday data.
Static Lines 📏
Plots dashed horizontal lines that remain visible all day across all timeframes — including 1m, 5m, 15m, 1h, 4h, and Daily.
Price Labels 🔖
Includes real-time price labels so you can easily reference exact pre-market levels on the chart.
Session Lock 🕒
Lines are locked in after 9:30 AM and remain visible even if you switch timeframes or turn off extended hours.
Trading Utility 🎯
Ideal for identifying key breakout levels, intraday support/resistance zones, and setting risk parameters.
AVWAP Status Table🌟 AVWAP Status Table Indicator 🌟
Unlock Price Insights with Elegance
Welcome to the AVWAP Status Table, a sleek and powerful TradingView tool that transforms complex price data into a clear, actionable snapshot. This indicator compares the current closing price to five Anchored Volume Weighted Average Prices (AVWAPs) and delivers a single, easy-to-read recommendation—perfect for traders who want clarity without the clutter.
What It Does
Reveals Market Sentiment: See at a glance whether the price is above or below key AVWAP levels.
Guides Your Next Move: Get a "Buy," "Sell," or "Neutral" signal tailored for the daily timeframe.
Stays Stylish: A semi-transparent table that’s both eye-catching and unobtrusive.
✨ Key Features ✨
📊 Five Essential AVWAPs
Track the price against these expertly calculated levels:
Daily: Fresh start each day.
2 Days: A two-day perspective.
Week-to-Date (WTD): Weekly insight.
Month-to-Date (MTD): Monthly overview.
Year-to-Date (YTD): Year-long trend.
🎨 Color-Coded Status
Above: Price beats the AVWAP—highlighted in vibrant green.
Below: Price lags behind—marked in bold red.
🔔 Smart Recommendation
How It Works: A clever scoring system weights the Daily AVWAP higher (2 points) and adds the rest (1 point each).
Your Signal:
Buy (NFA): Positive score, shining in green.
Sell (NFA): Negative score, glowing in red.
Neutral (NFA): Balanced at zero, subtle in gray.
NFA: "Not Financial Advice"—just pure data for your decisions!
🖼️ Beautiful Table Design
Layout: A tidy 2-column, 7-row display:
AVWAP Type: Labels like "Daily" and "Overall (Daily)".
Status: Where the magic happens.
Look & Feel:
Crisp white headers.
Black labels for AVWAPs, white for the big recommendation.
A semi-transparent gray background that pops without overpowering your chart.
Position: Starts at the bottom-left corner, but you can move it anywhere with a simple dropdown!
How It Shines
Calculates: Five AVWAPs in a snap.
Compares: Price vs. each AVWAP.
Scores: A weighted tally for the daily vibe.
Displays: A stunning table on the last bar.
🎯 Try It Out!
Price Example: 100
AVWAPs: Daily (95), 2 Days (98), WTD (102), MTD (105), YTD (90).
Result: Score = +2 + 1 - 1 - 1 + 1 = 2 → "Buy (NFA)".
Quick Tips
Best For: Daily charts, where the "Overall (Daily)" signal shines.
No Lines: Focuses on the table—no chart clutter here.
NFA Reminder: Use it as a guide, not gospel.
Why You’ll Love It
The AVWAP Status Table blends simplicity, style, and smarts into one neat package. Whether you’re a seasoned trader or just starting out, this indicator brings clarity to your charts with a touch of flair. Share it, and let it elevate your trading game!
BIN Based Support and Resistance [SS]This indicator presents a version of an alternative way to determine support and resistance, using a method called "Bins".
Bins provide for a flexible and interesting way to determine support and resistance levels.
First off, let's discuss BINS:
Bins are ranges or containers into which your data points can be sorted. For example, if you're grouping ages, you might have bins like 0–18, 19–35, 36–50, and 51+. Any data point within these intervals gets placed in the corresponding bin.
Binning simplifies complex data sets by grouping values into categories. This is useful for such things as
Visualizing data in histograms or bar charts.
Reducing noise and highlighting trends.
This indicator groups the price action into 10 separate bins. It determines the Support / Resistance level by averaging the values in the Bins to find an iteration of the "central tendency" or average reoccurring value.
Pros and Cons
Since this is a different approach to support and resistance, I think its important to highlight some of the pros and advantages, but also be open about the cons.
First off the PROS
Bin Based Support and Resistance Levels dynamically adjust to ranges as opposed to hard / fast peaks and valleys. This makes them better at analyzing price action vs simply drawing lines at random peaks and valleys.
Because Bins are analyzing ALL PA within a period's max and min range, Bin Support and Resistance can actually be used similar to Volume profile, where you are able to identify a pseudo-POC, or areas where price tends to consolidate. Take a look at this example on SPY:
You can see these 2 SR lines are close together. This represents that this general price range is an area where price likes to accumulate/consolidate. You can see the SPY ended up coming back to this range and consolidating there for a bit.
This is a strength of using a BIN based approach to calculating support and resistance, because as indicated before, it looks at price action vs peaks and valleys.
As a tip, these areas are areas you want to wait for a break in one direction or the other.
The indicator provides for backtest results of the support and resistance lines, to see how many times certain areas acted as resistance or support. Because this is analyzing and distributing PA evenly throughout the period's max and min, the indicator can tell you which areas tend to have higher rejection zones and which have higher support zones.
Now the CONS
Because bin based SR take an average approach, the SR lines can sometimes be slightly broken before the ticker finds rejection:
To combat this, make sure there is confirmed support. How the indicator actually backtests these lines is by waiting to see if the ticker has 3 consecutive closes above the support line or below the resistance line. So these are things to be mindful of.
It doesn't consider pivots. Most support and resistance indicators either identify max and min peaks and valleys or use pivot points. Pivot points are a great way to identify peaks and valleys and thus by extension support and resistance. However, this is also somewhat of a strength, as using BINS forces the indicator to consider ALL price action and not just the extremes (highs and lows).
Can be slightly skewed in highly volatile environments. Any time there is a massive drop or rally, it can skew the indicator to give extreme ranges to both ends. For example, the Tariff news collapse on ES1!:
Owning to limitations in lookback length, sometimes the min and max range can be exceeded and other traditional areas of support / resistance is where a ticker will find support.
Using the indicator
Here are some basic use/functionalities of the indicator:
Selecting display of backtest results: You can select to have the backtest results shown in a table:
Or directly on the lines:
Inversely, you can toggle them off completely:
You can modify the lookback length. The suggested lookback length is between 250 to 500 candles on smaller timeframes. I also suggest 252 on daily timeframes (which represents 1 trading year).
And that's the indicator!
It is very easy to use, so you should pick it up in no time!
Enjoy and as always, 🚀🚀 safe trades! 🚀🚀
Order Block Candle [TradeWithRon]Order Block Candle
This indicator is designed to help traders identify and visualize key movements within the market. These order blocks are areas where significant buying or selling has occurred, often leading to a strong price reaction. This script detects both bullish and bearish order blocks (with volume spike), marking them directly on your chart, and offers a variety of customization options to enhance your trading experience.
Features:
Bullish and Bearish Candles: Bullish Order Block: Identified when the current price creates a higher high and closes above the previous price, indicating a zone of potential buying activity by institutional traders.
Bearish Order Block: Identified when the current price creates a lower low and closes below the previous price, suggesting strong institutional selling.
Volume-Weighted Analysis: The indicator allows traders to incorporate volume into the order block detection. When a volume pivot (a significant change in volume) is detected, it strengthens the validity of the identified order block.
Customizable Visuals:
- Users can adjust the color and style of order block lines, including solid, dashed, or dotted styles, to suit personal preferences.
- Bullish Order Block Color: Choose from a range of colors to highlight bullish order blocks (default is green).
- Bearish Order Block Color: Choose a color for bearish order blocks (default is red).
- Users can also customize the color and style of the lines representing order blocks, helping traders visually track key levels.
Candle Body or. Wick: The indicator provides flexibility in defining the price range of the order block. Traders can choose whether to calculate the order block using the candle body (open and close) or the full wick (high and low) to suit their trading strategy.
Dynamic Line Extensions: Order block lines are dynamically extended to provide ongoing support and resistance levels. When a price breaks an order block line, the line changes to a dotted style, marking it as "broken." This allows traders to easily spot when the market invalidates an order block.
Alerts:
- Alert for Bullish Order Block: Get notified when a new bullish order block is detected.
- Alert for Bearish Order Block: Receive alerts when a bearish order block is identified.
- Alert for Broken Lines: Set up alerts to be notified when a bullish or bearish order block line is broken, giving traders a signal for potential market shifts.
Zone Management:
- The indicator tracks upper and lower zone information, marking significant price levels where institutional buying or selling might occur. Traders can adjust settings to define how many previous lines should be displayed on the chart for reference.
Optional Mitigated Order Blocks:
- A feature that highlights mitigated (neutralized) order blocks with a specific color and line style, offering additional insight into market behavior.
Input Settings:
- Length: The number of bars to the left and right of a pivot point for it to be considered a high or low.
- Candle Body: Option to use the candle body for calculations (as opposed to the wick).
- Bullish and Bearish Candle Color: Customizable colors for bullish and bearish order blocks.
- Open Line Style: Choose between solid, dashed, or dotted line styles for order block visualization.
- Removed Old Lines: Control the number of broken lines shown on the chart.
- Mitigated Line Style: Select line style for mitigated order blocks.
- Volume Use: Enable volume-based detection for stronger order block validation.
How to Use:
This indicator is ideal for traders looking to trade around institutional support and resistance levels. The bullish and bearish order blocks can serve as key entry or exit points, while broken lines offer dynamic support/resistance that adapt to market changes. Use the alerts to stay informed of critical market developments and adjust your trading strategy accordingly.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Tradewithron) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future
Cz ASR indicatorAverage session range indicator built by me. Great tool to gauge volatility and intraday reversal zones. Great for FX as there is an included table that shows range in pips; however, this can be applied across all assets as a volatility measure.
How it works:
The script measures the range of sessions, including Asia, London, and New York. The lookback period could be adjusted so you can find what length works best and is most accurate. This is then averaged out to provide the ASR. This provides us with an upper and lower bound of which the price could potentially fluctuate in based on the past session ranges. I have also added the 50% ASR, which is also a super useful metric for reversals or continuations.
There is also a configurable UTC so that you can adjust the indicator so it can accurately measure the range within certain sessions.
Note - different session start and stop times vary from market to market. I have set the code to the standard forex market opens however, if you wish to change the time ,you are able to do so by editing the variables in the script
Enjoy :)
Multi-Timeframe MA DashboardThis indicator monitors 5 timeframes: 5min, 15min, 1hr, 4hr, and Daily. It displays fast and slow moving averages for each timeframe, along with the current price. The trend direction is color-coded: green for bullish (fast MA above slow MA) and red for bearish (fast MA below slow MA).
The dashboard also shows the last crossover signal (Buy/Sell) for each timeframe.
Visual arrows are plotted on the chart for the current timeframe. A green up arrow indicates a potential bullish crossover (Buy signal), while a red down arrow indicates a potential bearish crossover (Sell signal).
The dashboard is elegant and professional, with alternating row colors for better readability. It can be placed in any corner of the screen and customized with user-defined colors for bullish and bearish trends.
Alerts are triggered when a crossover occurs on any timeframe. These alerts include the timeframe and signal type (e.g., "5min: ↑ BUY").
How to Read the Indicator
The dashboard displays the following for each timeframe:
Fast MA: The value of the fast moving average.
Slow MA: The value of the slow moving average.
Price: The current price for the timeframe.
Trend: The current trend direction (Bullish or Bearish).
Signal: The last crossover signal (↑ BUY or ↓ SELL).
On the chart, green up arrows indicate a bullish crossover (Fast MA crosses above Slow MA), while red down arrows indicate a bearish crossover (Fast MA crosses below Slow MA).
Green text in the dashboard indicates a bullish trend or signal, while red text indicates a bearish trend or signal.
How to Use the Indicator
Use the dashboard to monitor the trend direction across multiple timeframes. Look for confluence (agreement) between timeframes to identify stronger trends. Observe the "Signal" column in the dashboard for the last crossover on each timeframe. Use the arrows on the chart to identify potential crossover points for the current timeframe.
Enable alerts to be notified of crossover signals on any timeframe. Alerts include the timeframe and signal type for easy reference.
Adjust the fast and slow moving average lengths to suit your trading style. Choose between EMA, SMA, or WMA for the moving average type. Customize the dashboard placement and colors for better visibility.
Important Notes
This indicator is not a buy or sell recommendation. It is a tool to assist traders in their analysis. Always use this indicator in conjunction with other tools, such as support/resistance levels, volume analysis, and price action. Past performance of moving averages does not guarantee future results.
How to Add the Indicator
Add the indicator to your chart from the TradingView library. Configure the inputs:
Fast MA Length: Default is 20.
Slow MA Length: Default is 50.
MA Type: Choose between EMA, SMA, or WMA.
Dashboard Placement: Select the corner of the screen where the dashboard will appear.
Colors: Customize the colors for bullish and bearish trends.
Monitor the dashboard and chart for trends and signals.
Disclaimer
This indicator is for educational and informational purposes only. It does not provide financial, investment, or trading advice. Always perform your own analysis and consult with a financial advisor before making trading decisions.
Institutional Activity AnalysisThe Institutional Activity Analysis (IAA) indicator is a powerful tool designed to help traders identify potential institutional buying and selling activity in the market. By analyzing volume, price movement, and accumulation/distribution trends, this indicator provides insights into market dynamics that may signal significant activity.
This indicator is not a buy or sell recommendation but rather a tool to assist traders in understanding market behavior. It should be used in conjunction with other technical analysis tools and strategies for a comprehensive trading approach.
Key Features:
Smart Money Flow Index (SMFI):
1). Tracks the flow of "smart money" by analyzing price action relative to volume.
2). Helps identify whether institutional activity is bullish or bearish.
Accumulation/Distribution (Acc/Dist):
1). Measures buying and selling pressure in the market.
2). Indicates whether the market is in an accumulation (buying) or distribution (selling) phase.
Volume Spike Detection:
1. Identifies unusual volume spikes that may signal institutional activity.
2. Highlights these spikes with a yellow circle on the chart.
Significant Price Movement:
1. Detects strong price movements accompanied by high volume.
2. Marks these movements with a green triangle on the chart.
Customizable Dashboard:
1. Displays key metrics such as volume flow, smart money flow, accumulation/distribution, and volatility.
2. Includes visual signals for volume spikes and significant moves.
3. The dashboard can be positioned anywhere on the chart or turned off.
Heatmap for Activity Intensity:
1. Visualizes the intensity of market activity by combining volume and price volatility.
How to Read the Indicator:
Smart Money Flow (SMFI):
1. A positive SMFI value indicates bullish institutional activity.
2. A negative SMFI value suggests bearish institutional activity.
3. The blue line on the indicator represents the smoothed SMFI.
Accumulation/Distribution (Acc/Dist):
1. A positive slope indicates accumulation (buying pressure).
2. A negative slope indicates distribution (selling pressure).
3. The purple line on the indicator shows the smoothed Acc/Dist slope.
Volume Spikes:
1. Yellow circles on the chart indicate unusual volume spikes.
2. These spikes may signal institutional interest or significant market activity.
Significant Price Movements:
1. Green triangles on the chart highlight strong price movements with high volume.
2. These movements may indicate potential breakouts or reversals.
Dashboard:
The dashboard provides a quick summary of key metrics:
1. Volume Flow: Indicates whether volume is above or below the average.
2. Smart Money: Shows whether institutional activity is bullish or bearish.
3. Acc/Dist: Displays whether the market is in accumulation or distribution.
4. Volatility: Provides the current volatility level.
5. Signals: Highlights whether there are volume spikes or significant moves.
How to Use the Indicator:
Identify Institutional Activity:
1. Look for confluences between volume spikes, significant price movements, and the direction of the SMFI and Acc/Dist slope.
2. For example, a volume spike combined with a positive SMFI and accumulation may indicate bullish institutional activity.
Confirm Market Trends:
1. Use the indicator to confirm trends by analyzing the direction of the SMFI and Acc/Dist slope.
2. A rising SMFI and positive Acc/Dist slope suggest a strong uptrend, while the opposite indicates a downtrend.
Monitor Volatility:
1. High volatility combined with volume spikes may signal potential breakouts or reversals.
2. Use the volatility metric on the dashboard to gauge market conditions.
Set Alerts:
1. Use the built-in alert conditions to get notified of volume spikes and significant price movements.
2. Alerts can help you stay informed about potential market opportunities.
Important Notes:
1. This is not a buy or sell recommendation. The IAA indicator is a technical analysis tool designed to provide insights into market activity. Always use it in conjunction with other tools and strategies.
2. The indicator works best when combined with other forms of analysis, such as support/resistance levels, trendlines, and candlestick patterns.
3. Past performance is not indicative of future results. Always practice proper risk management and trade responsibly.
Customization:
The indicator includes several customizable settings:
1. Volume Spike Threshold: Adjust the sensitivity for detecting volume spikes.
2. Smoothing Period: Change the period for calculating SMFI and Acc/Dist.
3. Price Movement Threshold: Modify the sensitivity for detecting significant price movements.
4. Dashboard Position: Move the dashboard to any corner of the chart or turn it off.
5. Visual Settings: Customize the colors and transparency of the dashboard and signals.
Example Use Case:
Imagine you're analyzing a stock that has been consolidating for several days. Suddenly, the IAA indicator detects:
1. A volume spike (yellow circle),
2. A significant price movement (green triangle),
3. A positive SMFI (bullish smart money flow),
4. And an accumulation phase (positive Acc/Dist slope).
This confluence of signals may indicate that institutional buyers are entering the market, potentially leading to a breakout. You can then use this information to plan your trade, such as setting alerts or monitoring for confirmation from other indicators.
Disclaimer:
The Institutional Activity Analysis (IAA) indicator is for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any security. Always conduct your own research and consult with a financial advisor before making trading decisions. Use this tool responsibly and at your own risk.
Smarter Money Concepts - FVGs [PhenLabs]📊 Smarter Money Concepts - FVGs
Version: PineScript™ v6
📌 Description
Smarter Money Concepts - FVGs is a sophisticated indicator designed to identify and track Fair Value Gaps (FVGs) in price action. These gaps represent market inefficiencies where price moves quickly, creating imbalances that often attract subsequent price action for mitigation. By highlighting these key areas, traders can identify potential zones for reversals, continuations, and price targets.
The indicator employs volume filtering ideology to highlight only the most significant FVGs, reducing noise and focusing on gaps formed during periods of higher relative volume. This combination of price structure analysis and volume confirmation provides traders with high-probability areas of interest that institutional smart money may target during future price movements.
🚀 Points of Innovation
Volume-Filtered Gap Detection : Eliminates low-significance FVGs by requiring a minimum volume threshold, focusing only on gaps formed with institutional participation
Equilibrium Line Visualization : Displays the midpoint of each gap as a potential precision target for trades
Automated Gap Mitigation Tracking : Monitors when price revisits and mitigates gaps, automatically managing visual elements
Time-Based Gap Management : Intelligently filters gaps based on a configurable timeframe, maintaining chart clarity
Dual Direction Analysis : Simultaneously tracks both bullish and bearish gaps, providing a complete market structure view
Memory-Optimized Design : Implements efficient memory management for smooth chart performance even with numerous FVGs
🔧 Core Components
Fair Value Gap Detection : Identifies price inefficiencies where the current candle’s low is higher than the previous candle’s high (bearish FVG) or where the current candle’s high is lower than the previous candle’s low (bullish FVG).
Volume Filtering Mechanism : Calculates relative volume compared to a moving average to qualify only gaps formed during significant market activity.
Mitigation Tracking : Continuously monitors price action to detect when gaps get filled, with options to either hide or maintain visual representation of mitigated gaps.
🔥 Key Features
Customizable Gap Display : Toggle visibility of bullish and bearish gaps independently to focus on your preferred market direction
Volume Threshold Control : Adjust the minimum volume ratio required for gap qualification, allowing fine-tuning between sensitivity and significance
Flexible Mitigation Methods : Choose between “Wick” or “Close” methods for determining when a gap has been mitigated, adapting to different trading styles
Visual Customization : Full control over colors, transparency, and style of gap boxes and equilibrium lines
🎨 Visualization
Gap Boxes : Rectangular highlights showing the exact price range of each Fair Value Gap. Bullish gaps indicate potential upward price targets, while bearish gaps show potential downward targets.
Equilibrium Lines : Dotted lines running through the center of each gap, representing the mathematical midpoint that often serves as a precision target for price movement.
📖 Usage Guidelines
General Settings
Days to Analyze : Default: 15, Range: 1-100. Controls how many days of historical gaps to display, balancing between comprehensive analysis and chart clarity
Visual Settings
Bull Color : Default:(#596fd33f). Color for bullish Fair Value Gaps, typically using high transparency for clear chart visibility
Bear Color : Default:(#d3454575). Color for bearish Fair Value Gaps, typically using high transparency for clear chart visibility
Equilibrium Line : Default: Enabled. Toggles visibility of the center equilibrium line for each FVG
Eq. Line Color : Default: Black with 99% transparency. Sets the color of equilibrium lines, usually kept subtle to avoid chart clutter
Eq. Line Style : Default: Dotted, Options: Dotted, Solid, Dashed. Determines the line style for equilibrium lines
Mitigation Settings
Mitigation Method : Default: Wick, Options: Wick, Close. Determines how gap mitigation is calculated - “Wick” uses high/low values while “Close” uses open/close values for more conservative mitigation criteria
Hide Mitigated : Default: Enabled. When enabled, gaps become transparent once mitigated, reducing visual clutter while maintaining historical context
Volume Filter
Volume Filter : Default: Enabled. When enabled, only shows gaps formed with significant volume relative to recent average
Min Ratio : Default: 1.5, Range: 0.1-10.0. Minimum volume ratio compared to average required to display an FVG; higher values filter out more gaps
Periods : Default: 15, Range: 5-50. Number of periods used to calculate the average volume baseline
✅ Best Use Cases
Identifying potential reversal zones where price may react after extended moves
Finding precise targets for take-profit placement in trend-following strategies
Detecting institutional interest areas for potential breakout or breakdown confirmations
Plotting significant support and resistance zones based on structural imbalances
Developing fade strategies at key market structure points
Confirming trade entries when price approaches significant unfilled gaps
⚠️ Limitations
Works best on higher timeframes where gaps reflect more significant market inefficiencies
Very choppy or ranging markets may produce small gaps with limited predictive value
Volume filtering depends on accurate volume data, which may be less reliable for some symbols
Performance may be affected when displaying a very large number of historical gaps
Some gaps may never be fully mitigated, particularly in strongly trending markets
💡 What Makes This Unique
Volume Intelligence : Unlike basic FVG indicators, this script incorporates volume analysis to identify the most significant structural imbalances, focusing on quality over quantity.
Visual Clarity Management : Automatic handling of mitigated gaps and memory management ensures your chart remains clean and informative even over extended analysis periods.
Dual-Direction Comprehensive Analysis : Simultaneously tracks both bullish and bearish gaps, providing a complete market structure picture rather than forcing a directional bias.
🔬 How It Works
1. Gap Detection Process :
The indicator examines each candle in relation to previous candles, identifying when a gap forms between the low of candle and high of candle (bearish FVG) or between the high of candle and low of candle (bullish FVG). This specific candle relationship identifies true structural imbalances.
2. Volume Qualification :
For each potential gap, the algorithm calculates the relative volume compared to the configured period average. Only gaps formed with volume exceeding the minimum ratio threshold are displayed, ensuring focus on institutionally significant imbalances.
3. Equilibrium Calculation :
For each qualified gap, the script calculates the precise mathematical midpoint, which becomes the equilibrium line - a key target that price often gravitates toward during mitigation attempts.
4. Mitigation Tracking :
The indicator continuously monitors price action against existing gaps, determining mitigation based on the selected method (wick or close). When price reaches the equilibrium point, the gap is considered mitigated and can be visually updated accordingly.
💡 Note:
Fair Value Gaps represent market inefficiencies that often, but not always, get filled. Use this indicator as part of a complete trading strategy rather than as a standalone system. The most valuable signals typically come from combining FVG analysis with other confirmatory indicators and overall market context. For optimal results, start with the default settings and gradually adjust parameters to match your specific trading timeframe and style.
BIX Candle MarkerBIX Candle Marker (by Bogdan Ilie)
"BIX Candle Marker" is a visual indicator designed to automatically mark the High and Low levels of specific candles at user-defined times and sessions directly on the main chart, facilitating easy intraday analysis.
**How does it work?**
- The indicator automatically fetches the High and Low values from a user-specified timeframe and draws horizontal lines at these levels at precise user-defined session times.
- You can configure up to 4 different sessions per trading day, each with its own customizable color and timing.
- Marked levels are automatically reset at the start of each new trading day.
**Customizable Settings:**
- **Timezone Offset:** Adjust the indicator according to your chart's timezone.
- **Candle Time Frame:** Choose the timeframe from which the candle data will be extracted.
- **Marker Length:** Set the length (number of bars) of the displayed horizontal lines.
- **Line Thickness & Style:** Customize the thickness and style of the lines (solid, dotted, dashed).
- **Sessions (1-4):** Independently configure the hour, minute, and color for each of the four possible sessions.
**Suggested Use:**
- Quickly identify intraday support and resistance levels based on key session candles.
- Ideal for breakout and reversal-based trading strategies.
---
**Disclaimer:**
This indicator is intended solely for chart analysis and educational purposes. It does not constitute financial advice. Always use it in conjunction with your personal trading strategy and risk management practices.
Author: Bogdan Ilie
Pine Script Version: v6
License: Mozilla Public License 2.0
---
BIX Candle Marker (by Bogdan Ilie)
"BIX Candle Marker" este un indicator vizual care marchează automat nivelurile High și Low ale lumânărilor specifice din sesiuni predefinite pe graficul principal, facilitând analiza punctelor-cheie intraday.
**Cum funcționează?**
- Indicatorul preia automat nivelurile maxime și minime dintr-un timeframe personalizabil și afișează linii orizontale pentru aceste nivele exact la orele și minutele configurate.
- Permite definirea a până la 4 sesiuni diferite într-o zi, fiecare având culori și setări proprii.
- Liniile marcate se resetează automat la începutul fiecărei zile de tranzacționare.
**Setări personalizabile:**
- **Timezone Offset:** ajustează indicatorul în funcție de fusul orar al graficului.
- **Candle Time Frame:** selectează timeframe-ul din care se vor prelua datele.
- **Marker Length:** stabilește lungimea (numărul de bare) liniilor orizontale afișate.
- **Line Thickness & Style:** grosimea și stilul liniilor pot fi personalizate (solid, punctat, întrerupt).
- **Sesiuni (1-4):** ora, minutul și culoarea fiecărei sesiuni pot fi configurate independent.
**Sugestii de utilizare:**
- Folosește indicatorul pentru a identifica rapid zonele de suport și rezistență create de lumânări-cheie pe parcursul zilei.
- Poate fi util pentru strategii bazate pe breakout sau reversal.
---
**Disclaimer:**
Acest indicator este destinat exclusiv analizei grafice și nu reprezintă sfaturi financiare. Utilizează-l împreună cu propriile strategii și tehnici de gestionare a riscului.
Autor: Bogdan Ilie
Versiune Pine Script: v6
Licență: Mozilla Public License 2.0
Opal Title: Opal Lines
Short Title: Opal Lines
Description:
Opal Lines is a dynamic overlay indicator that plots horizontal price levels at the open of key market sessions throughout the trading day, based on Eastern Time (ET). Designed for traders who rely on session-based price action, it marks significant intraday events such as the European Open (3:00 AM ET), Gold Open (8:20 AM ET), Regular Market Open (9:30 AM ET), and Globex Open (6:00 PM ET), among others. Each line is color-coded and toggleable via inputs, allowing users to customize which sessions they want to track.
Unlike generic time-based tools, Opal Lines captures the opening price at precise minute intervals and extends these levels across the chart until the daily reset at 5:00 PM ET (except for the Globex line, which persists into the next day). This makes it ideal for identifying support/resistance zones, breakout levels, or reference points tied to major market openings. Traders can use it across forex, futures, equities, or commodities to align their strategies with global session dynamics.
Key Features:
Seven toggleable session lines with distinct colors for easy identification.
Time-specific logic using ET, adaptable to any chart timeframe.
Persistent lines that reset daily, with Globex extending overnight.
Lightweight and overlay-friendly, preserving chart clarity.
How to Use:
Add the indicator to your chart and enable the sessions relevant to your trading style. Watch for price interactions with these levels—e.g., bounces, breaks, or retests—especially during high-volume periods. Combine with other tools like volume or oscillators for confirmation.
Note: Ensure your chart’s timezone is set to “America/New_York” (ET) for accurate alignment.
Support and Resistance with High Volume Candles + Touch Count# **Indicator Notes: S& R with High Volume Candles + Touch Count - Mehta-**
## **Overview**
This indicator identifies potential **support** and **resistance** levels based on **high-volume candles** and tracks the number of times price touches these levels within a user-defined lookback period.
### **Key Features:**
1. **High-Volume Candle Detection:**
- **Support** is identified from high-volume **green (bullish)** candles.
- **Resistance** is identified from high-volume **red (bearish)** candles.
2. **Touch Count:**
- Tracks how many times price revisits a support/resistance level within a specified lookback period.
- Helps assess the strength of a level (more touches may indicate stronger significance).
3. **Customizable Parameters:**
- **Period:** Adjusts the lookback for average volume calculation.
- **Volume Multiplier:** Sets the threshold for high-volume detection.
- **Touch Count Lookback:** Defines how many bars back to count touches.
- **Line Colors & Label Position:** Customize visual appearance.
## **How to Use**
- **Support/Resistance Breakouts:** Watch for price closing beyond these levels with confirmation.
- **Bounce Trading:** Look for reactions (bounces/rejections) near identified levels.
- **Touch Count Insight:** Higher touch counts may indicate stronger levels.
---
## **Disclaimer**
### **Risk Warning:**
Trading involves substantial risk and may not be suitable for all investors. The use of this indicator does not guarantee profits or eliminate risks associated with trading.
### **Limitations:**
1. **Historical Performance ≠ Future Results:** Past price behavior does not ensure future outcomes.
2. **False Signals:** The indicator may generate levels that do not hold.
3. **Market Conditions:** Works best in trending markets; may produce less reliable signals in choppy conditions.
### **Recommendations:**
- Use in conjunction with other technical analysis tools (e.g., trendlines, moving averages).
- Always apply proper risk management (stop-loss, position sizing).
- Test in a demo account before live trading.
### **No Financial Advice:**
This indicator is for educational purposes only and should not be considered financial advice. Consult a licensed financial advisor before making trading decisions.
DO NOT TRADE BASED ON THIS INDICATOR. TRADING IS A RISK PROCESS
Linear Regression Volume Profile [ChartPrime]LR VolumeProfile
This indicator combines a Linear Regression channel with a dynamic volume profile, giving traders a powerful way to visualize both directional price movement and volume concentration along the trend.
⯁ KEY FEATURES
Linear Regression Channel: Draws a statistically fitted channel to track the market trend over a defined period.
Volume Profile Overlay: Splits the channel into multiple horizontal levels and calculates volume traded within each level.
Percentage-Based Labels: Displays each level's share of total volume as a percentage, offering a clean way to see high and low volume zones.
Gradient Bars: Profile bars are colored using a gradient scale from yellow (low volume) to red (high volume), making it easy to identify key interest areas.
Adjustable Profile Width and Resolution: Users can change the width of profile bars and spacing between levels.
Channel Direction Indicator: An arrow inside a floating label shows the direction (up or down) of the current linear regression slope.
Level Style Customization: Choose from solid, dashed, or dotted lines for visual preference.
⯁ HOW TO USE
Use the Linear Regression channel to determine the dominant price trend direction.
Analyze the volume bars to spot key levels where the majority of volume was traded—these act as potential support/resistance zones.
Pay attention to the largest profile bars—these often mark zones of institutional interest or price consolidation.
The arrow label helps quickly assess whether the trend is upward or downward.
Combine this tool with price action or momentum indicators to build high-confidence trading setups.
⯁ CONCLUSION
LR Volume Profile is a precision tool for traders who want to merge trend analysis with volume insight. By integrating linear regression trendlines with a clean and readable volume distribution, this indicator helps traders find price levels that matter the most—backed by volume, trend, and structure. Whether you're spotting high-volume nodes or gauging directional flow, this toolkit elevates your decision-making process with clarity and depth.
Psych Level ScreenerThis Script is intended for Pine Screener and is not designed as a indicator!!!
Pine Screener is something TradingView has recently added and is still only a Beta version.
Pine Screener itself is currently only available to members that are Premium and above.
What it does:
This screener will actively look for tickers that are close to Pysch level in your watchlist.
Psych level here refers to price levels that are round numbers such as 50,100,1000.
Users can specify the offset from a psych level (in %) and scanner will scan for tickers that are within the offset. For example if offset is set at 5% then it will scan for tickers that are within +/-5% of a ticker. (for $100 psych level it will scan for ticker in $95-105 range)
Once scan is completed you will be able to see:
- Current price of ticker
- Closest psych level for that ticker
- % and $ move required for it to hit that psych level
- Ticker's day range and Average range (with % of average range completed for the day)
- Ticker volume and average volume
Setting up:
www.tradingview.com
Above link will help you guide how to setup Pine screener.
Use steps below to guide you the setup for this specific screener:
1. Open Pine Screener (open new tab, select screener the "Pine")
2. At the top, click on "Choose Indicator" and select "Psych Level Screener"
3. At the top again, click "Indicator Psych Level Screener" and select settings.
4. Change setting to your needs. Hit Apply when done.
a)"% offset from Psych Level" will scan for any stocks in your watchlist which are +/- from the offset you chose for any given psych level. Default is 5. (e.g. If offset is 5%, it will scan for stocks that are between $95-$105 vs $100 psych level, $190-$210 for $200 psych level and so on)
b) ATR length is number of previous trading days you want to include in your calculation. Moving Average Type is calculation method.
c) Rvol length is number of previous trading days you want to include in your calculation.
5. On top left, click "Price within specified offset of Psych. Level" and select true. Then select "Scan" which is located at the top next to "Indicator Psych Level Screener". This will filter out all the stock that meets the condition.
6. At the end of the column on the right there is a "+" symbol. From there you can add/remove columns. 30min/1hr/4hr/1D Trend are disabled by default so if this is needed please enable them.
7. You can change the order of ticker by ascending and descending order of each column label if needed. Just click on the arrow that comes up when you move the cursor to any of the column items.
8. You can specify advanced filter settings based on the variables in the column. (e.g., set price range of stock to filter out further) To do so, click on the column variable name in interest, located above the screener table (or right below "scan") and select "manual setup".
How to read the column:
Current Price: Shows current price of the ticker when scan was done. Currently Pine Screener does NOT support pre/post-hours data so no PM and AH price.
Psych Level: Psych level the current price is near to.
% to Psych Level: Price movement in % necessary to get to the Psych level.
$ to Psych Level: Price movement in $ necessary to get to the Psych level.
DTR: Daily True Range of the stock. i.e. High - Low of the ticker on the day.
ATR: Average True Range of stock in the last x days, where x is a value selected in the setting. (See step 3 in Previous section)
DTR vs ATR: Amount of DTR a ticker has done in % with respect to ATR. (e.g., 90% means DTR is 90% of ATR)
Vol.: Volume of a ticker for the day. Currently Pine Screener does NOT support pre/post-hours data so no PM and AH volume.
Avg. Vol: Average volume of a ticker in the last x days, where x is a value selected in the setting. (See step 3 in Previous section)
Rvol: Relative volume in percentage, measured by the ratio of day's volume and average volume.
30min/1hr/4hr/1D Trend: Trend status to see if the chart is Bullish or Bearish on each of the time frame. Bullishness or Bearishness is defined by the price being over or under the 34/50 cloud on each of the time frame. Output of 1 is Bullish, -1 is Bearish. 0 means price is sitting inside the 34/50 cloud. Currently Pine Screener does NOT support pre/post-hours data so 34/50 cloud is based on regular trading hours data ONLY.
Some things user should be aware of:
- Pine Screener itself is currently only available to TradingView members with Premium Subscription and above. (I can't to anything about this as this is NOT set by me, I have no control) For more info: www.tradingview.com
- The Pine Screener itself is a Beta version and this screener can stop working anytime depending on changes made by TradingView themselves. (Again I cannot control this)
- Pine Screener can only run on Watchlists for now. (as of 03/31/2025) You will have to prepare your own watchlists. In a Watchlist no more than 1000 tickers may be added. (This is TradingView rules)
- Psych level included are currently 50 to 1500 in steps of 50. If you need a specific number please let me know. Will add accordingly.
- Unfortunately this screener does not update automatically, so please hit "scan" to get latest screener result.
- I cannot add 10min trend to the column as Pine Screener does NOT support 10min timeframe as of now. (03/31/2025)
- This code is only meant for Pine Screener. I do NOT recommend using this as an indicator.
- Currently Pine Screener does NOT support pre/post-hours data. So data such as Price, Volume and EMA values are based on market hours data ONLY! (If I'm wrong about this please correct me / let me know and will make look into and make changes to the code)
Other useful links about Pine Screener:
Quick overview of the Screener’s functionality: www.tradingview.com
what do you need to know before you start working? : www.tradingview.com
These links will go over the setting up with GIFs so is easier to understand.
-----------------------------------------------------------------------------------------------------------------
If there are other column variables that you think is worth adding please let me know! Will try add it to the screener!
If you have any questions let me know as well, will reply soon as I can!
Have a good trading day and hope it helps!
DAYE Session Levels QUARTERLY THEORY– M15, H1, H4📊 Indicator: Previous Session Max/Min Close Levels
🔍 Overview
This indicator displays the highest and lowest closing prices from the previous session across three key timeframes (H1, H4, M15). It is inspired by the Daye Quarterly Theory, which divides time into cyclical quartiles. These levels act as potential support/resistance zones where price often reacts.
🧠 Theoretical Foundations
Daye Quarterly Theory – Time-Based Market Structure
Monthly cycle : divided into 4 weeks, with the True Open on the second Monday (Q2).
Weekly cycle : divided into 4 days (Mon–Thu), with the True Open on Tuesday (Q2).
Daily cycle : divided into 4 sessions of 6 hours each, based on New York time:
-Q1: Asia (6 PM – 12 AM NY)
-Q2: London (12 AM – 6 AM NY) → True Daily Open
-Q3: New York (6 AM – 12 PM NY)
-Q4: PM Session (12 PM – 6 PM NY)
The indicator uses this time-based logic to calculate significant levels based on strong closes in previous sessions.
⚙️ Indicator Functions
✅ 1. Historical Levels (default mode)
Displays persistent horizontal lines at the high/low close of the previous session:
- H1: last 25 candles (1 day)
-H4: last 31 candles (1 week)
-M15: last 25 candles (6-hour session)
These levels are always visible and are drawn as thin black lines, helping traders recognize historically significant price zones.
🆕 2. Current Session Levels (optional)
When enabled, this mode shows the same previous-session high/low close only during the current session.
The levels:
-start exactly at the candle where the max/min close was registered in the previous session;
-extend up to the end of the current session;
-are automatically reset at the beginning of each new session.
These dynamic levels help monitor how price behaves around recent key zones in real time.
🧰 Custom Settings
The indicator includes two toggles:
-Show Historical Levels – enables/disables persistent previous-session levels.
-Show Current Session Levels – enables/disables live levels that appear only during the current session.
You can use either one or both simultaneously.
🧠 Ideal Use Cases
This tool is perfect for traders who:
-work with intraday or swing trading strategies;
-rely on support/resistance, market structure, or liquidity zones;
-want to identify where reversals, continuations, or breakouts are most likely;
-follow time-based cycles for confluence in execution.
📌 Final Thoughts
A simple yet powerful indicator that blends temporal cycles with price behavior, allowing traders to stay aligned with meaningful levels as markets evolve. Designed to provide clarity, structure, and precision for both discretionary and systematic trading.
Livelli Sessioni Multi-Timeframe (NY Time)📌 This script automatically draws the highest and lowest closing prices from the previous session, based on the active timeframe:
On M15, it calculates the highest and lowest closes of each 6-hour session block (00–06, 06–12, 12–18, 18–00 — New York time).
On H1, it uses the highest and lowest closes of the entire previous day (NY time).
On H4, it uses the highest and lowest closes of the previous week (NY time).
🔁 Levels are only shown during the current session and automatically reset when the session changes.
🧭 All calculations are based on the New York time zone (EST/EDT).
🎯 Designed for traders who focus on clean and reliable reference levels based on price closes rather than wicks — ideal for intraday and swing trading.
📉 Display style: thin black lines, with optional touch markers.
Compatible with Forex, indices, crypto, and more.
🛠️ Created by @bordimichele00
Auto TrendLines [TradingFinder] Support Resistance Signal Alerts🔵 Introduction
The trendline is one of the most essential tools in technical analysis, widely used in financial markets such as Forex, cryptocurrency, and stocks. A trendline is a straight line that connects swing highs or swing lows and visually indicates the market’s trend direction.
Traders use trendlines to identify price structure, the strength of buyers and sellers, dynamic support and resistance zones, and optimal entry and exit points.
In technical analysis, trendlines are typically classified into three categories: uptrend lines (drawn by connecting higher lows), downtrend lines (formed by connecting lower highs), and sideways trends (moving horizontally). A valid trendline usually requires at least three confirmed touchpoints to be considered reliable for trading decisions.
Trendlines can serve as the foundation for a variety of trading strategies, such as the trendline bounce strategy, valid breakout setups, and confluence-based analysis with other tools like candlestick patterns, divergences, moving averages, and Fibonacci levels.
Additionally, trendlines are categorized into internal and external, and further into major and minor levels, each serving unique roles in market structure analysis.
🔵 How to Use
Trendlines are a key component in technical analysis, used to identify market direction, define dynamic support and resistance zones, highlight strategic entry and exit points, and manage risk. For a trendline to be reliable, it must be drawn based on structural principles—not by simply connecting two arbitrary points.
🟣 Selecting Pivot Types Based on Trend Direction
The first step is to determine the market trend: uptrend, downtrend, or sideways.
Then, choose pivot points that match the trend type :
In an uptrend, trendlines are drawn by connecting low pivots, especially higher lows.
In a downtrend, trendlines are formed by connecting high pivots, specifically lower highs.
It is crucial to connect pivots of the same type and structure to ensure the trendline is valid and analytically sound.
🟣 Pivot Classification
This indicator automatically classifies pivot points into two categories :
Major Pivots :
MLL : Major Lower Low
MHL : Major Higher Low
MHH : Major Higher High
MLH : Major Lower High
These define the primary structure of the market and are typically used in broader structural analysis.
Minor Pivots :
mLL: minor Lower Low
mHL: minor Higher Low
mHH: minor Higher High
mLH: minor Lower High
These are used for drawing more precise trendlines within corrective waves or internal price movements.
Example : In a downtrend, drawing a trendline from an MHH to an mHH creates structural inconsistency and introduces noise. Instead, connect points like MHL to MHL or mLH to mLH for a valid trendline.
🟣 Drawing High-Precision Trendlines
To ensure a reliable trendline :
Use pivots of the same classification (Major with Major or Minor with Minor).
Ensure at least three valid contact points (three touches = structural confirmation).
Draw through candles with the least deviation (choose wicks or bodies based on confluence).
Preferably draw from right to left for better alignment with current market behavior.
Use parallel lines to turn a single trendline into a trendline zone, if needed.
🟣 Using Trendlines for Trade Entries
Bounce Entry: When price approaches the trendline and shows signs of reversal (e.g., a reversal candle, divergence, or support/resistance), enter in the direction of the trend with a logical stop-loss.
Breakout Entry: When price breaks through the trendline with strong momentum and a confirmation (such as a retest or break of structure), consider trading in the direction of the breakout.
🟣 Trendline-Based Risk Management
For bounce entries, the stop-loss is placed below the trendline or the last pivot low (in an uptrend).
For breakout entries, the stop-loss is set behind the breakout candle or the last structural level.
A broken trendline can also act as an exit signal from a trade.
🟣 Combining Trendlines with Other Tools (Confluence)
Trendlines gain much more strength when used alongside other analytical tools :
Horizontal support and resistance levels
Moving averages (such as EMA 50 or EMA 200)
Fibonacci retracement zones
Candlestick patterns (e.g., Engulfing, Pin Bar)
RSI or MACD divergences
Market structure breaks (BoS / ChoCH)
🔵 Settings
Pivot Period : This defines how sensitive the pivot detection is. A higher number means the algorithm will identify more significant pivot points, resulting in longer-term trendlines.
Alerts
Alert :
Enable or disable the entire alert system
Set a custom alert name
Choose how often alerts trigger (every time, once per bar, or on bar close)
Select the time zone for alert timestamps (e.g., UTC)
Each trendline type supports two alert types :
Break Alert : Triggered when price breaks the trendline
React Alert : Triggered when price reacts or bounces off the trendline
These alerts can be independently enabled or disabled for all trendline categories (Major/Minor, Internal/External, Up/Down).
Display :
For each of the eight trendline types, you can control :
Whether to show or hide the line
Whether to delete the previous line when a new one is drawn
Color, line style (solid, dashed, dotted), extension direction (e.g., right only), and width
Major lines are typically thicker and more opaque, while minor lines appear thinner and more transparent.
All settings are designed to give the user full control over the appearance, behavior, and alert system of the indicator, without requiring manual drawing or adjustments.
🔵 Conclusion
A trendline is more than just a line on the chart—it is a structural, strategic, and flexible tool in technical analysis that can serve as the foundation for understanding price behavior and making trading decisions. Whether in trending markets or during corrections, trendlines help traders identify market direction, key zones, and high-potential entry and exit points with precision.
The accuracy and effectiveness of a trendline depend on using structurally valid pivot points and adhering to proper market logic, rather than relying on guesswork or personal bias.
This indicator is built to solve that exact problem. It automatically detects and draws multiple types of trendlines based on actual price structure, separating them into Major/Minor and Internal/External categories, and respecting professional analytical principles such as pivot type, trend direction, and structural location.
Daily ProtractorDaily Protractor Indicator
Overview
The Daily Protractor is a visually intuitive tool designed for traders who want to analyze price action through angular measurements on a 5-minute chart. By overlaying a protractor on the chart, this indicator helps identify potential support, resistance, and trend directions based on angular relationships from the first 5-minute candle of each day. It’s particularly useful for intraday traders looking to incorporate geometric analysis into their strategies for spot or strike charts.
Key Features
Dynamic Protractor Overlay: Draws a protractor centered on the low of the first 5-minute candle of each day, with customizable radius in both bars (horizontal) and price units (vertical).
Angular Measurements: Displays angles in 5-degree increments, covering a full 360° circle or a 105° to -105° (91° to 269°) half-circle, depending on user preference.
Customizable Display:
Adjust the number of days to display protractors (up to 5 days).
Customize line colors for different angle ranges (0° to 180°, 180° to 360°, and 0° specifically).
Modify line thickness, label size, and label colors for better visibility.
Center Point Highlight: Marks the center of each protractor with a labeled point for easy reference.
Efficient Design:
Optimized with max_lines_count, max_labels_count, and max_bars_back to ensure smooth performance on TradingView.
How It Works
The indicator identifies the first 5-minute candle of each day and uses its low price as the center point for a protractor. It then draws lines at 5-degree intervals, radiating from the center, with each line representing an angle from 0° to 360°. Labels at the end of each line display the angle in degrees, with negative values shown for angles between 195° and 345° (e.g., 270° is displayed as -90°). The protractor’s radius can be adjusted in both time (bars) and price units, allowing traders to scale the tool to their chart’s characteristics.
Usage Instructions
Add to Chart:
Apply the indicator to a 5-minute chart of your chosen instrument (e.g., spot or strike charts).
Interpret the Protractor:
Use the angular lines to identify potential price levels or trend directions.
The 0° line (horizontal) can act as a reference for horizontal support/resistance.
Angles between 0° and 180° (upper half) and 180° and 360° (lower half) are color-coded for quick identification.
Customize Settings:
Toggle the Show 105° to -105° option to display a half-circle (91° to 269°) instead of a full 360° protractor.
Adjust the Radius in Bars and Radius in Price Units to scale the protractor to your chart.
Set the Maximum Days to Display to control how many daily protractors are shown.
Modify line thickness, colors, and label settings to suit your visual preferences.
Customization Options
Protractor Settings:
Show 105° to -105° (91° to 269°): Toggle between a full circle or a half-circle protractor.
Radius in Bars: Set the horizontal span of the protractor (default: 75 bars).
Radius in Price Units: Set the vertical span in price units (default: 1000.0).
Maximum Days to Display: Limit the number of protractors shown (default: 5 days).
Line Settings:
Line Thickness: Adjust the thickness of the protractor lines (1 or 2).
Line Color (0° to 180°): Color for the upper half (default: light blue).
Line Color (180° to 360°): Color for the lower half (default: light red).
Line Color (0°): Color for the 0° line (default: black).
Label Settings:
Label Size: Choose between small, normal, or large labels.
Label Color (0° to 180°): Color for labels in the upper half (default: red).
Label Color (180° to 360°): Color for labels in the lower half (default: green).
Notes
The indicator was designed with the help of Grok3 for use on 5-minute charts only, as it relies on the first 5-minute candle of the day to set the protractor’s center.
For best results, adjust the radius settings to match the volatility and price scale of your instrument. However, where the price is in single digits it is advised to switch off the labels or I would suggest not to use the same.
The protractor can be used alongside other technical tools to confirm trends, reversals, or key price levels.
Limitations: This cannot be used on instruments that trade for more than 75 candles with a timeframe of 5 minutes as the angles would not cover the entire trading window. I am working coming up with a script to address this limitation.
Feedback
I’d love to hear your thoughts! If you find the Daily Protractor helpful or have suggestions for improvements, please leave a comment or reach out. Happy trading!
Today, Previous Day, and Two Days Ago LevelsOverview
This indicator plots key price levels from the current trading day, the previous day, and two days ago directly on your chart. Designed for traders who rely on daily price action, it displays the high, low, and close of the previous day, as well as the high and low of two days ago, alongside the developing high and low of the current day. Each level is drawn as a horizontal line with customizable visibility and distinct colors for easy identification.
Features
Today’s Levels: Shows the current day’s high (green) and low (red) as they develop during the regular trading session (9:30 AM–4:00 PM EDT).
Previous Day Levels: Plots the high (blue), low (light blue), and close (purple) of the most recent completed trading day, updating after 4:00 PM EDT.
Two Days Ago Levels: Displays the high (orange) and low (light orange) from two trading days prior.
Customizable Display: Toggle each level on or off via input settings to focus on the data that matters to you.
Session-Based Accuracy: Uses the regular U.S. equity session (9:30 AM–4:00 PM EDT) to ensure levels reflect standard trading hours.
How It Works
The indicator fetches daily price data based on the regular trading session (9:30 AM–4:00 PM EDT, Monday–Friday). After the session closes at 4:00 PM EDT, the "Previous Day" levels shift to reflect the just-completed day’s high, low, and close, while "Two Days Ago" levels update to the day before that. This makes it ideal for pre-market analysis the next morning, ensuring you’re always working with the latest completed session data.
Usage
Intraday Trading: Use on 1-minute, 5-minute, or 15-minute charts to monitor key levels during the day or in pre-market.
Daily Analysis: View on daily charts to assess historical levels, with updates reflecting the latest session after 4:00 PM EDT.
Support/Resistance: Leverage these levels as potential support and resistance zones for your trading strategy.
Limitations
Timeframe Consistency: Works best on intraday charts (e.g., 1-min, 5-min, 15-min, 30-min, 60-min). On higher timeframes (e.g. daily , weekly, monthly), the levels may not align as expected due to the daily session focus.
Securities Traded: Optimized for U.S. equities with a 9:30 AM–4:00 PM EDT session (e.g., stocks like SPY, AAPL). May not work correctly for:
Futures or Forex: These markets have different session hours (e.g., 5:00 PM EDT close for some futures), which could misalign the levels.
Non-U.S. Markets: Securities with different trading hours (e.g., European or Asian exchanges) won’t match the hardcoded EDT session.
Time Zone Dependency: Assumes a UTC-4 (EDT) timezone. If your chart or TradingView settings use a different timezone (e.g., EST, UTC), the session close detection (4:00 PM EDT) may be off.
Extended Hours: Excludes pre-market and after-hours data, focusing only on regular session prices. If you need extended hours, this indicator won’t reflect those levels.
Notes
Published under the Mozilla Public License 2.0.
Created on November 20, 2024, with updates for accuracy as of March 27, 2025.
If you encounter issues (e.g., levels not updating correctly), check your symbol’s session hours and chart timezone match the U.S. equity standard (9:30 AM–4:00 PM EDT).
Enjoy trading with clearer daily levels!
Custom Gold Pivot LevelsThis indicator plots custom resistance and support levels based on a central Ziro Pivot Level. The levels are adjusted dynamically based on whether you're preparing for a Buy or Sell trade. The script allows you to set percentage-based levels for both resistance and support, making it a versatile tool for traders.
Features:
Pivot Level: Set the central pivot level (Ziro Pivot) around which resistance and support levels are calculated.
Dynamic Resistance & Support Levels: Input your preferred percentages for Resistance 1, Resistance 2, Support 1 , and Support 2 .
For Buy: Resistance levels are higher, and support levels are lower.
For Sell: Resistance levels are adjusted lower, and support levels are adjusted higher.
Label Display: The indicator will display a Buy label in green above the pivot level or a Sell label in red below the pivot level, depending on the trade type you select.
Adjustable Parameters:
Ziro Pivot Level: Set the central pivot level.
Resistance & Support Levels: Adjust resistance and support levels using percentages.
Trade Type: Choose between "Buy" and "Sell" to dynamically adjust resistance and support levels.
Inputs:
1- Trade Type: Select between Buy or Sell to set the relevant resistance and support levels.
Ziro Pivot Level: Set the main pivot level around which all other levels are calculated.
Resistance Level 1 & 2: Input percentages for Resistance 1 and Resistance 2.
Support Level 1 & 2: Input percentages for Support 1 and Support 2.
How to Use:
1- Select "Buy" or "Sell" from the input options.
For Buy: The indicator will plot higher resistance levels and lower support levels.
For Sell: The indicator will plot lower resistance levels and higher support levels.
2- Adjust the Pivot Level: Set the central pivot level for the levels to be calculated around.
3- Adjust the Resistance & Support Percentages: Modify the resistance and support levels to fit your trading strategy.
4- Visual Feedback: The indicator will show a Buy label in green above the pivot level or a Sell label in red below the pivot level, making it easy to identify the trade direction at a glance.
Use Cases:
Gold & Commodity Trading: This tool is particularly useful for traders working with commodities like gold, where pivot levels can help determine potential price action points.
Swing & Day Trading: The dynamic nature of this indicator makes it great for both swing and day traders who want to monitor short-term market movements.
Support and Resistance Strategy: Traders who rely on support and resistance levels to make buy/sell decisions can use this indicator to automate and visualize these levels more effectively.
Previous Day, Week, Monday Liq + Asian, London & Ny session LiqGM Gs,
This indicator helps traders identify key liquidity levels from different market sessions (Asian, London, NY), as well as weekly and daily highs/lows. It automatically plots these levels on the chart, making it easier to spot potential support/resistance zones where price might react.
Key Features:
1. Multi-Timeframe Liquidity Zones
Previous Day High/Low – Tracks the prior day’s range.
Monday High/Low – Useful for weekly opening liquidity.
Previous Week High/Low – Helps identify broader weekly levels.
2. Customizable Session Times
Asian, London, and NY Session Highs/Lows – Automatically detects and plots key levels from each trading session.
Adjustable Time Zones – Supports multiple GMT offsets (GMT-8 to GMT+3), making it adaptable for traders worldwide.
3. Visual Customization
Color & Style Options – Each level type (e.g., London High, NY Low) can be customized in color, line style (solid, dashed, dotted), and width.
Faded Opacity for Swept Levels – When a level is swept (price breaks but closes beyond it), it becomes semi-transparent, helping traders distinguish active vs. invalidated levels.
4. Clean & Informative Labels
Each level has a clear label (e.g., "Asia High," "PW Low") for easy identification.
Adjustable label offsets prevent clutter on the chart.
Pros & Benefits for Traders:
✅ Helps Identify Key Liquidity Zones – Institutional traders often target session highs/lows for liquidity grabs. This indicator makes these levels visible at a glance.
✅ Adaptable to Different Trading Styles
Day Traders – Can use Asian/London/NY session levels for intraday setups.
Swing Traders – Can focus on weekly and Monday levels for broader trends.
✅ No Repainting – Levels are fixed once formed and do not change retroactively.
✅ Customizable for Personal Preference – Traders can adjust colors, line styles, and visibility to match their trading setup.
✅ Useful for Multiple Markets – Works well on Forex (major pairs), indices, and even crypto (due to 24/7 market structure similarities).
Suggested Use Cases:
Breakout Trading – Watch for price reactions at session highs/lows.
Mean Reversion – Fade moves into weekly or daily extremes.
Institutional Liquidity Analysis – Identify potential stop hunts or accumulation zones.
Conclusion:
This indicator is a powerful tool for traders who rely on session-based liquidity, institutional order flow, and key support/resistance levels. By automating the detection of these zones, it saves time and helps traders make more informed decisions.