Support and Resistance (High Volume Boxes) [ChartPrime]Support and Resistance (High Volume Boxes)
◆ Overview:
The "Support and Resistance" indicator identifies key support and resistance levels using pivot points and volume analysis. It visually represents these levels with dynamically colored boxes, indicating the strength of the volume. This helps traders recognize potential price reversals and key zones for buy and sell opportunities.
◆ Key Features:
Dynamic Support and Resistance Boxes:
The indicator plots support and resistance boxes based on pivot points and volume above threshold for positive volume boxes and below lower threshold for negative volume boxes.
Box colors change from transparent to more intense based on volume, reflecting the strength of support or resistance.
Boxes expands until a new box of the same type appears.
Volume-Based Color Coding:
Boxes are color-coded based on the amount of volume:
Green boxes indicate support levels with positive volume.
Red boxes indicate resistance levels with negative volume.
Hold Signals:
Green diamonds (◆) indicate when support holds, signaling potential buy opportunities.
Red diamonds (◆) indicate when resistance holds, signaling potential sell opportunities.
Breakout Labels:
If the price falls below a support level, that level will become resistance. If the price rises above a resistance level, it will often become support. As the price moves past a level of support or resistance, it is thought that supply and demand has shifted, causing the breached level to reverse its role.
Labels "Break Sup" and "Break Res" are displayed when support or resistance levels are broken, indicating significant market movements.
◆ Break Resistance:
◆Break Support:
◆ Usage Notes:
This indicator helps traders identify strong support and resistance levels, offering visual cues for potential price reversals.
By analyzing volume at these levels, traders can gauge the strength of these zones and make more informed trading decisions.
◆ Settings:
Lookback Period: The number of bars to look back for pivot points.
Delta Volume Filter Length: The length of the volume filter for more accurate volume analysis. (Higher input, will filter low volume boxes)
Adjust Box Width: Adjusts the width of the support and resistance boxes.
This indicator is designed to enhance your trading by providing clear visual cues for support and resistance levels based on volume, making it easier to spot potential price reversals and key trading opportunities.
Support
Percentage GridPercentage Grid Indicator
Description:
The Percentage Grid indicator is designed to assist traders in identifying significant support and resistance levels based on yearly percentage changes. This indicator plots horizontal lines on the chart from the start of the year, allowing you to customize how much percentage each line represents. Currently, you can set up to 5 horizontal lines, each representing a different percentage change from the beginning of the year.
For instance, when applied to the SBI Bank stock, you can customize the lines to display various percentage changes from the start of the year, such as 20%, 25%, and up to 35%, as the SBIN stock is currently trading around these levels. This visualization helps traders to easily identify key levels where price action tends to react, providing valuable insights for making trading decisions.
Principles of Trading Technical Analysis:
The Percentage Grid indicator is grounded in the principle of support and resistance levels, which are fundamental concepts in technical analysis. These levels are specific price points on a chart that tend to act as barriers, preventing the price from getting pushed in a certain direction. The indicator helps in:
Identifying Support Levels: Price levels where a downtrend can be expected to pause due to a concentration of buying interest.
Identifying Resistance Levels: Price levels where an uptrend can be expected to pause due to a concentration of selling interest.
By customizing and plotting percentage-based horizontal lines, the indicator highlights these critical levels based on the percentage change from the start of the year.
How to Use:
Add the Indicator to Your Chart:
Search for "Percentage Grid" in the TradingView indicator library and add it to your chart.
Customize Percentage Levels:
Access the indicator settings to customize the percentage change each line represents.
You can set up to 5 different percentage levels. For example, you can set lines at 20%, 25%, 30%, 35%, and 40%.
Interpret the Grid Lines:
The plotted lines will represent the specified percentage changes from the start of the year.
Use these lines to identify potential support and resistance levels where price action is likely to react.
Practical Application:
Look for price bounces or reversals around these levels, which can indicate strong support or resistance.
Combine the Percentage Grid with other technical analysis tools, such as moving averages or trend lines, to confirm potential trading opportunities.
Example:
In the accompanying screenshot, the Percentage Grid is applied to the SBI Bank stock. The lines are set to display 20%, 25%, 30%, 35%, and 40% changes from the start of the year. Notice how the price action respects these levels, providing clear areas where support and resistance are evident.
By incorporating the Percentage Grid into your trading strategy, you can enhance your ability to identify key price levels and make more informed trading decisions.
Happy Trading!
CARNAC Trading Support and Resistance LevelsOverview
The "Carnac Trading Support and Resistance Levels" indicator is a powerful tool designed to help traders identify key support and resistance levels across multiple timeframes. This tool enhances trading strategies by visually marking significant price levels and providing configurable stop-loss and alert features.
Features
Support and Resistance Levels: Automatically calculates and plots support and resistance levels for the following timeframes:
5 minutes (5M)
10 minutes (10M)
15 minutes (15M)
30 minutes (30M)
1 hour (1H)
2 hours (2H)
4 hours (4H)
6 hours (6H)
12 hours (12H)
1 day (1D)
1 week (1W)
1 month (1M)
Configurable Stop-Loss (SL) Levels: Adds a stop-loss line below each support level and above each resistance level with customizable padding (as a percentage).
Visual Labels: Clearly labels support, resistance, and stop-loss levels with the corresponding prices and timeframes for easy identification.
Line Customization:
Support Levels: Green lines with varying thickness based on the timeframe.
Resistance Levels: Red lines with varying thickness based on the timeframe.
Stop-Loss Levels: Gray dotted lines for clear distinction.
Alerts: Alerts trigger when the price gets to a configurable percentage from the support or resistance levels, helping you stay informed about potential buying and selling opportunities.
Visibility Toggling: Easily toggle the visibility of support and resistance levels for each timeframe (default enabled for 2H, 4H, and 1D).
How to Use
Add the Indicator:
Navigate to the TradingView Pine Editor.
Paste the provided Pine Script code and click "Add to Chart."
Configure Inputs:
Lookback Periods: Adjust the lookback periods for each timeframe to suit your analysis needs.
Padding Percentage: Set the padding percentage for the stop-loss levels to define the distance below the support levels and above the resistance levels.
Visibility: Toggle the visibility of the support and resistance levels for each timeframe as needed (default enabled for 2H, 4H, and 1D).
Alert Trigger Distance: Set the alert trigger distance as a percentage to determine when the alerts should be triggered.
Interpret the Plotted Levels:
Green Lines: Indicate support levels for the respective timeframes.
Red Lines: Indicate resistance levels for the respective timeframes.
Gray Dotted Lines: Represent the stop-loss levels below each support level and above each resistance level, with the specified padding.
Labels: Provide clear indications of the price levels and their respective timeframes in white text for visibility.
Identifying Buying and Selling Opportunities:
Buying Opportunities:
Look for the price to approach or bounce off a support level (green line).
Confirm the potential for a reversal by checking if the price is nearing a key support level from multiple timeframes.
Use the stop-loss level (gray dotted line) to set your stop-loss order below the support level to minimize risk.
Selling Opportunities:
Look for the price to approach or get rejected at a resistance level (red line).
Confirm the potential for a reversal by checking if the price is nearing a key resistance level from multiple timeframes.
Use the stop-loss level (gray dotted line) to set your stop-loss order above the resistance level to minimize risk.
Alerts:
Alerts will notify you when the price gets within the specified percentage distance from each support or resistance level.
Use these alerts to stay informed about potential buying and selling opportunities.
CANDLE LEVELS [PRO]This indicator provides you with 55 levels! with labels to help you identify quickly where current price is in relation to the OPEN, CLOSE, HIGH OF DAY and LOW OF DAY to a respective level. Choose from levels as low as the 5 minute time frame all the way up to 200 days. All of the levels except the day's OPEN, HIGH OF DAY AND LOW OF DAY use the PREVIOUS time frame's level. In other words, when you're looking at the "1 DAY HIGH", that's actually the previous day's HIGH OF DAY. Whether you're a scalper on the lower time frames or a swing trader that mainly uses the 1 hour and above, these candle levels can be an invaluable source of support and resistance; in other words you'll often see price bounce off of a level (whether price is increasing or decreasing) once or multiple times and that could be an indication of a price's direction. Another way that you could utilize this indicator is to use it in confluence with other popular signals, such as an EMA crossover. For instance, you could watch as price rises above the 21 EMA all the while price is also crossing up and over the previous day's HIGH OF DAY with a relative volume that's double that of the previous week's average. These are just a few of some potential bullish signals that you could look for to go long on a trade using the candle levels provided.
I've made this indicator extremely customizable:
⚡Each level has 2 labels: 1 "at level" and 1 "at right", each label and price can be disabled
⚡Each label has its own input for label padding. The "at right" label padding input allows you to zoom in and out of a chart without the labels moving along their respective axis
⚡Each label's text can be customized via an "input.string" code base
⚡Each level's label can be changed via a plot style setting to determine if the label is centered with it's respective level or rides along the top of it
⚡Significant figures input allows you to round price up or down
⚡A "bias EMA" tool that color codes the candles and price line to show you where price is in relation to the 21 EMA (or another value that you pick). As a result, this can be an effective visual to help reduce cognitive load
⚡A "fill level" where color is determined by price opening above or below the previous day's close
⚡A "use current close" setting that's great to use in pre-market as it shows you where price is in relation to the previous days' close
----------------------------------------------------------------------------------------------------------------------
🙏Thanks to (c)satymahajan for the inspiration behind the ATR "previous close" and "bias candle" code base
🙏Thanks to my mentor (c)SimpleCryptoLife for the libraries and extensive code to help create this indicator
Breakouts with Tests & Retests [LuxAlgo]The Breakouts Tests & Retests indicator highlights tests and retests of levels constructed from detected swing points. A swing area of interest switches colors when a breakout occurs.
Users can control the sensitivity of the swing point detection and the width of the swing areas.
🔶 USAGE
When a Swing point is detected, an area of interest is drawn, colored green for a bullish swing and red when bearish.
A test is confirmed when the opening price is situated in the area of interest, and the closing price is above or below the area, depending on whether it is a bullish or bearish swing. Tests are highlighted with a solid-colored triangle.
A breakout is confirmed when the price closes in the opposite position, below or above the area, in which case the area will switch colors.
If the opening price is located within the area and the closing price closes outside the area, in the same direction as the breakout, this is considered a retest . Retests are highlighted with a hollow-colored triangle.
Note that tests/retests do not act on wicks. The main factor is that the opening price is in the area of interest, while the closing price is outside.
🔹 Area Of Interest Width
The user can adjust the width of the swing areas. Changing the " Width " is a fast and easy way to find different areas of interest.
A higher "Multiple" setting would return a wider area, allowing price to develop within it for a longer period of time and potentially provide later test signals.
When a swing area is broken, a higher "Width" setting can make it more complicated for the price to break it again, allowing a swing area to remain valid for a longer period of time thus potentially providing more retest signals.
🔶 DETAILS
Generally, only one bullish/bearish pattern can be active at a time. This means that no more than 1 bullish or bearish area will be active.
The " Display " settings, however, can help control how areas of different types are displayed.
Bullish AND Bearish: Both, bullish and bearish patterns can be drawn at the same time
Bullish OR Bearish: Only 1 bullish or 1 bearish pattern is drawn at a time
Bullish: Only bullish patterns
Bearish: Only bearish patterns
🔹 Test/Retest Labels
The user can adjust the settings so only the latest test/retest label is shown or set a minimum number of bars until the next test/retest can be drawn.
🔹 Maximum Bars
Users can set a limit of bars for when there is no test/retest in that period; the area of interest won't be updated anymore and will be available and ready for the next Swing.
An option for pulling the area back to the last retest is included.
🔶 SETTINGS
Display: Determines which swing areas are displayed by the indicator. See the "DETAILS" section for more information
Multiple: Adjusts the width of the areas of interest
Maximum Bars: Limit of bars for when there is no test/retest
Display Test/Retest Labels: Show all labels or just the last test/retest label associated with a swing area
Minimum Bars: Minimum bars required for a subsequent test/retest label are allowed to be displayed
Set Back To Last Retest: When after "Maximum Bars" no test/retest is found, place the right side of the area at the last test/retest
🔹 Swings
Left: x amount of wicks on the left of a potential Swing need to be higher/lower for a Swing to be confirmed.
Right: The number of wicks on the right of a potential swing needs to be higher/lower for a Swing to be confirmed.
🔹 Style
Bullish: color for test period (before a breakout) / retest period (after a breakout)
Bearish: color for test period (before a breakout) / retest period (after a breakout)
Label Size
Johnny's Trend Lines, Supports and ResistancesInspired and based on ismailcarlik's Trend Lines, Supports and Resistances.
Additions include an overall upgrade to Pinescript v5, changes in the way resistance and support levels are calculated, improved visual queues, and additional customization options.
This indicator is meticulously crafted to provide traders with visual tools for identifying trend lines, support, and resistance levels, enhancing the decision-making process in trading activities.
Features and Functionality
Trend Lines: The indicator allows users to enable or disable trend lines, adjust the number of points to check for establishing a trend, and set parameters for trend validation, including the maximum violation and exceptions for the last bars.
Support and Resistance: It offers tools to identify and visualize key support and resistance levels based on recent pivot points. This includes adjustable parameters for the maximum violations allowed and the exclusion of recent bars from the analysis.
Pivot Points: Users can define the pivot length for calculating highs and lows, which helps in marking significant pivot points that are instrumental in trend analysis.
Alerts and Notifications: The indicator is equipped with customizable alerts for trend line breaches and pivot point formations, which can be set to trigger at different frequencies based on user preference.
How It Works
Input Flexibility: Users can adjust various settings like the length of trend lines and pivot points, enabling or disabling specific features like marking pivots, and managing alert settings directly from the indicator’s input panel.
Dynamic Analysis: By analyzing the price action relative to the calculated trend lines and pivot points, the indicator dynamically identifies potential trend reversals, continuations, and significant price levels.
Visualization: It plots trend lines and marks support and resistance levels directly on the chart, with options to extend these lines and add labels for better clarity. Violated trend lines can be visually differentiated by changing their style and width.
Practical Application
Trend Line Strategy: Traders can use the trend lines to determine the strength of the current market trend and to spot potential reversal points.
Support and Resistance Strategy: By marking where the price has historically faced resistance or found support, traders can plan entry and exit points, set stop-loss orders, or identify breakout opportunities.
Pivot Points Strategy: Pivot points serve as vital indicators for intraday trading or long-term trend analysis, providing insights into potential support and resistance levels.
Customization and Alerts
Custom Alerts: Traders can set alerts for when the price crosses trend lines or when new support or resistance levels are formed, helping them stay informed of critical market movements without having to continuously monitor the charts.
Visual Customization: Users can personalize the appearance of trend lines and labels, choosing from a variety of colors and styles to match their chart setup or preferences.
"Johnny's Trend Lines, Supports and Resistances" is an essential tool for traders who rely on technical analysis, offering detailed insights and real-time updates on market conditions, trend strength, and potential price barriers.
MTF Supertrend [CryptoSea]The MTF Supertrend Indicator is a versatile tool crafted to enhance trend analysis across multiple timeframes. Leveraging the reliable Supertrend formula, it provides traders with a comprehensive view of market trends and potential reversal points.
Key Features
Multi Timeframe Analysis: Tracks Supertrend signals over a variety of timeframes, offering a broad perspective on market direction.
Percentage Threshold Display: Filters out Supertrend data that is not within a specified percentage of the current price, keeping the display focused on relevant trends.
Adaptive Visual Display: Features a dynamic table that shows the current Supertrend status, which is fully customizable to the user's display preferences.
Customizable Sensitivity: Users can fine-tune the factor and ATR period settings, allowing for personalized trend sensitivity.
How it Works
Supertrend Calculation: Computes the Supertrend using the Average True Range (ATR) multiplied by a customizable factor, detecting changes in volatility and trend.
Higher Timeframe Filtering: Prioritizes higher timeframe trends over the current chart's timeframe to avoid chart clutter and focus on the most significant trends.
Colour-Coded Trends: Utilizes colour coding to clearly indicate bullish and bearish trends, aiding quick visual analysis.
Responsive Display Options: Includes a switchable table view to overlay trend information on the chart, with options for dark and light themes.
Benefits for Different Trading Styles
Day Traders: Use real-time updates to catch short-term trend reversals and ride the momentum for quick profits.
Swing Traders: Benefit from viewing medium to long-term trends to formulate strategies that span several days or weeks.
Position Traders: Utilize the monthly supertrend data to make long-term investment decisions based on prevailing market directions.
Application
Strategic Decision-Making: Assists traders in making informed decisions by providing a layered view of trend directions across timeframes.
Trend Confirmation: Reinforces trading strategies by confirming trends with higher timeframe Supertrend alignment.
Customized Analysis: Adapts to various trading styles with input settings that control the display and sensitivity of trend data.
The MTF Supertrend Indicator by is a powerful addition to the trader's toolkit, enhancing multi-timeframe trend analysis and contributing to a strategic trading approach in volatile markets.
Liquidations [ChartPrime]Liquidations Indicator:
The Liquidations indicator is a powerful tool designed to help traders identify significant liquidation levels in financial markets. By analyzing volume data over a specified lookback period, the indicator highlights potential areas where market participants with high leverage positions may face liquidation, providing valuable insights into market dynamics.
Usage:
Traders can use the Liquidations indicator to:
◈ Identify liquidity grab opportunities: Liquidation levels often attract price action as market participants with leveraged positions face the risk of forced liquidation. Traders can anticipate price movements as the market aims to trigger these stops, potentially leading to rapid price movements or reversals.
◈ Confirm trend strength: A cluster of liquidation levels in the same direction as the prevailing trend may confirm the strength of the trend, while divergences between liquidation levels and price movements may signal potential trend reversals.
Settings:
◈ Previous Value Bars Back: Specifies the number of previous bars used in calculating the liquidation levels.
◈ Show Leverage: Allows users to selectively display liquidation levels for different leverage multiples, including 5x, 10x, 25x, 50x, and 100x.
◈ Liquidation Levels Width: Sets the width of the lines representing liquidation levels on the chart.
◈ Short Liquidations Color: Specifies the color of the lines representing short liquidation levels.
◈ Long Liquidations Color: Specifies the color of the lines representing long liquidation levels.
◈ Bar Color: Sets the color of the background bar when the indicator is active.
Visual Representation:
◈ Liquidation levels are plotted as horizontal lines on the chart, with different colors representing short and long liquidation levels.
◈ Each liquidation level is labeled with the corresponding leverage multiple (e.g., 5x, 10x, etc.).
A dashboard displays the active liquidation levels for each leverage multiple, allowing traders to quickly assess the current market conditions.
◈ Time Window allows users to cut off unnecessary part of the chart and concentrate on a current active part of the chart to make better trading decisions:
Interpretation:
Market participants tend to place stop-loss orders near liquidation levels , creating clusters of pending orders. As price approaches these levels, it may trigger a cascade of stop-loss orders, providing liquidity for market orders and potentially leading to rapid price movements in the opposite direction.
Traders can anticipate price reversals or accelerations as price interacts with liquidation levels, using them as reference points for identifying potential entry or exit opportunities.
Note:
While the Liquidations indicator provides valuable insights into market dynamics, traders should use it in conjunction with other technical analysis tools and risk management strategies to make informed trading decisions.
Support Resistance base Volume RSIThe indicator displays support and resistance levels based on volume and the Relative Strength Index (RSI).
Variable and Input Assignment:
lookback: Determines the period for data lookback.
RsiVisible, RsilabelSize, OversoldForRsi, OverboughtForRsi: Various inputs to adjust RSI indicator parameters.
Indicator Calculation:
highestVol: Finds the highest volume within a certain period.
Rsi: Calculates the RSI value with a period of 14.
roc: Calculates the Rate of Change.
Support and Resistance Level Determination:
Uses a comparison between price change (roc) and RSI value to determine whether the price is rising or falling.
If the price is rising and the current volume is greater than the previous highest volume, a new resistance level is established.
If the price is falling and the current volume is greater than the previous highest volume, a new support level is established.
Support and Resistance Lines:
Creates lines indicating the latest support and resistance levels.
These lines are updated whenever there is a change in support or resistance levels.
RSI Labels:
Displays the RSI value above or below the price chart depending on whether the RSI is above or below the overbought or oversold levels.
If the RSI value is above the overbought level, the label is displayed above the price.
If the RSI value is below the oversold level, the label is displayed below the price.
Labels are removed if the corresponding conditions are not met.
Additional RSI Label:
Adds an additional label displaying the RSI value next to the price chart on the last bar.
The main purpose of this script is to assist traders in identifying support and resistance levels based on price movement, volume, and the RSI indicator. Thus, traders can use this information to make better trading decisions.
Previous Day and Week RangesI've designed the "Previous Day and Week Ranges" indicator to enhance your trading strategy by clearly displaying daily and weekly price levels. This tool shows Open-Close and High-Low ranges for both daily and weekly timeframes directly on your trading chart.
Key Features :
Potential Support and Resistance: The indicator highlights previous day and week ranges that may serve as key support or resistance levels in subsequent trading sessions.
Customizable Display Options: Offers the flexibility to show or hide daily and weekly ranges based on your trading needs.
Color Customization: Adjust the color settings to differentiate between upward and downward movements, enhancing visual clarity and chart readability.
This indicator is ideal for traders aiming to understand market dynamics better, offering insights into potential pivot points and zones of price stability or volatility.
Key Levels SetKey Levels Set allows to set key levels as comma separated values, and to detect breaks to the downside and/or upside, taking into account potential gaps between bars.
This indicator can be very handy if you, like me, rely on some key levels that you identified as potential support/resistance from some technical analysis.
Features
+ It allows for key levels to be set as comma separated values.
+ It draws key levels on chart.
+ On close, it identifies highest key level that has been broken to the upside, if any.
+ On close, it identifies lowest key level that has been broken to the downside, if any.
+ In Cross mode, as bar is printing, it also detects highest/lowest key levels being broken to the upside/downside between bar high and low, if any.
+ It plots and labels breaks with current level and next level information.
+ It includes alerts from breaks on close.
+ It includes turn on/off functionality.
Settings
+ {Prices} checkbox: turns on/off entire functionality
+ {Prices} text field: comma separated values for key levels
+ {Breaks on} checkbox: turns on/off breaks detection functionality
+ {Breaks on} options: selects Close or Cross mode
[UST] Protein+Support/Resistance Script: A Comprehensive Overview
Thanks to Pmgjiv for providing the foundation to this improved Version.
In the world of trading, having a robust support and resistance analysis tool can make a significant difference in decision-making and overall strategy. Let's delve into the enhancements made to the support/resistance script and how each component contributes to a trader's arsenal:
Changes and improvements made for the script to help Traders make better rational decisions in their Trading:
1. Multiple Timeframes:
Integrating multiple timeframes into the analysis provides a multi-dimensional view of the market. Traders can now assess price action across different time horizons simultaneously. This feature allows for a deeper understanding of market dynamics and helps in identifying significant support and resistance levels across various timeframes.
2. Timeframe Labels Inside Zones:
By including timeframe labels within the zones, traders can easily identify the origin of each support or resistance level. This contextual information enhances clarity and facilitates more informed decision-making, especially when navigating through multiple timeframes.
3. Visual Zone Update:
Visual updates on zones enable traders to track changes in support and resistance levels in real-time. This dynamic feature enhances the analytical process by providing immediate insights into evolving market conditions, thereby enabling traders to adapt their strategies accordingly.
4. Zones Hit:
Understanding the frequency and intensity of zone hits offers valuable insights into the strength and relevance of support and resistance levels. Traders can gauge the significance of each zone based on its historical interaction with price, thereby gaining a deeper understanding of market sentiment and potential trading opportunities.
5. Option to Turn off Current Timeframe:
The ability to toggle off the current timeframe streamlines chart analysis by focusing only on the most critical support and resistance zones. This decluttering feature helps traders prioritize key levels, reducing cognitive overload and enhancing decision-making efficiency.
Explanation of Additional Functions:
a. Lookback:
The 'lookback' parameter allows traders to customize the age of support and resistance zones based on their trading style and preferences. By adjusting the lookback setting, traders can choose whether to prioritize recent price action or consider historical data, thus tailoring the analysis to their specific trading strategies.
b. Swinglength:
Swinglength determines the sensitivity of the support and resistance zones. By modifying this parameter, traders can control how aggressively the script identifies pivot points. A higher swinglength value results in smoother, more stable zones, whereas a lower value increases sensitivity, capturing smaller price movements.
c. ZigZag Indicator:
The ZigZag indicator plays a pivotal role in identifying significant price reversals. Its period setting determines the number of price bars considered before confirming a pivot point. Traders can utilize this indicator to identify key turning points in the market, aiding in the identification of robust support and resistance levels.
Impact of Sensitivity on Zones:
Adjusting the sensitivity of the ZigZag indicator directly influences the identification and delineation of support and resistance zones. Higher sensitivity levels result in fewer but more robust zones, capturing significant price movements. Conversely, lower sensitivity levels yield more zones, accommodating smaller price fluctuations but potentially introducing noise into the analysis.
d. S/R Range:
The ability to adjust the width of support and resistance zones allows traders to customize the breadth of key areas on a chart. Choosing a wider range encompasses a broader spectrum of prices, thereby identifying more comprehensive support and resistance levels. This flexibility enables traders to adapt their analysis to different market conditions and trading strategies.
Utilization in Trading:
Comprehensive Analysis: By incorporating multiple timeframes, traders gain a holistic view of market dynamics, enabling them to identify high-probability trading opportunities across various horizons.
Contextual Understanding: Timeframe labels within zones provide context, helping traders understand the significance of each level in relation to different timeframes and market conditions.
Real-time Adaptability: Visual zone updates facilitate real-time analysis, allowing traders to adjust their strategies promptly in response to changing market conditions.
Informed Decision-making: By considering zone hits, traders can assess the strength and relevance of support and resistance levels, enhancing their ability to make informed trading decisions.
Customized Analysis: Adjustable parameters such as lookback, swinglength, and sensitivity empower traders to tailor the analysis to their individual trading styles and preferences, enhancing precision and effectiveness.
In summary, these enhancements to the support/resistance script provide traders with a powerful toolkit for analyzing market dynamics, identifying key levels, and executing well-informed trading strategies across various timeframes and market conditions.
Multi Pivot (S/R) & Previous Period (OHLC)█ Multi Pivot (Support/Resistance) & Previous Period (Open/High/Low/Close)
The previous script was deleted because of a copyrighted word.
From JayRogers description.
█ Multi Pivot Selector
Allows you to set up to 3 distinct sets of pivots, each with their own resolution settings and the ability to select how many support|resistance levels are shown.
The maximum amount of S|R levels available varies with different pivot types, the options available are:
Traditional
Fibonacci
Woodie
Classic
Copyrighted word
Camarilla
Fibonacci Extended
█ Previous Period Levels
A simple but highly customisable display of previous higher time-frame OHLC values.
Customised resolution input which excludes time frames lower than 1 hour while extending the common higher reference inputs.
This script is based on JayRogers script, I only added some features so please check out his script.
I added the timeframe in the labels, in order to make it easier to differentiate when using multiple pivot set.
As well as making it possible to change the lines color of each pivot set separately.
Labels can now be displayed on each side (right, left and both) or just disabled.
The type of pivot can be shown on the right side.
Lines extension can be disabled and lines width value can be changed.
I also added another one of his script to display OHLC levels, I made similar changes.
Converted to Pine Script v5.
Previous Period Levels - X Alerts
Pivotal - Multi Pivot Selector (which was also deleted because of the copyrighted word)
All Time High (ATH) Levels [LuxAlgo]The All Time High (ATH) Levels indicator displays a user-set amount of historical all-time high levels made on the user's chart, highlighting potential key price levels.
Displayed levels can be filtered out based on their duration, as well as their relative distance from each other.
The script also evaluates the role a level might have as a support or resistance using a percentage, classifying ATH levels as either support or resistance depending on the result.
🔶 USAGE
On certain assets market participants give a high level of attention to all-time highs made by an asset, with the most pertinent example being Bitcoin.
Previous all-time highs can play important roles as psychological price levels, with the most recent ones often offering major resistance points, and older ones being used as support.
Users can filter out temporary ATHs using the ATH Minimum Duration setting, removing any ATH that lasts less than the user-specified number of bars. Higher values of this setting effectively preserve ATHs that become distinguishable peaks. These can offer more significant support/resistance levels.
When displaying each historical level some of them can be very close to each other. Users can use the "Minimum Distance Between ATH" setting to filter out levels too close to each other, with higher values of this setting returning more spaced levels. Distances are first evaluated from the most recent ATH. Note that this setting can cause repainting.
🔹 SR Classification
The script evaluates the ability of an ATH level to act as a support or resistance since its occurrence, and measures its strength as a percentage, with higher percentage values suggesting a stronger support or resistance.
Levels classified with "R" suggest that the price was located below the level most of the time, indicative of a resistance, while a level classified with "S" suggests that the price was located above the level most of the time, indicative of a support.
Percentages between 99% to 50% are often indicative of supports/resistances being tested, while values below 50% reflect more centered levels. A value of 100% suggests that an ATH level was not tested enough. users can filter out any level with a percentage below the "Minimum %" setting.
🔶 SETTINGS
Show Last ATH: Specify the amount of most recent ATH's to display.
ATH Minimum Duration: Minimum duration (in bars) of an ATH, that is the minimum number of bars that must elapse before another ATH can be made.
Minimum Distance Between ATH: Minimum distance between displayed ATH levels, starting from the most recent ATH. This distance is a multiple of the average true range.
🔹 SR Classification
Show SR%: Show percentage as well as ATH level classification.
Minimum %: Minimum percentage values required to display an ATH level.
Periodic OHLHere is another experience on working with 'time' variable :)
This script generates potential support and resistance levels based on daily, weekly, and monthly open, high, and low prices. In such indicators, security calls produce effective results. However, similar tasks can also be performed by built-in variables. This script serves as an example of how alternative methods can be constructed.
The originality of the indicator is based on its ability to visualise the current open, high and low prices from the bar at which they occur. You can also display levels simultaneously.
I hope it helps everyone...
DISCLAIMER
This is just an indicator, nothing more. It is provided for informational and educational purposes exclusively. The utilization of this script does not constitute professional or financial advice. The user solely bears the responsibility for risks associated with script usage. Do not forget to manage your risk. And trade as safely as possible. Best of luck!
TradesAI - Elite (Premium)This is an all-inclusive, premium indicator that focuses mainly on price action analysis, a form of looking at raw price data and market structure to analyze and capture areas of interest where price could react.
This indicator is a perfect trading companion that saves you a lot of time in trading price action. Some of the popular methods that use price action analysis are "Smart Money Concepts (SMC)", "Inner Circle Trader (ICT)", and "Institutional Trading".
🔶 POWERFUL TOOLS
The indicator combines three main tools as a trading suite:
Trendlines
Market Structure Breakouts (MSB)
Order Blocks (OBs) and Reversal Order Blocks (ROBs)
These 3 main tools are interconnected together. Below we go over each, and then explain how and why they are brought in together. Please also note that the indicator's settings have tooltips next to most of them, with more detailed information.
🔶 TRENDLINES
This indicator automatically draws the most relevant Trendlines from pivot high/pivot low (based on the defined settings) as origins, while keeping track of candle closes across these Trendlines to adjust or invalidate accordingly.
The indicator will draw all possible Trendlines up to the maximum allowed by TradingView's PineScript. It uses a bullish pivot high candle to draw downtrends, and a bearish pivot low candle to draw uptrends. The algorithm will draw the most suitable active Trendlines from those origin points.
The indicator takes the origin point as the first point of the Trendline, then starts looking for the immediate next same-type candle (bullish to bullish or bearish to bearish), to draw the Trendline between the origin candle and this newer candle.
An uptrend is a ray connecting two bearish candles, as long as the second candle has a Low higher than the low of the origin (first) candle. A downtrend is a ray connecting two bullish candles, as long as the second candle has a high lower than the high of the origin (first) candle.
Upon drawing, the indicator then starts monitoring and adjusting this Trendline, by keeping the origin always the same but changing the second point. The goal is to keep reducing the slope of the Trendline till it is at 0 degrees (horizontal line). That then makes the Trendline "final". Note that you have the option to keep all Trendlines or just show the final, in the settings.
So, the algorithm has three states for the Trendlines:
Initial: not tested, meaning price hasn't yet broken through it and closed a candle beyond it, to cause a re-adjustment of this Trendline.
Broken: a candle hard closed (opened and closed) across it but still, the direction of the trend is maintained with a new Trendline from the same origin – could be replaced (or kept on the chart as a "backside", which is what we call a broken Trendline to be tested from the opposite side) with a new Trendline from the same origin, to the newest candle that caused the break to happen, as then it becomes the new second point of that Trendline.
Final: a candle hard closed (opened and closed) across it and can't draw a new Trendline from the same origin maintaining the direction of the trend (so an uptrend becomes a downtrend or a downtrend becomes an uptrend at this point, which is not allowed). This marks the end of the Trendline adjustment for that origin.
To summarize the Trendlines algorithm, imagine starting from a candle and drawing the Trendline, then keep re-adjusting it to make its slope less and less, till it becomes a horizontal line. That's the final state.
Here is a step-by-step scenario to demonstrate the algorithm:
Notice how first an Uptrend (green ray) is drawn between point A origin pivot (picked by our smart algorithm) and point B, both marked by green arrows:
Uptrend then turned into backside (where it flips from diagonal support to resistance where liquidity potentially resides):
Then a new uptrend is drawn from the same point A origin pivot to a new point B matching the filters in settings.
Finally, it turns also into a backside and is considered final because no more uptrends could be drawn from the same point A origin point.
Unlike traditional Trendline tools, this indicator takes into account numerous rules for each candlestick to determine valid support and resistance levels, which act as liquidity zones.
Unlike conventional Trendline tools, this indicator allows the user to define the pivot point left and right length to capture the proper ones as origins, then automatically recognizes and extends lines from them as liquidity zones where a reaction is expected. Moreover, the indicator monitors those Trendlines in real-time to switch them from buying to selling zones, and vice-versa, as the price structure changes.
Features
Log vs. Linear scale switch to show different Trendlines accordingly. When updating the Trendlines, or deciding whether Touches/Hard Closes are met, it makes a difference.
Ability to show all forms of Trendlines, final Trendlines or just backside Trendlines.
Why is it used?
For experienced traders, it offers the advantage of time efficiency, while new traders can bypass the steep learning curve of drawing Trendlines manually, which could practically be drawn between any two candlesticks on the chart (many variations).
🔶 MARKET STRUCTURE BREAKOUT (MSB)
The Market Structure Breakouts (MSB) tool is a trading tool that detects specific patterns on trading charts and provides ‘take profit’ regions based on the extended direction of the identified pattern. A breakout is a potential trading opportunity that presents itself when an asset's price moves away from a zone of accumulation (i.e. above a resistance level or below a support level) on increasing volume. The most famous form of market structure breakout is double/triple tops/bottoms, or what is referred to as W or M breakouts.
See this example below of how our MSB smart algorithm picked the local bottom of INDEX:BTCUSD
Here is a step-by-step scenario to demonstrate the algorithm:
First, the algorithm picks the pivot points according to our Machine Learning (ML) model, which uses Average True Range (ATR) and Moving Averages of various types to decide. It will then signal a Market Structure Breakout (MSB):
You may either short (sell) this MSB towards the targets (dotted green lines) and/or buy (long) at the targets (dotted green lines). Usually, these targets provide scalp moves, according to our model, but they may also act as strong reversal points on the chart.
Unlike standard indicators, the MSB tool identifies patterns that may not appear in every time frame due to specific conditions that need to be met, including Average True Range (ATR) and Moving Averages at the time of creation. Once these patterns are identified, the tool gives ‘take profit’ regions in the direction of the trading pattern and even allows for trading in the opposite direction (contrarian/counter-trend scalps) once those regions are reached. A confirmed breakout has the potential to drive the price to these specific targets, calculated based on our Machine Learning (ML) model. The Targets are the measured moves placed from the breakout point.
Features
Log vs. Linear scale switch to show different MSBs accordingly based on the ratios.
Detects trading patterns with specific conditions.
Ability to specify how sensitive the pivot points are for capturing market structure breakouts.
Provides take profit regions in the extended direction of the pattern.
Allows for versatile trading styles by permitting trades in the opposite direction (contrarian or counter-trend) once the take profit region is reached.
Highlights 2 levels of interest for potential trade initiation (or as targets of the MSB move).
🔶 ORDER BLOCK (OB) and REVERSAL ORDER BLOCK (ROB)
Before diving deeper into OBs and ROBs, you may consider the following chart for a general understanding of price ladders, and how they break. This is a bearish price ladder leaving Lower Lows and Lower Highs after an initial Low and High (L->H->LL->LH). Bullish ladders are the opposite (H->L->HH->HL).
In this bearish ladder case, notice the numbers representing the highs made (being lower). While this is a clean structure, markets don't always create such clean ladders, but you may switch to a higher timeframe to see it in a clearer form (usually, you will be able to spot it there).
In SMC or ICT concepts, the "Break Of Structure (BOS)" is pretty much creating a new lower low (LL) for the bearish ladder (and the creation of a higher high (HH) for the bullish ladder). By doing so, markets are grabbing liquidity below these levels and could either continue the ladder or stop/flip it. This gives you the context of how the ladder prints.
Price usually ends the ladder with a "Change of Character (CHoCH)", which represents a BOS (to grab liquidity) followed by an aggressive move in the opposite direction, which could lead the market to close the gaps and balance out. It is considered a good practice to then target liquidity in the opposite direction when a CHoCH happens, meaning for a bearish ladder you may target the pivots marked by 3, 2 and 1 at the top (start of the ladder).
Now we move to Order Blocks (OBs) and Reversal Order Blocks (ROBs). Think of them as sniper zones or micro ladders inside the bigger ladder/structure.
Order Blocks are usually used as zones of support and resistance on a trading chart where liquidity is present, or what some traders call "potential institutional interest zones". Order Blocks can be observed at the beginning of these strong moves of BOS or the CHoCH, leaving behind a zone (one or more candles) to be revisited later to balance the market. Therefore, these are interesting levels to place Limit/Market orders (sell the peaks or buy the valleys) instead of doing so at the swing highs or swing lows of the ladder (where BOS or CHoCH happened). The idea here is that the price could go deep into the ladder's step (peak or valley), and by doing so, it usually goes to these zones.
A bullish Order Block (Valley-OB) is the last bearish candle of a downtrend before a sequence of bullish candles (thus forming a "Valley"). A bearish Order Block (Peak-OB) is the last bullish candle of an uptrend before a sequence of bearish candles (thus forming a "Peak"). Our indicator captures the full range zones of the OB meaning not only the last candle but the sequence of same-type candles immediately next to it, which creates a zone, thus the name "OB/ROB Zone". Not only does the tool mark those levels on the chart, but it also has a smart tracking algorithm to remove the appropriate levels dynamically. It will monitor, candle by candle, what is happening to all the OBs/ROBs, and update them according to how they are being tested/visited (eg. weak testing being a touch, and strong testing being a touch of the same colour candle).
Bullish Valley-OB:
Bearish Peak-OB:
The indicator follows our concept of "Zone Activation" to determine whether to mark zones with dashed or solid lines.
If we take a bearish Peak-OB as an example, notice how it first gets drawn with a dashed red line (as the algorithm monitors how far the price moved away from the zone):
As price moves away (distance based on our Machin Learning (ML) model), it turns into solid lines:
Some people prefer to enter market orders or limit (pending) orders close to the zone, while others wait for it to hit. You may wait for these zones to turn into solid lines (meaning that the price made a decent move away from it before revisiting it). It depends on your trading strategy.
When Order Block (OB) zones break instead of holding the ladder, they turn into what we call Reversal Order Blocks (ROB); our algorithm of flipping these zones where price could react from the other side of the OB. Our algorithm monitor and highlight the most suitable ones to trade, based on +30 conditions and variables by our Machine Learning (ML) models. Examples of ROBs in the SMC or ICT trading community are a "Breaker Block", a "Mitigation Block" or a "Unicorn Setup". However, our algorithm filters the zones based on many factors such as ratios of price movement before, inside and after these zones, along with many other factors.
The algorithm monitors the ratios of how price moved into and away from the OB/ROB, as well as the type of move happening, to then filter the ones that are considered of high probability to break/not do a reaction.
A bullish Valley-OB (green) turns into a bearish Valley-ROB (neon red) where you may short (sell), while a bearish Peak-OB (red) turns into a bullish Peak-ROB (neon green) where you may long (buy).
Example of a bullish Valley-OB that turned into a bearish Valley-ROB:
Features
Log vs. Linear scale switch to show OBs/ROBs accordingly based on the ratios and the price action around these zones (before and after creation).
Uses our Machine Learning (ML) model to determine relevant Order Blocks (OBs) to show or hide based on price action.
Considers distribution and accumulation candles to find relevant Order Blocks.
Various types of triggers to mark those Order Blocks and their zones: breakout, close, hard close (open and close) or full close (low, high, open and close).
Monitors the 1:1 expansion of price from key areas of interest, which would change the importance of the zones through our concept of “Zone Activation”.
Allows for customization in the settings to display different types of Order Blocks (e.g., tested or untested).
Marking and invalidating levels based on many variables, including single or multiple candle zones, touching/closing beyond specific levels, weak/strong testing criteria, price tolerance % (near a level), and many more.
Provides color-coded visual representation for easier interpretation.
Why is it used?
Order Blocks (OB) and Reversal Order Blocks (ROB) represent the building blocks of price ladders, in conjunction with Swing Highs and Swing Lows. By identifying where liquidity is potentially present, they become common targets for big market players. Additionally, they provide clear invalidation points based on various types of candle closes, such as hard closes or simply a candle close.
One strategy that could be used is to open positions at these OB or ROB Levels as long as the chart maintains the trend (ladder), for a potentially higher win rate (or against it for a quick scalp). Be mindful of the breaking of a ladder or the building of a new one. A ladder breaks with a hard close (open and close) of a candle across the closest two levels; a ladder builds by not breaking back down across the levels it has tested. By definition, strong ladders will have a few untested levels and come back to wick them but still retain the structure of the laddering direction (trending with Lower Lows + Lower Highs or Higher Lows + Higher Highs).
🔶 COMBINING ALL TOOLS
In summary, Trendlines could be great tools to give you a general context of whether the price is laddering up or down. Once you spot the ladder, your goal is to either trade in its direction (not to go against the trend) or to counter-trend trade (contrarian). To do so, you could use the MSB tool to spot these BOS/CHoCH. And to give you more precise entries, you may rely on the OB/ROB zones which usually mesh over the ladder, to provide a sniper entry!
🔶 RISK DISCLAIMER
Trading is risky, and most day traders lose money. The risk of loss in trading can be substantial. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results. All content is to be considered hypothetical, selected after the fact, in order to demonstrate our product and should not be construed as financial advice. You should therefore carefully consider whether such trading is suitable for you in light of your financial condition.
Market Activity Risk"Market Activity Risk" (MAR) - Is a dynamic tool designed to structurize the competitive landscape of blockchain transaction blocks, offering traders a strategic edge in anticipating market movements.
By capturing where market participants are actively buying and selling, the MAR indicator provides insights into areas of high competition, allowing traders to make informed decisions and potentially front-run transactions.
At the heart of this tool are blockchain transaction fees , they can represent daily shifts in transaction fee pressures.
By measuring momentum in fees, we can analyze the urgency and competition among traders to have their transactions processed first. This indicator is particularly good at revealing potential support or resistance zones, areas where traders are likely to defend their positions or increase their stakes, thus serving as critical junctures for strategic decision-making.
Key Features:
Adaptable Standard Deviation Settings: Users have the flexibility to adjust the length of the standard deviation and its multipliers, managing the risk bands to their individual risk tolerance.
Color-Coded Risk Levels: The MAR indicator employs an intuitive color scheme, making it easy to interpret the data at a glance.
Multi-Currency Compatibility: While designed with Bitcoin in mind, the MAR indicator is versatile, functioning effectively across various cryptocurrencies including Ethereum, XRP, and several other major altcoins. This broad compatibility ensures that traders across different market segments can leverage the insights provided by this tool.
Customizable Moving Average: The 730-day moving average setting is thoughtfully chosen to reflect the nuances of a typical cryptocurrency cycle, capturing long-term trends and fluctuations. However, recognizing the diverse needs and perspectives of traders, the indicator allows for the moving average period to be modified.
EPS GridIntroduction:
This simple indicator offers insights into the relationship between stock prices and earnings, aiding in the assessment of valuation dynamics during different periods.
Understanding Price-to-Earnings (P/E) Ratio:
The commonly used Price to Earnings (P/E) ratio, calculated as Current Price divided by Earnings Per Share (EPS) over the trailing 12 months (TTM), serves as a fundamental metric. Here, we use this formula to estimate a stock's price. For instance, multiplying EPS by 10 provides an approximation of the stock price with a P/E ratio of 10.
The Grid Concept:
Utilizing this principle, a visual grid is constructed to illustrate how stock prices correlate with earnings. This grid facilitates the identification of both potential bargains and overvalued stocks.
How to Utilize:
This indicator is pre-configured with earnings multiples of 10, 15, 20, and 25. Simply add it to your chart and observe whether earnings demonstrate consistent growth. If prices lag behind earnings, a potential catch-up phase may ensue in the future.
Happy Investing!
Embark on your investment journey armed with this indicator, and may it guide you towards informed decisions and successful ventures.
Session Levels Predictor [LuxAlgo]The "Session Levels Predictor" indicator predicts the maximum/minimum levels that will be made within a user-specified session. Hit rate percentages are displayed to measure how often a specific level has been hit.
🔶 USAGE
The indicator can be used to estimate the expected maximum/minimum levels within a specified session, these are directly displayed at the start of a session. This operation can be useful to set take profits/stop losses levels when we expect to exit within a specific session.
Users can display up to 3 upper and lower extremities on their chart (by default only 2 upper and lower extremities are displayed), with their distance from the session opening price being determined by the user-set percentile setting, values closer to 100 will return levels farther away from the session opening price.
Predicting maximum/minimum levels effectively allows obtaining support/resistance levels for the user-defined session, with a breakout probability indicating how easy it can be for the price to reach the estimated levels. These levels can be extended outside the specified session, allowing to test their relevancy as support/resistance levels to prices outside the specified sessions.
🔶 DETAILS
To predict maximum/minimum levels made within a session we keep a record of the distance between a session's maximum/minimum value and the session opening price (opening price when the session starts).
By using the percentile_nearest_rank() on our recorded distances we draw levels from the session opening price. If a level is hit between 2 sessions, this is saved for further calculations.
Lastly, a % hit rate of these levels is shown at the sessions open, indicating the probability that these levels could be hit before the next session.
🔹 array.percentile_nearest_rank()
Returns the value for which the specified percentage of array values (percentile) is less than or equal to it, using the nearest-rank method.
For example, taking the 75th percentile from our recorded distances between the maximum session level and session opening price will return a new distance where 75% of the recorded distances are lower.
The same goes for the green session's open - low levels
🔶 SETTINGS
Session: User-defined session interval, uses the symbol timezone.
Percentile (1, 2, 3): K-th percentile used to estimate session max/min levels, higher values will return more distant levels.
Max Population: Maximum amount of recorded distance data for the calculation of percentiles.
🔹 Style
Extend Middle Line: Toggle to extend the blue Middle Line to the next session - Default disabled
Auto Fibonacci Supports [ProjeAdam]OVERVIEW
The Auto Fibonacci Supports indicator is designed for financial market analysis, particularly in identifying key support levels.
USER GUIDE:
The Auto Fibonacci Supports indicator is designed to identify key support levels based on the Fibonacci retracement theory. These levels are significant in technical analysis as potential areas where price movement can stall or reverse.
Customization
Users can activate or deactivate each support level and customize their color, enhancing the visual distinction on the chart
Setting Support Levels: The indicator allows users to set four distinct Fibonacci support levels.
These levels are defined as percentages and can be input using the input.float function. For example, the default values are set at 0.5, 0.618, 0.705, and 0.786 for the first, second, third, and fourth support levels, respectively.
Users can adjust these percentages according to their trading strategies.
Using Support Levels: These support levels are calculated based on the highest and lowest price values over a defined period (fib_support_length). The script calculates each support level by applying the Fibonacci ratio to the range between the highest and lowest prices.
The support levels are then plotted on the trading chart, offering a visual representation of potential support points where the price might experience resistance or reversal.
VİSUALİZATİON
Using pick signal Levels: The "pick signal level" feature in the Auto Fibonacci Supports indicator is designed to help traders identify specific price points where a trading signal might be generated.
This feature likely enables traders to choose a particular Fibonacci support level at which they might consider executing a trade.
By selecting a specific level, traders can focus on significant price points that align with their trading strategy, such as looking for potential buy or sell signals when the price of an asset reaches these key Fibonacci levels.
This helps in refining trading decisions and focusing on critical price movements.
LANGUAGE
The purpose of the "lang setting" is to provide language customization for the user interface.
This setting allows users to select their preferred language for the display of text and labels within the indicator.
Such a feature is particularly useful in making the tool accessible to a wider range of users from different linguistic backgrounds, enhancing user experience and understanding of the indicator's functionalities.
By offering multiple language options, the indicator becomes more versatile and user-friendly for traders around the globe.
Opportunity to examine different parities on the same chart
The script includes a section for setting up various pairs (like BTCUSDT, ETHUSDT, etc.) that users can select or deselect for analysis.
This feature enables traders to apply the Fibonacci support levels across multiple markets, allowing for comparative analysis and broader market insight.
By analyzing different pairs, traders can identify opportunities and patterns across various assets, enhancing their trading strategies.
This multipair functionality is particularly useful in diversified trading approaches.
ALGORITHM
In the "Auto Fibonacci Supports" indicator, calculating the high and low values is a crucial step.
This process involves identifying the highest and lowest price points of a financial instrument within a specific time frame, determined by the fib_support_length parameter.
The indicator scans historical data over this period to find these extreme values.
These high and low points serve as the reference for calculating the Fibonacci support levels, as they represent the full range of price movement in the selected time frame.
The accuracy and relevance of the support levels depend significantly on the correct identification of these high and low values.
Example
In this example, we can see the parities that fell below the first support level in the table, so we have the opportunity to quickly evaluate these parities.
Benefits
This indicator automates the process of identifying Fibonacci support levels, which can be a time-consuming task if done manually.
It offers traders customizable settings to adapt to different trading strategies and assets.
The visual representation on charts can help in making quicker and more informed trading decisions based on Fibonacci retracement levels.
If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .
Malaysian SnR LevelsThis indicator can be used to display support and resistance levels in accordance with Malaysian SnR , in which Support and Resistance are not areas in a chart but clear levels of a line chart. The term line chart refers the current chart in Tradingview as type Line (not Candles) with it's peaks and valleys.
There are 3 different horizontal levels in Malaysian SnR:
A-Level: This level is located at the peak of this line chart. It is named so because this peak has the shape of the letter A.
V-Level: Level at the valley of a line chart, which reminds of the letter V.
The A- and V-Levels are formed for the current chart / timeframe and you can define with the parameter Bars Lookback how many candles will be taken into account for adding the levels.
Gap level: This level is located at the Close/Open gap between two candles of the same color. The period for these levels is also defined by the option Bars Lookback .
The levels are shown as horizontal lines and mark Support when they are below the current price and Resistance when they are above it.
What makes the indicator so special is that conventional support and resistance indicators only use ranges, but Malaysian SnR uses clear and accurate levels at the peaks and valleys (and gaps), which can be of the state Fresh or Unfresh . But what does this state mean and how is it displayed in this indicator?
A level is designated as fresh if it has either not yet been tested, i.e. it has not been touched by a wick. If a level was no longer fresh, it can become fresh again if it is crossed by the body of a candle. If it is then touched by a wick again afterwards, it is considered unfresh (tested) again.
If a level is fresh, the theory of Malaysian SnR assumes that there is a greater probability that the price will react at that level and move in the opposite direction because this fresh Support / Resistance level is more significant than an unfresh level.
The indicator is calculating this state and displays the levels then in a different way. Fresh levels are displayed as solid lines, unfresh levels are displayed as dashed lines. It is also possible to hide unfresh levels, so that only the fresh levels are visible in the chart.
The Fresh -state of a level would be very hard to see without it the indicator:
If the script would just display all the levels that can be found for the Bars Lookback period, the chart woulkd still be full of levels. To filter this and display the most relevant levels, you can use the options Levels above/below price (number of levels) so that only the levels are displayed that are the closest ones to the current price.
Parameters of the indicator
Line Color: Line color of the levels
Line Width: Thickness of the levels
Display gap levels: Should the Gap-Levels be displayed or not
Display fresh levels only: Should unfresh / tested levels be hidden in the chart
Bars Lookback: Number of bars lookback period at which levels will be added to the chart
Levels Above Price: Number of levels that should be displayed above the price. It will be the closest levels to the price that can be found.
Levels Below Price: Number of levels that should be displayed below the price. It will be the closest levels to the price that can be found.
Timeframe Limit: Indicator will only be visible for this timeframe and above.
How to trade with Malaysian SnR levels?
One way to trade with these levels is for instance to wait on a higher timeframe like the Daily til price is reaching a fresh level. At this point a trader could switch to a lower timeframe to check if price is reacting at this level, which is when price is moving into the opposite direction.
So reaching a level of Support and then see price moving to the upside on a lower timeframe can be used as a buy signal - on the other hand if price is reaching a level of Resistance and then moving away from it to the downside on a lower timeframe, this can be used as a sell signal.
Trendlines [TradesAI]What is it?
This indicator allows the user to pick any Candle (preferably a Pivot, for better results) to draw the most relevant Trendlines from it as Origin, while keeping track of candle closes across these Trendlines to adjust or invalidate accordingly.
It allows for up to 2 Origins to be picked on chart. Remember to pick a Bullish candle to draw Downtrends, and a Bearish candle to draw Uptrends. The algorithm will draw the most suitable Active Trendlines from those Origin points.
How does it do it?
The indicator takes the Origin point as the first point of the Trendline, then starts looking for the immediate next same-type candle (Bullish to Bullish or Bearish to Bearish), to draw the Trendline between the Origin candle and this newer candle.
An Uptrend is a ray connecting two Bearish candles, as long as the second candle has a Low higher than the Low of the Origin (first) candle. A Downtrend is a ray connecting two Bullish candles, as long as the second candle has a High lower than the High of the Origin (first) candle.
Upon drawing, the indicator then starts monitoring and adjusting this Trendline, by keeping the Origin always the same, but changing the second point. The goal is to keep reducing the slope of the Trendline till it is at 0 degrees (horizontal line). That then makes the Trendline "Final".
So, the algorithm has 3 States for the Trendlines:
Initial: not tested, meaning price hasn't yet broken through it and closed a candle beyond it, to cause a re-adjustment of this Trendline.
Broken: candle Hard Closed (its Open and Close) across it but still the direction of the Trend is maintained with a new Trendline from the same Origin – could be replaced (or kept on chart as "Backside", which is what we call a Broken Trendline to be tested from the opposite side) with a new Trendline from the same Origin, to the newest candle that caused the break to happen, as then it becomes the new second point of that trendline.
Final: candle Hard Closed across it and can't draw a new Trendline from the same Origin maintaining the direction of the Trend (so an uptrend becomes a downtrend or a downtrend becomes an uptrend at this point, which is not allowed). This marks the end of Trendline adjustment for that Origin.
To summarize the algorithm, imagine starting from a candle and drawing the trendline, then keep re-adjusting it to make its slope less and less, till it becomes a horizontal line. That's the final state.
Unlike traditional trendline tools, this indicator takes into account numerous rules for each candlestick to determine valid support and resistance levels, which act as Liquidity Zones.
What does it do differently?
Unlike conventional trendline tools, this indicator allows the user to pick the Pivot point as Origin, then automatically recognizes and extends lines from them as Liquidity Zones where a reaction is expected. Moreover, the indicator monitors those trendlines in real-time to switch them from Buying to Selling zones, and vice-versa, as price structure changes.
Features
Log vs. Linear scale switch to show different trendlines accordingly. When updating the Trendlines, or deciding whether Touches/Hard Closes are met, it makes a difference.
Ability to show all forms of Trendlines, Final Trendlines or just Backside Trendlines.
Why is it used?
For experienced traders, it offers the advantage of time-efficiency, while new traders can bypass the steep learning curve of drawing trendlines manually, which could practically be drawn between any two candlesticks on the chart (unlimited variations).
Multi VWAP [MW]Introduction
The Multi VWAP tool extends the concept of using the Anchored Volume Weighted Average Price, popularized by its founder, Brian Shannon, founder of AlphaTrends, and creates automatic AVWAPS for multiple anchor points, such as for 2-day, 3-day, 4-day, 5-day, and custom date anchors as well as automagically creating month-to-date and year-to-date anchors. Currently, most standard VWAP tools allow users to place custom anchored VWAPs, but the routine of doing this for every equity being watched can become cumbersome. This tool makes that process multi-times easier. Brian Shannon is also the author of “Maximum Trading Gains With Anchored VWAP: The Perfect Combination of Price, Time, and Volume”. Available at Amazon.
Settings
Daily VWAP : A continuous line of the the daily Volume Weighted Average Price (VWAP)
Weekly VWAP : A continuous line of the weekly VWAP
2-Day AVWAP : The anchored VWAP from 2 trading days ago (holidays and weekends are excluded in this calculation)
3-Day AVWAP : The anchored VWAP from 3 trading days ago
4-Day AVWAP : The anchored VWAP from 4 trading days ago
5-Day AVWAP : The anchored VWAP from 5 trading days ago. The slope of this line and the position of the price relative to this line can be used to determine trend direction.
10-Day AVWAP : The anchored VWAP from 10 trading days ago
Month-to-Date AVWAP : The anchored VWAP from the beginning of the current month
Year-to-Date AVWAP : The anchored VWAP from the beginning of the current year
Custom Date AVWAP : Sets a date to begin an anchored VWAP starting from any time.
Use only the most recent VWAP for Week, Month, and Year: Toggles on and off the continuous weekly, monthly, and yearly VWAPs
Calculations
This indicator does not provide buy or sell signals. It is simply the VWAP calculated starting from an “anchor point”, or start time. It is the calculated by the summation of Price x Volume / Volume for the period starting at the anchor point.
How to Interpret
According to Brian Shannon, VWAP is an objective measure of what the average trader has paid for a particular equity over a given period, and is the value that large institutional investors frequently use as a trade signal. Therefore, by definition, when the price is above an AVWAP, buyers are in control for that period of time. Likewise, if the price is below the AVWAP, sellers are in control for that period of time.
Shannon also distinguishes the importance of an increasing or decreasing 5 day VWAP, which reflects the price sentiment, objectively, for roughly the last trading week, or 5 trading days. Pricing below a decreasing 5-day VWAP is considered very bearish, while pricing above an increasing 5-day VWAP is considered bullish and is recommended before considering long positions.
Additionally, a custom VWAP can be generated to coincide with important events, such as FOMC meetings, CPI reports, earnings reports, etc.
Practically speaking, price action can tend to change direction when a significant VWAP is hit, voiding buy and sell signals. Like moving averages, this indicator can show, in real-time, how a buy or sell signal should be interpreted. A significant AVWAP line is a point of interest, and can serve as strong support or resistance, because large institutions may be using those values for entries or exits. For a great analysis of how to use AVWAP, visit the AlphaTrends channel on Youtube here or you can buy Brian Shannon’s “Anchored VWAP” book on Amazon.
Other Usage Notes and Limitations
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
Additionally, the indicator may take a little longer to load than usual. On the rare occasion where it fails to load, you may need to remove the indicator and add it back to your chart. Also, if you do encounter this problem, avoid redrawing your chart while the indicator is being added to the screen.
Acknowledgements
This script uses the MarketHolidays library by @Protervus. Also, for debugging, the JavaScript-style Debug Console by @algotraderdev and the TimeFormattingLibrary by @twingall were invaluable. And, of course, without Brian Shannon's books, videos, and interviews, this indicator would would not be possible.
RMB - High and LowDescription:
Introducing the "RMB - High and Low" indicator, a versatile and powerful tool designed for traders who seek a comprehensive view of the market across multiple time frames. This indicator is tailored to identify and display key support and resistance levels, adapting to your chosen time frame - from as short as 15 minutes to as long as a week.
Key Features:
Multi-Time Frame Flexibility : Easily switch between 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, daily, and weekly time frames to align with your trading strategy and market analysis.
Dynamic Support and Resistance Levels : The indicator plots the highest high (resistance) and the lowest low (support) for the selected time frame, providing real-time insights into market behavior and potential pivot points.
Time Frame-Specific Labels : Each resistance and support line is labeled with the corresponding time frame, offering a clear and immediate reference, enhancing your chart analysis and decision-making process.
User-Friendly Interface : A simple and intuitive input interface allows for quick adjustments, making it easy to toggle between different time frames based on your trading needs.
Visual Clarity : Designed with distinct color coding - green for resistance and red for support - ensuring that key levels are easily identifiable at a glance.
Ideal Use Cases:
Day Trading: Utilize shorter time frames to capture quick market movements and identify intraday pivot points.
Swing Trading: Leverage longer time frames to understand broader market trends and establish entry and exit points.
Diverse Strategies: Whether you're scalping, trend following, or employing mean reversion tactics, adapt the indicator to fit your unique approach.
Conclusion:
The "RMB - High and Low" indicator is a must-have tool for traders who demand flexibility and precision in their technical analysis. By offering insights across various time frames, this indicator empowers you to make well-informed decisions, adapt to market changes swiftly, and enhance your trading performance.