ZigZag With ATR Filter [vnhilton](OVERVIEW)
The typical ZigZag indicator, which connects pivot points (see TradingView's Help Center regarding their indicator Pivot Points High Low, for an in depth explanation on how they are calculated) with lines, except instead of a percentage threshold, it uses ATR which adjusts for volatility of the ticker you are viewing. The ZigZag indicator can therefore be used to help visualise price legs and trends on a usually noisy looking chart.
(FEATURES)
- Toggles for pivot point label contents such as the value, the trend, or nothing at all.
- ATR and pivot point periods.
- ATR multiplier minimum threshold to plot pivots and draw lines only when this threshold is met (helps eliminate small, perhaps insignificant price movements, to have a better focus on the overall trend).
- Show the last 2 to 499 ZigZag lines.
- Uptrend, downtrend and range colors for high and low pivot labels, text labels and lines, for both confirmed and real-time plots.
- Label size, and label styles for the high and low pivots.
- Customisable width and styles (Arrow Right, Dashed, Dotted, Solid) for the ZigZag line.
In the main chart picture, labels show both the pivot point value and the trend at that point. In the picture above, on the left shows only the pivot point value, the right shows only the trend.
Picture above shows just the label with 0 contents. Also notice the last recent line being blue instead of green. This is because the current bar hasn't finished so this line is currently live and not confirmed, so is subject to change. Keep in mind even if a pivot point is confirmed, it can be updated by a subsequent higher high/lower low.
Left chart shows a minimum ATR threshold multiplier of 1x; Right chart has 2x ATR minimum threshold. Notice the left chart highlights more price legs as more price legs satisfy a less strict threshold.
ピボットポイント
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.
Altered Money Flow Index by CoffeeShopCrypto**Use the comments section below to request access to the script**
Market Trends need to be confirmed each and every time.
Over the years the Money Flow Index has been a tool to find where the money is flowing
either long or short in market movements.
Long confirmation and false short
Confirming a long entry:
1. Wait for price to close above a previous swing high.
2. Look to see if the MFI is in UPCOLOR and above ZERO.
Confriming a short entry:
1. Wait for price to close below a previous swing low.
2. Look to see if the MFI is in DOWNCOLOR and below ZERO.
NON-Confirmed market: (Flat Market)
Anytime you believe you have a confirmation via price action, check the MFI to see if it is in FLAT MARKET color.
If this is true, do not enter until it is out of FLAT MARKET color.
Flat Market ALtered MFI
A Flat Market Altered MFI reading can do a few things for you.
It can help to confirm the following:
1. price action is moving sideways.
2. a pullback or market stall that was deep enough where dis-intrest in the market occured.
3. a sudden loss of momentum in the short term trend of closing prices.
Utilizing the Altered Money Flow Index indicator by CoffeeShopCrypto offers traders a nuanced approach to identifying market trends, including periods of flat market conditions. Alongside its directional bias indicating bullish or bearish activity based on whether values are above or below zero, respectively, the script incorporates a distinctive feature to recognize flat markets. When neither bullish nor bearish momentum dominates, the indicator designates a flat market, denoted by a distinct color. This feature enhances traders' ability to discern not only bullish and bearish phases but also periods of market consolidation or indecision.
In addition to its ability to recognize bullish and bearish trends, the Altered Money Flow Index indicator by CoffeeShopCrypto incorporates a unique feature to signify potential pullbacks or pauses in market momentum. This is particularly evident when the MFI crosses below zero while displaying a flat market color. Such occurrences suggest that although the short-term movement may appear bearish, it's likely a temporary pullback rather than a sustained trend reversal. Similarly, when the MFI crosses above zero amidst a flat market color, it indicates a potential pause in bullish momentum, urging traders to exercise caution and await confirmation of a sustained uptrend. By incorporating these nuanced observations, traders can effectively discern between short-term fluctuations and significant trend changes, enabling them to make more judicious trading decisions and avoid premature entries or exits.
Alongside its directional bias indicating bullish or bearish activity based on whether values are above or below zero, respectively, the script integrates the Relative Strength Index (RSI) to further refine market analysis. When the Altered MFI and RSI are both above zero, it suggests a strong bullish trend, indicating significant buying pressure. Conversely, when both indicators are below zero, it indicates a strong bearish trend, signifying heightened selling pressure. By observing the confluence between the Altered MFI and RSI, traders can gain valuable confirmation of bullish or bearish money flow in the market, enabling them to make more informed trading decisions.
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)
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!
Machine Learning Breakouts (from Pivots)I developed the 'Machine Learning Breakouts (from Pivots)' indicator to revolutionize the way we detect breakout opportunities and follow trend, harnessing the power of pivot points and machine learning. This tool integrates the k-Nearest Neighbors (k-NN) method with the Euclidean distance algorithm, meticulously analyzing pivot points to accurately forecast multiple breakout paths/zones. "ML Pivots Breakouts" is designed to identify and visually alert traders on bullish breakouts above high lines and bearish breakouts below low lines, offering essential insights for breakout and trend follower traders.
For traders, the instruction is clear: a bullish breakout signal is given when the price crosses above the forecasted high line, indicating potential entry points for long positions. Conversely, a bearish breakout signal is provided when the price breaks below the forecasted low line, suggesting opportunities to enter short positions. This makes the indicator a vital asset for navigating through market volatilities and capitalizing on emerging trends, designed for both long and short strategies and adeptly adapting to market shifts.
In this indicator I operate in a two-dimensional space defined by price and time. The choice of Euclidean distance as the preferred method for this analysis hinges on its simplicity and effectiveness in measuring and predicting straight-line distances between points in this space.
The Machine Learning Breakouts (from Pivots) Indicator calculations have been transitioned to the MLPivotsBreakouts library, simplifying the process of integration. Users can now seamlessly incorporate the "breakouts" function into their scripts to conduct detailed momentum analysis with ease.
Timeframe PivotsUse this tool to plot open prices from any timeframe as a pivot level with the option to go advanced and turn on extensions (instructions below), which review the relationship between previous and current open prices to build range extensions up to six levels wide.
Please be aware extensions, nor vwap are not enabled by default! It is up to the user to determine how they wish to setup this indicator. Please read the full description for utilizing this indicator so that it's well known the complete feature set and understanding of how to enable additional plots, complete instruction is provided for all users below.
Default configuration example:
To enable extensions the user must open the indicator configuration by clicking the gear icon for "Timeframe Pivots", depending on screen resolution scrolling with mouse may need to occur in order to find the section labeled "Extensions", use the mouse or equivalent human interface device to check the checkbox to the right of the color plots and line type drop down.
Extensions enabled example:
Timeframe Selection
Timeframes available to the indicator are any timeframe the platform makes available to the user by default, or also if the TradingView user has higher tier plan to create custom timeframes - those should be available as well. To adjust timeframe the user must open the indicator configuration by clicking the gear icon for "Timeframe Pivots", depending on screen resolution scrolling with mouse may need to occur in order to find the input labeled "Timeframe", use the mouse or equivalent human interface device select the drop down and select timeframe suitable to users application.
How the extension width and extensions are calculated:
The exact process takes the new timeframe change open price calculates the difference between prior open, once that has been completed then it's divided in half to build extensions.
Code example:
Extension Width = (Open - Open ) / 2
How the extensions are calculated:
// +1 for positive extension, -1 for negative extension
(Extension Width * (Configured Multiplier * 1)) + Pivot Open Price
+1 Extension:
$5 * (1.0 * 1) + $400 = $405
-1 Extension:
$5 * (1.0 * -1) + $400 = $395
So it should be established how each projected extension, either positive or negative, is created.
Range bound market detection and notes:
One note regarding the ranges, sometimes the open prices of each period can be close in proximity to their predecessor, there's not enough range to build meaningful projections. In these situations this means the market is most likely range bound and prior range data is utilized to continue providing guidance. This addresses an issue with other pivot indicators that will instead blindly follow price and present useless pivot ranges.
It does this through detection of average half range widths, the last 14 ranges to be exact, if the current, (open - open / 2), half range width is smaller than the average, prior half range width will be used.
Code example:
// assume past half range widths are 10, 8, 9, 5, 14, 7, 7, 9, 10, 10, 4, 7, 7, 8
float v_halfRangeWidthToUseForExtensions = na
v_priorHalfRangeWidth = 10
v_avgHalfRangeWidth = 8.2 // past range widths sum = 115 / 14
v_newHalfRangeWidthToUseForExtensions = 2 // new open - open is tiny compared to avg
if v_newHalfRangeWidthToUseForExtensions < v_avgHalfRangeWidth
// replace new half range width with previous one
v_newHalfRangeWidthToUseForExtensions := v_priorHalfRangeWidth
In the code example above if the new half range width was above or equal to the rolling average, no adjustment would be made by the indicator.
VWAP
Additional feature of showing vwap, anchored to the same timeframe as the pivot, provides a trend and volume analysis within the confines of the pivots range.
The user must open the indicator configuration by clicking the gear icon for "Timeframe Pivots", scroll using mouse to the "VWAP" section and click the checkbox next to the "Source" field, past the color plots. They are not enabled by default!
The user can also add the bands for VWAP by clicking the checkbox next to the "Bands" field, past the color plots. They are not enabled by default!
VWAP calculations begin from open price of new timeframe change, then afterwards the "Source" set is utilized, the default is HLC3 which is standard for VWAP indicators.
Multiple Timeframe Analysis (MTFA)
It's simple to create a unique combination of favored timeframes for multiple timeframe analysis, consider daily, weekly and monthly combined analysis for powerful indications of market sentiment and directional bias.
Example MTFA demonstration:
Why was this created?
I created this while investigating the efficacy of open price ranges, it became apparent that these pivot ranges are some of the more price respecting pivots I've ever observed. I also grew tired of lack of price adherence to other pivot indicators widely available.
There exists a relationship between each timeframes open price in comparison to prior open price, if the market is willing to navigate to a prior lower open price from higher open price, it could be perceived as bearish and the extensions (if enabled as instructed above), could be suitable range based projections for future price movements.
Example comparison:
As can be seen, and there are many examples, where Timeframe Pivots provides more discreet levels and potential explanations for price movements.
Opening Range Reversal ZonesThis script finds a reversal zone beyond the opening range for the selected period. I borrowed most of the opening range script itself from asenski.
I added a few things:
Trade Entry Times -- this restricts the "alert times."
Shading for the above mentioned times for the two "reversal" zones
A couple of other visuals for lines for the hi, mid, low of the opening range and lines for the fibs
Alerts while in the trading entry time session for fibbonacci crossovers.
I use this on NDX, SPY, and QQQs and have found buying "at the money" 0DTE puts in the "red zone" or 0DTE calls in the "green zone" frequently wins.
I have no statistics, as I am very methodical when I choose to enter, paying attention to the news, recent momentum, etc, and am not blindly entering when alert comes, but when one does, I do research and enter a trade.
In any case, thought I would share.
Trend Lines, Supports and Resistances█ OVERVIEW
This is a simple script that draws trend lines, supports and resistances based on the highs and lows of pivots and is developed solely for practice purposes while learning the Pine Script language.
█ FEATURES:
Ability to change pivot length and mark pivots on chart.
Ability to change amount of pivot points that used to generate trend lines or support and resistances.
Ability to set exception for last "n" bars for breaks.
Ability to set exception up to "n" times for breaks.
Ability to see broken trend lines as ghosts.
Ability to set alarms for breaks.
Ability to change colors and line widths.
And many more...
█ DISCLAIMER:
Trading is risky and most of the day traders lose money eventually. This indicator is only for educational purposes and should not be construed as financial advice. Past performances does not guarantee future results.
CARNAC Elasticity IndicatorThe CARNAC Elasticity Indicator (EI) is a technical analysis tool designed for traders and investors using TradingView. It calculates the percentage deviation of the current price from an Exponential Moving Average (EMA) and helps traders identify potential overbought and oversold conditions in a financial instrument.
Key Features:
EMA Length: Users can customize the length of the Exponential Moving Average (EMA) used in the calculations by adjusting the "EMA Length" parameter in the indicator settings.
Percentage Deviation: The indicator calculates the percentage deviation of the current price from the EMA. Positive values indicate prices above the EMA, while negative values indicate prices below the EMA.
Maximum Deviations: The indicator tracks the maximum positive (above EMA) and negative (below EMA) percentage deviations over time, allowing traders to monitor extreme price movements.
Bands: Upper and lower bands are displayed on the indicator chart at 100 and -100, respectively. Additionally, dashed middle bands at 50 and -50 provide reference points for moderate deviations.
Dynamic Color Coding: The indicator uses dynamic color coding to highlight the current percentage deviation. It turns red for values above 50 (indicating potential overbought conditions), green for values below -50 (indicating potential oversold conditions), and purple for values in between.
How to Use:
Overbought Conditions: Watch for the percentage deviation to cross above 50, indicating potential overbought conditions. This might be a signal to consider selling or taking profits.
Oversold Conditions: Look for the percentage deviation to cross below -50, signaling potential oversold conditions. This could be an opportunity to consider buying or entering a long position.
Historical Extremes: Keep an eye on the upper and lower bands (100 and -100) to identify historical extremes in percentage deviation.
The CARNAC Elasticity Indicator can be a valuable tool for traders seeking to identify potential trend reversals and assess the strength of price movements. However, it should be used in conjunction with other technical analysis tools and risk management strategies for comprehensive trading decisions.
Custom % Breakout HighlightThe "Custom % Breakout Highlight" indicator in Pine Script is designed to visually identify candles that experience a significant percentage price change relative to a user-defined threshold. The primary goal of this indicator is to highlight candles that surpass a specified percentage breakout level, signaling potential price movements or shifts in market dynamics.
Parameters:
Percentage Breakout: Users can input a desired percentage value to define the threshold for identifying breakout candles. This parameter allows customization based on the trader's preference or the specific characteristics of the instrument being analyzed.
How it works:
The script calculates the percentage change in the closing price of each candle compared to the closing price of the previous candle.
It then checks whether the absolute value of this percentage change exceeds the user-defined percentage breakout threshold.
If the condition is met, the script highlights the corresponding candles by displaying a blue background in a new pane at the low of the breakout candle.
Interpretation:
Highlighted Candles: Candles with a background color indicate instances where the price change exceeds the defined percentage breakout level. Traders may interpret these highlighted candles as potential breakout or significant price movement signals.
Usage:
Traders and analysts can use this indicator to identify candles with notable price changes, helping them focus on potential breakout events or shifts in market sentiment.
By adjusting the "Percentage Breakout" parameter, users can customize the sensitivity of the indicator to match the volatility characteristics of different assets or trading preferences.
Note:
The indicator is designed for use on various timeframes and can be applied to different financial instruments.
It is important to consider other technical and fundamental analysis tools in conjunction with this indicator for comprehensive decision-making.
This indicator serves as a visual aid for traders seeking to highlight candles with significant percentage price movements, offering a customizable tool for breakout identification in financial markets.
Renko Box Chart Overlay by BDThis is Renko chart overlay for Candles chart. You can use it to identify market direction and potential key points.
To use it simply select box size and any timeframe you want.
With this overlay you can be sure that you'll see every brick on a chart showing general market direction with all the details of a candles chart.
Alternatives Renko overlay charts:
If you don't have access to 1s timeframe or you don't want to use low TF here is the situation with built in Renko chart on 5m TF:
This Renko boxes are linked to chart by time(candle) and price. It will draw a box even if price didn't close above(or below) of box level:
But be careful when setting box size too small because it will produce bad results:
The issue is known and I'll work on fixing it in next update, for now use box size at least the size of a body of a candle, after all renko is for general market movement and not for marking up every tick.
Let me know if you want to see any additions.
Pocket Pivot BreakoutPocket Pivot Breakout Indicator
The pocket pivot breakout indicator will show a blue arrow under the candle if both the following conditions are met:
1. The percentage change of the candle on that day from open is greater than 3%.
2. The volume on the day of 3% candle is higher than the highest red volume in the past 10 days.
The second condition is based on the 'Pocket Pivot' concept developed by Gil Morales and Chris Kacher.
If only one of the conditions is met, while the other is not, there will be no arrow.
How to use the Pocket Pivot Breakout indicator?
1. If the stock is breaking out of a proper base like (cup & handle, Darvas box etc.), you can use the blue arrow as an indicator to make your initial buy.
2. If you already own a stock, the blue arrow indicator can be used for pyramiding, following a continuation breakout from a proper base.
3. Avoid making a new entry or continuation entry if the stock is too extended from 10ma.
Gap-up > 0.5% Indicator
Gap-up Indicator displays a blue colored candle when a stock gaps up by more than 0.5% compared to previous day's close.
It is turned off by default. To activate it, check the box next to Gap-up > 0.5% in the indicator options.
How to use the Gap-up Indicator?
1. When a stock gaps up, it usually indicates strength, especially if on the day of the gap-up, the stock closes strongly.
2. This indicator should not be used in isolation but with a proper base breakout from a tight consolidation.
3. If a stock is already extended from 10ma, avoid taking any new or continuation entries.
Precautions
1. Avoid buying longs when the general market conditions are not favorable.
2. Avoid buying stocks below 200ma.
3. Avoid making a new entry or pyramid entry if a stock is too extended from 10ma.
Important Points
1. Always choose fundamentally strong stocks showing strong growth in earnings/margins/sales.
2. Buy these fundamentally strong stocks when they are breaking out of proper bases.
3. To learn more about pocket pivots and buyable gap-ups, read the book, Trade Like an O'Neil Disciple (by Gil Morales & Chris Kacher).
Cheers
Simranjit
PivottrendHi all!
This script is based on the concept of "higher highs and higher lows" and "lower highs and lower lows". Bullish/bearish trend changes when a previous pivot (low in bullish trend and high in bearish trend) is broken (or has equal value). Some settings are customizable by the user:
Timeframe
- You can choose what timeframe the pivots are found on
Left length
- The left length used for the pivots found
Right length
- The right length used for the pivots found
Show labels
- Choose if you want to display buy and sell labels
Show pivots
- Choose if you want to display the pivots found
Show MSS
- Choose if you want to display a line when price breaks a previous pivot
The "look and feel" is inspired by the script "SuperTrend" by KivancOzbilgic ().
Best of trading luck!
TotalCustomTotalCustom sums our custom altcoin list's market caps together.
Primarily used to compare to the following:
A. price of bitcoin
B. Total 1, Total 2, Total 3
Used in the following way:
When there is a large gap on fixed time frames (i.e. 3 month, 6 month, YTD) between this indicator and the main comparisons, it is generally considered a good time to buy.
Order Blocks W/ Realtime Fibs [QuantVue]The "Order Blocks W/ Realtime Fibs" indicator is a comprehensive tool combining the concepts of order blocks with Fibonacci retracement. The combination can be a powerful tool for identifying entry and exit points, and potential target areas.
Order blocks indicate where major players have likely placed their orders, while Fibonacci levels provide a mathematical basis for potential support and resistance areas.
What is an Order Block?
An order block in trading refers to an area on the chart in which it is believed a substantial number of orders (buy or sell) collected over a short period. Typically, these are identified as a range of consecutive aggressive bullish or bearish bars (candles). They represent areas where significant market players have entered the market, creating a footprint of their activity.
The indicator is highly customizable allowing user to select the number of consecutive bars and minimum price movement required for an order block, along with other settings like requiring a new order block in the opposite direction before finding a new order block.
Fibonacci Retracements
Fibonacci retracements are popular among technical traders, based on the idea that markets often retrace a predictable portion of a move, after which they continue to move in the original direction.
Once an Order Block is detected the indicator will automatically draw Fibonacci levels and continue to update those levels in real time until the user selected retracement level has been hit or a new more relevant order block has been found.
The combination of order blocks and Fibonacci retracements in this indicator can be used as a method for spotting potential reversal zones.
Indicator features:
🔹Custom Order Block Parameters
🔹Mitigation Type
🔹Custom Colors
🔹Select Retracement Levels
🔹Alerts for Order Blocks & Retracements
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
Absorbing System Support and ResistanceHello Traders :)
I am Only Fibonacci.
My purpose in coding this indicator was to detect support and resistance more easily.
What is the working principle of this indicator?
This tool detects pivot points.
If the length of the sell pin is higher than the length of the buy pin, it is considered as resistance.
It detects the formation according to the length of the pivot point and draws a line until this level is broken.
The main purpose is to add a new perspective to support and resistance detection and to prepare an educational code sequence.
The codes are open to everyone, you can develop as you wish.
In the settings you can choose whether you want to see the breakdowns, you can also choose whether the breakdowns will be with the wicks or the body.
func("RES")
func("SUP")
It is written in a functional way.
If you call "RES" inside the func method, it draws the resistors. If you throw a call other than "RES" it draws the supports.
The main concept here;
"RES" = Resistance
"SUP" = Support
Clone Pivots. Oct_2023Conceptually very simple.
The all time high or low of the chart (this indicator can be used with non-price sources as well), is used to divide the price pane continuously by 2.
For example the first pivot is (All Time High + All Time Low)/2.
From this point the price chart is further divided by 2.
The user can set the depth of division, and the lines for depth are only shown around the price.
About clone pivots.
- they can be used for ladder trading
- they are based on the range of the stock or instrument price
An alternative is available to use Fib divisions rather than simple divide by 2 method.
Labels may be placed with price or without. And depth of labelling is also an option.
Clone pivots at 50% tend to work very well with price structures - give it a try and see if it helps your trading!
Pine source uses UDTs, Methods, Arrays and Maps.
Anchored Moving Average By Market Mindset - Zero To EndlessAnchored Moving Average?
An anchored moving average (AMA) is created when you select a point on the chart and start calculating the moving average from there. Thus the moving average’s denominator is not fixed but cumulative and dynamic.
In this indicator, I've provided three different types of Anchored Moving Averages, viz., WMA, SMA and VWAP.
WMA is relevant if big moves are there.
SMA is relevant if volume data is not to be considered or if it is not available.
VWAP is the standard anchored MA, which is most commontly used. Is consider the volume data along with the price move.
In this indicator, Auto anchor is time based anchor. A trader can opt for Pivot Type Anchor or Volume Type Anchor or some higher resolution based anchor too. The length of the pivot lookback can also be changed by the user.
It can be used for intraday, swing trading and even for technical based investment purpose.
Double Tops & Bottoms [QuantVue]This indicator is designed to detect and plot Double Tops and Double Bottoms, by setting the initial high or low using standard pivot points.
Double Tops
A Double Top is a bearish reversal pattern, typically found when an uptrend returns back to a prior peak. It signifies a potential turning point or resistance level and could potentially reverse in direction.
The pattern is confirmed as a Double Top when the price breaks above the resistance level, but closes below it. A decisive close below this level is seen as a confirmation of the bearish trend.
Double Bottoms
A Double Bottom, on the other hand, is a bullish reversal pattern typically found after a downtrend. It signals a potential turning point or support level where the price has bottomed and could potentially reverse upwards.
The pattern is confirmed as a Double Bottom when the price breaks below the support level, but closes above it. A decisive close above this level is viewed as a confirmation of the bullish trend.
Indicator Features
🔹Double Top Detection: When a double top is identified, a downward-pointing triangle will be plotted above the bar, and if the alerts are enabled, a notification will be triggered.
🔹Double Bottom Detection: When a double bottom is identified, an upward-pointing triangle will be plotted below the bar, and if the alerts are enabled, a notification will be triggered.
🔹Pivot Lookback: Defines the number of bars to the left and right of the pivot that must be lower/higher to qualify as a pivot.
🔹Maximum Length Between Tops/Bottoms: Maximum number of bars between two tops/bottoms to be considered a double top or bottom.
🔹Style Settings: Allows the user to customize the appearance of the lines indicating the tops/bottoms. Options include color selection, line style (dotted, dashed, or solid), and line thickness.
🔹Alerts: The user can enable or disable alerts for Double Top and Double Bottom.
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
Expanded Camarilla Levels (R5 + R6)Just the usual cam pivot points updated to have a few more levels.
Added R5/S5 and S5/S6
FV1H MS Input_230906_coThis script allows the user to visualize a momentum shifts on the candlestick charts. This is a visual indicator to help the trader quickly recognize if a potential trade exists where the market sentiment might be changing. The MS occurs when the below parameters are followed:
Creates red triangle on the chart when:
1) at the close of a green candle that was preceded by 3 or more red candle closes
2) The RSI falls below 35 during of the candles or wicks
3) The Bollinger band is pierced at any point (regardless of close) during that series of candles
Creates red triangle on the chart when the conditions are :
1) n the chart when at the close of a red candle that was preceded by 3 or more green candle closes
2) The RSI goes above 70 during of the candles or wicks
3) The Bollinger band is pierced at any point (regardless of close) during that series of candles
FV 15min MS_230906_coThis script allows the user to visualize a momentum shifts on the candlestick charts. This is a visual indicator to help the trader quickly recognize if a potential trade exists where the market sentiment might be changing. The MS occurs when the below parameters are followed:
Creates blue triangle on the chart when:
1) at the close of a green candle that was preceded by 4 or more red candle closes
2) The RSI falls below 30 during of the candles or wicks
3) The bollinger band is pierced at any point (regardless of close) during that series of candles
Creates blue triangle on the chart when the conditions are :
1) creates a blue triangle on the chart when at the close of a red candle that was preceded by 4 or more green candle closes
2) The RSI goes above 70 during of the candles or wicks
3) The bollinger band is pierced at any point (regardless of close) during that series of candles