donchian diff [LM]Hello traders,
I would like to present you Donchian diff script. The idea behind this script is that as in Ichimoku I consider base line as equilibrium so I calculate percentages between base line and current price and calculate percentage between base line and conversion line and use them as a filter. For signals I used also that candle has to be highest or lowest in x(configurable) consecutive candles.
It has following setting:
Base line setting
Conversion line setting
buy/sell signal setting - here you can setup buy/sell condition
filter setting - here you can set up percentages of the distances
Hope you will enjoy it,
L
Donchian Channels (DC)
Swing High Swing Low This tool is the swing high swing low indicator. A swing high/low is a technical pattern that describes a local peak or trough on a chart. By connecting these peaks and troughs, we can determine the general direction the asset is trading. This indicator can be used on all time frames and in any market.
To use it, declare how many candles are needed to determine a swing level. By default, the indicator is set to two candles. This means that a candle must have two candles to the right AND left (totaling 5 consecutive candles) to be considered a swing level. If the middle candle has the highest high of the 5 consecutive candles, it will be classified as a Swing High. If the middle candle has the lowest low, it will be a Swing Low. Otherwise, it will be ignored.
Once a swing number is declared, the indicator will look for a starting swing high and swing low. The asset will trade inside the range established by the swing high/low lines. When the lines are parallel, it is considered a form of consolidation. You will likely see a lot of whipsaw action or chart patterns like bullflags or head-shoulders. Wait patiently for a break of this consolidation. The indicator will identify the new swing levels when the asset breaks out of this range.
Depending on the direction of the break, it will turn green for an uptrend or red for a downtrend. You should look to take long positions when the lines are green and short when the lines are red. You can use old swing levels as support or resistance in the future. The longer the line, the greater the likelihood that it will be support or resistance. This can help you identify potential entries.
The goal of this script is to make it easier to determine trends. Sometimes, we take the wrong trade because we don't understand which way the market is trending and what levels are important. This indicator is meant to take the guesswork out and make the trade easy and emotionless. This indicator works well on its own, but I suggest pairing it with another to add an extra confirmation before taking a trade. Happy Trading!
**Please note: Assets that have traded parabolically (steep inclines or declines) will have wide ranges that may not be broken. (see GME 2021)**
Donchian Channels ModDONCHIAN FIBONACCI MODD VERSION
This indicator is based on a Donchian Channel with Fibonacci zones based on high and lows of certain period . As one can see it clearly identifies the trend and it only turns aqua when its above a spefic fib level and turns red when below specfic fib level , this help traders by not talking long or short position while its in no trade zone when the candle turns gray .This works on ALL TIMEFRAME & ANY SEGMENT
Aqua candle= Super Bullish
Red candle= Super Bearish
Gray Candle= NO TRADE ZONE (can take long or short in retracement coz the stop loss will be minimum )
Long condition = When the candle turns lime one can place the SL at the Low of the band and keep trailing , at time the trend is still long and candle turns gray one can re entry long just at support and place the SL just below the band .
Short condition = When the candle turns red one can place the SL at the High of the band and keep trailing, at time the trend is still short and candle turns gray one can re entry short just at the resistance and place the SL just below the band .
Hope this be helpful for my trading view family !
God Bless !
Donchian Channels (Close)This indicator shows Donchian Channels based on close prices only. Additionally, a box with the bands and the center line for the last bar can be shown.
The center line, the bands and the box can be hidden independently.
Four periods are being shown at the moment, but the indicator is easily extensible with copy and paste.
Trade Helper [Trading Nerd]Position Size Calculator / Lot Size Calculator
Disclaimer: I do my best to avoid wrong calculations and bugs. I provide this indicator without warranties of any kind. You bear all risks associated with the use of this indicator.
Inputs:
Market: Adds a name tag to the Table to keep track of the trades.
Entry Price: The entry Price of the Position.
Entry Time: The entry Time/Candle of the Position. If Stop Loss Type is 'ATR' or 'HH/LL' the Value for this is calculated by this Candle.
Stop Loss Type: Changes the Stop Loss Type.
Direction: Define if the trade direction is 'Long' or 'Short'. Has no effect on Stop Loss Type 'Custom'. For this you can just set the Stop Loss below/above the Entry Price .
ATR Multiplier: Multiplies the ATR Value by this number. Has only an effect on Stop Loss Type 'ATR'.
HH/LL Lookback Length: Lookback length for determine Highest High/Lowest Low value. Has only an effect on Stop Loss Type 'HH/LL'.
Custom SL Price: The Stop Loss Price if the Stop Loss Type is set to 'Custom'.
Risk Reward Ratio: The Risk is multiplied by this number to determine the Take Profit Price.
Balance: Balance Amount and Currency
Contract Size: The Position Size is divided by this number. E.G. in Forex one Lot is 100.000 Contracts. Change this Value depending on your Broker and Market.
Risk in %: Percent that is risked of the Balance for one Trade.
Stochastic ChannelsDonchain trend following system with overbought/ oversold areas inspired by stochastic. Multiplier to get non repainting HTF capability. features a smoothed price as well as moving average of the smoothed price, also inspired by the stochastic indicators %K and %D. This and slow stochastics compliment each other nicely.
%D line colored by direction.
Filled color areas represent overbought/oversold.
Shows breakouts as well as giving targets and entries in rangebound markets.
Channel IndicatorSimple Donchian Channels and two EMA so you can trade the bottom and the top of the channel.
Donchian SARCombination of Donchian channels and sar. The donchian channels provides simple and easy data of support and resistances and SAR tells the price trend
Keltner Center Of Gravity Channel ( KeltCOG )I have the ambition to create a ‘landscape’ which enables the user to see the ‘mood’ of the market about the price of an instrument, simply by looking where the candles go. Prices are a simple phenomenon , they go up or down or stay the same. This is represented quite well for the short term by a candle. I recommend to study candle patterns. Prices not only fluctuate but also trend up, down or go sideways. The user should analyze this by determining the COG (Center Of Gravity) and the ‘normal’ current range by using the historical data in a lookback period.
As a COG the center line of a Donchian Channel is often used. I.m.o. a COG should be a zone, in this channel I use the gray zone of my Donchian Fibonacci Channel, The ‘normal’ range is a multiple of Average True Range, as used in a Keltner Channel. Combining the two can give a cumbersome result, as one can see in my Keltner Fibonacci Channel. In this KeltCOG channel I solved this by not using all Fibonacci levels and by making the Keltner lines strictly parallel to the nearest COG line. To do this, I use the fact that the COG lines have horizontal stretches, there I make the Keltner lines horizontal too. Only where the COG lines change value, the Keltner lines are recalculated. This way the channel gets a very regular shape with three clear zones.
Interpretation of a chart by using the KeltCOG channel.
Overbought: If the candles go higher then the blue zone, the market is hyper enthusiast, creating an overbought situation. This is often followed by a reversion to the COG.
Uptrend: If the candles form in the blue zone, the market is enthusiast and willing to pay more.
Hopeful: If the candles form in or near the upper uncolored zone, the market is hopeful and is thinking about paying more. Sometimes prices go a little up.
Content: If the candles form in the gray zone, which represents COG, the market is happy with the current prices, so these move sideways
Disappointed: If the candles form in or near the lower uncolored zone, the market is disappointed and contemplates paying less, sometimes prices go a little down.
Downtrend: If the candles form in red zone, the market doesn’t like the instrument at all, rejects the current price and is only prepared to pay less.
Oversold: If the candles form below the red zone, the market overdoes its disgust, creating an oversold situation, often followed by a reversion to the COG.
Current to BTC [Morty]This indicator helps you find strong bull altcoin, it shows the ratio of the current symbol to BTC.
Donchian Channels help to identify trends.
Alts Bull coins:
When BTC goes sideway, they pump first.
Alts Bear coins:
When BTC goes sideway, they move sideway.
When BTC goes down, they go down harder.
ZigZag ChannelThis is recreation of Donchian Channel - Pivot High Low indicator present here:
But, instead of traditional pivot high lows, this is based on pivots created from zigzag indicator.
This indicator is created on top of existing Zigzag indicator using lines array:
Parameter HighLowLength refers to number of zigzag lines back which can be used to calculate top and bottom of donchian channel.
RSI+ChannelbandsThis Indicator displays a normal RSI with overbought/-sold lines which is calculated with donchian channels, pivot channel, bollinger bands and three horizontal lines.
You can averaged the channels, bands and h-lines in any combination or you can use just one of them for calculating the overbought/-sold lines.
The midline is colored in default settings in yellow for upptrending and blue for downtrending.
Adaptive Donchian ChannelThis is Slight modified version of Donchian channel. Only change here is, channels update only when there is breakout. If price keeps ranging within channel, it will not contract based on new highest and lowest range.
This can be used for identifying powerful breakouts post long consolidation and filter out fakeouts.
Value RangeHere is another attempt to chase value based on technical analysis.
This is extended version of PE range script published earlier.
Instead of just PE, this script contains several other factors which defines value. You can chose which factor to look at from input dialog:
Possible value factors included in this script are:
Price to Earnings
Price to Sales
Price to Book
PE - Forwarding
PS - Forwarding
Price to Cashflow
Enterprise Value to EBITDA
Enterprise Value to Cashflow
Some of these can be added to chart directly from financials. But, the script also calculate range based on donchian channel or bollinger bands. Instead of short periods, we are looking for periods in terms of years. Rest of things remain same.
Fat Side PathI got the idea for a narrow Donchian Channel with a short lookback period which closely follows the price fluctuation in which the sides of the channel have a thickness according to the range of the last touching candle.
Any channel, be it Donchian, Keltner, Bollinger Bands or Parallel, has an upside and a downside, touching the upside is a buy signal as this may initiate an uptrend, the downside a sell signal because a down trend may come.
This gave me the idea to make only the last touched side fat, thus creating visible switching between uptrend and downtrend. However this is ‘too digital’, as in practice also periods of no trend occur in which signaling a trend would give a false signal. In a Donchian channel (and also Bollinger Bands) such periods are marked by narrowing the channel. So I gave a no trend signal to the sides when the channel is narrower than a minimum width to call a trend. I gave the thing nice colours and proper default settings.
Use of the channel in trading.
I think this thing can be useful for swing trading. In channels two typical things may happen that should be noted by the trader, these are LB, Leaving the Border, which signals a trend reversal and FTT, Failure To Traverse, i.e. the price doesn’t manage to cross the channel to the other side. This affirms the trend. FTT’s are not expected in short lookback channels like this path (Sidenote: Fibonacci levels can be regarded as predictions where FTT’s may occur). The fat side indicates direction. Because somehow trends seem to end with a notable range extension, this channel sometimes produces a “Big Blob” where the trend reverses.
I intend to use this thing together with my Keltner Fibzones channel, where the zones serve as a ‘landscape’ in which the Fat Side Path meanders providing ‘comments’ on the short term price movements.
Donchian Channel - trend filterTrend filter created based on donchian channel. I am using my custom donchian channel as base for this indicator:
Concept is simple.
We count how many times price is hitting donchian channel top or bottom without hitting the other side and keep counter for both. Thus:
upCount is the number of times price hits donchian channel top without hitting bottom
downCount is the number of times price hits donchian channel bottom without hittin top
trendCountLimit is the minimum value of upCount or downCount to call it uptrend or downtrend.
donchain support&resistance levels [LM]Hello Traders,
I would like to introduce you donchain support&resistance levels. The idea is to look for important levels that are identified by donchain line, where donchain usualy spents a lot of time without any move usualy turns out to be good level for bounces.
Also note that when there is a big spread between first line and second line it usually leads to some pullback.
Here you have an example of big spread:
You are also able to show donchain lines and not only horizontals this you can find in settings:
Enjoy!
Custom FIBOThis script shows 3 Donchian Channel 78.6% and 21.4% intermediary level lines to perform trade analysis. Besides those 6 lines it also optionally shows Fibonacci's retracements with 100%, 127%, 162%, 200% and 262% for one of the Donchian channels.
The 3 Donchian Channels used have default lengths 72, 305 and 1292, calculated after the first length default value of 72. For each of the 3 Donchian Channels only an upper line, set by default at 78.6%, is plotted in green and its complement, set to 21.4%, is plotted in red. When the closing price is above 3 green lines, we say it is Forbidden to Sell ( PV ), and when the closing price is below 3 red lines, we say it is Forbidden to Buy ( PC ). Those conditions are flagged on the chart. These PV-PC conditions were, up to my knowledge, first proposed by Bo Williams.
Fibonacci's retracements are show for the Donchian Channel with length 72 by default, but it can be changed to any length. They are colored as fuchsia (100%), blue (127%), orange (162%), yellow (200%) and navy (262%).
CCT - CryptoCoin TraderEnglish:
------------------
Mostly tested on Crypto Currencies
2 different usages for 2 different situations
For high volatity, use light color thick lines. Ignore the dark ones.
For standard, use dark and thick lines.Ignore the light ones.
When price bar's high hits the red line = sell
When price bar's lowhits the green line = buy
Wait for the lines keep horizontal before use it for signal.
Türkçe:
Çoğunlukla kripto para grafiklerinde test edilmiştir.
2 tip kullanımı vardır.
Volatil piyasa için açık renkli kalın çizgileri kullanın.
Normal piyasa için için koyu renkli ince çizgileri kullanın.
Fiyat barının yüksek değeri kırmızı çizgiye değdiğinde = sat
Fiyat barının düşük değeri yeşil çizgiye değdiğinde = al
Sinyal olarak kullanmak için, Çizgiler yataya bağlayana kadar bekleyin.
The Turtle Trading ChannelTurtle Rules:
To trade exactly like the turtles did, you need to set up two indicators representing the main and the failsafe system.
Set up the main indicator with TradePeriod = 20 and StopPeriod = 10 (A.k.a S1)
Set up the failsafe indicator with TradePeriod = 55 and StopPeriod = 20 (A.k.a S2)
The entry strategy using S1 is as follows
Buy 20-day breakouts using S1 only if last signaled trade was a loss.
Sell 20-day breakouts using S1 only if last signaled trade was a loss.
If last signaled trade by S1 was a win, you shouldn't trade -Irregardless of the direction or if you traded last signal it or not-
The entry strategy using S2 is as follows:
Buy 55-day breakouts only if you ignored last S1 signal and the market is rallying without you
Sell 55-day breakouts only if you ignored last S1 signal and the market is pluging without you
The turtles had a progressive position sizing approach that boosted their winnings. Once a trading decision has been made you should...
Enter the market with 2% risk. Place stop-loss 2ATR from the opening price.
If the position moves in your favor 1/2ATR, enter the market again with 2% risk and trail all stop-losses 2ATR from current price.
If the position moves in your favor 1/2ATR, enter the market again with 2% risk and trail all stop-losses 2ATR from current price.
If the position moves in your favor 1/2ATR, enter the market again with 2% risk and trail all stop-losses 2ATR from current price.
Stop adding to positions when 4 positions have been taken. (*** And see money management rule below)
The exit strategy is carried out using the line with the shortest period of the indicator:
Exit longs taken using S1 when price action closes below a 10-day low
Exit shorts taken using S1 when price action closes above a 10-day high
Exit longs taken using S2 when price action closes below a 20-day low
Exit shorts taken using S2 when price action closes avove a 20-day high
The turtles had very strict money management too. Initial position risk was 2%, but it decreased according to the current drawdown.
If the account had a 10% drawdown, the risk for each trade should decrease a 20%
If the account had a 20% drawdown, the risk for each trade should decrease a 40%.
If the account had a 30% drawdown, the risk for each trade should decrease a 60%.
So, if the account had a N% drawdown, the risk for each trade should decrease N*2%.
Spanish Traslation :
Reglas de las tortugas:
Para tradear exactamente como lo hacían las tortugas, debe configurar dos indicadores que representen el sistema principal y el de seguridad .
Configure el indicador principal con TradePeriod = 20 y StopPeriod = 10 (Aka S1 )
Configure el indicador de seguridad con TradePeriod = 55 y StopPeriod = 20 usando un color diferente. (También conocido como S2 )
La estrategia de entrada usando S1 es la siguiente
Compre rupturas de 20 días usando S1 solo si la última operación señalada fue una pérdida.
Venda rupturas de 20 días usando S1 solo si la última operación señalada fue una pérdida.
Si la última operación señalada por S1 fue una victoria, no debe operar, independientemente de la dirección o si la última operación la realizó o no.
La estrategia de entrada con S2 es la siguiente:
Compre rupturas de 55 días solo si ignoró la última señal S1 y el mercado se está recuperando sin usted
Venda rupturas de 55 días solo si ignoró la última señal S1 y el mercado se está disparando sin usted
Las tortugas tenían un enfoque de tamaño de posición progresivo que aumentó sus ganancias. Una vez que se haya tomado una decisión comercial, debe ...
Ingresar al mercado con un 2% de riesgo. Coloque el stop-loss 2ATR desde el precio de apertura.
Si la posición se mueve a su favor 1 / 2ATR, ingrese al mercado nuevamente con un 2% de riesgo y arrastre todos los stop-loss 2ATR del precio actual.
Si la posición se mueve a su favor 1 / 2ATR, ingrese al mercado nuevamente con un 2% de riesgo y arrastre todos los stop-loss 2ATR del precio actual.
Si la posición se mueve a su favor 1 / 2ATR, ingrese al mercado nuevamente con un 2% de riesgo y arrastre todos los stop-loss 2ATR del precio actual.
Deje de agregar posiciones cuando se hayan tomado 4 posiciones. (*** Y vea la regla de administración de dinero a continuación)
La estrategia de salida se realiza utilizando la línea de menor periodo del indicador:
Salga de largos tomados usando S1 cuando la acción del precio cierra por debajo de un mínimo de 10 días
Salga de los cortos tomados con S1 cuando la acción del precio cierre por encima de un máximo de 10 días
Salga de largos tomados usando S2 cuando la acción del precio cierra por debajo de un mínimo de 20 días
Salga de los cortos tomados con S2 cuando la acción del precio se cierre evite un máximo de 20 días
Las tortugas también tenían una administración de dinero muy estricta . El riesgo de la posición inicial fue del 2%, pero disminuyó de acuerdo con la reducción actual.
Si la cuenta tiene una reducción del 10%, el riesgo de cada operación debería disminuir un 20%.
Si la cuenta tiene una reducción del 20%, el riesgo de cada operación debería disminuir un 40%.
Si la cuenta tiene una reducción del 30%, el riesgo de cada operación debería disminuir un 60%.
Entonces, si la cuenta tiene una reducción del N%, el riesgo de cada operación debería disminuir N * 2%.
Donchian Channel - CustomThis is an extension to Donchian Channel - Pivot High Low indicator. Creating new version as the new type added isn't related to pivot high/low.
New type added is based on moving average. Instead of using highest and lowest of n bars, here, we are using lowest and highest of moving average of highs and lows for n bars.
Previous version of Donchian channel pivot points can be found here:
Donchian Zig-Zag [LuxAlgo]The following indicator returns a line bouncing of the extremities of a Donchian channel, with the aim of replicating a "zig-zag" indicator. The indicator can both be lagging or lagging depending on the settings user uses.
Various extended lines are displayed in order to see if the peaks and troughs made by the Donchian zig-zag can act as potential support/resistance lines.
User Settings
Length : Period of the Donchian channel indicator, higher values will return fewer changes of directions from the zig-zag line
Bounce Speed : Determine the speed of bounces made by the zig-zag line, with higher values making the zig-zag line converge faster toward the extremities of the Donchian channel.
Gradient : Determine whether to use a gradient to color the area between each Donchian channel extremities, "On" by default.
Transparency : Transparency of the area between each Donchian channel extremities.
Usage
It is clear that this is not a very common indicator to see, as such usages can be limited and very hypothetical. Nonetheless, when a bounce speed value of 1 is used, the zig-zag line will have the tendency to lag behind the price, and as such can provides crosses with the prices which can provide potential entries.
The advantage of this approach against most indicators relying on crosses with the price is that the linear nature of the indicator allows avoiding retracements, thus potentially holding a position for the entirety of the trend.
Altho this indicator would not necessarily be the most adapted to this kind of usage.
When using a bounce speed superior to 1, we can see the predictive aspects of the indicator:
We can link the peaks/troughs made by the zig-zag with the precedent ones made to get potential support and resistance lines, while such a method is not necessarily accurate it still allows for an additional to interpret the indicator.
Conclusions
We presented an indicator aiming to replicate the behaviour of a zig-zag indicator. While somehow experimental, it has the benefits of being innovative and might inspire users in one way or another.