Các điểm Pivot
Daily Settlement (BM&FBOVESPA B3 FUTURES)This script is simple designed to plot the daily settlement to any Securities traded on B3, Brazilian stock exchange.
The daily settlement is an important price where position traders are adjusted every day. This adjustment is defined by the exchange itself every day at approximately 4 pm, with an average of all trades in this window.
We consider that the settlement is a region of "money spent", where every day, some player "woke up" in long or in short at that price. As this is a region of "money spent", traders should give significant attention when traded at this price.
Central Pivot Ranges (CPR) & 3 x VWAP & BarcolorsThis Script Combines daily, weekly and monthly VWAP (Volume Weighted Average Price) with a intraday, daily, weekly and monthly CPR (Central Pivot Range) - which is considered by some traders as the bread and butter of the market for a reason. A combination of Multiple CPRs and VWAPs from different timeframes can provide you with interesting confluences that can give you more confidence in performing your trades.
CPR Features:
- The option to look at current or developing CPRs.
- A resolution selector for all 4 CPRs
- Options to hide and show Tops, Bottoms and Pivots separately
- Various Styling options
- Alerts
VWAP Features:
- 3 x preset VWAPs set to daily, weekly and monthly
- VWAP Lines from the daily O&C or H&L
- Previous VWAP for S/R
- Line Styling options
General Features:
- Barcolors by pivots crossed or daily, weekly and monthly VWAP.
- Barcolors by daily VWAP additionally contain an O and C check instead of just taking the price above or below the VWAP into consideration.
Pivot Support & ResistanceHere signals are based on the pivot high and pivot lows. Factors taken into account in understanding the breakout or breakdown are:
volume
candle bar is not opening candle
must be near pivot high or low
Recommendation:
Use once candle closes else you might get trapped in certain cases so be careful
Higher order Orderblocks + Breakerblocks + Range + AlertsThis script identifies Orderblocks, Breakerblocks and Range using higher order pivots and priceaction logic.
I tried to reduce the number of blocks to make the chart cleaner, for this purpose I use only second order pivots for both MSB lines and supply/demand boxes, I also tried to filter out shifts in MS and false breakouts.
Any box has GRAY color until it gets tested.
After successful test box gets colors:
RED for Supply
GREEN for Demand
BLUE for any Breakerblocks
For cleaner chart and script speed all broken boxes deletes from chart.
It gives comparatively clean chart on any TF, even on extra small (5m, 3m, 1m).
For Range there is option to plot 0.25, 0.5, 0.75 lines.
I usually use log scale on charts and there is an option to use it for proper range mean.
In previous my scripts i have requests to make alerts and this time i made it.
It has customizable alert catching all needed alerts into one output:
- Alert MSB - when market structure changes alert will inform you about its direction, MSB line and new Demand/Supply.
- Alert Orderblock or Breakerblock test - alerts when block was tested and it holds (in other words when it get RED/GREEN/BLUE colors)
- Alert New Range - when new range detected
- Alert Range test - alerts when range top or botoom was tested and it holds.
some examples :
AG FX - Pivot PointsPivot Points High Low
Definition
The Pivot Points High Low indicator is used to determine and anticipate potential changes in market price and reversals. The Highs referred to in the title are created based on the number of bars that exhibit lower highs on either side of a Pivot Point High, whereas the Lows are created based on the number of bars that exhibit higher lows on either side of a Pivot Point Low.
Calculations
As mentioned above, Pivot Point Highs are calculated by the number of bars with lower highs on either side of a Pivot Point High calculation. Similarly, Pivot Point Lows are calculated by the number of bars with higher lows on either side of a Pivot Point Low calculation.
Takeaways and what to look for
A Pivot Point is more significant or noteworthy if the trend is extended or longer than average. This can mean if a trader selects a higher period for before and after the Pivot Point, the trend could be longer and therefore prove the Pivot Point itself more notable.
Additionally, Pivot Points can help a trader assess where would be best to draw. By analyzing price changes and reversals, a trader has more of an ability to determine and predict price patterns and general price trends.
Summary
The Pivot Points High Low indicator can predict and determine price changes and potential reversals in the market. Pivot Points can also help traders identify price patterns and trends, depending on the period and significance of the Pivot Point value.
NSK CRPIndicator Daily CPR, daily/weekly/monthly Pivot points, daily/weekly/monthly high and low and EMA for self use prepared by picking up stuff from collaborators here. Thanks for the community.
All-Time High with Percentage Drops for ETF's and Large CapsPlots the percentage drop levels from the All-Time High of any ticker. You can use this within a pullback trading system. For example, if you historically look at the average pullback of large cap stocks and ETF's, you can use this indicator to plot the levels it could pullback to for an entry to go long. It can be used as potential targets when trading a ticker short. Another use for this is to backtest the set percentage targets using TradingView's bar replay feature to see how ETF's and large cap stocks have reacted at these levels.
Currently percentage levels are statically set to 1, 2, 3, 5, 7, 10, & 20% levels below the All-Time High.
*Not financial advice but in my opinion the current percentage levels set (see above) are best used for ETF's and Large Cap Stocks.
Higher Time Frame Chart OverlayHello All,
This script gets OHLC values from any security and Higher/Same time frame you set, then creates the chart including last 10 candles. it shows Symbol name, Time Frame, Highest/Lowest level of last 10 candles and Close Price at the right side of the chart as well. Closing price text color changes by the real-time candle of the related symbol and time frame. The all this was made using the Tables in Pine and the chart location doesn't change even if you change the size of main chart window.
Almost everything can be change as you want. You can change/set:
- Colors of Body and Top/Bottom Wicks separately
- The Height of each Cell
- The Width of Body and Wicks
- The Background and Frame color
- Enable/disable Status Panel (if you disable Status Panel then only candle chart is shown)
- Location of Status Panel
- Text color and Text size
- The Background color of Status Panel
Some examples:
The info shown in Status Panel:
You can change The Height of each Cell and The Width of Body and Wicks
You can change colors:
You can change location of the chart:
If you add the script more than once then you can see the charts for different symbols and time frames: (This may slow down your chart)
If you right-click on the script and choose "Visual Order" => "Bring to front" then it will be better visually:
P.S. Using this script may slow down your chart, especially if you add it more than once
Enjoy!
PivotPointsDailyTraditionalLibrary "PivotPointsDailyTraditional"
Provides the traditional daily pivot values and a pivot vacinity function.
P(level, daysPrior) Returns the P value.
Parameters:
level : The level to caclulate.
daysPrior : The number of days in the past to do the calculation.
R(level, daysPrior) Calculates the R value for a given pivot level.
Parameters:
level : The level to caclulate.
daysPrior : The number of days in the past to do the calculation.
S(level, daysPrior) Calculates the S value for a given pivot level.
Parameters:
level : The level to caclulate.
daysPrior : The number of days in the past to do the calculation.
vacinity(value, daysPrior, maxLevel) Returns a value representing where the provided value is in relation to each pivot level.
Parameters:
value : The value to compare against.
daysPrior : The number of days in the past to do the calculation.
maxLevel : The maximum number of pivot levels to include.
Isolated PivotsThis script identifies potential price reversals at pivot high/low points using sets of 3 candles.
Pivot High: The middle candle must have a higher high and a higher low than the two outer candles.
Pivot Low: The middle candle must have a lower low and a lower high than the two outer candles.
Potential usage: When a market is moving higher in an uptrend, if a pivot low is identified then that might be a sign of price weakness.
[CP]Pivot Boss Floor Pivots with ATR Dilation and Dynamic LevelsINTRODUCTION:
Compared to all the Pivot Indicators available on Trading View Public Library, this Floor Pivots Indicator differentiates itself in two major original ways:
Dilates the Pivot Support/Resistance Levels into Support/Resistance Bands based on volatility
Displays the S/R Levels Dynamically , that is, only those levels will be shown that are close enough to the price resulting in much cleaner looking charts.
There were a few features whose logic I had figured out, but I could not implement them due Pine Script’s Limitation (they should really work on increasing Pine Script’s capacity instead of adding more and more features to the language in order to make it look ‘better’):
Showing multiple timeframe pivots at the same time (not possible due to Pine Script’s limitation on the ‘Max Number of Outputs’ )
Automatic Detection of highly profitable Double Hot Pivot Zones (DPZ), also due to the ‘Max Number of Outputs’ limit
GENERAL USER INPUTS:
Most of the settings are self-explanatory, however, a few of them need some explanation:
Show Floor Pivots Dynamically – This will turn ON the dynamic pivot levels, please note that this function will work ONLY IN INTRADAY timeframes.
Dynamic Pivot ATR Period – Period over which the ATR value is calculated to show the pivots dynamically.
ATR Threshold for Dynamic Floor Pivots – Simply put, the indicator will start displaying Pivot Levels if they fall within the 2*ATR distance (default value) of the price. You can increase this number if the volatility increases and vice-versa.
Use ATR to Dilate Intraday Pivot Levels – This will turn ON Floor Pivot Dilation, turning pivot ‘lines’ into ‘bands’ .
ATR Dilation Factor – This number decides the width of the Pivot bands. Larger this number, thicker the bands. Typically, high volatility stocks will require a higher number.
ATR Period – Same as Dynamic Pivot ATR Period, but for Pivot Level Dilation.
INDICATOR USAGE EXAMPLES:
This indicator works great in conjunction with my Pivot Boss Candlestick Scanner indicator.
There are a lot of optimizations I have done in the code, although it looks trivial at first glance, but it's fairly complex.
Feel free to use it and modify it as you wish.
Here are a few examples where the indicator has shown great entries and exits, with the default settings:
NIFTY 5m Chart
Reliance 5m Chart
Tesla 5m Chart
Bitcoin-USDT 15m Chart
FINAL WORDS:
Please understand that I have Cherry Picked the examples to showcase the capability of the indicator and its usage.
DO NOT conflate the accuracy of examples with the accuracy of this indicator.
Once you start using floor pivots, you will realize that a lot of days simply don’t give any high probability setups and you will simply sit out of the market and do nothing (which is a good thing).
If you really want to learn how to use Pivots, read the book ’Secrets of a Pivot Boss’ . This book can change your life.
Indicators OverlayHello All,
This script shows the indicators in separate windows on the main chart. Included indicators are RSI, CCI, OBV, Stochastic, Money Flow Index, Average True Range and Chande Momentum Oscillator. indicator windows are located at the top or bottom of the chart according to last moves of the Closing price. Different colors are used for each indicator. Horizontal levels are shown as dashed line and label as well.
Using the options;
You can enable/disable the indicators you want to see or not
You can change source and length for each indicator
You can set window length. using this length indicator windows are located on the chart
After you added this indicator to your chart I recommend: right click on any of the indicator windows => "Visual Order" => "Bring to front" as seen screenshot below:
in this example only 3 indicators enabled and period is set as 80:
indicator windows moves to the top or bottom of the chart according to the close price:
P.S. if you want to see any other indicator in the options then leave a comment under the indicator ;)
Enjoy!
Anchored VWAP Hand-OffBrian Shannon's "VWAP hand off" strategy, Has been my "go to" for some time now. Version 5 makes this much easier, with drag and drop placement.
When price taps the base anchored VWAP, a second VWAP is plotted at that point. When price taps the second, a third is plotted, and so on.
Each consecutive VWAP can be used to identify trend and future pivot points as trend continues.
IF the VWAPS look messy, price action is choppy and a trend hasnt yet started.
Order BlocksThis is experimental Indicator is to help identifying Order Blocks.
It uses not confirmed higher order pivots as Higher Highs (HH) and Lower Lows (LL), finds high/lows that created most recent LL/HH and in case if this high/low are broken it notes candle that broke structure, market structure broke line (MSB) and demand box (candle that created liquidity for the move that broke structure).
Concepts and parts of code used in this study:
1) @rumpypumpydumpy - Higher Order Pivots
2) @MarkMiddleton2020 - Order Blocks
Central Pivot Ranges & Pivot based BarcolorsThe Central Pivot Range derived from the pivot of a defined higher timeframe is the considered by some traders as the bread and butter levels of the market for a reason.
A combination of 3 CPRs from different timeframes can provide you with some some more insight into the assets your analysing and might offers you some more confidence in performing your trades.
This script also offers you an extensive amount of options like:
- The option to look at current or developing CPRs.
- A resolution selector
- Options to hide and show Tops Bottoms and Pivots seperately
- Color selectors depending on the close price up or down the pivots
- And an option to colorize your candles by pivots crossed.
Market Sessions Open/Close LevelsThis indicator displays the market open and close price levels for the main trading sessions (Sydney, Tokyo, Frankfurt, London and New York). The Daily Line changes color depending on if price is trading above or below the level. Feel free to add or replace levels depending on your trading style and trading times.
CreateAndShowZigzagLibrary "CreateAndShowZigzag"
Functions in this library creates/updates zigzag array and shows the zigzag
getZigzag(zigzag, prd, max_array_size) calculates zigzag using period
Parameters:
zigzag : is the float array for the zigzag (should be defined like "var zigzag = array.new_float(0)"). each zigzag points contains 2 element: 1. price level of the zz point 2. bar_index of the zz point
prd : is the length to calculate zigzag waves by highest(prd)/lowest(prd)
max_array_size : is the maximum number of elements in zigzag, keep in mind each zigzag point contains 2 elements, so for example if it's 10 then zigzag has 10/2 => 5 zigzag points
Returns: dir that is the current direction of the zigzag
showZigzag(zigzag, oldzigzag, dir, upcol, dncol) this function shows zigzag
Parameters:
zigzag : is the float array for the zigzag (should be defined like "var zigzag = array.new_float(0)"). each zigzag points contains 2 element: 1. price level of the zz point 2. bar_index of the zz point
oldzigzag : is the float array for the zigzag, you get copy the zigzag array to oldzigzag by "oldzigzag = array.copy(zigzay)" before calling get_zigzag() function
dir : is the direction of the zigzag wave
upcol : is the color of the line if zigzag direction is up
dncol : is the color of the line if zigzag direction is down
Returns: null
VCP pivot buyIt will buy the breakout of the pivot in a bullish trend which is defined by the Mark Minervini stage 2 template
Set the stop loss% and Target% in your favor ( recommend the stoploss% as the low percentile atrp )
It helps indicate the contraction point so that we can have a low-risk entry of a buy point.
It followed the strategy of Mark Minervini.
changing the lookback period input to change the percentile
changing the Pivot Length to decide how many bars you would consider as a pivot
changing the Close range to decide in how much percentage does the close range you would consider as a pivot
The percentile rank is represented in the colour of the background, you can alter how low you want to set to indicate lowering volatility.
The blue line shows the percentage range in ( pivot length) days/bars
The coloured background shows the signal of pivot point forming
Pivot Point (MM)It helps indicate the contraction point so that we can have a low-risk entry of a buy point.
It followed the strategy of Mark Minervini.
changing the lookback period input to change the percentile
changing the Pivot Length to decide how many bars you would consider as a pivot
changing the Close range to decide in how much percentage does the close range you would consider as a pivot
The percentile rank is represented in the colour of the background, you can alter how low you want to set to indicate lowering volatility.
The blue line shows the percentage range in ( pivot length) days/bars
The coloured background shows the signal of pivot point forming
TSLA $4 Red CandleThose who trade TSLA often have come to know that a $4ish red candle on the 15min chart is normally a sign of a trend reversal to the downside by the market makers. To help identify these with ease this script will label any candles that close red with a $4.00 -> $4.99 price gap.
ZigZag Chart with SupertrendHello All,
This script creates Zigzag Chart by using Zigzag waves, so it's timeless chart meaning that no time dependency on X-axis. Optionally it can calculate & show Zigzag Supertrend or Simple Moving Average. Also it can change bar colors of the main chart by trend direction of Zigzag Supertrend.
As seen below, each zigzag wave is a candle on Zigzag chart:
You have a few options and using these options you can find best settings for the securities/timeframes.
You can change Zigzag period, if you change Zigzag Period then all zigzag and the chart is recalculated/reconstructed.
You have option to show Zigzag Supertrend or Zigzag Moving Average, the options you have;
- You can change ATR Length and ATR multiplier for supertrend
- You can change Length for Simple Moving Average
You can change Zigzag candle & wick colors using options. Also you have option to change bar colors according to Zigzag Supertrend direction.
As it's timeless chart, below you can see how/when bar colors and Zigzag Supertrend change:
You can see Simple Moving Average of the Zigzag Candles:
You can play with ATR length and multiplier to find best supertrend:
You can play with the candle & wick colors:
Enjoy!
On-chart Wavetrend Divergence with PivotsThis is an OnChart WaveTrend Divergence Indicator with Pivots and Alerts
LazyBears WaveTrend Indicator or also known as "Market Cipher" is an Indicator that is based on Moving Averages, therefore its an "lagging indicator". Lagging indicators are best used in combination with leading indicators. In this script the "leading indicator" component are Daily, Weekly or Monthly Pivots. These Pivots can be used as dynamic Support and Resistance, Stoploss, Take Profit etc.
This indicator combination is best used in larger timeframes. For lower timeframes you might need to change settings to your liking.
What are those circles?
-These are the WaveTrend Divergences. Red for Regular-Bearish. Orange for Hidden-Bearish. Green for Regular-Bullish. Aqua for Hidden-Bullish.
Please keep in mind that this indicator is a tool and not a strategy, do not blindly trade signals, do your own research first! Use this indicator in conjunction with other indicators to get multiple confirmations.