Pivot trend indicatorThis is a LAGGING indicator which can provide a good indication of trend. It require a certain (configurable) number of candles to have closed before it can determine whether a pivot has formed.
It provides a 20 period SMA for the timeframe of your choice which is color coded to show the trend according to confirmed pivots.
Anticipated usage:
Long / Short bias is determined by pivot trend
Trader seeks entries according to their strategy
Black consolidation areas may trigger a re-evaluation of the trade and can serve as good profit taking areas
The SMA colors:
Green -> Higher highs & Higher lows
Red -> Lower highs & Lowers lows
Black -> No clear trend from the pivots
Why the 20 SMA?
Feel free to adjust it for your purposes. I personally find that using a higher time frame 20 SMA is a better indication of trend than longer period MAs on shorter time frames. This can be seen from comparing the 20 daily SMA and 200 hourly SMA.
Pivot adjustment
The pivots use the selected time frame (not) the MA trend time frame. You can specify the left and right candles required to confirm a pivot
Pivot
Pocket Pivot IndicatorFrom Gil Morales and Chris Kacher (O'Neil's disciples). Designed to find buy points in bases and continuation buy points in an uptrend. The volume today must be greater then the maximum down volume of the past 10 trading days. Recommended to use in conjunction with the 10 day and/or 50 day moving average.
Typical use :
Scan for pocket pivots.
Is stock strong fundamentally? i.e- leader in it's sector
Has the stock developed a base ?(see O'Neil's work for base discussion)
Is the stock breaking through or bouncing off the 10 period sma? (can use 50 sma too)
If so.. a possible buy.
Cheers
David
Significant PP - Swing Failure / Stop Run Alerts [QN]Tried to create a script for Swing Failure / Stop Run patterns. It is based on my QuantNomad - "Significant Pivot Reversal" Indicator.
It's quite tricky to code these kinds of patterns, so it's really not ideal. I alert when a candle cross pivot level but close below (above for bottom) it and previous close was below (above) it as well.
You can setup params for pivot points and also by how much it should cross pivot level with "SF ATR Mult".
I have in mind a few other things I'd like to test:
* Different types of pivot points
* Few recent pivot levels at once
* Pivots from higher timeframe
* Different types of "touching" levels
* etc.
Ideally, I want to create a strategy from it, but I'm far from it for now.
Do you have any ideas on how to make it better?
Original Significant Pivot Reversal Indicator:
NYSE Session for 24/7 marketsThis script is used for analyzing the correlation between 24/7 markets with regards to the price action during NYSE session. Defaults to showing daily session open/high/low but there is the option to show the weekly session data.
Pivot Points HIgh LowRemake of the integrated Pivot Points indicator
With higher resolution you should lower the indicator values to get a good result
Adaptive Pivot (HLC3)SUMMARY:
Standard Pivot (HLC3) with ATR leeway added to make it adaptive to market volatility.
DESCRIPTION:
Adaptive Pivot is an indicator utilizing the simplicity of HLC3 Pivots as a turning point (and sometimes a trend indicator) while addressing it's fixed and inflexible nature.
Because the indicator is just a single line in the chart, the price may go near it but never touch it. Or it can go pass through it and never retest it again. In an attempt to lessen these from occurring, we can combine pivots with average true range (ATR). This is the specific formula I applied in this indicator:
>Upper Pivot = HLC3 + ATR
>Lower Pivot = HLC3 - ATR
This creates a kind of a range or cloud around the Pivot, making it possibly a more accurate indicator for market turning points.
ADJUSTABLE PARAMETERS:
The usual ATR parameters are included in this indicator:
>ATR_Length = input(14, title="ATR Length", minval=1)
>ATR_Smoothing = input(title="ATR Smoothing", defval="RMA", options="RMA", "SMA", "EMA", "WMA")
Added to the usual ones is this:
>ATR_Multiplier = input(1, title="ATR Multiplier", minval=0.1)
which modifies the extent of the ATR (similar to Chandelier Exit) as it is added/subtracted from the pivot values.
Pivot’s timeframe is also adjustable:
>Pivot_Timeframe = input("3M", title='Pivot Resolution')
Note: I did not lock the type to input.resolution to allow for more possible timeframes.
OTHER PARAMETERS
Indicator color will change to green when the open is above the HLC3 Pivot and change to red when the reverse is true.
Simple AverageSimple average, with builtin plot of a true Weekly, Monthly, Quarterly and Yearly average
(A variation on Pivots, with only the P line (HLC/3))
QuantNomad - Significant Pivot Reversal Strategy AlertsAlerts for "Significant Pivot Reversal Strategy":
As one of the ways to filter out insignificant levels I decided to check that pivot point is not above/below neighbors, but check that it's above/below at least by a certain amount.
I use ATR, so in params, you can set length of ATR and also ATR multiplier. The new level will be calculated only if PP will be above/below neighbors by atr * atr_mult.
It seems this approach might help in some cases.
Murreys Math Lines Box OR Ratio PivotsI'm publishing my second script, though nothing extraordinary, I believe there is user group for Murry Math indies and the only "proper one" (According to my usage) I found was of RicardoSantos, here is the link :
He developed that script in 2014 and it is in need of update to Pine V4 and I'm doing the needful as its user.
All the updates from my end are listed below:
1. Updated to Pine V4
2. Automatic octave selection
3. In auto mode one can switch octave
4. This script is color coded with intention of use on dark theme, one can change the colors to use it on white background with simple few clicks as pinelines have been used
Other thing I want to add is that usage of this is not very clear to many users, so I'll do little explaining here;
Lets start with what is Octave? Octave is basically distance between square of two whole numbers, this is hard-fast method to calculate, Murry has made it far more complicated to use practically. In mathematical formula terms it could be something like this for script trading at 11890 (CMP)
Step 1: Square Root of CMP i.e Square Root of 11890 = 109.041 = Rounded to 109
Step 2: You can either take one whole number higher or lower than 109, which is 108 or 110. We will take 108
Step 3: Square of 108 = 11664 and Square of 109 = 11881
Step 4: Octave => Distance between (Lowlevel) 11664 and (Higherlevel) 11881
I've automated it so you don't need to calculate, but there is also manual entry possible if you want to calculate octaves yourself, there are different ways to calculate and some like to just take High and Low's of the day or week or month, whatever you like. When I used it I did it strictly this way, so automation is based on it. This is very subjective matter so don't ask to change the calculation of this, if I started doing that every second person would ask me to modify it to different calculation..and thats...just not possible to do.
This is output for calculation we just did above
This is octave shift option (Which basically shifts to next whole number square in above calculation)
Normal nomenclature on octaves and important color codes
+2/8: Extreme overbought = Blue Color and solid line
+1/8: OverBought
8/8: Hardest line to rise above (overbought) = White Color and solid line
7/8: Fast reverse line (weak)
6/8: Pivot reverse line = Yellow Color and solid line
5/8: Upper trading range
----------------------------------------
4/8: Major reversal line = Green Color and solid line
----------------------------------------
3/8: Lower trading range
2/8: Pivot reverse line = Blue Color and solid line
1/8: Fast reverse line (weak)
0/8: Hardest line to fall below (oversold) = White Color and solid line
-1/8: Oversold
-2/8: Extreme Oversold = Yellow Color and solid line
Other lines that I've not mentioned color codes for are minor and are usually plotted in dotted format.
Resources on complete technique to trade and importance of levels (highly recommended to read carefully before trading), if you don't know how to get this for free don't worry you can just google Murrey math and you will find it somewhere, its just that it would be in little scattered manner.
www.scribd.com
Enjoy!
RSI PivotIt is based on RSI. When RSI crosses (70)up and (30)down bands, it draws a price line.
Cheers :)
Advanced Level Pivot TradingAdvanced Level Pivot Trading
Highest Lowest Channel and Level Pivot (Fibonacci)
3rd High Low This is simple script to mark when higher high (or lower low) is made on continuously third day.
There likelihood of short term reversal next day. As usual, it is just likelihood and not certainty.
Pivot Point Reversal + RSI AlertsThese are alerts for previously published strategy:
This strategy joins the Pivot Reversal strategy with the RSI indicator.
We check RSI level at the pivot point level and only if RSI condition is satisfied we update levels for stop orders.
Pivot Reversal Strategy + RSIPivot Reversal Strategy + RSI
A modified version of the standard PRS with an RSI overbought/oversold filter
Comment/uncomment "Study/Strategy" to easily switch to strategy() mode
As long as it is used in the study() version, the indicator is compatible with the Risk Management Wrapper
Separate Alerts for Buy & Sell signals
Single Alert for both Buy & Sell signals - it can also be used by another indicator as a source
Camerilla PivotsBefore starting special thanks to @QuantNomad for his script "Ultimate Pivot Point Alerts"
Link : -
Please follow and support him for his work.
In this script I'm modifying how time frame factor is imported into the script and removing other types of Pivots and cleaning it further for only CAMs, I've also added the formulas for 5 and 6 numbers, it will help in trading breakout strategies.
Note that this way of importing Time frame produces minor difference in readings/levels from how it is done in QuantNomads script, so before taking your pics you should calculate your levels on separate sheet and compare which ones are working for you and your strategy.
I've been using this CAM setup for almost a year now, so I coded it as per my needs, it is up to users to utilize it to theirs.
Further utility:
1. You can hide/unhide S/R levels 5/6
2. This is MultiTimeframe version, meaning you can change Time-frame of Pivots being displayed on any TF chart.
3. Lines are produced for only level 3 and 4. And you can choose to hide them. Only Pivot line is kept and can not be hidden.
4. You can also choose to hide/unhide level value and only see label if you want.
5. No historical levels are kept to avoid clutter.
I've not included alerts as I don't use them, but if anyone wants it I suggest referring to @QuantNomad script bank. He has published number of excellent scripts in this regard.
There is no restrictions on this script, it can be used and reproduced freely. Its my way of doing little something for community and my first script.
Enjoy.
Extended Fibonacci PivotEditable Fibonacci Pivots. 0.236, 0.382, 0.618, 0.786, 1.000. Easy to extend further if needed. Can be used with intervals from 1 minute to 1 Day.
A Few Recommended timeframes:
1 minute chart - 15 Minute Pivot Timeframe
3 minute chart - 1 Hour Timeframe or Daily Timeframe
15 Minutes to < 60 Minutes - Daily Timeframe
1 Hour to 4 Hour - Weekly Timeframe
Daily - Monthly Timeframe
Pivot Prices - ExampleA simple example script showing how to use label.new() to plot pivot prices on the chart.
A full tutorial and commentary is available on the backtest-rookies website.
Function : Pivots High and Low WARNING: The toil of this script is not mine . In order to avoid disrespect for work, I deleted some extensions only pure pivots , that is, only the information this script needed. I liked the fact that high and low pivots were in one function. I found this command by chance on stackoverflow. I don't know the authors and the nicknames because they are the stackoverflow nicknames. I hope it will help your adaptive periods. Finally, the length of the pivot must be at least 3 to be available.If the author reaches me, I will give his/her Tradingview name as a reference.
Pivot Points High Low (HH/HL/LH/LL) [Anan]Hello Friends,
This is my own version of ( Pivot Hilo Support n Resistance Levels R3-3 by JustUncleL )
- V4 Pinescript
- Removed MA dependency filters
- Add some arrows
QuantNomad - Ultimate Pivot Points AlertsCreated a universal script for pivot points alerts.
In the script, you can choose one of 4 pivot point types: Traditional, Fibonacci, Woodie, and Camarilla.
You are able to create separate alerts for every level or create one for price crossing any level.
For separate levels, you can choose: "Cross", "Crossover" and "Crossunder".
You can also choose to show/hide:
Historical Levels
Levels Values
Current Levels - Levels calculated on the current period, on close of the period they will become valid levels for next periods. These levels do not participate in alerts calculations.
Because of some TradingView limitations, alerts won't be fired for the first bar of the session.
In the script used new v4 plotting features, so will be able to plot levels and labels nicely. Unfortunately, there is a limit on the number of consecutive lines you can plot on the plot (around 50), so historical lines in the past will disappear after 6-7 periods.
And remember:
Past performance does not guarantee future results.