Supertrend BandsSupertrend Bands
What is the Supertrend indicator?
"The Supertrend indicator is a trend following overlay on your trading chart, much like a moving average, that shows you the current trend direction.
The indicator works well in a trending market but can give false signals when a market is trading in a range.
It uses the ATR (average true range) as part of its calculation which takes into account the volatility of the market. The ATR is adjusted using the multiplier setting which determines how sensitive the indicator is."
"For the basic Supertrend settings, you can adjust period and factor:
- The period setting is the lookback for the ATR calculation
- Factor is the what the ATR is multiplied by to offset the bands from price"
How to use this indicator
This indicator is inspired by a strategy I found. It includes four Supertrend indicators, each with different settings that displays trend strength and support/resistance zones. The default settings are optimal for cryptocurrency but do work quite well for traditional also. I highly recommend you try experimenting with different settings, increasing them to suit the instrument.
The bands are set from low to high, Band 1 being the fastest and Band 4 being the slowest. Band 4 is the one that sets the overall trend so when price is above Band 4, the trend is bullish and vice versa. Trend is strongest when price is above/below Band 1 and gets weaker as it filters through each band. Band 4 provides the strongest support/resistance and if that breaks the trend flips.
In the menu, you will see an option called "Remove Anti Trend?". It is enabled by default and it removes any bearish/resistance bands when the trend is up and any bullish/support bands when the trend is down. When turned off, it will show all Supertrend Bands as they are by default.
Bar Colors
Bar colors are optional and they reflect the current trend strength based on the Supertrend bands.
Alternate ways of using this indicator
You could leave everything as default or you can display individual bands. For instance, because I use many overlay indicators, most of the time I turn off all the bands and only show bar colors:
You can also turn off Bands 1 and 2 and only show the two slowest lengths:
This removes the noise of the two faster Supertrends.
Or just show the two fastest bands:
Any suggestions to improve this indicator are most welcome :)
在腳本中搜尋"range"
Periodic Range [Rheo]This script fills daily and weekly ranges and displays daily and weekly open and previous close reference lines.
AVWTR (Average Volume Weighted True Range)A better tool to measure market volatility. The true ranges are weighted by the volume and averaged through the specified period.
Daily Ranges Dividers 1-5-15MinThis Range Indicator divides days based on New York Time. It works properly on the 1-5-15Min Chart. You can also use it on the 1h Chart, but you have to tick the apposite option in the Indicator Settings to do so. Enabling it on the 1h Chart, won't show it properly on the other timeframes, but you can always switch it back to the default and use it on the 1-5-15Min chart without any problems
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
Risk RangeThis indicator creates risk ranges using implied volatility (VIX) or historical volatility, skewness ( Cboe SKEW or estimate ) and kurtosis.
Multiple SuperTrends - evoSupertrend is one of the most popular and easy to use indicators out there. Here are 15 supertrends each having a different ATR multiple from price. This can be used to find ranges (often followed by a reversal) or to create a filter for fake signals.
In the input tab "Spacing" you can change the space between each supertrend, setting this to 0 would be a normal supertrend. You can also change style, color, line width and transparency all in the input tab.
Pine code tip: Change line 21 to 'true' to make editable true.
Enjoy! :)
Pivot Point RangesThis script is meant to be a partner script to my Pivot Points Percentage Differences () indicator. It can be used to verify the percentages are what they should be, and give you a visual range in which to trade in.
If you have any questions please feel free to ask!
High, Low and MidpointThis indicator plots the daily high and low from the previous day. (BLACK)
It then calculates the midpoint of the high and low and plots this. (RED)
This indicator can be used to identify daily ranges and to identify possible support and resistance levels.
HMA ATR RangeIn Alan's books he talks about his 'range indicator' which is the HMA and ATR to give buy / hold / sell signals. This is my version as he doesnt give the formula.
It is the HMA with the ATR added and subtracted and plotted above & below the HMA to create a range.
According to Alan's terminology: HMA = Central Cord, SL = Lower deviation, TP = Upper deviation
Fibonacci Daily Limits (Expected Ranges)This indicator takes the price range from the previous day and plots 127% and 161% extension to the current trading day.This limit is often respected.
**Hopefully someone can improve this by making a version to only plot the current day ....Neat/Clean Charts :)
Fibonacci Daily Limits (Expected Ranges)This indicator takes the price range from the previous day and plots 127% and 161% extension to the current trading day.This limit is often respected.
**Hopefully someone can improve this by making a version to only plot the current day ....Neat/Clean Charts :)
real body rangeHighlights point of largest positive and negative candle ranges based on the look back length. Works for all time frames May have some value added for points of support and resistance relative to the buyer and sellers associated with that specific candle.
For the sake of keeping the chart clean I elected to eliminate the first data point and used the "linebr" style and fill plots. I also used //@version=2 which works better for the fill plots. //@version=3 seemed to jam me up so if you edit and run with it you may need to retain the version=2 configuration. If you find an alternative method that works for version=3 please give me a shout. Apply at your own risk and discretion.
Squam
Pivot Reversal Strategy with backtest date rangeThis is standard Pivot Reversal Strategy with backtest date range added.
In parameters you can select from/to date for backtesting range.
Custom Time ranges
Description:
This script colours the background of any time range you specify, including weekend periods.
It can be useful for spotting patterns on Bitcoin (recurring times of buying or selling).
Checkboxes to switch on and off. Inputs to specify time and day of week.
Monday = 2
Tuesday = 3
Wednesday = 4
Thursday = 5
Friday = 6
Saturday = 7
Sunday = 1
Example 1:
1500-1800:2
This will colour the background between 3pm and 6pm on Mondays.
Example 2:
0000-0600:247
This will colour the background between midnight and 6am on Mondays, Wednesdays, and Saturdays.
Any questions you may have, please leave in comments below and I'll respond when I have time.
Median True Range {Darkoexe}Simple and sweet, this is the median true range. It reviews the size of the previous period amount of candles, and displays the candle size value that is the median of those previous values.
//Darkoexe
Ice Cream Volume Profile [Visible range]While exploring the new Pine Script feature, Polylines, I've created a fun project called the
Ice Cream Volume Profile for the visible range.
This fun project serves several purposes:
It displays the level at which the most trades (volume) occur.
It provides Delta volume information.
It counts how many times a bar closed within this level.
It assists in drawing support and resistance zones.
It aids in interpreting volume data.
The top part of the ice cream cone changes color as follows:
Green: When the bullish volume exceeds 55% of the total volume.
Red: When the bearish volume surpasses 55% of the total volume.
Yellow: When neither Green nor Red exceeds 55% of the total volume.
Polylines are an excellent feature that enables us to create even more intriguing visuals in Pine Script.
Visible Range Mean Deviation Histogram [LuxAlgo]This script displays a histogram from the mean and standard deviation of the visible price values on the chart. Bin counting is done relative to high/low prices instead of counting the price values within each bin, returning a smoother histogram as a result.
Settings
Bins Per Side: Number of bins computed above and below the price mean
Deviation Multiplier: Standard deviation multiplier
Style
Relative: Determines whether the bins length is relative to the maximum bin count, with a length controlled with the width settings to the left.
Bin Colors: Bin/POC Lines colors
Show POCs: Shows point of controls
Usage
Histograms are generally used to estimate the underlying distribution of a series of observations, their construction is generally done taking into account the overall price range.
The proposed histogram construct N intervals above*below the mean of the visible price, with each interval having a size of: σ × Mult / N , where σ is the standard deviation and N the number of Bins per side and is determined by the user. The standard deviation multipliers are highlighted at the left side of each bin.
A high bin count reflects a higher series of observations laying within that specific interval, this can be useful to highlight ranging price areas.
POCs highlight the most significant bins and can be used as potential support/resistances.
Logarithmic Average True Range
In the case of ATR, it is known to represent volatility by simply expressing the price range.
However, of course, as the value of an asset increases, it is not possible to simply compare it with a numerical value, so the ATR was expressed as a percentage using a logarithmic function.
This way we can see the volatility even with ATR.
ATR의 경우 단순하게 가격의 범위만을 표현하여 변동성을 나타낸다고 알려져있습니다.
하지만 당연하게도 자산의 가치가 높아질수록 단순하게 수치만으로 비교할 수는 없고, 따라서 로그함수를 사용해 %로 ATR을 표현하였습니다.
이렇게 표현하면 ATR로도 변동성을 볼 수 있습니다.
Volatility OscillatorThis tool displays relative volatility and directional trend. Excellent way to pickup diversions and reversals. Length can be lowered to 11 or 13 in settings to show price range.
Can be used to identify patterns such as parallel channels and likely direction of price action as pictured below.