BB Order BlocksUsing the Bollinger Band to mark areas of Support and Resistance
The scrip finds the highest and lowest levels of the bands to mark up futures areas of interest.
If the High/Lows are being broken on the Bollinger band, or if the look back range has expired without finding new levels, the script will stop plotting them until new levels are found
I have found many combinations which work well
Changing the band length to to levels 20,50,100 or 200 seem to give interesting results
Aswell as this changing the standard deviation to 3 instead of 2 marks up key levels.
The look back range seems to show better levels on 50,100 and 200
Let me know any changes or updates you think you could make an impact , this was just a quick basic script I wanted to share.
Support
first hour high and low by akash mauryaThis indicator marks the first hour's high and low with a line with the percentage of range height.
First hour high and low generally act as heavy support and resistance or say major key areas in daily intraday charts.
You can adjust the settings if you want to see previous days' hour range lines or not.
This indicator will automatically create hour-range lines after an hour of market opening.
Pivot Support/ResistanceThis indicator displays immediate Pivot Highs/Lows compared to the current price as lines on the chart. It can be useful to identify support/resistance.
Bitcoin Inflation-Adjusted Support and Resistance5year breakeven inflation rate fitted for log BTC chart as Support and Resistance
Chart Map[netguard] V1.0Chart map is a indicator that shows best levels of price.
on this indicator we divided ATH and ATL of chart to 16/32 levels that each one of them can control price and candles.
furthermore you can use weekly or daily map in this indicator.in weekly map we divide High to Low of last week candle to 8 levels that these levels can control candles too.
In general, these levels act as strong support and resistance.
you can trade on these levels with candle patterns.
Volume based support resistance with SwingThere has been an endless debate on how to derive volume levels on the Price Action
One such method which I have encountered (being pointed by one of my followers Anjan Gadade)
is to take the (High+Low+close)/3, as an ambient level when volume is above average (sma20) and also when volume is above its Standard Deviation 2
To make sense of the volume level structure I tested it with Swing points, for extra confluence, and i must say, this can be used as a good indication of trend if combined together
So I thought to open Source it, to people who might be looking for a much visual Interpretation!
Enjoy!
Price Clouds (PS)Price could shows you dynamic support resistance levels. It also displays two bands (ie clouds) that show you where the trend is. If the price hits the bottom of the high band thats a buy and if it hits the top of the high band its a sell. During times of volatility the price can break support but you will find that the opposite band will work as the next level. I added tool tips for every option to help explain what everything does and I also left suggestions for other settings.
This works great on everything! That being said I have this setup in a general way that works really well for 20m forex. If you are scalping you might want to speed up the indicator. This is also true if you want go to the daily chart or above. Adjust the Stdev to match the market.. and I mean really play around with.. dont be shy! With all that out of the way this really will work out of the box. If you like this indicator its actually the same thing as my (PBS) but this one is an overlay on the chart. (Also as of publishing this script the code for this version is way cleaner. In fact I plan on replacing PBS with this as its base)
If you find this indicator is useful to you, Star it, Follow, Donate, Like and Share.
Your support is a highly motivation for me.
Smamaema1 SMA, 3 EMA, 1 MA. The SMA in white is an amazing support/resistence level on 4h charts with a long history, the three EMA are good indicators of buy/sell zones and and the MA is the same as EMA but with lag.
Universal logarithmic growth curves, with support and resistanceLogarithmic regression is used to model data where growth or decay accelerates rapidly at first and then slows over time. This model is for the long term series data (such as 10 years time span).
The user can consider entering the market when the price below 25% or 5% confidence and consider take profit when the price goes above 75% or 95% confidence line.
This script is:
- Designed to be usable in all tickers. (not only for bitcoin now!)
- Logarithmic regression and shows support-resistance level
- Shape of lines are all linear adjustable
- Height difference of levels and zones are customizable
- Support and resistance levels are highlighted
Input panel:
- Steps of drawing: Won't change it unless there are display problems.
- Resistance, support, other level color: self-explanatory.
- Stdev multipliers: A constant variable to adjust regression boundaries.
- Fib level N: Base on the relative position of top line and base line. If you don't want all fib levels, you might set all fib levels = 0.5.
- Linear lift up: vertically lift up the whole set of lines. By linear multiplication.
- Curvature constant: It is the base value of the exponential transform before converting it back to the chart and plotting it. A bigger base value will make a more upward curvy line.
FAQ:
Q: How to use it?
A: Click "Fx" in your chart then search this script to get it into your chart. Then right click the price axis, then select "Logarithmic" scale to show the curves probably.
Q: Why release this script?
A: - This script is intended to to fix the current issues of bitcoins growth curve script, and to provide a better version of the logarithmic curve, which is not only for bitcoin , but for all kinds of tickers.
- In the public library there is a hardcoded logarithmic growth curve by @quantadelic . But unfortunately that curve was hardcoded by his manual inputs, which makes the curve stop updating its value since 2019 the date he publish that code. Many users of that script love using it but they realize it was stop updating, many users out there based on @quantadelic version of "bitcoin logarithmic growth curves" and they tried their best to update the coordinates with their own hardcode input values. Eventually, a lot of redundant hardcoded "Bitcoin growth curve" scripts was born in the public library. Which is not a good thing.
Q: What about looking at the regression result with a log scale price axis?
A: You can use this script that I published in a year ago. This script display the result in a log scale price axis.
Support Resistance Zones using confluence & Std. DeviationOverview:
This indicator takes (interactive) input from the user for support and resistance levels and plots important zones considering the other confluence levels in the indicator.
Working of indicator:
This indicator takes six input of Support/resistance level form the user
It has following 32 confluence levels
a.4 Recent positive Divergence levels (DN1, DN2, DN3, DN4)
b.4 recent negative divergence levels (DP1, DP2, DP3, DP4)
d.5 Fibonacci levels (Fib0, Fib236, Fib5, Fib618, Fib786)
e. 7 Pivot levels (P, PR1, PR2, PR3, PS1, PS2, PS3)
f.4 EMAs (E20, E200, E100, E50)
g. ATH, ATL, Weekly High, Weekly Low, two days ago high, two days ago low, previous day high , previous day low
The code checks nearest ‘n’ CONFLUENCE for each level (“Number of confluences to check”) in the indicator, after getting the nearest confluence it calculates the standard deviation of those levels WITH RESPECT TO THE MANUAL INPUT LEVELS.
If the Std. Deviation is less than the input value (“Minimum standard deviation” option) then the zone is displayed on the chart.
How to use:
Add the indicator on the chart select your important support and resistance levels.
Set standard deviation, if the confluence is less than the input standard deviation then you will see those zones on the chart.
You can display all divergence levels; you can display all fib levels. All confluences can be displayed by using the setting of the indicator
How to read the indicator values:
The zone will show all the confluence it has in its zone,
Example:
Table details:
The table shows the maximum and minimum deviation out of all six levels .To see at least one zone you have to make sure that Input value Std. Deviation must be greater than Min Std. Deviation of the table
Sources & refences :
Big thank to www.pinecoders.com and kodify.net
Standard deviation :
www.investopedia.com
function to find 'k' closest elements :
www.techiedelight.com
Interactive support resistance :
Divergence for many indicators:
Auto fib level by DGT:
www.tradingview.com
session min/max support&resistance [LM]Hello traders,
I would like to present you session min/max support&resistance indicator. The idea behind is to calculate min and max per session and render line at those levels and bars until the price reach the level. With this you can see levels where the price didn't reach with granular control over how many lines can be shown.
Indicator has following settings:
General control - where you can select session interval and show/hide labels
Line control - where you can adjust type of line, color of up/bottom level..
I hope you will enjoy it,
Lukas
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
Divina - Support and ResistanceGiven the positive feedback received on the first Dynamic Support/Resistance script, I've decided to rewrite it on Pine Script v5 and publish it with open source code.
The main Divina area (box) is derived from change in price and volume, while the other support and resistance levels are based on the golden ratio (Divina proportione) or Fibonacci numbers.
The box will start to paint if the previous closed bar satisfy a condition and it will be never be repainted in the future. Anyway the box and the levels will be extended until a new signal is detected.
The Divina Support and Resistance will help you to find good price zones on wich the market might take trading decision. It is not a strategy by per se, it should be used with other good trading techniques.
Auto S/R v2This script allows users to plot automatic support and resistance lines on their chart from any timeframe. This allows them to automatically overlay daily support and resistance lines on an intraday chart.
1. First we get a value from a 5 bar pivot.
2. From that pivot we calculate the ATR.
3. We draw lines above and below by either adding or subtracting from our value in step 1.
The user has the option to turn off the price labels, set the number of lines they want displayed, and adjusting the closeness of each line by using the adjuster.
[MF] CURRENT AND NEXT CPR LEVELSThis is CPR with Monthly, Weekly and Daily time frames of the current and next* CPR levels.
* The following lines only become relevant at the end of the cycle.
CPR LEVELS:
P (pivot point) = (H + L + C) / 3
BC (Bottom Central) = (H + L) / 2
TC (Top Central) = (P - BC) + P
Resistance Levels
- Green = R1 Levels ( 2×P - L )
- Green = R2 Levels ( P + (H - L) )
- Green = R3 Levels ( H + 2 * (P - L) )
Support Levels
- Red = S1 Levels ( 2×P - H )
- Red = S2 Levels ( P - (H - L) )
- Red = S3 Levels ( L - 2 * (H- P) )
Description and Refrences:
en.wikipedia.org(technical_analysis)
Rules For BUY Setup with CPR
1) Today's Pivot Level Should be higher than Previous Day's Pivot Level
2) The previous day's close should be near day high.
Rules For SELL Setup with CPR
1) Today's Pivot Level Should be lower than Previous Day's Pivot Level
2) The previous day's close should be near day low.
CPR or central pivot range is the best tool available for the trader to see the price base indicator. You can use this tool i.e CPR (central pivot range) to check the price indicator in the stock market. You know the price of shares sometimes goes up or sometimes goes down in the stock market. So it will be best to stay updated and know it before the time the share market/stock market fall or rises.
Divergence-Support/ResistenceAnother script based on zigzag, divergence, and to yield support and resistence levels.
This idea started with below two concepts:
▶ Support and resistence are simply levels where price has rejected to go further down or up. Usually, we can derive this based on pivots. But, if we start looking at every pivot, there will be many of them and may be confusing to understand which one to consider.
▶ Lot of people asked about one of my previous script on divergence detector on how to use it. I believe divergence should be considered as area of support and resistence because, they only amount to temporary weakness in momentum and nothing more. As per my understanding
Trend > Hidden Divergence > Divergence > Oscillator Levels of Overbought and Oversold
⬜ Process
▶ Now combining the above two concepts - what we are trying to do here is draw support resistence lines only on pivots which has observed either divergence or hidden divergence. Continuation and indecision pivots are ignored.
▶ Input requires only few parameters.
Zigzag lengths and oscillator to be used. Oscillator periods are automatically calculated based on zigzag length. Hence no other information required. You can also chose custom oscillator via external source.
▶ Display include horizontal lines of support/resistence which are drawn from the candle from where divergence or hidden divergence is detected.
▶ Support resistence lines are colored based on divergence. Green shades for bullish divergence and bullish hidden divergence whereas red shades for bearish divervence and bearish hidden divergence. Please note, red and green lines does not mean they only provide resistence or support. Any lines which are below the price should be treated as support and any line which are above the price should be treated as resistence.
▶ Divergence symbols are also printed on the bar from where divergence/hidden divergence is detected.
↗ - Bullish Hidden Divergence
↘ - Bearish Hidden Divergence
⤴ - Bullish Divergence
⤵ - Bearish Divergence
▶ Script also demonstrates usage of libraries effectively. I have used following libraries in this code.
import HeWhoMustNotBeNamed/ zigzag /2 as zg
import HeWhoMustNotBeNamed/enhanced_ta/8 as eta
import HeWhoMustNotBeNamed/ supertrend /4 as st
Can be good combination to use it with harmonic patterns.
Levels High LowEnglish:
Indicator for quickly identifying support and resistance levels. It is possible to use the parameter of the length of the upper and lower levels. The larger it is, the stronger the levels of the levels. The smaller it is, the less strong the levels are. It is possible to go back and turn off labels and lines. By default, the labels and lines are scale, and the length is 20.
Русский:
Индикатор предназначен для быстрого определения уровней поддержки и сопротивления. Есть возможность изменять параметр длинны верхних уровней и нижних. Чем он больше, тем более сильные уровни отображаются. Чем он меньше, тем менее сильные уровни отображаются. Есть возможность включать и отключать метки и линии. По умолчанию метки и линии отображаются, а длинна равна 20.
SupportResitanceAndTrendLibrary "SupportResitanceAndTrend"
Contains utilities for finding key levels of support, resistance and direction of trend.
superTrendPlus(multiple, h, l, atr, closeBars) A more flexible version of SuperTrend that allows for supplying the series used and sensitivity adjustment by confirming close bars.
Parameters:
multiple : The multiple to apply to the average true range.
h : The high values.
l : The low values.
atr : The average true range values.
closeBars : The number of bars to confirm a change in trend.
Returns:
superTrend(multiple, period, mode, closeBars) superTrendPlus with simplified parameters.
Parameters:
multiple : The multiple to apply to the average true range.
period : The number of bars to measure.
mode : The type of moving average to use with the true range.
closeBars : The number of bars to confirm a change in trend.
Returns:
stochSR() Identifies support and resistance levels by when a stochastic RSI reverses. Returns:
[AB] Support/Resistance Drawing ToolThis script is designed to help you identify viable support and resistance levels by automatically creating lines that become less transparent when said levels hold. It is based on Donchian Channels created by rounded closes, not by highs and lows. You can use it as an aid to draw your levels manually, or stick exclusively to automatic charting.
Available settings are as follows:
Source - highly recommended to use Close, but other options are available if you'd like to do some experimentation.
Source Rounding - the accuracy of price sampling; higher rounding will make your lines more visible at the expense of precision. It is highly recommended to use decimals.
Length (Array) - the overall lookback of the script (length of the array). This value shouldn't be higher than 500 if skip = 2, or 250 if skip = 1. If you'd like to reach further back into the past, I'd recommend switching timeframes instead of increasing this beyond 500.
Sampling Skip - how frequently the data is sampled. I wouldn't recommend going beyond 2, especially with the default settings.
Transparency Skip - you can think of it as "pencil hardness". The higher the skip, the bigger the imprint of a single level detection will be. Wouldn't recommend going beyond 10.
Color R, G, and B - you can use these settings to adjust the color of the lines.
Stochastic RSI+ Support/Resistance (beta)This indicator uses Stochastic RSI+ as a means to determine overbought and oversold conditions which subsequently define recent support and resistance levels.
MTF Order Block FinderAn Order Block is a special type of pivot point that satisfies the following requirement:
A Bull/Bear candle followed by X consecutive candles in the opposite direction.
Order Blocks are interesting areas that are frequently revisited and can be treated as Support/Resistance levels.
Often, you can see explosive price rejection of these areas via long wicks, high volume, and rapid price change.
Features
Choose from two themes:
- LIGHT: a classic Red and Green representing Bearish and Bullish OBs, respectively
- DARK: a clean Blue and White scheme
Choose from two drawing styles:
- LINE: three lines representing the High, Low, and Mid price levels of the OB candle
- BOX: a bounded area similar to the "rectangle" tool
Chose a custom timeframe:
- From 1 Minute (useful for Seconds interval) up to 1 Month
Note, this setting is experimental and choosing a timeframe that is extraordinarily large may not function properly.
Filter order blocks with two settings:
- Number of consecutive bars
- Minimum % change of the potential OB bar (default 0.25%)
Keep your charts clean and show only relevant OBs
- Maximum number of Bullish zones to show
- Maximum number of Bearish zones to show
FAQ
Q: How do I trade with this indicator?
A:Personally, I use a fast entry indicator to confirm Long/Short position when price is rejected. I set my SL and TP based on the current Zone and the next one, if available.
Q: Does this repaint?
A:Yes and this is okay! The "Bear" and "Bull" signals are not meant for taking positions, only showing which candle reveals the Order Block. The Zone is much more useful to us and can result in several successful trades in the near future when treated as a support/resistance area.
Q What's the winrate?
A:Hard to say - this isn't a standalone strategy and I haven't been able to properly backtest it quite yet.
Custom Volume - Periodic Peaks & Troughs + AlertThis script is a custom volume indicator with additional features.
But why is this useful?
The minimum and maximum volumes, in different time periods, are displayed by labels below the bars. I call them "Peaks" and "Troughs".
Hover your mouse cursor over the labels to see more details.
These parameters are widely used in technical analysis.
If traders want to confirm a reversal on a level of support–or floor–they look for high buying volume. Conversely, if traders are looking to confirm a break in the level of support, they look for low volume from buyers.
If traders want to confirm a reversal on a level of resistance–or ceiling– they look for high selling volume. Conversely, if traders are looking to confirm a break in the level of resistance, they look for high volume from buyers.
For example, take a look at the chart.
Settings menu parameters
{Dialog Box} =>
Parameter to show / hide the dialog box.
{Visual Parameters} =>
Parameters to personalize the appearance of the indicator.
{ Alert Conditions Part 01: Peaks ⏰ "} =>
Parameters to customize the alert.
{ Alert Conditions Part 02: Troughs ⏰ "} =>
Parameters to customize the alert.
{Volume MA} =>
Moving average settings
How to use alerts
Note that by creating an alert, an instance of the indicator, with all your settings, will be activated on the site's server and alerts will be triggered by it.
After that, changing the indicator settings on the chart will no longer affect the alert.
Open the settings window and select the alert conditions as you wish
Click the Create Alert button (or press the A key while holding down the ALT key)
In the Condition section, select the name of the indicator.
Make the rest of the settings as you wish.
Finally, click on the Create button.
It's finished. After a few moments, your alert will be added to the Alerts menu.
Limits
The labels are displayed after the bars close.
Labels are displayed for the last 10,000 bars.
References: Investopedia
Average Daily Range Fibonacci LevelsThe Average Daily Range is a simple concept, calculated as the difference between daily highs and lows averaged over some period. This indicator uses that range in conjunction with Fibonacci ratios to create zones centered on the day's open that tends to act as areas of support and resistance.
The thicker White lines are the ADR levels; all other lines are the same value adjusted by the various Fibonacci values.
A simpler version of this concept can be seen in my other script, Average Daily Range Zones, which does not include the Fibonacci ratio zones.
Thanks to @Hank Hill for the original idea and TV for the feedback and support on the use of the security() function.
Also thanks to @GoldenCross for the Fibonacci obsession.