Three Bar Gap (Simple Price Action - with 1 line plot)This script is tailored towards experienced traders who prefer to view raw price charts during live execution. It searches for a three-bar pattern of what is colloquially called "fair value gap", or "imbalance" and uses a single line to plot the results. The goal is to display price in a way that is as simple as possible so that chart readers who don't prefer to add indicators on their screen will still find this indicator as an acceptable option to consider for.
From a code perspective, this script explores a new PineScript feature called UDT (user-defined types). This is an incredible update because it brings developers one step close to having the ability to create abstract data types.
█ What is price action?
Experienced traders will tell you that the chart that they use for live execution is raw, clean, and uses no indicators. They say they execute on price action, so what exactly is price action?
There is no formal definition to it, but one can agree that it implies the process of analyzing price without considering the fundamentals, without needing to know what the news was about, and without needing to know any of the Greeks (except for the desire to “seek alpha” Ha.haa...). This is not to say that price action traders are executing in their own vacuums without the need to know what is happening around the world. Surely fundamentals and financial models can be used beforehand for developing a bias for what is being traded, but it’s price-first at the moment of execution. That said, Factor (A) is Price.
Factor (B) is time-perception, it’s how the trader reads the tape. How the trader perceives price to change with respect to time is valuable information. Interpretation of "time" will be elaborated in the next section that talks about candlestick patterns detected by this script.
Putting this together, price action means the analysis of price movement by only considering (A) price, and (B) time, to predict which direction the market will move. A speculative trader is timing the market with the expectation to make a quick in-and-out profit; she/she is using price action. On the other hand, a long term investor holding a diversified portfolio with a strategy based on modern portfolio theory combined with fundamental analysis (at this point candlesticks are irrelevant) but has one additional criteria of, say, can only go Long on a stock when it has closed Green on Daily; he/she is also considered to be executing on price action.
█ Candlestick patterns
This script calculates the displacement of highs and lows over three consecutive bars.
A) Down move = When High of the recent confirmed bar is lower than the Low of the previous-previous candle
B) Up move = When Low of the recent confirmed bar is higher than the High of the previous-previous candle
(Note that its the confirmed bar that is being talked about, so it does not repaint)
An ATR filter will be applied to reduce the number of lines generated as many times they might just be associated with minor price changes.
Interpretations:
When price moves quickly across three bars, it can be thought that it has gapped. Although the candle in the middle appears to be solid, it’s not from a conceptual perspective. This is because time itself is arbitrary; timeframes don’t necessarily have to be fixed intervals. Take stocks with regular trading hours for example, if price makes a breakaway gap and you bundle the after-hours and pre-market sessions together as one candle, never minding that intervals should be fixed, then you will see the exact three-bar-gap patterns. Similar happens during intraday sessions on lower timeframes, if you zoom-in closer, you’ll see that ticks within the middle candle are sparsely dispersed. This is why it's called a gap.
█ Parameters with fixed inputs & assumptions used:
ATR is used for filtering out minor movements that will likely be deemed as irrelevant by trader for the purpose of live execution. The following inputs are required:
A) ATR lookback period
B) Multiplier
The product of ATR(len=A) and B produces a threshold for minimum distance that price must gap by. Initially, it was proposed to be only based on one ATR, but often an ATR is too wide and using it will filter out too many lines. Because of this observation, a multiplier (Parameter B) has been introduced to allow users to apply fractional ATR as a threshold.
█ Applications:
For trend followers: Follow the direction of the gap. Entering above recent high/low points above/below the first impulse with a stop-limit order is a viable tactic.
For contrarians fading a trend: The mid-point is a good point of reference for predicting potential areas of support/resistance.
ไพวอท พ้อยส์
Opening Range & Daily and Weekly PivotsThis script is for a combination of two indicators: an Opening Range Breakout (ORB) indicator and a daily/weekly high/low pivot indicator. The ORB indicator displays the opening range (the high and low of the first X minutes of the trading day, where X is a user-defined parameter) as two lines on the chart. If the price closes above the ORB high, the script triggers an alert with the message "Price has broken above the opening range." Similarly, if the price closes below the ORB low, the script triggers an alert with the message "Price has broken below the opening range."
The daily/weekly high/low pivot indicator plots the previous day's high and low as well as the previous week's high and low. If the current price closes above yesterday's high or last week's high, the script triggers an alert with the messages "We are now trading higher than the previous daily high" and "We are now trading higher than the last week high", respectively. If the current price closes below yesterday's low or last week's low, the script triggers an alert with the messages "We are now trading lower than the previous daily low" and "We are now trading lower than the last week low", respectively.
In addition to the visual representation on the chart, the script also triggers alerts when the price crosses any of these levels. These alerts are intended to help traders make decisions about entering or exiting trades based on the price action relative to key levels of support and resistance.
Support & Resistance Trendlines with PP + Fib. Channel█ Support & Resistance Trendlines with Pivot Points + Fibonacci Channel
This script automatically draw support and resistance trend lines based on pivot points and add a fibonacci channel.
It will show potential patterns with the help of support and resistance lines as well as breakout target and pullback entry with the fibonacci extension and retracement levels.
It is based on atolelole's script, I only made it more configurable so please check out his script.
I added the possibility to change values and add additional retracement and extension levels.
I also made it customizable with the possibility to change lines color, width and style.
CPR - Central Pivot Range (by Alex L.)CPR or Central Pivot Range is a tool for identifying a trend, its volatility and its future targets for the price levels (in up or down directions).
What this indicator offers:
- Main purpose of this indicator is to display levels of support/resistance in a given trend as potentially good levels of entering into position or existing from a position. Entry levels are RED, resistance levels are in GREEN.
- You have the ability to view daily, weekly, monthly pivot levels, depending on what kind of trader you are.
- Unique to this indicator - you have the ability to view YEARLY pivot levels.
- Unique to this indicator - you have the "Pivots History" option to either show all history or just the recent piriod to make your chart clean of "noise".
- Unique to this indicator - you can view "future" pivot levels based on current price.
- You have the ability to view "future pivots" which can be useful as entry or exit levels for the current trend.
- You have the ability to view one, two, three or four pivor levels concurrently depending on how much information you want on your chart.
- You have the option to use "Compact View" to further reduce "noise" and make your chart event more clean.
- Open source.
Some guidelines:
- When current Central Pivot Range is higher than previous Central Pivot Range then the stock is in an uptrend and vice versa.
- Wide Central Pivot Range usually means the stock is in a "sideways trend" and volatility is low.
- Tight Central Pivot Range usually means the stock has a very low volatility and is about to explode (up or down). Switching to a higher timeframe can often give hints to what direction the stock is likely to go.
Default settings:
- Pivot Levels : "Two Pivot Levels"
- Filter/Hide Pivots: "Hide Pivot+BC+TC"
- Pivots History: "Few Months Back"
'V' Show Monthly Pivots
'V' Show Future Pivots
Calculations of pivot levels formula is according to book "Secrets of a Pivot Boss" by Franklin O. Ochoa.
Quote from the book: "The way to make money is to make it. The way to make big money is to be right at exactly the right time."
Open source.
Enjoy!
Bounce Price Detector ~ By mohx_404꧁༺ 𝓑𝓸𝓾𝓷𝓬𝓮 𝓟𝓻𝓲𝓬𝓮 𝓓𝓮𝓽𝓮𝓬𝓽𝓸𝓻 𝓘𝓷𝓭𝓲𝓬𝓪𝓽𝓸𝓻 ༻꧂
* Hi everybody here's the ★彡 𝓑𝓸𝓾𝓷𝓬𝓮 𝓟𝓻𝓲𝓬𝓮 𝓓𝓮𝓽𝓮𝓬𝓽𝓸𝓻 𝓘𝓷𝓭𝓲𝓬𝓪𝓽𝓸𝓻 彡★ indicator and how to use it :
彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡彡
First : Depending on Pivot (HH,LL), the two possible price Correction appears on chart if the price under the Correction levels it would be a Resistance levels and to entry there candle must close above the levels, you can use Replay Mod to get the previous price Correction levels
And Here's Some Example : The price make a new HH,LL and new levels appears on chart but the price didn't confirm a bounce signale and close above the first level
So in next candle the price brake the levels and drop down :
Then a new HH,LL and new levels appears on chart and the price back to the lower levels as a Resistance Levels but when it's close above the levels and test it again it become a Support levels and price bounce again
Here's another example when price go above the levels , test it and bounce again
About The levels : depending on Fibonacci golden rate
░▒▓█ 𝐍𝐨𝐭𝐞 : You could change the pivots the value 10 for low time frame and
scalping for higher time frame you could increase the pivots value or keep it as you want █▓▒░
Zig Zag Stochastic (ZZS)The "Zig Zag Stochastic" indicator is an indicator that uses a combination of zigzag pivot points and exponential smoothing to calculate a stochastic-like oscillator.
The indicator starts by identifying pivot high and pivot low points in the price data using the Zigzag indicator. These pivot points are then used to calculate the scale_price, which is a ratio of the current close price to the range between the current pivot high and pivot low.
Next, the scale_price is smoothed using exponential smoothing. The user can input the desired length of the smoothing period, with a default value of 14. If the user sets the smoothing length to 0, the indicator will automatically calculate the optimal smoothing length using the MAMA period calculation from the Dominant Cycle Estimators library.
The smoothed scale_price is then used to calculate two lines: the K-line and the D-line, both of which are also smoothed using exponential smoothing. The K-line is the main oscillator line and is similar to the %K line in a traditional stochastic oscillator. The D-line is a signal line, similar to the %D line in a traditional stochastic oscillator.
The indicator plots the smoothed scale_price, the K-line, and the D-line. Additionally, it includes horizontal lines at the 80 and 20 levels, and fills the area between them to help identify overbought and oversold conditions.
Dynamic Fibonacci RetracementA simple fibonacci retracement tool that dynamically updates itself based on current price and previous retracement values.
Features the essential aspects of the built-in tool and more.
Auto Trendline
Auto Reversal
Auto Level Adjustment
Labels indicating retracement value
Customizable lookback range
The top and bottom levels will auto-adjust according to where price currently is, which will also affect fibonacci levels as it progresses.
Trading ChannelTrading Channel aims to be a canvas on which to develop any strategy that the user feels comfortable with.
The greatest utility of the script lies in the fact that it plots a channel over the price action, as a support and resistance pivot, within which the price action develops.
It is a script of maximum simplicity in concept and development, but at the same time presents robust support to the price action and a quick visual aid complementary to any indicators that the user works with, feels comfortable with, and uses as a basis for their strategies.
The script includes the following features (most of them disabled by default, available for potential use without the need to add additional indicators):
Fast SMA
Medium SMA
Slow SMA (disabled)
Fast EMA (disabled)
Medium EMA (disabled)
Slow EMA (disabled)
Pivot
Pivot SMA
P Multiplier
Set of resistance and support pivots according to the studies of John L. Person (R3, R2, R1, S1, S2, S3 and midpoints) (disabled by default)
Channel for the current time period in use
Channels for extended time periods (disabled by default)
Various trend, momentum, and overbought/oversold indicating labels (note that the calculations for their representation are based on SMA's even though EMA's are visualized).
SMA's/EMA's
Both are available as both are used as basic indicators for different types of strategies. The default selection of SMA's in this case is based on the fact that the script development is largely based on the studies shared by John L. Person in the area of pivots and by Bill Williams in the area of fractals. Note also that for that same reason the various trend, momentum, and overbought/oversold indicating labels are calculated based on them.
Set of resistance and support pivots
They are included as a consultation tool especially for the higher time periods. They can be used to mark the most interesting supports/resistances and not lose sight of them while operating in lower time periods. Marking monthly, weekly, and daily pivots can be very useful. Additionally, marking S1 and R2 for bullish trends, S1 and R1 for ranges, and S2 and R1 for bearish trends can provide an even more precise framework to work on.
P Multiplier
It is set by default at 4, and is the basis for being able to consider during the use of a specific time frame, the price action with respect to higher time frames. It is the multiplier used for the generation of channels for extended time periods.
Channel for the current time period in use
It is a channel formed by the maximum and minimum closing of the last 21 periods. This value is modifiable and its adjustment depends on the asset under study. 24/7 markets show good results with this adjustment (in the case of BTC really good).
This channel represents a pivot in the form of a yellow middle line, with its support and resistance extremes on the upper green and lower red lines. The same green and red lines, referenced this time to the maximum, are added and serve as possible stop-loss marks.
Channels for extended time periods
Enabling the maximum and minimum channels for extended periods can provide a better idea of the price situation (it is recommended to disable the channel in use and enable the upper one for consultation, it provides a better vision).
Identifying labels:
Following a summary explanation for possible long entries, the same but opposite should be considered for possible short entries:
Small green arrow under candle: indicates possible upward trend (pivot above pivot SMA)
Large green arrow under candle: indicates upward trend (pivot above pivot SMA and above fast SMA)
Green triangle over candle: indicates channel breakout, possible upward momentum (represented as a fractal as its concept is the same)
Green/red arrows at the bottom of the chart: intended to confirm the validity of a signal (should doubt green indications with red lower arrow and vice versa)
Green/red dots at the bottom of the chart: red represents areas of strong resistance and green signals of strong support (with red dots, proceed with caution despite green signals, and vice versa)
Comments
It is emphasized that the basic and most useful functionality of this script is to provide a reliable base on which to develop any strategy, as a framework for working.
If the identifying labels are used, it should be taken into account that the earliest will always be the most reliable and valuable, but their confirmation will always depend on the user's strategy.
Its use in conjunction with the "Pivot Position for Trading Channel" indicator can serve as a base for the development of different strategies, by providing indication of the relative position of the price within the channel.
This script is just a consultation tool with didactic goals, it should not be used as an investment recommendation and the information provided should not be relied upon as such.
------------------------
Trading Channel pretende ser un lienzo sobre el que desarrollar cualquiera que sea la estrategia con la que el usuario se sienta más cómodo.
La mayor utilidad del script radica en que se traza sobre la acción del precio un canal, a modo de pivotes de soporte y resistencia, dentro del cual se desarrolla la acción del precio.
Se trata de un script de máxima sencillez en concepto y desarrollo, pero que a la vez presenta un soporte robusto a la acción del precio y una ayuda rápida visual complementaria a cualquieras que sean los indicadores con los que el usuario trabaje, se sienta más cómodo y utilice como base de sus estrategias.
El script incluye las siguientes funcionalidades (la mayoría desactivadas por defecto, disponibles para su potencial uso sin necesidad de añadir indicadores adicionales):
- SMA rápida
- SMA media
- SMA lenta (desactivada)
- EMA rápida (desactivada)
- EMA media (desactivada)
- EMA lenta (desactivada)
- Pivote
- SMA de pivote
- Multiplicador de P
- Conjunto de pivotes resistencia y soporte de acuerdo a los estudios de John L. Person (R3, R2, R1, S1, S2, S3 y puntos medios) (desactivados por defecto)
- Canal para el periodo temporal en uso
- Canales para periodos temporales extendidos (desactivados por defecto)
- Diversas etiquetas indicativas de cambios de tendencia, de impulso y de sobrecompra y sobreventa (nótese que los cálculos para su representación están basados en SMA's aunque se visualicen EMA's).
SMA's/EMA's
Ambas disponibles pues tanto unas como otras son utilizadas como indicadores básicos para diferentes tipos de estrategias. La selección de SMA's por defecto en este caso se basa en que las bases para desarrollo del script son en gran medida los estudios compartidos por John L. Person en el área de pivotes y de Bill Williams en el área de los fractales. Nótese también que por esa misma razón las diversas etiquetas indicativas de cambios de tendencia, impulso y sobrecompra/sobreventa se calculan en base a ellas.
Conjunto de pivotes resistencia y soporte
Se incluyen como herramienta de consulta sobre todo para los periodos temporales más altos. Pueden utilizarse para marcar los soportes/resistencias de más interés y no perderlos de vista mientras se opera en periodos de tiempo más bajos. De acuerdo a los estudios de John L. Person, marcarse los pivotes mensuales, semanales y diarios puede resultar de mucha utilidad. Adicionalmente, marcar S1 y R2 para tendencias alcistas, S1 y R1 para rangos, y S2 y R1 para tendencias bajistas puede proporcionar un marco aún más preciso sobre el que trabajar.
Multiplicador de p
Está fijado por defecto en 4, y es la base para poder considerar durante el uso de una franja temporal concreta, la acción del precio respecto a franjas temporales superiores. Es el multiplicador utilizado para la generación de los canales para periodos temporales extendidos.
Canal para el periodo temporal en uso
Se trata de un canal conformado por los cierres máximos y mínimos de los últimos 21 periodos. Este valor es modificable y su ajuste depende del activo en estudio. Mercados 24/7 muestran buenos resultados con este ajuste (en el caso de BTC realmente buenos).
Este canal representa en cierta manera un pivote en forma de línea intermedia amarilla, con sus extremos de soporte y resistencia en las líneas verdes superior y roja inferior. Se añaden las mismas líneas verdes y rojas, referenciadas esta vez a los máximos, que sirven como posibles marcas de stop-loss.
Canales para periodos temporales extendidos
Habilitar los máximos y mínimos de canales de periodos extendidos puede proporcionar una mejor idea de la situación del precio (se recomienda deshabilitar el canal en uso y habilitar el superior para consulta, proporciona una mejor visión).
Etiquetas identificativas:
A continuación explicación resumida para posibles entradas en largo, lo mismo pero de modo opuesto debería considerarse para posibles entradas en corto:
Flecha verde pequeña bajo vela: indica inicio de tendencia en alza (pivote por encima de SMA de pivote y ambos por encima de SMA rápida)
Flecha verde grande bajo vela: indica tendencia en alza (pivote por encima de SMA de pivote y ambos por encima de SMA rápida y media)
Triángulo verde sobre vela: indica rotura de canal, posible impulso al alza (representado a modo de fractal pues su concepto es el mismo)
Flechas verdes/rojas a pie de gráfico: pretenden confirmar la validez de una señal (debería dudarse de las indicaciones verdes con flecha inferior roja y viceversa)
Puntos verdes/rojos a pie de gráfico: los rojos representan áreas de fuerte resistencia y los verdes de fuerte soporte (con puntos rojos, proceder con cautela pese a señales verdes, y viceversa)
Comentarios
Se insiste en que la funcionalidad básica y de mayor utilidad de este script es proporcionar una base confiable sobre la que desarrollar cualquier estrategia, a modo de marco de trabajo.
Si se hace uso de las etiquetas identificativas, debe tenerse en cuenta que las más prematuras siempre serán las más confiables y valiosas, pero que su confirmación siempre dependerá de la estrategia por parte del usuario.
Su uso en conjunción al indicador "Pivot Position for Trading Channel" puede servir de base para el desarrollo de diferentes estrategias, al proporcionar indicación de la posición relativa del precio dentro del canal.
Este script es solo una herramienta de consulta con objetivos didácticos, no debe ser utilizado como recomendación de inversión y no se debe confiar en ella como tal.
Cuban's Ecosystem Spaghetti [CE]Cuban's Ecosystem Spaghetti is an overlay indicator for multiple assets to track the returns of highly correlated markets, spreads, and ecosystems.
The tool provides three different viewing modes for returns; a rolling bar lookback, a specific data and time anchor, and a visible range -- similar to the native Tradingview 'Compare' tool.
Included are pre-built lists for over 200+ Binance and Bybit Futures assets, along with custom watchlist support for as many assets as your browser can handle. This gives the trader the ability to monitor entire markets within a single charting window.
We have also added an optional table to the right of the screen so that the trader can clearly see outperforming assets. This table is toggleable using radio buttons within the Style menu.
To improve asset visibility, the script also calculates the 'long tail' of the list distribution and automatically lowers the visibility of clustered assets in the centre.
While the Compare tool only allows for % returns and absolute value on the chart asset or separate scale, Cuban's Ecosystem Spaghetti allows the trader to overlay the assets with their returns based on the current chart ticker price scale. This gives the trader the ability to watch asset movement in low timeframe, relative to their portfolio benchmark or merely, the asset of the day.
Within the user inputs, the user gains the ability to customize the following:
Returns lookback mode
Rolling lookback period
Timezone and time anchor
Percentage of assets highlighted
Dynamic label offset
Asset lists
TO DO:
Add additional viewing modes
Further optimization
Pivot High/Low ComparisonThis script will show you at a glance the following trends:
Higher Highs (Green line on top)
Lower Highs (Red line on top)
Higher Lows (Green line on bottom)
Lower Lows (Red line on bottom)
It utilizes the Pivot High and Pivot Low functions to determine if the previous pivot was higher or lower than the current pivot .
Daily Number/Trend Reversal IndicatorIndicator identifies potential price trend exhaustion.
Compares this period against the 4th prior period for the condition.
9 periods (or more) with the same condition is an indicator that the trend is ending soon.
LiquidationsFirst, thanks to the following Tradingview community members for providing open source indicators that I used to develop this indicator!
Liquidations by volume (spot/futures) - @Thomas_Davison
Pivot and liquidation lines - @lmatl
Let me know if either of you do not approve and I will remove the indicator.
This indicator uses pivot points, volume and a liquidation percentage to determine potential liquidation levels. These are not exact but can give traders an idea of potential support or resistance levels.
Pivot points: Currently the pivot points are set to look left 5 bars and right 2 bars. This will determine the high and lows in the chart.
Volume: Assuming that high volume bars are where more leverage is used, this indicator uses the average volume over a 1000 bar period to determine to determine a baseline. I have arbitrarily set 100x lines to 20% above the average volume, 50x lines 10% above, 25x lines 5% above, 10x lines 2.5% above and 5x lines 1.25% above.
Liquidation: Finally, we are making a few assumptions on how liquidations are calculated. The following table includes the percentage a position can decline before being liquidated.
Short: Long:
100x 0.51% 0.49%
50x 1.55% 1.47%
25x 3.70% 3.38%
10x 5.11% 4.67%
5x 6.705% 6.115%
Let me know if there are any questions or if anyone has any improvements!
Bagang Pivot Zones | Supply & Demand, Support & ResistanceBagang Pivot Zones detects imbalances from classic reversal and momentum price actions.
Imbalances create pivot zones, a.k.a Supply & Demand / Support & Resistance / Orderblock zones.
Use Cases
1. Traders using Supply & Demand theory can quickly pinpoint imbalance zones created by BUY-to-SELL and SELL-to-BUY candles.
2. Trend Following traders can systematically catch and follow a trend based on pivot zones analysis.
3. Breakout traders can easily target pivot zones’ breakout and breakdown.
4. Take the guesswork out of risk management: manage stop-loss precisely behind pivot zones.
5. Analyze contrary pivot zones to set realistic profit targets.
Objectivity
By only comparing OHLC values to identify notable price actions, Bagang Pivot Zones avoids derived calculations with subjective parameters.
Chart Issue
If the chart zooms out after adding an indicator, right-click the price scale and toggle "Scale price chart only” on.
Theory Affinity TrendlinesThis indicator is perfect for traders who want to identify trend lines on a chart. It draws higher low uptrends and lower high downtrends, making it easy to see where the trend is going. You can also customize the settings to fit your needs, making it the perfect tool for your trading arsenal.
With this new tool, you can easily customize your experience to get the most out of your trading and analysis. With options like max lines, strength multiplier, pivot plots/text, and more, you can easily create the perfect trading analysis environment.
So why wait? Try it out today!
Leave feedback and let me know what you think.
// ############################################################################################## Input Descriptions
Pivot Left ----------------- look left n bars
Pivot Right ---------------- look right n bars
Strength ------------------- Pivot multiplier (Higher = Wider Trend lines)
Max Lines ------------------ Number of lines for each Uptrend and Downtrend
Structure Text ------------ Show HH, LL, etc. on chart
Structure Markers -------- Dots at the Pivot Highs and Lows
Plots ------------------------ Draw a line at Pivot Highs and Lows
Last Up Width ------------- Width of the current Uptrend line
Historical Up Width ------ Width of previous Uptrend lines
Last Down Width --------- Width of the current Downtrend lines
Historical Down Width --- Width of previous Downtrend lines
Line Offset ---------------- Shift trend lines right or left
* Lines may or may not "repaint". For use to identify trends that are more than likely already established and to identify trend line breaks.
Gann Spiral / Square of 9The Gann Spiral, more commonly known as the Square of 9 is one of the most well known tools that Gann used. Today, it is most commonly used to find possible support and resistance levels, and possible reversals in time.
This indicator is a more flexible version of the traditional Gann Spiral / Square. This is achieved by allowing you to change:
Price and Time direction
The timeframe
How often to draw lines based on degrees
Toggles for Price and Time
Price and Time line customization
How to use:
1 - Select your desired starting value of Price and Time.
2 - Choose the direction of Price and Time.
3 - Choose the amount of lines to display.
4 - Choose how often for lines to be drawn (Rotation Degree Value).
==================================================================
Side Note:
This uses a more proper and more accurate formula to "navigate the square". (Sqr x + 2)^2 is not the formula used, but rather (Sqr x + 1)^2.
If you wish to use the formula you're used to, change Full Revolution Value to 180.
The reasoning behind this formula change is because I re-created the square in the form of an actual spiral. The issue with such a conversion is that the formula used to construct it uses one Pi. If you understand circles, you should know that we're off by 180 degrees. A full rotation is 360, not 180.
Correcting for this error requires a slight but important change in the formula, that being +1 instead of +2. This not only corrects it to fit for a proper spiral, but also makes it easier to use fractions. 1/360 results in 1 degree. This slight formula change makes it incompatible when used on the actual Square of 9, however it is technically the more accurate formula.
Custom "ZickZack" for price lines|Tradingview wants a Description|
The Indicator Helps with finding:
- higher highs
- lower highs
- lower lows
- higher lows
- trends
It also shows with a triangle what candle confirmed the Pivot points
And it just looks fancy (my opinion)
VOTrade Margin Zones CME/ICE/МОЕХ AUTO 2.0
Margin zones are zones that are strong support and resistance levels and on the basis of which further movement of a trading instrument can be assumed. Margin zones are built based on the levels of margin requirements for futures of the Chicago Mercantile Exchange ( CME ), which corresponds to a specific trading instrument on the spot market. The margin requirement levels form a certain amount of the futures move (and therefore the corresponding currency pair), conditionally this can be called the volatility that the market maker sets for the trading instrument.
Margin zones in trading are the areas to which the price reacts, and the closing of the day (the American trading session) below or above a certain level signals to us about the potential of a further trend (this is one of the classic rules based on observation and statistics collection, but you can use the zones as a kind of volatility move in other ways).
Differences from the basic version of VOTrade Margin Zones CME:
1) In this version of the script, it is implemented to save the display of margin zones on all assets where they were built.
2) Displaying the construction of margin zones according to the author's TS "VOTrade"
3) Adding tools for building margin zones for the assets you need through contact with the author.
4) Support for instruments from the world's largest exchanges CME / ICE / MOEX with up-to-date margin data.
5) Display of constructions of margin zones in both directions of movement.
6) Cross-currency support.
Supported tools:
CME future - 6E, 6B, 6C, 6A,6S, 6C, 6N, 6J,ES, NQ,YM, GC , SI, NG , HG, WTI (add according to interest)
Ice future -DXY, Brent (add according to interest)
MOEX future - Ri, Si (add according to interest)
FOREX - EURUSD , AUDUSD , GBPUSD , NZDUSD , XAUUSD , XAGUSD , WTI, SP500 , Nasdaq, US30 (add according to interest cross-currency support.)
Mark Structure ShdwMark Structure Show is building the market swing structure, minor and sub structure and marks all possible insignificant pivots
This indicator is the alternative version of Mark Structure indicator, I had to create another indicator in order to avoid programming limitation of TreadingView.
This version uses confirmation approach as confirming by body, it means every swing low/high is confirmed when the body (of newly creating swing low/high correspondingly) takes place and intercepts it. the same behaviour is with breaking structure its confirmed only by body.
From trading prospective with this kind of approach we can easily detect manipulations (caused by sweeps) and disregard those manipulation as elements which are breaking the structure. so its extremely useful for those who are trading smart money price actions and basing on swing structure POI
it supports:
- Marking all pivots with labels or join them continuously with trend lines.
- Marking minor and sub structured swings with labels or join them continuously with trend lines. Marking last actual CHoCH and BOS. Minor and substructure are structures inside swing structure and it can differ from the structure of lower timeframe
- Marking swings of swing structure with labels or join them continuously with trend lines.
- Changing bullish and bearish colors of each kind of structures
- Changing pivot labelings
- Changing colors
Remarks:
- Don't expect to have minor and sub structure in each swing waves, its totally fine when you don't have them at all
- Swing structure is the most significant structure and shows real price direction.
- The last swing is not able to be confirmed it tries to build 2 swings that most likely would be either substructure or SMS BOS
Multi PivotsThis script is meant for day traders. It's based on the CPR concepts. The pivots plots based on the timeframe, means less that 15minuts it will plot daily pivots, less that daily tf, it plots weekly and then monthly. It also includes Camarillas, ADR levels, Fibonacci levels based on last 500 candles, Fib pivots, Pivot zones, developing pivot, Vwap, Dashboard shows RSI,ADX,Vwap,SuperTrend and day price difference. Options available to plot Day HighLow, Initial Balance levels as well. There is option to show running CPR which highlights virgin CPR. It can plot next day pivots as well
I dont own any of codes or ideas in the script. Codes are taken from different scripts and altered based on the requirements. Kudos to all the great pinecoders who provided their codes as public which helps everyone. Thanks
Future Pivots CPR - All Timeframes
Simple idea that allows you to display tomorrow CPR/ Standard Floor Trader Pivots based on the high, low and close of today session. Likewise, it works for higher timeframes taking into account the high, low, close of the period (e.g. weekly, monthly, year).
Just be aware that -regardless of the timeframe- if the period is still in development, the indicator will constantly/ live update the values until the period is closed!! This indicator is meant to be used when preparing for the next trading period. If you want to use it live, I'd suggest using the function of this indicator which allows to display only current/closed pivots-
Similar to other script I published, this indicator lower timeframes (Daily and Weekly) will work with lower timeframe bars, this is the Minutes and Hour bars. Conversely, higher timeframe CPR/Pivots will work better with timeframes/charts from Daily and above.
Available tick/untick functions:
- Select timeframe
- Show current CPR & Support/Resistance
- Show tomorrow CPR & Support/Resistance
- Display historical CPR (CPR only)
- Show extended support and resistance lines (S2,S3,R2,R3) for current and future pivots.
Alex's Dikfat Velocity 2hr CCI Color SignalerAlex's Dikfat Velocity 2hr CCI Color Signaler
As most traders have experienced at one time or another, over bought and oversold readings are relative in nature and do not always work as a standalone reading.
Momentum indicators such as the Commodity Channel Index ( CCI ) have to be understood and read correctly to determine the value in a momentum reading.
When an asset is "Overbought" or "Oversold" the reading can remain in this region Irrationally for extended periods as the market remains in irrational trend.
In order to better understand this and other readings on a momentum indicator clues such as divergence, exhaustion, continuation, time and frequency as well as the actual velocity of the movement must be measured. In addition, there are very specific measurement lines on the CCI that must be read and that can reject or break and result in the asset either loosing or gaining momentum in one direction or the other. These are the dashed lines in the background.
For the purposes of this Indicator, the actual function, characterization and use of CCI will not be explained here as the colored indications themselves will do all the work for you.
It is very important to know that the calculations used to signal the color filling ARE NOT based on simple breaks of the dashed background lines as traditionally read with a CCI indicator.
The calculations used in this Indicator are based on a very fine tuned mathematical algorithm that measure an unseen element within the CCI . When the VELOCITY of a move in momentum is met, the color fills will begin. When the VELOCITY of the move changes, so to will colorization. This has led to some of the best High Probability Long and Short Sale signaling in any CCI indicator. Pairing this with your favorite chart indicators and personal analysis will result in high tradability but can also be used stand alone.
Remember: No one single indicator should ever be used to determine market signaling.
A basic understanding of a CCI indicator is recommended before using this indicator.
This indicator and the proprietary calculations used were built and meant to be used on the 2 Hour Timeframe. The indicator is open to all time frames and accuracy increases as the time frame increases.
It is recommended that if you use this indicator on a lower timeframe, to pull CCI readings from a higher Timeframe as found in the settings.
This indicator signals long and short opportunities. High Probability long and short trades, bullish and bearish divergence building, market time traps and bullish / bearish continuation as well as exhaustion of these moves.
There is also a companion indicator which will signal the High Probability Long and Short trades on the candle chart called "Alex's Dikfat CCI Equity Signaler" Which will place white Triangles on the candle chart showing high probability long entries and Orange Triangles for High Probability short entries. These are also built into the CCI line and can be turned on in this indicator.
Color Code:
Bullish Continuation: (Background Color Black)
The function of the black background colorization is to alert the user that a bullish move has begun and is currently in a strong continuation period. the longer the black background color draws, the more sustained or trending up the current move is. When these background lines begin to break and start to appear as more frequent broken background lines, exhaustion in the move can be assumed. When the black stops drawing all together, the strength of the continuation move is gone.
Bearish Continuation: (Background Color Fuchsia)
The function of the fuchsia background colorization is to alert the user that a bearish move has begun and is currently in a strong continuation period. the longer the fuchsia background color draws, the more sustained or trending down the current move is. When these background lines begin to break and start to appear as more frequent broken background lines, exhaustion in the move can be assumed. When the fuchsia stops drawing all together, the strength of the continuation move is gone.
High Probability Long/Short:
These buy and sell opportunities were designed to give a trader the best signal/entry on a Long or a Short with the highest probability of making a large and typically sustained impulse move.
High Probability Long: (White Color Fill)
The High Probability Long is a signal to BUY with the best possible entry on an a pending large impulse move to the upside. When White begins to fill, The long is extremely likely. The signal is confirmed on the close of the following candle after white begins to draw unless an opposing color immediately follows, or white dips below the zero line. White will always usually start just below the zero line in the highest probability scenarios.
High Probability Short: (Orange Color Fill)
The High Probability Short is a signal to SELL SHORT with the best possible entry on a pending large impulse move to the downside. When Orange begins to fill, The Short is extremely likely. The signal is confirmed on the close of the following candle after orange begins to draw unless an opposing color immediately follows. Some of the best entries for Orange are when it starts at the END of a black stripe in the background and better so when Orange dips below zero for entry. The signal was designed to color early enough to get in a short during consolidation before the move.
Long and Short Opportunities: Long and Short opportunities are just as they sound. Coloring will signal green for a long opportunity and red for a short opportunity. These opportunities are not always guaranteed and usually result in an lesser impulse move in one direction with a shorter duration.
Long Opportunity: (Green)
The Long Opportunity is a signal that a Long is possible however with less likely odds of a larger more sustained move. When Green begins to fill, a long opportunity is available. The signal is confirmed on the close of the following candle after green begins to draw unless an opposing color immediately follows, or green dips below the zero line. Green will always usually start just above the zero line and have the best opportunities at the end of Bullish Divergence (Blue) at the end of Bearish Continuation (Fuchsia) or a non filled CCI .
Short Opportunity: (Red)
The Short Opportunity is a signal that a Short is possible however with less likely odds of a larger more sustained move. When Red begins to fill, a short opportunity is available. The signal is confirmed on the close of the following candle after red begins to draw unless an opposing color immediately follows. Some of the best entries for Red are when it starts at the END of a black stripe in the background (higher odds than other red signaling). The signal was designed to color early enough to get in a short during consolidation before the move and better so if orange develops after red.
Bullish Divergence: (Dark Blue)
Dark Blue colors when Bullish Divergence is detected. Bullish divergence is a signal that momentum is building higher within the asset for an up move while price action in the candle chart makes lower lows. Bullish Divergence is not a signal to buy or sell but rather a sign post to say WAIT. Bullish divergence is building and a Long is coming. Some traders will buy bullish divergence in anticipation of a move and is only equitable if you have the cash and resolve to follow it through for as long as it is developing. Buying or selling divergence right away is not always the best practice unless a hard dip below all momentum lines followed by an immediate buy signal from white or green resulting in a drop base rally.
Bearish Divergence: (Dark Maroon)
Dark Maroon colors when Bearish Divergence is detected. Bearish divergence is a signal that momentum is dropping out of the asset for a move lower while price action in the candle chart makes higher highs. Bearish Divergence is not a signal to buy or sell but rather a sign post to say WAIT. Bearish divergence is building and a Short is coming. Some traders will sell bearish divergence in anticipation of a move and is only equitable if you have the cash and resolve to follow it through for as long as it is developing. Buying or selling divergence right away is not always the best practice unless a hard rip above all momentum lines followed by an immediate sell signal from red or orange resulting in a rally base drop.
No Color Fill:
When CCI has no color fill whatsoever it is telling the trader there are no high velocity movements in momentum in any direction. Best practice is to do nothing and wait out the Time Trap currently on the chart until signaling develops.
Time and Frequency:
Time and frequency is notable throughout the indicator. First and foremost when CCI is not being filled it is best practice to do nothing as there is NO Velocity of Movement within the asset at that time. This is one of the most obvious of Time Traps.
Bullish and Bearish Divergence is also a type of Time Trap. The longer these develop, the more weak hands are shaken out of the market and derivatives traders have their premium burned. Best practice with divergences is also to wait until adequate signaling develops, or be willing to buy or sell the appropriate divergence by accumulating or distributing for as long as it develops; or simply to buy/sell and hold for the move.
Any Sustained color for extended periods of time is also a time trap signaling to the trader that the asset is being irrational in its present move.
Bullish and Bearish Continuation:
These also deal with time and frequency most importantly. When we are on a sustained Bull Run, black will color in the background continuously. When the black starts to barcode or break up, exhaustion of the bull run is assumed as the frequency of the run becomes erratic. Inversely, When we are on a sustained Bear Run, fuchsia will color in the background continuously. When the fuchsia starts to barcode or break up, exhaustion of the bear run is assumed as the frequency of the run becomes erratic.
The color scheme is designed to be read from darkest to lightest when a sequence of events is found. I.E Dark Maroon>Red>Orange or Inversely Dark Blue>Green>White
In keeping with the best practices and traditions of TradingView, we have published this as a public script with the best intentions of aiding the TradingView community in unique and valuable ways. While some of our best indicators are by invite only, we feel an addition to the community of this magnitude will add to the fabric and substance of community.
Next Pivot Projection [Trendoscope]Still experimental. Extending further on the divergence backtest results - in this script we try to project next 2 pivots (including one unconfirmed pivot)
🎲 Previous experiments
1. Divergence-Backtester
2. Divergence-Backtester-V2
🎲 Additions
Apart from collecting the stats on number of occurrences of HH, HL, LH, LL - this script also keeps track of average ratio for each levels and average bars.
Based on these data, we try to calculate the next pivot projections including possible bar and price.
Cloud covering the candles indicate historical levels of average HH, HL, LH, LL projections.
Hover on projection labels to find more details in tooltips.
🎲 Overall method in a nutshell
🎲 Going bit deeper
🎯 Unconfirmed Pivot and its projection - Last pivot of the zigzag is always unconfirmed. Meaning, it can potentially repaint based on further price movements. But, projection of the unconfirmed pivot will not change as it will be based on previous two pivots - both of which are confirmed.
🎯 Next Pivot Projection - Next pivot is projected based on last two pivots - which include last unconfirmed pivot. Hence, these projections can potentially repaint based on the last pivot repaint.
🎯 Historical projections displayed as cloud - Historical projection values are displayed as cloud around pivots.
A cloud above represents area from average lower high range to average higher high range. Cloud color is green if average ratio of pivot high is more than 1. Red Otherwise.
A cloud below represents area from average higher low range to average lower low range. Cloud color is red if average ratio of pivot high is more than 1. Green otherwise
Fsystem Pivot 1453 ScreenerHello,
This script provides scanning for our pivot 1453 script and should be used together.
I will try to explain the content with pictures.
Merhaba,
bu scriptimiz ,pivot 1453 scriptimiz için tarama yapılmasını sağlar ve beraber kullanılmalıdır.
sizlere içeriği resimler ile anlatmaya çalışacam.
Status column :
this column indicates that you are
from the Bear or Bull area at the last bar,
bear-positive bear appeared in the field,
bull -negative indicates that the bull is out of the field.
----------------
Durum Kolonu :
Bu kolon son barda Ayı veya Boğa alanda oldugunu ifade eder,
bear-positive ayı alandan çıktıgını,
bull -negative boğa alandan çıktığını ifade eder.
how bar ago column :
Indicates how many bars ago
the bull or bear crossed the area.
---------------------------------------
how bar ago kolonu :
boğa veya ayı alana kaç bar önce geçtiğini belirtir.
Level 1 distance column:
your last price
It is the percentage distance from the first pivot line that occurs when the Bull or Bear enters the field.
It gives information about how much the price has gained according to the 1st pivot and adds the color expression according to the current area.
-------------------------------------------
Level 1 distance kolonu :
son fiyatın
Boğa veya Ayı alana girdiğinde olusan ilk pivot çizgisine yüzdelik olarak uzaklığıdır.
1.pivota göre fiyat nekadar değer kazanmış bilgisini verir ve şu andaki alana göre renk ifadesinide katar.
which level column :
It gives information about the level of the price and colors it according to the relevant level.
----------------------------------------
which level kolonu :
fiyatın hangi seviyede oldugunun bilgisini verir ve ilgili seviyesine göre renklendirir.
Bottom distance column:
It gives the percentage distance
of the last price from the Support line.
-------------------------------------------------
Bottom distance kolonu :
Son fiyatın Destek çizgisine
yüzdelik uzaklığı bilgisini verir.
top distance column:
It gives the distance of the last price
from the peak, that is, to the resistance
point, as a percentage.
-------------------------------
top distance kolonu :
son fiyatın tepe yani direnç noktasına
uzaklığını yüzdelik olarak verir.
level up jump column :
If the price has closed on the line upwards
at the last bar and has passed to the
other level region, it gives information
about this.
-------------------------------------------
Level up jump kolonu :
eğer fiyat son barda yukarı doğru ,
çizgi üzerinde kapanış yapmış ve
diğer seviye bolgesine geçmiş ise
bunun bilgisini verir.
ema 60 and ema 360 column:
Returns the value of ema.
If the price is lower than the
relevant ema, it is turned
to a green ground if it is above red.
-----------------------------------
ema 60 ve ema 360 kolonu :
ema nın değerini verir.
eğer fiyat ilgili ema dan aşağı
ise kırmızı üstü ise yeşil zemine çevirilir.
Level Supp--Resis column:
gives the value of the top
resistance and the value of
the bottom support.
---------------------------
Level Supp--Resis kolonu :
tepe direncin değerini ve
dip desteğin değerini verir.
From the settings option of the script, you can narrow the result area by converting currency,
choosing a period, selecting a share, scanning another stock set and filtering integrated into the columns.
---------------------------------------------------------------------------------------------------------------------------------
scriptin ayarlar seçeneğinden ,para birimi çevirme ,periyot seçme,hisse seçme ,başka hisse seti tarama ve kolonlara entegreli filtreleme yaparak sonuç alanını daraltabilirsiniz.
Pivot PointsIndicator calculates the basic pivot points from previous day's h/l/c on intraday charts