Developing Pivot Range [Swastik]This is the developing cpr indicator made by Swastik.
It shows how the cpr is developing as the day is progressing.
The colour of the range is red when tc is below bc and green when tc is above bc .
While calculating the value of cpr , the high is the high from starting of the session and low is the low from starting of the session till that specific candle.
This also shows that the trend is developing.
If the colour is red and the range starts widening, it means downtrend has started to develop and
when the colour is green and range starts widening, it means uptrend is developing.
Pivot
Zig Lines with Percent & ValueOverview, Features, and Usage:
The Zig Lines with Percent & Value is an indicator that highlights the highest and lowest points of the market from pivot points and zigzag lines based on the ZigZag Period setting. By a default value of 13 for the ZigZag Period this works well on Bitcoin or other alt coins on the 1 hour or higher timeframe charts.
What makes this indicator unique is that it draws a green line to signify an uptrend or a red line to signify a down trend. It will also show the percent difference between the previous point/line, for example: If you see a -negative percentage point with a red line drawn to it, then you are looking at a low pivot point and then as the green line is drawn to a +positive percentage value the percentage you see is the difference between the two points. This is great to see a trend reversal as you can look at previous pivot points and notice about how far the price moves before it changes direction (trend reversal).
There is an invisible EMA line that is used to assist with coloring the negative vs positive values. The value above or below the percentage is the lowest or highest price at that pivot point . The display of the price at the pivot point depends on your ZigZag Period setting and the timeframe of your chart.
Added Bollinger Bands as it fits perfectly with the visuals of the Zig Lines & Pivots.
Usage of Bollinger Bands:
~As the price or candle gets close to the top or bottom of the Bollinger band it can give you a better confirmation that the pivot location is at it's final place, and the trend is more likely to switch directions.
It’s important to know this indicator should not be used for alerts of any type it does repaint as the green or red line is drawing based on live chart data and it can change depending on the direction of the market. This is a great visual tool for trend analysis or to be used with other indicators as a confirmation for a possible good entry or exit position.
Credits ( and consent to use ):
Credits go to user LonesomeTheBlue for creation of this 'Double Zig Zag with HHLL' script.
The addition of the Value above/below the Percentages is from user Noldo and that script is found here:
The Bollinger Bands setup was suggested by user countseven12 and his script that uses the same BB setup is found here:
References:
1. Chen, James. (2021 March 15). Zig Zag Indicator . Received from http: www.investopedia.com
2. Mitchell, Cory. (2021 April 30). Pivot Points . Received from http: www.investopedia.com
Logging in Pine ScriptI'm building quite a lot of pretty complicated indicators/strategies in Pine Script. Quite often they don't work from the 1 try so I have to debug them heavily.
In Pine Script there are no fancy debuggers so you have to be creative. You can plot values on your screens, check them in the data window, etc.
If you want to display some textual information, you can plot some info as labels on the screen.
It's not the most convenient way, so with the appearance of tables in Pine Script, I decided to implement a custom logger that will allow me to track some useful information about my indicator over time.
Tables work much better for this kind of thing than labels. They're attached to your screen, you can nicely scale them and you can style them much better.
The idea behind it is very simple. I used few arrays to store the message, bar number, timestamp, and type of the message (you can color messages depend on the type for example).
There is a function log_msg that just append new messages to these arrays.
In the end, for the last bar, I create the table and display the last X messages in it.
In parameters, you can show/hide the entire journal, change the number of messages displayed and choose an offset. With offset, you can basically scroll through the history of messages.
Currently, I implemented 3 types of messages, and I color messages according to these types:
Message - gray
Warning - yellow
Error - red
Of course, it's a pretty simple example, you can create a much fancier way of styling your logs.
What do you think about it? Is it useful for you? What do you use to debug code in Pine Script?
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
R-CPRThis is a simple CPR script that plots the following data,
Central Pivot,
Pivot,
Bottom Central Pivot.
Thanks.
Market PivotsMarket pivots take previous high, low, close to calculate pivot range.
* within yellow pivot range, expecting choppy. not a good location to entry a trade
* above yellow pivot range, expecting bullish.
* below yellow pivot range, expecting bearish.
True Strong Classical Support/Resistance LevelsThis script is based on the approach of filtering signals by checking higher timeframes.
So basically setting higher numbers in "Strength Of Levels" option, will make the indicator check for support and/or resistance levels in timeframes higher than the current.
Unfortunately, I was forced to still use inefficient built-in functions pivothigh() and pivotlow(). I hope they fix them up soon!
I'm looking for any opinion about the idea and if you like any of my scripts, anything you send means a lot to me.
This script is published for the third time because of some moderators absurd behavior.
But thank heavens, the code is now more clean and of course the option "Strength Of Levels" accepts float numbers.
Parallel Pivot Lines [LuxAlgo]Displays lines connecting past pivot high/low points with each line having the slope of a linear regression. This slope can also be controlled by the user with the 'Slope' setting. Each line can be used as a support or resistance by the user.
Settings
Length : Pivot length. Use higher values for having lines connected to more significant pivots points.
Lookback : Number of lines connecting a pivot high/low to display, with a total of lines equal to Lookback*2
Slope : Allows the user to multiply the linear regression slope by a number within -1 and 1
Limitations
The script has currently several real time behavior limitations. Lines are displayed retrospectively and will not update with the arrival of new bars. Readjusting the indicator to newer pivots will require the user to either hide/unhide the indicator or change its settings.
High Length or Lookback values might not return any lines if the location of a pivot point is outside the defined buffer size of the indicator (set as 5000 bars).
How To Use
The indicator can be used to get supports and resistances and is more so closer to a drawing tool due to its limitations. The lines not updating with the arrival of new bars have the advantage of providing fixed supports/resistances.
The Slope setting allows the user to control the angle and direction of the lines. Using a Slope of 1 will return lines with the same slope as the one of a linear regression fit from the farthest pivot point displayed by the indicator to the most recent bar.
The chart above shows the indicators and a linear regression in orange.
If you want to have horizontal lines, use a Slope equal to 0.
Finally using a negative slope value will allow the user to have lines in opposite directions to the main trend.
Conclusion
We hope you like this indicator (drawing tool) and find it useful for drawing your support & resistances in a unique way!
Daily Pivot (Fibonacci)Hello All
-
This is Daily Pivot (Fibonacci).
Simple and very useful tool for traders.
Show R5 to S5 levels.
.
Feel free to comment.
Thank you.
Daily Pivot (Traditional)Hello all
-
This code is for daily pivot points, support and resistance with pivot labels and value.
simple code with no bugs.
this code use previous day values on online chat and current day values on offline chat.
pivot values are placed on right side, so no overlapping with other values.
.
.
Thank you Trading View for other educational script to make this possible.
[JRL] Pivot Regression OscillatorIntroducing the Pivot Regression Oscillator. This oscillator uses a similar formula to the Stochastic Oscillator. However, instead of comparing the closing price to the lowest price of a period, it compares the distance between current price and the current pivot point. By basing our oscillator on pivot levels, we incorporate a much more relevant and consequential price point around which to base our comparisons.
The indicator can give reliable overbought and oversold signals, and it plots two exponential moving averages as output, which provides crossover signals that can be used to help time trades.
The Pivot Regression Oscillator can be effective for timing re-entries into a trend and seems to be able to avoid some of the false signals of other indicators.
Let me know if you find this useful. Cheers!
3 Weeks Tight - CANSLIM Technical Indicator3 Weeks Tight - Introduction
3 weeks tight is a bullish continuation pattern discovered by IBD's founder, William O'Neil.
The pattern can used as an opportunity to add to an existing position as it often occurs after a breakout above a cup with handle or other technical pattern.
The 3 weeks tight pattern forms when a stock closes within approximately 1% to 1.5% of the prior week's close for at least two weeks. The reason for the bullishness is that it indciates that investors who moved the stock upward in price since the breakout are not taking profits, the price is holding steady.
The buy point is just above the area of resistance formed at the highs of the three weeks plus 10 cents. The ten cent addition to the price is to ensure a push through the resistance at the high of the range.
Key Points:
It's preferred that closes for each week are in the upper half of the stock's range.
Ideally, volume will increase significantly as the stocks moves past the buy point.
This pattern generally performs best when the market is in an uptrend.
Features:
A configurable horizontal bar that spans the 3 week period.
A vertical band that highlights the tightness pattern.
A label to show the buy price after 3 week tight pattern.
Optional alert when the 3 weeks tight pattern is recognized.
[JRL] ATR Pivot PointsThis indicator plots pivot points with support and resistance lines based on average true range (ATR). ATR is one of the best volatility and trading range predictors, so it can be very useful for finding confluence in any strategy.
Multitimeframe Pivot HiLoPivot High/Low for multi timeframes.
Could be great entry filter to include multi time frame pivots in trend trading strategies.
Higher vs Lower Pivots overlayA simple script that I made that draws lines between the high and low pivots. The color of the line define if the pivot is higher or lower than the previous pivot. The main thing to tune is the pivot look back vs look ahead, which are the same params used by the tradingview pivot indicator. There are several other params you can tweaks to get the look you want.
Excellent ADXThe Average Directional movement indeX (ADX) is an indicator that helps you determine the trend direction, pivot points, and much more else! But it looks not so easy as other famous indicators. It seems strange or even terrible, but don't be afraid. Let's understand how it works and get its power into your analysis tactics.
In the beginning, imagine a drunk man goes through a ladder: step by step. Up, up, down, up, down, down, up...
How can we understand which direction he goes? Exactly! We can count the number of steps in each direction. In the above example, in the upward – 4, in the downward – 3. So, it looks like he goes in an upward direction.
The ADX indicator counts the same steps, but for price. The size of each step equals 1 ATR for "DI Length" candles. On the indicator chart, we have the green and red lines. The green line represents a number of steps upward. The red line shows one downward. When the red line upper green, then the price goes below, then the trend is directed down. Later the green line comes above the red one, and then the trend changes the direction to upward. Wow? After that, you can easy detect the trend direction on the market!
But it is still not the end. On the chart, we also have the fat blue line. This is the ADX line, and it represents the power of the trend. It is calculated from a distance between the green and red curves. The ADX line value grows if the distance is increased. If the movement is really powerful, then a number of steps into a direction much more prominent than one in an opposed direction. Then the blue line grows faster. But if the growth has stopped and the blue line turns back or already had changed self-direction, then it is a signal that the trend has ended too. It's an excellent sign to close the position (but not always). Easy? Not quite. Thresholds help you there. The indicator has two additional parameters: upper and lower thresholds to evaluate the trend-over signal strength. An u-turn of the ADX line above the upper threshold sends a strong signal. If one occurs between both thresholds, it is a bit weak signal. But if the blue line goes below the lower threshold, it looks like there is no trend, and the price goes side. We can also say that the price goes side when the ADX value gradually falls down.
The Excellent ADX indicator helps you catch pivot/pullback signals based on green, red, and blue lines. Each such signal is highlighted as a green (buy) or red (sell) dot on the plot. The size of the dot represents the strength of the signal. You can also check the position of green and red lines from each other to determine the trend direction and the place where it has been changed. The Excellent ADX indicator helps you there too. It highlights the trend direction by the background-color, so you'll never miss it! The Excellent ADX good compliance with the Price Channel indicator built for the same length. You can use them together to be on a trend wave always!
Pivot Support / Resistance Panel [JV]Hello Traders,
First all of thanks to LonesomeTheBlue for making me grasp arrays, a wonderful addition to Pine Script.
This indicator uses arrays to find Pivot Points and mark them as Support / Resistance.
It displays an info panel with the latest values.
This code was written using the following standards:
• PineCoders Coding Conventions for Pine: www.pinecoders.com
Configurable options:
Up to 6 Support / Resistance Levels.
Pivot Lookback Period.
Panel Color.
Text Color.
Panel Offset.
Panel Size.
Enjoy!
Pivots High Low (HH/HL/LH/LL)/Trend [Anan] Hello Friends,,
This is pivot points high low with pivot trend to define the trend direction.
Pivot trend is the pivot points average.
Options:
- Pivot Point Period
- Show/hide Pivot Points Labels
- Show/hide Bull/Bear Labels ( depends on pivot trend)
- Show/hide Pivot Center Line (Bull>Center, Bear<Center)
- Show/hide Support/Resistance Level Extensions
- Show/hide Fractal Break Arrows (you can set alerts as well)
Borjas Tarh Horizontals S/RBorjas Tarh Horizontals
Automatically Plot Horizontals Support and Resistance.
In the Setting, you should optimize the values according to each time frame of the ticker.
Pivot Length : Number of bars to use to calculate pivot
Max Breaks : Maximum number of times a line can be broken before it's invalidated
Max Distance % : Maximum distance PA can move away from line before it's invalidated
Frontrun/Overshoot Threshold % : If PA reverses within this distance of an existing S&R line, consider it a Frontrun / Overshoot
You can copy it and make it better.
Pivot Range - Fisher's Methodology(1D & 3D & W & M)Pivot Range - Fisher's Methodology(1D & 3D & W & M)
Version 2.00
Created by TWA_TradeWithAmir(TWA_PriceActionTips)
Updated 10/29/2020
Based On Mark B. Fisher's ACD Methodology
* 1D Pivot Range, 3D Pivot Range, Weekly Pivot Range & Monthly Pivot Range
Hancock - Pivot RangeShows central pivot point and developing central pivot point and colors both pivot ranges based on pivot criteria without using security function calls.
Green - Indicates up trend
Red - Indicates down trend
Orange - Indicates pivot point territory
Happy trading
Hancock
Derivative Pivot HL Points Hello.
This script aims to take into account mutable variable Pivot Points' periods.
While doing this, it takes the period between 2 signals that I use in the script:
And these periods in my Pivot HL function integrated into len length (Mutable variables) :
The cornerstone of the script is these facts.
Pivot can be optimized by playing with reversal periods.
These pre-formed levels can be used as Supply and Demand levels.
Regards.
Pivot Points 17 - StandardDisclaimer!
-This indicator doesn't tell you the market condition (BUY or SELL)
Cons!
- Totally dependent on your knowledge
Pros!
- Projects the Key Levels of a single time frame on the chart
Usage!
- Watch out for rejections at these levels
- Identify breakouts at these levels with strong confirmation like RETEST (as Level Role Reversal)
Pivot point labelThis script provides the user with a label containing the high and low pivot points from a period defined by the user.
Fractal Adaptive Entry IndicatorThis entry indicator was inspired by John Ehle'rs "Fractal Adaptive Moving Average"
It's a very sensitive entry indicator that must be paired with a long-term trend detector in order to filter false positives.
Warning I have not backtested this indicator and will not make any claims to its performance.
Visually, it looks promising, however, backtesting and statistical analysis takes time.
Happy trading
<3