Pivot Length BandsPivot Length Bands Indicator
Description:
The Pivot Length Bands indicator is designed to visualize price volatility based on pivot points and ATR-adjusted pivot points. I. These bands can help traders identify potential support and resistance levels and assess the current volatility of the market.
Inputs:
Swing Length: The length of the swing used to calculate the pivot points and average true range.
Pivot Length Left Hand Side: The number of candles to the left of the current pivot point to consider when calculating the pivot high and low.
Pivot Length Right Hand Side: The number of candles to the right of the current pivot point to consider when calculating the pivot high and low.
Usage:
Traders can use the bands as potential levels for placing stop-loss orders or profit targets.
The width of the bands adjusts dynamically based on the current volatility of the market.
Note:
This indicator is best used in conjunction with other technical analysis tools and should not be relied upon as a standalone trading signal.
EXAMPLE 1:
Entry:
Exit:
EXAMPLE 2:
Entry:
Exit:
Puntos pivote y niveles
Fibonacci Entry SignalsЭтот индикатор "Fibonacci Entry Signals" помогает определить точки входа в покупку и продажу на основе уровней Фибоначчи и скользящей средней.
Ключевые особенности:
Уровни Фибоначчи: Индикатор рисует на графике несколько уровней Фибоначчи, таких как 38.2%, 50% и 61.8%. Эти уровни определяются на основе крайних точек цены за последние 100 баров. Уровень 0% соответствует самой низкой точке, а уровень 100% - самой высокой.
Точки входа: При наступлении условий входа в покупку или продажу, индикатор отмечает на графике точки входа в виде треугольников вверх или вниз соответственно. Условия входа в покупку определяются, когда цена пересекает уровень Фибоначчи 38.2% вверх и находится выше скользящей средней за последние 50 баров. Условия входа в продажу аналогичны, но цена пересекает уровень Фибоначчи 61.8% вниз.
Этот индикатор может быть полезен для трейдеров, которые используют уровни Фибоначчи в своей торговой стратегии и ищут точки входа в рынок. Однако, перед использованием на реальном счете, рекомендуется провести тщательное тестирование и адаптацию к своим индивидуальным потребностям и стратегии торговли.
Давайте рассмотрим, как пользоваться индикатором "Fibonacci Entry Signals":
Установка на график: Для начала необходимо добавить индикатор на график вашего торгового актива. Вы можете сделать это, выбрав его из списка индикаторов в торговой платформе.
Интерпретация уровней Фибоначчи: Индикатор отображает на графике несколько уровней Фибоначчи, таких как 38.2%, 50% и 61.8%. Понимание этих уровней поможет вам определить возможные точки входа в рынок. Обычно, уровень 38.2% используется как уровень поддержки, а уровень 61.8% - как уровень сопротивления.
Точки входа в покупку и продажу: Индикатор помогает определить моменты, когда можно войти в покупку или продажу. При наступлении условий входа в покупку, индикатор отмечает на графике точку входа в виде зеленого треугольника вверх. При наступлении условий входа в продажу, индикатор отмечает точку входа на графике в виде красного треугольника вниз.
Управление позициями: После получения сигнала от индикатора, решение о входе в позицию остается за вами. Важно помнить, что индикатор является только инструментом, который помогает в принятии решений, и его сигналы всегда следует подтверждать другими аспектами вашей торговой стратегии, такими как подтверждение другими индикаторами или анализ фундаментальных данных.
Тестирование и адаптация: Прежде чем использовать индикатор на реальном счете, рекомендуется провести тщательное тестирование на исторических данных и адаптировать его к своим индивидуальным торговым потребностям и стратегии.
Индикатор "Fibonacci Entry Signals" может быть полезным инструментом для трейдеров, которые используют уровни Фибоначчи в своей торговой стратегии и ищут точки входа в рынок.
his "Fibonacci Entry Signals" indicator helps identify entry points for buying and selling based on Fibonacci levels and moving averages.
Key features:
Fibonacci Levels: The indicator draws several Fibonacci levels on the chart, such as 38.2%, 50%, and 61.8%. These levels are determined based on the extreme price points over the last 100 bars. The 0% level corresponds to the lowest point, and the 100% level corresponds to the highest point.
Entry Points: When conditions for buying or selling occur, the indicator marks entry points on the chart as upward or downward triangles, respectively. Entry conditions for buying are determined when the price crosses above the 38.2% Fibonacci level and remains above the 50-bar moving average. Entry conditions for selling are similar, but the price crosses below the 61.8% Fibonacci level.
This indicator can be useful for traders who use Fibonacci levels in their trading strategy and look for entry points in the market. However, before using it on a real account, it is recommended to conduct thorough testing and adaptation to your individual trading needs and strategy.
Let's look at how to use the "Fibonacci Entry Signals" indicator:
Installation on the Chart: First, you need to add the indicator to the chart of your trading asset. You can do this by selecting it from the list of indicators in the trading platform.
Interpreting Fibonacci Levels: The indicator displays several Fibonacci levels on the chart, such as 38.2%, 50%, and 61.8%. Understanding these levels will help you identify potential entry points in the market. Usually, the 38.2% level is used as support, and the 61.8% level is used as resistance.
Entry Points for Buying and Selling: The indicator helps identify moments when you can enter buying or selling positions. When conditions for buying occur, the indicator marks the entry point on the chart as a green upward triangle. When conditions for selling occur, the indicator marks the entry point on the chart as a red downward triangle.
Position Management: After receiving a signal from the indicator, the decision to enter a position is up to you. It's important to remember that the indicator is just a tool to help you make decisions, and its signals should always be confirmed by other aspects of your trading strategy, such as confirmation from other indicators or fundamental analysis.
Testing and Adaptation: Before using the indicator on a real account, it's recommended to conduct thorough testing on historical data and adapt it to your individual trading needs and strategy.
The "Fibonacci Entry Signals" indicator can be a useful tool for traders who use Fibonacci levels in their trading strategy and look for entry points in the market.
Vanitati's Market Scope=========================================================
How to Use the Indicator
=========================================================
Configuration: Begin by setting the session times to match your trading interests. Customize the colors and styles according to your preferences.
Observation: Watch for the high and low markers of each session to form the initial balance. Note how the price moves in relation to these levels.
Action: Pay special attention to God Candles and engulfing patterns, especially when they coincide with high volume. These may offer trading signals in line with your strategy.
Adjustment: Regularly review and adjust the settings (e.g., session times, lookback periods) based on market conditions and your trading performance.
=========================================================
Initial Balance (IB) Settings:
=========================================================
Purpose: Marks the high and low of a specific trading session to indicate the initial range of market movement.
Usage: Customize session times for New York (NY), London (LN), and Tokyo (TK) to see the initial balance of each. Colors for the high, low, and mid-point lines can be adjusted.
Practical Application: Traders can use these lines to gauge market volatility or breakouts outside of these initial ranges.
=========================================================
Session Settings and Session Highlight Boxes
=========================================================
Purpose: Highlights trading sessions with customizable background colors and border styles, allowing for a quick visual reference of market sessions.
Usage: Set the times for NY, London, and Tokyo sessions along with desired background colors to have these periods visually marked on the chart.
Practical Application: Helps in identifying the overlap between major market sessions and potential increases in trading volume and volatility.
=========================================================
God Candle Settings
=========================================================
Purpose: Identifies significantly large and voluminous candles, known as "God Candles", which could signal strong market movements.
Usage: Adjust the lookback period, line length, and volume criteria to define what constitutes a God Candle. These settings also allow for the display of diamonds on bars that meet certain criteria but are not classified as God Candles.
Practical Application: These candles can signal strong buying or selling pressure and might be used as potential entry or exit points based on the trader's strategy.
=========================================================
Additional Features
=========================================================
Session Time Filters: Allows for filtering signals based on the time of day, useful for focusing on specific market hours.
Engulfing Pattern Detection: The script includes logic to identify bullish and bearish engulfing patterns, adding another layer of analysis for potential trading opportunities.
Volume Analysis: Incorporates volume into the analysis of God Candles and engulfing patterns to identify significant market movements.
OHT Harmonic LevelsHarmonic Level plotter I've been talking about on the discord - right now a lot of this is manual and some day maybe we can get it to be automatic across different time frames but that is probably far off in the future.
For now, you need to probably create a new tab/layout for each instrument you add this to. It will then ask for the long start price and short start price. I would like to leave this how it is as I don't like using the top of pivot points, its lazy and you don't learn to go find the current trend.
The levels have an area around them equal to 10% of the rotation size, so if NQ has a rotation size of 60, there is a 6pt area around the actual level to either size to account for rotation average changes.
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.
Market Structure AlgoThe "Market Structure Algo" (MS Algo) is a comprehensive tool developed by OmegaTools. This advanced indicator is designed to analyze the market's structure through a combination of pivot highs and lows, creating a nuanced understanding of potential market movements.
Core Functionality:
- Internal and External Market Structure (MS): The MS Algo differentiates between internal and external market structures by analyzing pivot points over different periods. This dual analysis allows for a deeper understanding of short-term and long-term market trends.
- Zone Distance and Visualization: The indicator introduces a novel approach to visualizing potential areas of interest or 'zones' around pivot points, adjustable through the 'Zone Distance' setting. This feature enhances the visual representation of zone created on the chart that can be used as a support and resistance area.
- Dynamic Signal Generation: Utilizing a comprehensive algorithm, the MS Algo identifies potential signals for entering and exiting trades based on the internal market structure. These signals are visually represented on the chart, aiding in decision-making. These signals are based on the acceptance and confirmed breakout or the refusal of the pivot points by the price.
Operational Mechanism:
- The MS Algo calculates pivot highs and lows over specified periods (input by the user) to determine the market's current structure. It then evaluates the market's position relative to these pivot points to assign a market structure score, which can range from bullish to bearish extremes.
- Signals for long and short positions, as well as exits, are generated based on the interaction between the close price and these pivot points.
- Additionally, the indicator plots zones around the moving average, adjusted for the ATR and the specified 'Zone Distance,' providing a visual guide to areas where the market might find support or resistance.
Usage Guidelines:
- To apply the MS Algo to your TradingView charts, adjust the 'Internal MS' and 'External MS' settings to align with your analysis preferences. The 'Zone Distance' input allows for customization of the zone visualization feature.
- The color-coded signals and zone fillings serve as guides to understanding the current market structure and potential areas of interest. These should be interpreted within the context of a broader trading strategy and risk management framework.
Understanding the Indicator's Originality:
The MS Algo stands out due to its unique blend of pivot analysis and zone visualization, providing traders with a detailed view of the market's structure that goes beyond traditional indicators. Its originality lies in the methodological integration of these components to offer a tool that enhances market analysis.
Responsible Use Disclaimer:
The financial markets are unpredictable, and the MS Algo is designed to serve as an analytical tool within a trader's arsenal, not a standalone solution for trading decisions. Traders should use this tool judiciously, alongside comprehensive market analysis and sound risk management practices. It's important to understand that the MS Algo does not guarantee trading success nor does it claim to predict specific price movements. Trading involves risks, including the potential loss of capital.
ATR Price Targets w/POC
ATR Price Targets with Point of Control (POC):
This script is designed to help traders identify key price target levels based on configurable multipliers of the the Average True Range (ATR) and the volume based Point of Control (POC). It is intended for intraday traders looking to capture significant price movements.
Features:
ATR Price Targets: The script calculates three levels of price targets above and below the first bar of the day, based on the ATR of the last 22 days (assuming 5-minute candles). These targets are adjustable through the settings, allowing traders to set their own ATR multipliers.
Point of Control (POC): The POC is determined as the price level of the highest volume bar since the start time, providing an indication of the most traded price within the specified period.
Customizable Start Time: Traders can set their desired start time for the calculation of price targets and POC, allowing for flexibility in aligning the indicator with their trading strategy.
Plot Lines: The ATR price targets are plotted as lines for easy visualization on the chart.
Usage:
The ATR price targets can be used as potential take-profit or stop-loss levels.
The POC can serve as a key level for assessing market sentiment and potential reversals.
Traders can adjust the ATR multipliers and start time based on their specific trading style and market conditions.
Settings:
ATR Price Targets 1, 2, 3: Adjust the multipliers for the ATR price targets. By default, these are set to 1*ATR for T1+/T1-, 3*ATR for T2+/T2- and ATR*6 for T3+/T3-. Adjust with caution as the price targets found in defaults have proven to be more accurate over intraday cycles for volatile stocks.
Start Hour & Start Minute: Set the starting hour and minute for the calculations. By default, these are set to the opening 5 minute intraday bar, but can also be set to the opening bar of pre-market hours.
Fourier Smoothed Hybrid Volume Spread AnalysisIndicator id:
USER;91bdff47320b4284a375f428f683b21e
(only relevant to those that use API requests)
MEANINGFUL DESCRIPTION:
The Fourier Smoothed Hybrid Volume Spread Analysis (FSHVSA) indicator is an innovative trading tool designed to fuse volume analysis with trend detection capabilities, offering traders a comprehensive view of market dynamics.
This indicator stands apart by integrating the principles of the Discrete Fourier Transform (DFT) and volume spread analysis, enhanced with a layer of Fourier smoothing to distill market noise and highlight trend directions with unprecedented clarity.
This smoothing process allows traders to discern the true underlying patterns in volume and price action, stripped of the distractions of short-term fluctuations and noise.
The core functionality of the FSHVSA revolves around the innovative combination of volume change analysis, spread determination (calculated from the open and close price difference), and the strategic use of the EMA (default 10) to fine-tune the analysis of spread by incorporating volume changes.
Trend direction is validated through a moving average (MA) of the histogram, which acts analogously to the Volume MA found in traditional volume indicators. This MA serves as a pivotal reference point, enabling traders to confidently engage with the market when the histogram's movement concurs with the trend direction, particularly when it crosses the Trend MA line, signalling optimal entry points.
It returns 0 when MA of the histogram and EMA of the Price Spread are not align.
HOW TO USE THE INDICATOR:
The FSHVSA plots a positive trend when a positive Volume smoothed Spread and EMA of Volume smoothed price is above 0, and a negative when negative Volume smoothed Spread and EMA of Volume smoothed price is below 0. When this conditions are not met it plots 0.
ORIGINALITY & USEFULNESS:
The FSHVSA is unique because it applies DFT for data smoothing, effectively filtering out the minor fluctuations and leaving traders with a clear picture of the market's true movements. The DFT's ability to break down market signals into constituent frequencies offers a granular view of market dynamics, highlighting the amplitude and phase of each frequency component. This, combined with the strategic application of Ehler's Universal Oscillator principles via a histogram, furnishes traders with a nuanced understanding of market volatility and noise levels, thereby facilitating more informed trading decisions.
DETAILED DESCRIPTION:
My detailed description of the indicator and use cases which I find very valuable.
What is the meaning of price spread?
In finance, a spread refers to the difference between two prices, rates, or yields. One of the most common types is the bid-ask spread, which refers to the gap between the bid (from buyers) and the ask (from sellers) prices of a security or asset.
We are going to use Open-Close spread.
What is Volume spread analysis?
Volume spread analysis (VSA) is a method of technical analysis that compares the volume per candle, range spread, and closing price to determine price direction.
What does this mean?
We need to have a positive Volume Price Spread and a positive Moving average of Volume price spread for a positive trend. OR via versa a negative Volume Price Spread and a negative Moving average of Volume price spread for a negative trend.
What if we have a positive Volume Price Spread and a negative Moving average of Volume Price Spread ?
It results in a neutral, not trending price action.
Thus the indicator returns 0.
In the next Image you can see that trend is negative on 4h, neutral on 12h and neutral on 1D. That means trend is negative .
I am sorry, the chart is a bit messy. The idea is to use the indicator over more than 1 Timeframe.
What is approximation and smoothing?
They are mathematical concepts for making a discrete set of numbers a
continuous curved line.
Fourier and Euler approximation of a spread are taken from aprox library.
Key Features:
Noise Reduction leverages Euler's White noise capabilities for effective Volume smoothing, providing a cleaner and more accurate representation of market dynamics.
Choose between the innovative Double Discrete Fourier Transform (DTF32) and Regular Open & Close price series.
Mathematical equations presented in Pinescript:
Fourier of the real (x axis) discrete:
x_0 = array.get(x, 0) + array.get(x, 1) + array.get(x, 2)
x_1 = array.get(x, 0) + array.get(x, 1) * math.cos( -2 * math.pi * _dir / 3 ) - array.get(y, 1) * math.sin( -2 * math.pi * _dir / 3 ) + array.get(x, 2) * math.cos( -4 * math.pi * _dir / 3 ) - array.get(y, 2) * math.sin( -4 * math.pi * _dir / 3 )
x_2 = array.get(x, 0) + array.get(x, 1) * math.cos( -4 * math.pi * _dir / 3 ) - array.get(y, 1) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(x, 2) * math.cos( -8 * math.pi * _dir / 3 ) - array.get(y, 2) * math.sin( -8 * math.pi * _dir / 3 )
Fourier of the imaginary (y axis) discrete:
y_0 = array.get(x, 0) + array.get(x, 1) + array.get(x, 2)
y_1 = array.get(x, 0) + array.get(x, 1) * math.sin( -2 * math.pi * _dir / 3 ) + array.get(y, 1) * math.cos( -2 * math.pi * _dir / 3 ) + array.get(x, 2) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(y, 2) * math.cos( -4 * math.pi * _dir / 3 )
y_2 = array.get(x, 0) + array.get(x, 1) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(y, 1) * math.cos( -4 * math.pi * _dir / 3 ) + array.get(x, 2) * math.sin( -8 * math.pi * _dir / 3 ) + array.get(y, 2) * math.cos( -8 * math.pi * _dir / 3 )
Euler's Smooth with Discrete Furrier approximated Volume.
a = math.sqrt(2) * math.pi / _devided
b = math.cos(math.sqrt(2) * 180 / _devided)
c2 = 2 * math.pow(a, 2) * b
c3 = math.pow(a, 4)
c1 = 1 - 2 * math.pow(a, 2) * math.cos(b) + math.pow(a, 4)
filt := na(filt ) ? 0 : c1 * (w + nz(w )) / 2.0 + c2 * nz(filt ) + c3 * nz(filt )
Usecase:
First option:
Leverage the script to identify Bullish and Bearish trends, shown with green and red triangle.
Combine Different Timeframes to accurately determine market trend.
Second option:
Pull the data with API sockets to automate your trading journey.
plot(close, title="ClosePrice", display=display.status_line)
plot(open, title="OpenPrice", display=display.status_line)
plot(greencon ? 1 : redcon ? -1 : 0, title="position", display=display.status_line)
Use ClosePrice, OpenPrice and "position" titles to easily read and backtest your strategy utilising more than 1 Time Frame.
Indicator id:
USER;91bdff47320b4284a375f428f683b21e
(only relevant to those that use API requests)
Gaps Profile [vnhilton]Note: If you get an error preventing indicator from executing due to a loop running longer than >500ms, please lower the amount of boxes shown and/or increase the minimum gap % threshold.
OVERVIEW
The Gaps Profile (GP) simply shows the remaining gaps on the chart that have yet to be closed. Gaps are created where there's a distance between the current open and the previous close. Big gaps suggest change in sentiment and volatility causing prices to pull away thereby creating gaps. Gaps can be used as pivot areas where price may attempt to close the inefficiency entirely and/or serve as supply/demand zones.
(FEATURES)
- 3 to 499 remaining up/down gaps can be displayed on the chart (furthest gaps away from price are removed to make way for new gaps)
- Minimum gap % threshold
- Ability to highlight largest or newest up/down gap
- 4 GP color themes: Mono, Up/Down, Up/Down Largest Gradients, Up/Down Newest Gradients
- GP Type: Left, Right (how it is built - overlapping gaps plotted from left/right to right/left)
- GP offset from current bar
- Box border width
- Box border style for up/down: Dashed, Dotted, Solid
- Toggles to hide border/box with ease
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)
Prior Day LevelsA simple script that plots the previous day's high, midway, and low points. You can also set alerts with this script, allowing you the ability to not have to stare at the charts all day.
Fibonacci Archer Box [ChartPrime]Fibonacci Archer Box (ChartPrime) is a full featured Fibonacci box indicator that automatically plots based on pivot points. This indicator plots retracement levels, time lines, fan lines, and angles. Each one of these features are fully customizable with the ability to disable individual features. A unique aspect to this implementation is the ability to set targets based on retracement levels and time zones. This is set to 0.618 by default but you can pick any Fibonacci zone you like. Also included are markings that show you when Fibonacci levels are met or exceeded. These moments are plotted on the chart as colored dots that can be enabled or disabled. Along with these markings are crosses that can be shown when targets are hit. Both of these markings are colored with the related Fibonacci level colors.
When there is a zig-zag, this indicator will test to see if the zig-zag meets the criteria set up by the user before plotting a new Fibonacci box. You can pick from either higher highs or lower highs for bearish patterns, and higher lows or lower lows for bullish patterns. Both patterns can be set to use both when finding new boxes if you want to make it more sensitive. You also have the option to filter based on minimum and maximum size. If the box isn't within the selected size range, it will simply be ignored. The pivot levels can be configured to use either candle wicks or candle bodies. By default this is configured to use candle wick with a lookforward of 5 and lookback of 10.
We have included alerts for Fibonacci level crosses, Fibonacci time crosses, and target hits. All alerts are found in the add alert section built into tradingview to make alert creation as easy as possible. Each alert is labeled with their correct names to make navigation simple.
W.D. Gann, a renowned figure in the world of trading and market analysis, is often questioned for his use of Fibonacci levels in his strategies. However, evidence points to the fact that Gann did not directly employ Fibonacci price levels in his work. Instead, Gann had his unique approach, dividing price ranges into thirds, eighths, and other fractions, which, although somewhat aligning with Fibonacci levels, are not exact matches. It is clear that Gann was familiar with Fibonacci and the golden ratio, as references to them appear in his recommended reading list and some of his writings. Despite this awareness, Gann chose not to incorporate Fibonacci levels explicitly in his methodologies, preferring instead to use his divisions of price and time. Notably, Gann's emphasis on the 50% level—a marker not associated with Fibonacci numbers—further illustrates his departure from Fibonacci usage. This level, despite its popularity among some Fibonacci enthusiasts, does not stem from Fibonacci's sequence. This is why we opted to call this indicator Fibonacci Archer Box instead of a Gann Box as we didn't feel like it was appropriate.
In summary, the Fibonacci Archer Box (ChartPrime) is a tool that incorporates Fibonacci retracements and projections with an automated pivot point-based plotting system. It allows for customization across various features including retracement levels, timelines, fan lines, and angles, and integrates visual cues for level crosses and target hits. While it acknowledges the methodologies of W.D. Gann, it distinctively utilizes Fibonacci techniques, providing a straightforward tool for market analysis. We hope you enjoy using this indicator as much as we enjoyed making it!
Enjoy
True Median (With EMA)
This indicator was inspired by the concept of mean revision and is best to be used with that strategy in mind. True median takes the high and low within a determined length and finds the average between those two points and then plots an EMA for the median with an optional EMA for both the high and low.
HOW TO USE:
This indicator has a few uses it can be implemented with.
The first and most obvious is that it can act as an area of support and resistance within bigger and smaller time frames. Second, the median can act as an entry or exit point, as generally big movements will occur within the mediums of price points. EMA crossovers are also a way to use this indicator, if the median, high, or low cross over their EMA, that can act as a signal for price movement and continuation of a pre existing trend. Of course this is also a good indicator of volatility, as the wider the channels are between high and low the more volatile things are becoming.
I hope you enjoy and let me know how this indicator works for you!
Pivots and SwingsThis indicator displays simple pivots of varying degrees and connects them into swings whilst displaying the information of each swing.
First order pivot highs are confirmed when the N number of bars each side of the bar in question have a lower high whilst a first order pivot low is confirmed when the N number of bars on each side of the bar in question have a higher low. In this script N is set to 2 as a default, so when the middle bar of a set of 5 bars has the highest high, then it is considered a first order pivot high and vice versa for lows.
Second order pivot highs are confirmed when a first order pivot is higher than the first order pivot points on either side of the pivot point in question. Second order pivot lows are confirmed when a first order pivot low is lower than the first order pivot lows either side of the pivot in question.
Third order pivots follow the same logic but consider the highest and lowest second order pivots
A quick note on how the bars are coloured basis trends. If price breaks through the last first order pivot high, the bars will be coloured in a (default) green sequence and will stay green until price moves back below the most recent first order pivot low, at which time it will revert to a (default) red sequence.
The information about the duration and magnitude of the swings are displayed in an effort to identify when a swing leg of an overall trend may be shortening which signifies a weakening trend, or lengthening to signify a trend that is gaining in strength.
I hope you find this indicator useful!
Support and Resistance ZoneSupport and Resistance Zone Indicator :
Introduction :
The purpose of this indicator is to identify the chart symbol's main supports and resistances. It displays these key zones, which are very important psychological points for traders. Since support and resistance are not very precise levels, the indicator displays them as zones.
Pivots :
Pivots are a key concept in identifying support and resistance. The indicator uses two types of pivot:
Pivot high : This is a high point that has not been reached by a user-defined number of candles on either the left and right of this candle. The " left pivot leg " is the number of candles before this pivot point that have not reached the realized high, and the " right pivot leg " is the number of candles after this pivot point that have not reached this high. If these two conditions are met, the pivot point is considered a turning point, and resistance is probably the cause.
Pivot low : This is a low point that has not been reached by a user-defined number of candles on either the left or right. The " left pivot leg " is the number of candles before this pivot point that have not reached the candle low, and the " right pivot leg " is the number of candles after this pivot point that have not reached this low. If these two conditions are met, the pivot point is considered a turning point, and support is probably the cause.
Support/Resistance area :
If a pivot point has been identified, the indicator considers it a resistance if it's a pivot high, or a support if it's a pivot low. To define the support or resistance zone, we'll use the ATR (Average True Range), an indicator that measures asset volatility. We'll take the ATR of the candle for which the pivot was spotted, and use it as the width of the support or resistance zone. Thus the upper line of support/resistance is at pivot+atr/2 and the lower line is at pivot-atr/2 . The greater the volatility, the larger the zone.
New Support/Resistance :
If a new pivot has been identified, but the level of this pivot lies between the lower line and the upper line of the previous support or resistance, the indicator considers this to be the same support or resistance as before. In this case, no new support or resistance is created. The pivot must be outside the area of the previous support or resistance to be validated.
Anticipated Support/Resistance :
This indicator also allows early detection of support or resistance. To do this, the value of the right pivot legs will be shortened in order to find these areas more quickly. The support or resistance will then be considered anticipated and may disappear at any time if the high/low is reached. On the other hand, if the high/low is not reached, and a number of candles equal to the " Right Pivot Legs" parameter has elapsed since the detection of this anticipated support/resistance, it will be considered validated and will integrate the other supports/resistances of the chart.
Extended supports/resistances :
For a more optimal view, the indicator allows the user to choose the number of last support or resistance levels to be extended to the last candle. This must be specified in the indicator parameters.
Parameters :
Pivot Legs : Determine the left and right legs of the pivot i.e the number of candle before and after the pivot that doesn’t reach pivot point. The pivot is validated only if this two conditions are verified.
Extend Last Supports : Number of supports to extend to the last bar
Extend Last Resistances : Number of resistances to extend to the last bar
Show Support/Resistance Anticipated : If yes, will find anticipated support and resistance
Right Pivot Legs for Anticipation : Determine the right legs of pivots to find faster a support or a resistance.
Conclusion :
This indicator plot support and resistance zones based on pivot. The width of support and resistance zones are calculated with ATR. Possibility to find anticipated support and resistance in order to have more timeliness informations.
Enjoy the indicator and don’t forget to take the trade ;)
Custom Swing Index [AstroHub]Custom Swing Index - Unleashing Precision in Trend Analysis
🌟 Overview:
The Custom Swing Index is a meticulously crafted tool that empowers traders with advanced insights into market dynamics, specifically focusing on identifying potential trend reversals. Developed by AstroHub, this indicator stands out for its unique combination of price-related calculations, ratios, and averages, providing a comprehensive and nuanced view of market sentiment.
📈 Key Components:
Price Calculation:
- Price Change: Captures the difference between the current and previous closing prices.
- High and Low Points: Analyzes the high and low points of each bar for crucial price movement data.
Ratios and Averages:
- Upper-Lower Shadow Ratio: Measures the relationship between the upper and lower shadows.
- Open-Close Ratio: Evaluates the ratio of opening to closing prices.
- Sum Price Changes: Sums up price changes over a specified period.
Differences and Shadows:
- Open-Close Difference: Considers the difference between opening and closing prices.
- Upper and Lower Shadow Ratios: Examines the proportions of upper and lower shadows.
Bar Size Metrics:
- Average Bar Size: Determines the average size of each bar.
- High-Low Difference: Measures the difference between the high and low points.
Swing Indicator Calculation:
- The Custom Swing Index is the result of combining these components, creating a dynamic metric that reflects potential trend reversals.
🚥 How to Use:
Understanding the Indicator:
- Bullish signals may be indicated when the swing index surpasses a defined threshold.
- Bearish signals may be indicated when the swing index falls below the negative threshold.
Visual Interpretation:
- Color-coded bars enhance visual interpretation, turning green for bullish conditions and red for bearish conditions.
Entry Points:
- Look for entry points where circle markings are present, indicating potential opportunities.
Alerts:
- Integrated alerts keep traders informed of significant swings, ensuring timely decision-making.
Geometric Trend Angle [AstroHub]This script, "Geometric Trend Angle," is designed to identify trend reversals based on the geometric angle of the price chart. Here's a detailed explanation of its originality, functionality, and usage:
Originality and Usefulness:
The uniqueness of this script lies in its approach to trend reversal detection through the calculation of the geometric trend angle. Unlike traditional methods, this script combines the analysis of the angle of the price movement with specific conditions for identifying potential trend reversals.
How it Works:
Length and Trend Angle: The user sets the "Length" parameter, determining the period for calculating the trend angle. The script then computes the trend angle, representing the change in prices over the specified period.
Trend Reversal: The script identifies potential trend reversals when the trend angle changes from positive to negative, and the current closing price is higher than the previous closing price.
Green Reversal: Additionally, the script looks for instances where the trend angle changes from negative to positive, and the current closing price is lower than the previous closing price, indicating a potential reversal to the downside.
Graphical Representation: The script visually highlights the identified reversal points on the chart with labels ("Trend Reversal" and "Green Reversal") and draws a line from the reversal point for better visualization.
Alerts: Traders are alerted to potential trend reversals and green reversals, allowing for timely responses to changing market dynamics.
How to Use:
Apply the script to your TradingView chart.
Customize the "Length" parameter based on your preference and analysis.
Observe the colored candles and graphical elements to identify potential trend reversals.
Pay attention to alerts for timely notifications of reversal signals.
Conclusion:
The "Geometric Trend Angle" script provides a unique perspective on trend reversals, combining geometric angle analysis with specific conditions for improved accuracy. Traders can use it as part of their overall analysis to make informed decisions in the dynamic market environment.
Local Highs & Lows ATC-LHAL [ATC]What does this indicator do?
This indicator plots the highest and lowest historical price for each candle for a specified time interval, so you can see for each candle which price was the historical ("local") maximum or minimum in the defined time interval. It helps you not to lose sight of previous highs and lows, even when working with short time frames.
In the example chart you can see the highest price for each candle, that have occurred during a defined time interval (adjustable in the indicator settings), here as an example during 1 day.
So, for example, during trading in a 5m chart, you can always see the highest and lowest price, that occurred e.g. some time ago.
Where is the benefit?
For trading, it can be a strategic advantage to know the last decisive high or low in a defined period of time.
If the time frame is very short, e.g. 5m as in the example chart shown, then the overall overview is often missing: It is often of interest to know at what price the last high was within the last day, for example. This indicator can therefore be configured by specifying a time interval so that this local high is always displayed. In the example chart, this high is shown as a plotted green line.
The same is true with the historical low point in a defined interval: This is shown in red in the example chart. As an example, one day was specified for the lookback period for both the local high and the local low.
How is the data for each candle calculated?
The indicator's script plots the highest or lowest price for each candle that occurred in the specified time period. The loopback periods can be defined separately for the high price and low price.
How is the indicator configured?
Inside of the settings of the indicator you can set the High Lookback Interval and the Low Lookback Interval easily, for example 1 day, or 30 minutes, just as you like.
This interval will be the lookback period, and the highest or lowest price that occurred during this interval will be plotted.
Why is this script special?
Unlike most other scripts, the time interval can be specified in seconds, minutes, hours or days and not by a number of candles. It is therefore independent of the time interval. It is no longer necessary to adjust the number of candles accordingly, when you switch the time frame.
Have fun!
HT: Intraday LevelsIndicator draws several most important intraday levels: last day RTH high/low, ETH high/low, Half Back, Day Close and current day RTH Day Open. These levels often act as support/resistance for intraday price movements. Also, they can help to assess day character and control of power.
Indicator can be used for ETH + RTH sessions.
Important notes:
• User must specify RTH session time, appropriate for his time zone and exchange
• Half-back is calculated as a middle line between RTH High and Low.
• Day Close is always equal to close of the last bar of the previous day
• RTH Day Open will be redrawn for the current day as soon as it is known (after RTH session opens and at least one bar gets confirmed).
Known issues:
• Day open will not be shown if there is no bar, clearly corresponding to RTH open time (e.g. if 4h timeframe is selected)
• For some ETH sessions it is not possible to determine session’s last bar (this is pine script limitation) until next day trading starts. This means that daily levels will be also update with only then.
Parameters:
Date – user can select date, for which levels will be plotted. Works only if “Use” check box is on. Otherwise, levels will be plotted for the last day. (“time” value doesn’t matter; unfortunately, there is no way to hide the input box)
RTH Open/Close time – it is important to specify time, appropriate for your time zone.
Time zone – your chart time zone (as UTC offset)
Visuals – controls visibility and colors
Script is published as an open source. It uses two libraries: Levels Lib and Functions Lib. First one demonstrates how to work with pine-script object model and arrays. You can also reuse it in your custom scripts where there is need to construct any support/resistance levels. The second library contains some useful functions for working with time and dates.
Disclaimer
This indicator should not be used as a standalone tool to make trading decisions but only in conjunction with other technical analysis methods.
Liquidity Grabs | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Liquidity Grabs indicator! This indicator can renders bubbles with different sizes at candles that have liquidity grabs, which happen when a liquidity areas (buyside / sellside liquidity) is swept. These candles often fill a lot of market orders that were sitting on the liquidity zone. You can check "How Does It Work" section for more information.
Features of the new Liquidity Grabs Indicator :
Renders Liquidity Grabs
Customizable Algorithm
Customizable Styles
Alerts
🚩UNIQUENESS
Liquidity grabs can be useful when determining candles that have executed a lot of market orders, and planning your trades accordingly. This indicator renders liquidity grabs in an unique bubble style, the size of the bubble is calculated by the size of the wick that caused the liquidity grab. The indicator also lets you customize the pivot length and the wick-body ratio for liquidity grabs.
📌 HOW DOES IT WORK ?
Liquidity grabs occur when one of the latest pivots has a false breakout. Then, if the wick to body ratio of the bar is higher than 0.5 (can be changed from the settings) a bubble is plotted. Using the wick length as a metric to measure liquidity is good because long wicks can translate to a large amount of buyers / sellers entering the market.
The bubble size is determined by the wick to body ratio of the candle.
⚙️SETTINGS
1. General Configuration
Pivot Length -> This setting determines the range of the pivots. This means a candle has to have the highest / lowest wick of the previous X bars and the next X bars to become a high / low pivot.
Wick-Body Ratio -> After a pivot has a false breakout, the wick-body ratio of the latest candle is tested. The resulting ratio must be higher than this setting for it to be considered as a liquidity grab.
It's All MidsIt's All Mids extends mid-lines of a candle forward until the price revisits (covers) the midpoint. A higher timeframe can be used for the mid candles than the chart (but not the reverse). There is no data to support this is a meaningful concept.
While this script is intended to be functional, correct and useful it is important that you understand that not only is this the first script I've written but also that "I am an idiot."(tm) Using a stranger's indicator is questionable, but using a self-proclaimed idiot's indicator to trade real money is unquestionably stupid. Don't be like me. Be smart. You are responsible for what you do with this script. The source is unlocked, so feel free to copy and modify it.
Terms:
- A "mid" is the (high+low)/2 price of a previous candle that has not been auctioned since the candle close. All candles will initially have a mid unless they close on exactly their midpoint.
- A "covered" mid is a mid for which the midpoint has been auctioned since the candle closed. There is an option to display a number of these so that when a mid is hit the line doesn't just disappear from the chart and you forget what you were doing.
- A "low priority" mid is the mid of a candle which was auctioned in the previous candle(s) (chart's timeframe, not the mid's timeframe)-- chopchopchop. I have no data to show that this matters, or really, that anything matters at all.
My use: I chart a 60m mid on ES on a 5 or 15 minute chart. I am lying. I use it for something else but if I tell you that then I give away my incredible alpha that has made me so rich I can spend my time crying in corner about all the money I've lost.
ZigZag Multi [TradingFinder] Trend & Wave Lines - Structures🔵 Introduction
"Zigzag" is an indicator that forms based on price changes. Essentially, the function of this indicator is to connect consecutive and alternating High and Low pivots. This pattern assists in analyzing price changes and can also be used to identify classic patterns. "Zigzag" is an analytical tool that, by filtering partial price movements based on the specified period, can identify price waves across different time frames (short or long term).
🔵 Reason for Creation
The combination of "short term zigzag" and "long term zigzag" enhances accuracy and reduces analysis time. In a time frame, "long term zigzag" represents the main trend, while "short term zigzag" depicts short-term waves.
🔵 How to Use
After selecting the desired time frame and adding "zigzag" to the chart, begin utilization. Keep in mind to identify the main market trend from "long term zigzag" and the minor waves from "short term zigzag".
🟣 Important: Additionally, classic patterns such as HH, LH, LL, and HL can be recognized. All traders analyzing financial markets using classic patterns and Elliot Waves can benefit from the "zigzag" indicator to facilitate their analysis.
🔵 Settings
Short term zigzag : In this section, you can adjust settings such as time frame range, display mode, color, and line width of the zigzag lines.
Short term label : This section allows you to activate or deactivate the display of zigzag labels according to your needs. You can also customize their color and size.
Long term zigzag : Here, you can adjust settings for time frame range, display mode, color, and line width of zigzag lines.
Long term label : Similar to short term label settings.
The recommended time frame for "long term zigzag" is between 9 to 15, and for "short term zigzag" is between 3 to 5.
🟣 Important Notes :
Considering the different behaviors of financial markets and various time frames, it is recommended to experiment with different time frame settings when using "zigzag" to find the best settings for each symbol and time frame, thereby preventing potential errors.
🟣 Terminology Explanations :
"HH": When the price is higher than the previous peak (Higher High).
"HL": When the price is higher than the previous low (Higher Low).
"LH": When the price is lower than the previous peak (Lower High).
"LL": When the price is lower than the previous low (Lower Low).