Background ZonesThis script provides up to 5 zones to apply background colors. This is especially useful for applying to indices such as USI:TICK , USI:ADD , and USI:VOLD , where certain levels provides significant meaning to market sentiment and directions. This script will give you the visual cue to help with your trading.
All levels and colors are fully customizable.
Enjoy~!!
Example:
Zones
Double Dynamic Zone RSX [Loxx]Double Dynamic Zone RSX is a Juirk RSX RSI indicator using Leo Zamansky and David Stendahl's Dynamic Zones to determine breakouts, breakdowns, and reversals.
What is RSX?
RSI is a very popular technical indicator, because it takes into consideration market speed, direction and trend uniformity. However, the its widely criticized drawback is its noisy (jittery) appearance. The Jurik RSX retains all the useful features of RSI , but with one important exception: the noise is gone with no added lag.
What are Dynamic Zones?
As explained in "Stocks & Commodities V15:7 (306-310): Dynamic Zones by Leo Zamansky, Ph.D., and David Stendahl"
Most indicators use a fixed zone for buy and sell signals. Here’ s a concept based on zones that are responsive to past levels of the indicator.
One approach to active investing employs the use of oscillators to exploit tradable market trends. This investing style follows a very simple form of logic: Enter the market only when an oscillator has moved far above or below traditional trading lev- els. However, these oscillator- driven systems lack the ability to evolve with the market because they use fixed buy and sell zones. Traders typically use one set of buy and sell zones for a bull market and substantially different zones for a bear market. And therein lies the problem.
Once traders begin introducing their market opinions into trading equations, by changing the zones, they negate the system’s mechanical nature. The objective is to have a system automatically define its own buy and sell zones and thereby profitably trade in any market — bull or bear. Dynamic zones offer a solution to the problem of fixed buy and sell zones for any oscillator-driven system.
An indicator’s extreme levels can be quantified using statistical methods. These extreme levels are calculated for a certain period and serve as the buy and sell zones for a trading system. The repetition of this statistical process for every value of the indicator creates values that become the dynamic zones. The zones are calculated in such a way that the probability of the indicator value rising above, or falling below, the dynamic zones is equal to a given probability input set by the trader.
To better understand dynamic zones, let's first describe them mathematically and then explain their use. The dynamic zones definition:
Find V such that:
For dynamic zone buy: P{X <= V}=P1
For dynamic zone sell: P{X >= V}=P2
where P1 and P2 are the probabilities set by the trader, X is the value of the indicator for the selected period and V represents the value of the dynamic zone.
The probability input P1 and P2 can be adjusted by the trader to encompass as much or as little data as the trader would like. The smaller the probability, the fewer data values above and below the dynamic zones. This translates into a wider range between the buy and sell zones. If a 10% probability is used for P1 and P2, only those data values that make up the top 10% and bottom 10% for an indicator are used in the construction of the zones. Of the values, 80% will fall between the two extreme levels. Because dynamic zone levels are penetrated so infrequently, when this happens, traders know that the market has truly moved into overbought or oversold territory.
Calculating the Dynamic Zones
The algorithm for the dynamic zones is a series of steps. First, decide the value of the lookback period t. Next, decide the value of the probability Pbuy for buy zone and value of the probability Psell for the sell zone.
For i=1, to the last lookback period, build the distribution f(x) of the price during the lookback period i. Then find the value Vi1 such that the probability of the price less than or equal to Vi1 during the lookback period i is equal to Pbuy. Find the value Vi2 such that the probability of the price greater or equal to Vi2 during the lookback period i is equal to Psell. The sequence of Vi1 for all periods gives the buy zone. The sequence of Vi2 for all periods gives the sell zone.
In the algorithm description, we have: Build the distribution f(x) of the price during the lookback period i. The distribution here is empirical namely, how many times a given value of x appeared during the lookback period. The problem is to find such x that the probability of a price being greater or equal to x will be equal to a probability selected by the user. Probability is the area under the distribution curve. The task is to find such value of x that the area under the distribution curve to the right of x will be equal to the probability selected by the user. That x is the dynamic zone.
Linear Regression ChannelsThese channels are generated from the current values of the linear regression channel indicator, the standard deviation is calculated based off of the RSI . This indicator gives an idea of when the linear regression model predicts a change in direction.
You are able to change the length of the linear regression model, as well as the size of the zone. A negative zone size will make the zone stretch away from the center, and a positive zone size will make it stretch towards the centerline.
NSDT Wick FinderThis script finds wicks that are longer than the candle body and marks them as potential trading zones to be revisited. Lines, shading, and lookback can all be modified.
Full credit for original code goes to @Squam_Gobaloochee. We updated to Pinescript V5 and cleaned up code. We reached out to original for permission to repost publicly and open source.
Bank Zones #PipGangHello Traders,
If you trade Forex and Indices this indicator will help you identify Buying and Selling levels that Banks are interested in. These levels are displayed on all time frames. Colors of the lines can be customized.
I also added code to show two EMA's, just uncomment the code to show them. :-)
How to use this indicator.
Show Bank Zones - this will enable/disable horizonal lines on the chart.
Price - enter bank zone price.
Increment By - plots three horizonal lines in pips above and below bank zone price.
Note: Decimal placement is KEY, this may vary by symbol.
Sample Settings:
US30USD
Price 35600.0
IncrementBy 50 (equals 50 pips)
XAUUSD
Price 1850.000
IncrementBy 5 (equals 50 pips)
GBPJPY
Price 152.500
IncrementBy .5 (equals 50 pips)
GBPUSD
Price 1.34100
IncrementBy .005 (equals 50 pips)
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.
Liquidity Levels [LuxAlgo]The Peak Activity Levels indicator displays support and resistance levels from prices accompanied by significant volume. The indicator includes a histogram returning the frequency of closing prices falling between two parallel levels, each bin shows the number of bullish candles within the levels.
1. Settings
Length: Lookback for the detection of volume peaks.
Number Of Levels: Determines the number of levels to display.
Levels Color Mode: Determines how the levels should be colored. "Relative" will color the levels based on their location relative to the current price. "Random" will apply a random color to each level. "Fixed" will use a single color for each level.
Levels Style: Style of the displayed levels. Styles include solid, dashed, and dotted.
1.1 Histogram
Show Histogram: Determines whether to display the histogram or not.
Histogram Window: Lookback period of the histogram calculation.
Bins Colors: Control the color of the histogram bins.
2. Usage
The indicator can be used to display ready-to-use support and resistance. These are constructed from peaks in volume. When a peak occurs, we take the price where this peak occurred and use it as the value for our level.
If one of the levels was previously tested, we can hypothesize that the level might be used as support/resistance in the future. Additional analysis using volume can be done in order to confirm a potential bounce.
The histogram can return various information to the user. It can show if the price stayed within two levels for a long time and if the price within two levels was mostly made of bullish or bearish candles.
In the chart above, we can see that over the most recent 200 bars (determined by Histogram Window) 68 closing prices fall between levels A and B, with 27 bars being bullish.
Additionally, the width of a bin and its length can sometimes give information about the volatility of a specific price variation. If a bin is very wide but short (a low number of closing prices fallen within the levels) then we can conclude a most of the movement was done on a short amount of time.
NSDT Support/Resistance ZonesA simple script that allows you to plot 8 different zones of support and resistance. Enter the high and low of a support/resistance zone, and the script will fill the range for easier viewing. Open source and all settings can be customized.
NSDT Pivot ZonesThis is a new take on Traditional Pivot Points. By modifying the calculations, we were able to create "pivot zones" with a decent degree of accuracy.
SwissKnife DAX ZZBScript dedicated for Dax and listing all zones manually chosen and defined based on Dax observation. Script also allows to define offset that automatically recalculates zones, as original levels are valid for Futures Dax Contract. Levels of 14k and 13k are covered. Enjoy!
Key Levels CustomTF + Backtest: SpacemanBTCKey Levels Backtest, same logic as the key levels script, provide levels based:
High, Low, Mid and Close.
This was requested, took a long time to post as I fell sick and was given a lot of Dev Work.
Hope this helps those who use it, very useful to see liquidity grabs in my opinion.
Input time in minutes!
Result of a user request.
Key Levels SpacemanBTC IDWMKey levels, plotted automatically
Additional timeframes can be added on request
Useful for seeing strength of the trend in the market
Margin Zones (MZE)Upgraded indicator Margin Zones with various number of options:
- Number of Days Ago to limit days when Zones are visible
- Price, margin and ticks can be set with decimal point
- Zones can be switched off separately
- all line are editable
NSDT ES Midline Zones**DESIGNED FOR ES/MES** This script provides an easy visualization of potential reversion zones to take trades back to the intraday midline. A common use would be to enter a position once price reached the outer yellow zones and retreats to either the red zone (for a short toward the midline) or a green zone (for a long back to the midline).
NSDT NQ Midline Zones**DESIGNED FOR NQ/MNQ** This script provides an easy visualization of potential reversion zones to take trades back to the intraday midline. A common use would be to enter a position once price reached the outer yellow zones and retreats to either the red zone (for a short toward the midline) or a green zone (for a long back to the midline).
Session S/RThis indicator marks the resistances and supports of the post, pre and market sessions of the previous day projecting up to the market of the day, also it marks the hours of these three markets allowing to identify the beginning and end of the sessions in London, Hong Kong, and America.
NSDT Auto Support / Resistance LevelsSimple script that automatically plots support and resistance lines based on the pivot points of the number of candles you choose to look back upon.
All options are editable.
Bitcoin Logarithmic Growth Curves & ZonesI found this awesome script from @quantadelic and edited it to be a bit more legible for regular use, including coloured zones and removing the intercept / slope values as variables, to leave space for the fib levels in the indicator display. I hope you all like it.
Zone Moving Average Color Direction Detection This indicator generates a zone for a moving average by means of the high and low source of the same average, the moving average should be worked as zones not as a line, by default a simple average of 200 periods is configured, the indicator has direction detection and represents it by the green and red colors, it also has padding with the same characteristic, it is possible to configure the following:
- Type: SMA, EMA, WMA, VWMA, SMMA, DEMA, THEME, HULLMA, ZEMA, TMA, SSMA
- Period / Length
- Source
- Color Direction Detection
Release Notes: Add a field to change the reaction in the change of color and direction of the Media, set to 1 is the fastest, a larger number filters the address better but is slower, 3 is set by default.
Multiple EMAs with marked zones and custom timeframe supportThis script plots 10 exponential moving averages and marks the areas between them.
The lengths are Fibonacci numbers starting from 5 and ending with 377.
The colors indicate the length of the moving average, green for the shortest and purple for the longest.
The zones between consecutive EMA's (e.g. 5 and 8 ema ) are market according to the color of the greater one in value.
By default the script plots values for the current time frame, but supports custom time frames.
I'm releasing this script with an open visibility. Feel free to suggest improvements!
Enjoy,
s0ullight
How To Use Dynamic ZonesExample of how to apply and use Dynamic Zones with an indicator by injecting it's source into my adaptation of the original idea by Leo Zamansky, Ph.D., and David Stendahl.
• Load your desired oscillating indicator on your chart (CCI, RSI, etc).
• Load my "How To Use Dynamic Zones" indicator on your chart.
• In the "How To Use Dynamic Zones" indicator settings choose your desired oscillating indicator as the Oscillator Source.
You will now have dynamic overbought and oversold levels. I have also included alerts which may be used to indicate when these conditions occur.
If desired you may repeat the above process by loading additional indicators along with additional copies of my indicator to use with each oscillator.
Oscillator Source: CLOSE uses your chosen indicator as a source or you may use price as a source
Sample Length: 70 uses number of previous values for evaluating
Hi is Above X% of Sample: 88 sets overbought zone
Lo is Below X% of Sample: 88 sets oversold zone
The simplest explanation of what these default settings are doing is that they take 70 previous values of your chosen indicator, then create an overbought level that is above 88% of those previous values and an oversold level that is below 88% of those previous values. As new bars form the levels are dynamically reevaluated and updated.
---
"This investing style follows a very simple form of logic: Enter the market only when an oscillator has moved far above or below traditional trading levels. However, these oscillator driven systems lack the ability to evolve with the market because they use fixed buy and sell zones. Traders typically use one set of buy and sell zones for a bull market and substantially different zones for a bear market. And therein lies the problem.
Once traders begin introducing their market opinions into trading equations, by changing the zones, they negate the system’s mechanical nature. The objective is to have a system automatically define its own buy and sell zones and thereby profitably trade in any market — bull or bear. Dynamic zones offer a solution to the problem of fixed buy and sell zones for any oscillator-driven system."
Reference: Stocks & Commodities V15:7 (306-310): Dynamic Zones by Leo Zamansky, Ph.D., and David Stendahl
---
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Elgrand - Overbought/sold Rsi + Stochastic zonesVisualize on your chart when price in an oversold or overbought zone. A combination of Rsi and Stochasticrsi is used for higher probability. Wait for an zone to be displayed and then wait for price to exit a zone. Once this happens check candlestick patterns and support/resistance "lines" to find appropiate stoplosses for you entry or exit