Pivoting PivotMany people use Pivots when conducting analysis, but I don't see many people using pivoting pivots. Pivoting pivots are pivots that don't have any other pivots around them. They can be useful when trying to separate pivot clusters from important pivot points.
The code is calculated by finding the distance between two candlesticks (left check), then calculating the distance between the last pivot and the current candlestick.
On the chart: labels are TradingView's official pivot high and pivot low script, and the blue candle color is my pivoting pivots (both with a look left and look right of 2).
Special thanks to @fikira for helping me with ideas for the calculations!
Pivot Noktaları
Nabz-BBMACD-2022-V1.1I have tried to make script which triggers indicators on combination of different feedback including Bollinger bands and MACD. Also used some of my logic by trial and error, It gave 744%+ profit on back-testing on coin RUNE/USDT from Jan 2021. It is my first script, I am happy to help the community. Please share your feedback.
Hayden's Advanced Relative Strength Index (RSI)Preface: I'm just the bartender serving today's freshly blended concoction; I'd like to send a massive THANK YOU to @iFuSiiOnzZ, @Koalafied_3, @LonesomeTheBlue, @LazyBear, @dgtrd and the rest of the PineWizards for the locally-sourced ingredients. I am simply a code editor, not a code author. The book that inspired this indicator is a free download, plus all of the pieces I used were free code from the PineWizards; my hope is that any additional useful development of The Complete RSI trading system also is offered open-source to the community for collaboration.
Features: Fixed & Custom price targeting. Triple trend state detection. Advanced data ticker. Candles, bars, or line RSI . Stochastic of over 20 indicators for adjustable entry/exit signals. Customizable trader watermark. Trend lines for spotting wedges , triangles, pennants , etc. Divergences for spotting potential reversals and Momentum Discrepancy Reversal Point opportunities. RSI percent change and price pivot labels. Gradient bar coloring on-chart.
‼ IMPORTANT: Hover over labels for additional information. Google & read John Hayden's "The Complete RSI" pdf book for comprehensive instructions before attempting to trade with this indicator. Always keep an eye on higher/stronger timeframes.
⚠ DISCLAIMER: DYOR. Not financial advice. Not a trading system. I am not affiliated with TradingView or John Hayden; this is my own personally PineScripted presentation of a suitable RSI to use when trading according to Hayden's rules.
About the Editor: I am a former-FINRA Registered Representative, inventor/patent-holder, and self-taught PineScripter. I mostly code on a v3 Pinescript level so expect heavy scripts that could use some shortening with modern conventions.
Hayden's RSI Rules:
📈 An Uptrend is indicated when:
1. RSI is in the 80 to 40 range
2. The chart shows simple bearish divergence
3. The chart shows Hidden bullish divergence
4. The chart shows Momentum Discrepancy Reversal Up
5. Upside targets being hit
6. 9-bar simple MA is greater than the 45-bar EMA on RSI
7. Counter-trend declines do not exceed 50% of the previous rally
🔮 An Uptrend is in danger when:
1. Longer timeframe fading rally
2. a) Multiple long-term bearish divergences. b) Upside targets not being hit.
3. 9-bar simple MA is less than the 45-bar EMA on RSI
4. Hidden bearish divergence, or simple bullish divergence
5. Deep counter-trend retracements greater than 50%
📉 A Downtrend is indicated when:
1. RSI is in the 60 to 20 range
2. The chart shows simple bullish divergences.
3. The chart shows Hidden bearish divergence
4. The chart shows Momentum Discrepancy Reversal Down
5. Downside targets being hit
6. 9-bar simple MA is less than the 45-bar EMA on RSI
7. Counter-trend rallies do not exceed 50% of the previous decline
🔮 A Downtrend is in danger when:
1. Longer timeframe fading decline
2. a) Multiple long-term bullish divergences. b) Downside targets not being hit.
3. 9-bar simple MA is greater than the 45-bar EMA on RSI
4. Hidden bullish divergence , or simple bearish divergence
5. Steep counter-trend retracements greater than 50%
TRENDLINE V1Hello all ...
this is the source trendline of the three pivots
with adjustable resolution and length
function to find a breakout or breakdown
CPR WITH BREAKOUTCPR with 10-30 mins Breakout
This indicator includes CPR with 15-30 mins breakout, resistance, support, previous day low, previous day high, day low and day high etc,
please backtest before use
regards
The Malayali Trader
[CP]Pivot Boss Multi Timeframe CPR Inception with MACD and EMAINTRODUCTION:
This indicator combines multi-timeframe CPR bands with MACD Momentum and EMA trend, all projected on the candlestick chart through a novel visualization.
If you have seen my other indicators on TradingView, you would know that I use floor pivots a lot and “Secrets of a Pivot Boss” is my favorite book. While using floor pivots, time and again I have noticed an interesting price behavior,
Trending moves in price typically start from around the Central Pivot Range (CPR). The CPR could be from ANY timeframe. These moves can easily be caught using simple momentum and trend indicators like MACD and EMA crossovers.
Yes, it is that simple. Follow along to understand how to use this indicator.
INDICATOR SETTINGS:
RANGEBOUND MACD AND EMA MARKINGS:
TradingView limits the max number of labels that can be shown on a chart to 500. Therefore, if you go far back enough, you won't see any markings for the MACD or EMA setups. If you are looking to test the efficacy of this indicator in the past, change the start and end dates to your desired timeframe and then select the ‘Mark MACD and EMA Setups in Range?’ option.
MULTI TIMEFRAME CENTRAL PIVOT RANGE:
Here you can select CPRs and their bands from which timeframes are shown on the chart. I will share my favorite settings later in this description.
CPR CONFIGURATION:
Show CPR Labels: CPRs markings can carry labels, so that you don’t confuse between which line is what. Use this setting to toggle them On/Off.
Show Next Time Period Pivots: Check this option if you want to see the CPR of the next time period. This is typically done to figure out the ’Two Day CPR Relationship’ . Read the book, “Secrets of a Pivot Boss”, to understand more.
EMA TREND:
Show EMA on the Chart: EMAs will be plotted on the chart. Standard stuff.
Mark EMA Crossovers on Chart: EMA crossovers will be marked on the chart in diamond shapes. If you are using EMA crossovers, I recommend setting this option to True.
Rest of the EMA settings are fairly obvious.
MACD MOMENTUM:
Projecting MACD parameters directly on the candlesticks is surely going to give you a new perspective about price action and MACD.
Also, in order to better understand the MACD projections on the chart, you can add a standard MACD indicator on the chart with default settings to figure out what my indicator is actually showing you.
Marking MACD Crossovers on Chart: Marks the MACD signal crossovers on the chart. This visualization was a game changer for me.
Show MACD Histogram on Chart: Projects the complete MACD Histogram in a novel fashion (Try it!). You will be able to visually see the ebbs and flow of momentum in the charts.
Mark MACD Histogram Peaks on Chart: Marks only the MACD peaks instead of the complete histogram. Peaks are a great way to enter an ongoing trend and to play an intraday rangebound market.
Rest of the settings are just the standard settings that you will find in a typical MACD indicator.
ALERTS:
Not shown in the settings panel, but I have added alerts for EMA and MACD Crossovers so that you don’t have to sit in front of the charts or constantly check the price all day long.
If you don’t know how to set alerts in TradingView, then please Google it.
INDICATOR USAGE EXAMPLES:
This indicator can be used in intraday as well as in higher timeframes.
There are quite a few variations possible, I personally prefer to use the EMA crossovers in intraday (5m) and MACD on Daily timeframes.
This is just a matter of personal preference, some people might prefer using EMAs only or MACD only in all timeframes.
Here are my personal settings for the intraday 5-minute timeframe:
Turn on all the CPR pivots starting from Yearly all the way to Daily. You can turn on 6 hourly and 4 hourly as well if you want.
Hourly CPR is mostly used when the price is in a strong trend and you missed the entry and don’t know when to enter. Price will typically experience pullbacks towards the Hourly CPR, before resuming in the direction of the trend. That is your chance to hop onto the bandwagon.
For Intraday, I keep the Bands off. Just a personal preference here.
You can turn ON the Show CPR Labels , if you want.
Turn ON both the options in the EMA TREND section. You would want to see the EMA crossovers marked on the chart as well as the EMAs themselves, as the distance between the two EMAs will give you an idea about the strength of the trend.
Keep rest of the settings in the EMA section as default (you can change the colors if you wish). I keep the same EMAs as the ones kept in the MACD indicator. I like to keep things simple.
In the MACD MOMENTUM section, turn ON Mark MACD Histogram Peaks on Chart and all the other options turned OFF. Leave the other settings as default. By the way, these are the default settings of the standard MACD Indicator.
You can set up EMA Bullcross and Bearcross alarms if you like.
Before checking out the examples, remember one super simple rule:
SOME OF THE BEST TRENDING MOVES IN THE MARKET, BE IT INTRADAY OR OTHERWISE, ORIGINATE IN THE VICINITY OF A LARGER TIMEFRAME PIVOT/CPR.
Look for price settling above/below a pivot, and then a move away from the pivot in any direction is typically a trending move.
You can use hourly pivots or MACD Histogram peaks marked on the chart to enter an existing trend, or add to your positions.
Let’s have a look at a few recent intraday examples from the Crypto, Indian, and US equity markets.
I have added my comments in the charts to make you easily understand what is going on.
Understand that both, moving average crossover and MACD, will give out a lot of signals (chop) every day. But almost 70% of them are going to be fake signals. It is the signals that you get when the price is near a Pivot, that tend to convert into gorgeous trending moves that last.
BTC 5m Charts
NIFTY Futures 5m Charts (good intraday trends are hard to find here, as the market is very efficient)
TSLA 5m Charts
Some important points for using this indicator in higher timeframes:
For higher timeframes, my personal preference is to go with the MACD indicator. I personally find MACD to be lethal on daily and weekly timeframes, if you know how to use it well.
The default settings of the indicator are the settings I use for both, Daily and Weekly, timeframes. Additionally, I turn off the CPR labels.
In theory large trending moves still have a big probability to start near an important pivot level, however, in larger timeframes, trending moves can start from anywhere. They need not start in the vicinity of any important pivot (but they often do!).
Weekly pivots can act as great pullback levels when the price is in strong momentum, when trading on the daily timeframe.
Quarterly Pivots act as great pullback levels when the price is in strong momentum, when trading on the weekly timeframe.
BTC Weekly Chart
BTC Daily Chart
Nifty Weekly Chart
Nifty Daily Chart
NASDAQ Weekly Chart
NASDAQ Daily 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.
Biggest catch is the fact that this indicator, like every other indicator out there, will have whipsaws. Some I have also marked in the example charts.
You need to come up with your own technique to avoid whipsaws, one technique I have shared here…… big moves typically start near pivots.
Work on avoiding whipsaws and finding you own edge in the markets.
If you really want to learn how to use Pivots, read the book ’Secrets of a Pivot Boss’ . This book can change your life.
Pivot Points High Low Multi Time FrameHello All,
There are built-in and published Pivot Point High Low indicators in Public Library but as far as I see none of them is for Higher Time frames. so I decided to write & publish this script. I hope it would be useful while trading or developing your own scripts. I also did this to use in one of my future projects (we will see it in a few weeks/months ;) ).
I tried to make all settings optional, so you can play with them as you wish.
P.S. There is no control mechanism if the chart time frame is lower than the time frame in the options. So you better set higher time frame in the options than the chart time frame.
Enjoy!
Weekly Returns with BenchmarkSome time ago I published Monthly returns table. Now It's time for weekly one.
To get it work you need a pretty big screen, but I hope it will be useful for some of you.
Features of this table includes:
Display weekly returns of your strategy, benchmark, and alpha over this benchmark.
Select benchmark to be another instrument
Select the date from which you want to compute monthly returns
Show/hide benchmark and alpha
Choose colors for gradient for gain/loss values
Use it with any type of strategy
Use it with replay
Thanks to @MUQWISHI to help me coding it.
It's not about the strategy itself but the way you display returns on your chart. So pls don't critique my choice of the strategy and its performance 🙂
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 well as in historical backtesting.
This post and the script don’t provide any financial advice.
Pivot Moving Average steteggythis Pivot Moving Average steteggy works best on a chart --->>Above 100$ crypto
Sniper is very profitable in terms of% good trades
It will perform very well on 1-5X Leverage (Solid leverage, not variable depending on the volume )
TP: 0.9 %
SL : 5.5 %
CPR with Developing Pivot RangeThis Developing Pivot Range(DPR) made by Saravanan_Ragavan based on Pivot Boss Developing Pivot Range Concept. This indicator will show how the CPR is developing during the day. Also it shows how trend developing. range fills with green and widening in up trend, wise versa range fills with red and widening in down trend.
Pivot Boss described as following about this indicator:
The Developing Pivot Range (DPR) indicator dynamically calculates the central pivot range in real time as new data enters the market bar by bar. Essentially, this indicator allows you to see the “meat of the market” as the day’s trading activity is taking place. More importantly, however, the closing values for the indicator tell you where the central pivot range will be located for the following session, which paves the way for analyzing extremely important two-day pivot range relationships and key width characteristics. Having this information in advance allows us to prepare properly for the
upcoming session.
Note: Today Session end DPR become Tomorrow's CPR.
Hope this Helps you!
RSI Local TrendA simple indicator using two RSIs.
Conditions for buy:
RSI(slow) < RSI(fast) and RSI(slow) < long_trigger
Conditions for sell:
RSI(slow) > RSI(fast) and RSI(slow) > short_trigger
It is recommended to use in small timeframes for scalping.
Recommended settings:
slow = 3
fast = 14
long_trigger = 30
short_trigger = 70
In markets where there is very high volatility, it is recommended to change the trigger parameters:
long_trigger = 20
short_trigger = 80
3EMA + Boullinger + PIVOTTRES EMAS + BANDAS DE BOLLINGER + PIVOTE
INDICADOR 1: TRES EMAS (MEDIA MOVIL EXPONENCIAL)
Con este indicador puede visualizar el promedio de precios con mayor peso a los datos mas recientes.
Se calculan y dibujan tres medias móviles exponenciales: 8, 20 y 200 últimas velas.
-Rápida EMA1 = 8
-Media EMA2 = 20
-Lenta EMA 3 = 200
INDICADOR 2: BANDAS DE BOLLINGER
Con este indicador podrá ver la fuerza y la tendencia del mercado, es decir la mide la volatilidad del precio del activo.
Si el precio sobrepasa la banda superior, el activo está sobrecomprado.
Si el precio sobrepasa la banda inferior, el activo está sobrevendido.
Longitud tendencia - BASE = 20, paso = 1
Desviación Estándar - Multiplicador = 2, paso = 0.2
INDICADOR 3: PIVOTE
Este indicador etiqueta los puntos donde el precio es mínimo y máximo, en un rango de velas determinado en el parámetro "Distancia para el Pivote".
Estos 3 indicadores sirven para todo tipo de activos: FOREX, CRIPTO, CFD´s, ETC.
------------------------------------------------------------------------------------------------------------------
THREE EMAS + BOLLINGER BANDS + PIVOT
INDICATOR 1: THREE EMAS ( EXPONENTIAL MOVING AVERAGE )
With this indicator you can visualize the average of prices with greater weight to the most recent data.
Three exponential moving averages are calculated and drawn: 4, 20 and 200 last candles.
-Fast EMA1 = 8
-Average EMA2 = 20
-Slow EMA 3 = 200
INDICATOR 2: BOLLINGER BANDS
With this indicator you can see the strength and trend of the market, that is, it is measured by the volatility of the asset price.
If the price goes above the upper band, the asset is overbought.
If the price goes above the lower band, the asset is oversold.
Trend length - BASE = 20, step = 1
Standard Deviation - Multiplier = 2, step = 0.2
INDICATOR 3: PIVOT
This indicator labels the points where the price is minimum and maximum, in a range of candles determined in the parameter "Distance to Pivot".
These 3 indicators are used for all types of assets: FOREX, CRYPT, CFD's, ETC.
Simple Pivot Points with dots, not lines(automatic setup)1. Why Pivot Point is popular
Because unlike most indicators, it's not lagging! It is forward-looking, it's real-time, it's just right there.
2. Why this script is created?
I don't like many indicator lines crossing my screen everywhere, just as some Pivot Point indicators did. So I wrote this script to keep my screen as clean/neat as possible.
3. About the other “manual setup” version.
I'm a E-mini S&P500 future trader, and I found the close prices on Daily chart is different from the ones on lower timeframe occasionally.
So I asked some TradingView staff and the reply was:
The closing price of a daily bar on TradingView is based on a Settle price from the exchange. The exchanges, at times, send this value before the close of the trading day, which leads to the situation when the price for daily-based resolutions does not change after receiving this Settle value, while the price changes still occur at smaller resolutions, since the construction of intraday bars is based on the actual trades produced.
So, if you found the same problem also occurs on your tickers, you can search the "Simple Pivot Points with dots, not lines(manually setup)" version, in which
I replace the D(representing the Daily timeframe ) with 1440(representing 1440 minutes) in the script, making the daily Pivot Points more accurate.
You can set the "last week/month close" in the "script settings" MANUALLY to ensure the weekly/monthly Pivot Point is the most accurate.
--------
If you want the dots stay a little further from your bars, you can adjust the "offset" parameter in the code. The larger the number is, the further the dot stays.
Simple Pivot Points with dots, not lines(manual setup)1. Why Pivot Point is popular?
Because unlike most indicators, it's not lagging! It is forward-looking, it's real-time, it's just right there.
2. Why this script is created?
I don't like many indicator lines crossing my screen everywhere, just as some Pivot Point indicators did. So I wrote this script to keep my screen as clean/neat as possible.
3. MUST READ before you add this “manual setup” version to your chart
I'm a E-mini S&P500 future trader, and I found the close prices on Daily chart is different from the ones on lower timeframe occasionally.
So I asked some TradingView staff and the reply was:
The closing price of a daily bar on TradingView is based on a Settle price from the exchange. The exchanges, at times, send this value before the close of the trading day, which leads to the situation when the price for daily-based resolutions does not change after receiving this Settle value, while the price changes still occur at smaller resolutions, since the construction of intraday bars is based on the actual trades produced.
So, in order to use the most accurate price,
I replace the D(representing the Daily timeframe) with 1440(representing 1440 minutes) in the script, making the daily Pivot Points more accurate.
The default Pivot Points are from daly timeframe.
You have to set the "last week/month close" in the "script settings" MANUALLY to ensure the weekly/monthly Pivot Point is the most accurate.
4. What if you don't want to go through the hassle of setting it up manually?
If the tickers you trade doesn't have the occasional problems as mentioned before, you can search the "Simple Pivot Points with dots, not lines(automatic setup)" version which uses the default close prices on each timeframe.
--------
If you want the dots stay a little further from your bars, you can adjust the "offset" parameter in the code. The larger the number is, the further the dot stays.
Zigzag MatrixNothing fancy. Just converted the new matrix library of zigzags ( mZigzag ) into indicator as I sensed it can be useful as indicator.
On top of the standard zigzag, the indicator also tracks given oscillators, moving average and volume indicators on each pivots. More indicators can be added programmatically - but it will take up space in chart. Hence, so far I have only added option to add one per each type (moving average, oscillator and volume)
Settings are as below
Bank Zone V2This indicator finds the current price and dynamically plots bank zone levels that's incremented by 50 or 100 pips.
Levels are displayed on all time frames and will work for ALL forex pairs and indices.
How to use this indicator.
Select Pair - Choose a pair that's in your watchlist
Increment By - Plots lines in increments of 50 or 100 pips
Pivot Trend LevelsYou can use this indicator to detect the levels and trend.
I used the highest of the two last highest pivots and the lowest of the two last lowest pivots to calculate "max" and "min" or high level or low level.
I also calculate the average of the 4 values to reach the average line which could be a trend detector in higher lengths.
Default length is 3 but using 10 or 20 as length is really good as trending detector.
I need help to upgrade a trend detector system. please read the script for more information.
Thank you so much.
[GarufiCommunity] Multi Indicator: VWAPs, MA, Pivot PointsThis script provides a collection of indicators to help traders look at multiple trends while maintaining a consistent configuration, even when jumping around different timeframes and symbols.
Additionally, this collection is particularly useful when trading decisions involve looking at dozens of indicators and analyzing, in aggregate, their confluence.
With this collection of indicators you can configure anchored VWAPs, MA, and Pivot Points:
- Anchored VWAPs: For each you define a fixed time and date to anchor it in the graph, and it stays consistent even when you change the symbol. An example use case can be setting one of the VWAPs to always start on the first candle on January 1st 2021, and a second VWAP a decade prior, so you don’t need to keep manually adjusting/adding VWAPs to the graph. At the moment you can define up to 4 anchored VWAPs.
- MA and Pivot Points: For each you can set independent timeframes, periods, and types, while using a single configuration panel. This helps reduce the amount of clicking needed when trying different configurations, such as testing different MA and Pivot periods and comparing how each behave in the graph (this personally helps me build trust in indicators). Permits use of up to 3 MAs and 2 Pivot Points.
Lastly, this script leverages and reuses modified code from the sources below:
- Médias e Tempos-v.2.1 by VeraLucia (with permission);
- Multiple Anchored VWAP v1.0 by GuilhermeNogueira (with permission);
- Pivot Point by TradingView.
SuperTrendSHey! By using this script you can choose between the Regular SuperTrend and Pivot Point SuperTrend.
Pivot Point SuperTrend differs in calculation from the regular SuperTrend and as the name suggests, Pivot Points are used instead of ATR.
I made this script to make it easier to switch and compare between one another.
Also included Jurik RSX as a Momentum Indicator. SuperTrend changes color to purple when it's a bear trend and RSX is in an overbought state. And orange when it's a bull trend and RSX is in an oversold state. A reversal might be expected when color changes to purple & orange occur.
Special thanks to;
Kivanc Ozbilgic for SuperTrend
LonesomeTheBlue for Pivot Point SuperTrend
& everget for Jurik RSX
Enjoy!
Pivot Based Trailing Maxima & Minima [LuxAlgo]This indicator returns trailing maximums/minimums and the resulting average, each resetting on the occurrence of a pivot point high/low, thus allowing to highlight past and current support and resistance levels.
Note that the user has the option to make the indicator subject to backpainting or not. Backpainting would offset the indicator output to the past and as such would be less suited for real-time applications.
🔶 USAGE
🔹 Non Backpainting
The indicator can highlight points of support and resistance given by the trailing maximum/minimum average.
An uptrend is indicated when the trailing maximum is making a new higher high, while a downtrend is indicated when the trailing minimum makes a new lower low.
🔹 Backpainting
When backpainting is enabled the historical trailing maximum/minimum and their resulting average are offset to the past. However, we extend these to the most recent bar, allowing for real-time applications of the indicator.
Users can easily analyze past trends and determine their type by observing the trailing maximum/minimum behavior. For example, trailing maximums/minimums not making new higher high/lower low would indicate a ranging market.
The frequency of new higher high/lower low can also help determine how bullish/bearish a trend was.
🔶 SETTINGS
Length: Determines the pivot high/low lookback, with higher values allowing to detect longer-term tops and bottoms.
Backpaint: Determine if the indicator is subject to backpainting. Enabling this setting would offset the returned results in the past.
Nareshraju CPRHi friends this is Cpr indicator which means central pivot range. it contains supports and resistances to take perfect entry.