Previous Days RangesPrevious Days Ranges
Simply plots out market ranges of previous days price action, of which are the following:
Previous Day High
Previous Day Low
Previous Day Extended High
Previous Day Extended Low
Supports adjustments of timeframes, for different time zones, and style.
Pivot Point dan Level
Horizontal Lines AutomaticAutomatically plots horizontal lines at user defined increments around the current price of the chart. No more wrist ache from typing in the baseline number, this script automatically finds the baseline!
The example image uses three sets of this script with different colours and opacities.
All-In-One Sessions, Weekly, Monday, Previous Highs/LowsWe are forever drawing key levels on our charts with saved drawing templates, but finding the levels, adding the labels, is all tedious stuff. We have indicators, but we have multiple different ones at a time.
What if you could just tick a box on/off?
Well now you can.
This all in one 'levels' indicator is designed to show all the key highs and lows from previous weeks, Monday, the current week, as well as an option to highlight the market sessions and their highs and lows.
There are lots of options available for extending lines and choosing their colors, so once you have set it up how you want, don't forget to save YOUR defaults.
Oorah.
Monthly Returns of a Strategy in a ChartIt's a simple example of how you can present your strategy's monthly performance in a chart.
You maybe know that there is no support of these kind of charts in TradingView so this chart is actually a table object under the hood.
Table visual appearance is customizable, you can change:
Location
Bar Width / High
Colors
Thanks to @MUQWISHI for hard work, for helping me coding it.
It's not about the strategy itself but the way you display returns on your chart. So pls don't critique my choice of the strategy and its performance 🙂
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Gann Square of 144This indicator will create lines on the chart based on W.D. Gann's Square of 144. All the inputs will be detailed below
Why create this indicator?
I didn't find it on Tradingview (at least with open source). But the main reason is to study the strategy and be able to draw it fast. Manually drawing the square is not hard, but moving all together to the right spots and scale was time-consuming.
It has a lot of inputs...
Yes, each square point divisible by 6 has information with some options, so the user can create any configuration he wants. Also, it has the advantage of having the square built in seconds and adjusting itself on each new calculation.
About the inputs
Starting Date
This input will be used when the "Set Upper/Lower Prices and Start Bar Automatically" checkbox is not selected. The indicator will calculate all the line locations on the chart using the selected start date. When selecting this input, change the Manual Max and Min Prices to the better calculation
Manual Max/Min Price
This input will be used when the "Set Upper/Lower Prices and Start Bar Automatically" checkbox is not selected. The indicator will calculate all the line's locations on the chart using these prices
Set Upper/Lower Prices and Start Bar Automatically
Selects if the starting date will be automatically selected by the system or based on the input data. When it's set, the indicator will use the most recent bar as the middle point of the square, using the higher price as the Upper Price and the lowest price as the Lower Price in the latest 72 bars (or more based on the Candles Per Division parameter)
Update at a new bar
When this option is market, the indicator will update all created lines to match the new bar position, together with all the possible new Upper/Lower prices. Let it unchecked to watch the progression of the price while the square remains fixed in the chart.
Top X-Axis
When checked, it will display the labels on the Top of the square
Bottom X-Axis
When checked, it will display the labels on the Bottom of the square
Left X-Axis
When checked, it will display the labels on the left of the square
Right X-Axis
When checked, it will display the labels on the right of the square
Show Prices on the Right Y-Axis
When checked, it will display the prices together with the labels on the right of the square
Show Vertical Divisions
Show the lines that will divide the square into 9 equal parts
Show Extra Lines
Show unique lines that will come from the Top and bottom middle of the square, connecting the center to the 36 and 108 levels
Show Grid
When selected, it will display a grid in the square
Line Patterns
A selector with some options of built-in lines configuration. When any option besides None is selected, it will override the lines inputs below
Numbers Color
Select the color of each number on the Axis
Vertical Lines Color
Select the color of the vertical lines
Grid Color
Select the grid line color
Connections from corners to N
Each corner is represented by 2 characters, so they all fit in a single line
It will indicate where the line starts and where it ends
┏ ↓ = Top Left to Bottom
┏ → = Top Left to Right
┗ ↑ = Bottom Left to Top
┗ → = Bottom Left to Right
┓ ← = Top Right to Left
┓ ↓ = Top Right to Bottom
┛ ← = Bottom Right to Left
┛ ↑ = Bottom Right to Top
Besides selecting what line will be created, it's possible to select the color, the style, and the extension
How to use this indicator
When you dig into Gann's books for more information about the square of 144, you find that it was part of his setup with multiple indicators (technical and fundamental, and astrological). It is not a "one indicator" setup, so it's hard to say that you will find entries, exits, stop loss, and take profit in this. Still, it will help see trendiness, support, and resistance levels.
Mixing this with other indicators is probably a good idea, but some may find this indicator the only one needed.
Some aspects of the square
The end of the square is important, so where it starts is crucial. The end is important because it is where the price and time expire. The other parts of the square are defined based on their start and end, so placing them right is essential.
So, where to set the start of the square?
The last major low is the most indicated. The minimum price will be the lowest, and the max price will be the last major Top. Note that the indicator uses 1 candle on each point.
After finding the start, the minimum, and the maximum prices for the square, it will draw all lines. Another essential part of the square is The Midpoint.
The midpoint is the most crucial part of the square and is the best way to see if you positioned the square correctly. When the price is inside the square, using the starting candle as the start, a second higher low or a lower high occurs in that spot. When using the Vertical lines in the indicator, it's the middle square inside Gann's square.
The other divisions will be opposing each other most of the time. So if the price is rising in the 1/3 of the square, it's common to see the price fall in the 3/3 of the square.
More information about these aspects here
Considerations
This indicator was meant for price targets and a time calculator for possible support/resistances in the chart. It was created by William Delbert Gann and was part of his setup for trading almost a century ago. The lines will form geometric figures, which Gann used with high accuracy to predict tops/bottoms and when they would occur.
Mark StructureMark Structure is building the market swing structure, minor and sub structure and marks all possible insignificant pivots
Building such structure is really complex task to do, that has a lot of obstacles and challenges. I'm doing my best to develop this indicator behaving in absolutely expectable and right way. Fill free to leave any comments or bug reports.
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 BOS or SMS BOS, which are mbos. 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. Marking BOS or SMS BOS of swing structure
- Changing bullish and bearish colors of each kind of structures
- Changing pivot labelings
- Changing colors of BOSs
Remarks:
- As I told you guys before, it has a lot of challenging cases. eg we have swing low and high on the same candle and in order to decide which pivot goes first I take lower time frame data to figure out what pivot is the first, but it happens that on lower time frame the same issue takes place, due to limitation of TradingView I can't go infinitely to lower timeframes to solve this issue, so I mark those cases with labels
- Another issue is very beginning of the trend its hard to detect swing structure there due to missing historical data. so skip a few waves in the very beginning
- 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. Trend change is confirmed when for bull->bear the last HLbull LH>HH and HH-HL-HH are confirmed. You can change labelling for unconfirmed swing trend in the settings. By default its already done
Institutional Price LevelsInstitutional price levels
(AKA round numbers, Perfect Price Levels-PPL)
Institutional Price Levels (IPL) script shows the closest round numbers from the current price.
Some traders uses round numbers as a support resistance levels.
For example: 0.000 0.500 1.000 levels. Additional levels are 0.200 0.800.
So I made a simple script that shows round numbers and the quarter levels(Not exactly quarter but minor levels)
Quarter level option is planned on next update.
Default range is 300 pips and you can extend until 500 pips range.
Time range is extandable to the right and left side. You can just extend the line by increasing the bar numbers.
Inputs:
Show levels - Can show and hide all levels. Level colors are optional.
Show quarter - Can show and hide minor levels which is 0.800 0.200 levels. Colors are optional
Show more levels - Can show and hide more levels. Default range is 300 pips. Additional 200 pips range is optional.
Extend right bars - Can set length of levels to the right side.
Extend left bars - Can set length of levels to the left side.
Thank you.
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:
Unraided Liquidity and S/R PivotsThis indicator is designed to show key pivot points, also known as levels, which could provide good trade entries.
Utilising liquidity concepts, untested pivot levels can be a good place to enter a trade after the pivot is tested, liquidity is taken and the direction reverses.
Alternatively, utilising the option of viewing already tested levels, you can easily see the key support and resistance areas that price is likely to have a strong reaction to, whether it wants to go toward or bounce away from these levels.
The indicator does not give buy and sell signals, it is up to you to use the levels to form your trading plan.
Oorah.
TriexDev - SuperBuySellTrend (PLUS+)Minimal but powerful.
Have been using this for myself, so thought it would be nice to share publicly. Of course no script is correct 100% of the time, but this is one of if not the best in my basic tools. (This is the expanded/PLUS version)
Github Link for latest/most detailed + tidier documentation
Base Indicator - Script Link
TriexDev - SuperBuySellTrend (SBST+) TradingView Trend Indicator
---
SBST Plus+
Using the "plus" version is optional, if you only want the buy/sell signals - use the "base" version.
## What are vector candles?
Vector Candles (inspired to add from TradersReality/MT4) are candles that are colour coded to indicate higher volumes, and likely flip points / direction changes, or confirmations.
These are based off of PVSRA (Price, Volume, Support, Resistance Analysis).
You can also override the currency that this runs off of, including multiple ones - however adding more may slow things down.
PVSRA - From MT4 source:
Situation "Climax"
Bars with volume >= 200% of the average volume of the 10 previous chart TFs, and bars
where the product of candle spread x candle volume is >= the highest for the 10 previous
chart time TFs.
Default Colours: Bull bars are green and bear bars are red.
Situation "Volume Rising Above Average"
Bars with volume >= 150% of the average volume of the 10 previous chart TFs.
Default Colours: Bull bars are blue and bear are blue-violet.
A blue or purple bar can mean the chart has reached a top or bottom.
High volume bars during a movement can indicate a big movement is coming - or a top/bottom if bulls/bears are unable to break that point - or the volume direction has flipped.
This can also just be a healthy short term movement in the opposite direction - but at times sets obvious trend shifts.
## Volume Tracking
You can shift-click any candle to get the volume of that candle (in the pair token/stock), if you click and drag - you will see the volume for that range.
## Bollinger Bands
Bollinger Bands can be enabled in the settings via the toggle.
Bollinger Bands are designed to discover opportunities that give investors a higher probability of properly identifying when an asset is oversold (bottom lines) or overbought (top lines).
>There are three lines that compose Bollinger Bands: A simple moving average (middle band) and an upper and lower band.
>The upper and lower bands are typically 2 standard deviations +/- from a 20-day simple moving average, but they can be modified.
---
Base Indicator
## What is ATR?
The average true range (ATR) is a technical analysis indicator, which measures market volatility by decomposing the entire range of an asset price for that period.
The true range indicator is taken as the greatest of the following:
- current high - the current low;
- the absolute value of the current high - the previous close;
- and the absolute value of the current low - the previous close.
The ATR is then a moving average, generally using 10/14 days, of the true ranges.
## What does this indicator do?
Uses the ATR and multipliers to help you predict price volatility, ranges and trend direction.
> The buy and sell signals are generated when the indicator starts
plotting either on top of the closing price or below the closing price. A buy signal is generated when the ‘Supertrend’ closes above the price and a sell signal is generated when it closes below the closing price.
> It also suggests that the trend is shifting from descending mode to ascending mode. Contrary to this, when a ‘Supertrend’ closes above the price, it generates a sell signal as the colour of the indicator changes into red.
> A ‘Supertrend’ indicator can be used on equities, futures or forex, or even crypto markets and also on daily, weekly and hourly charts as well, but generally, it will be less effective in a sideways-moving market.
Thanks to KivancOzbilgic who made the original SuperTrend Indicator this was based off
---
## Usage Notes
Two indicators will appear, the default ATR multipliers are already set for what I believe to be perfect for this particular (double indicator) strategy.
If you want to break it yourself (I couldn't find anything that tested more accurately myself), you can do so in the settings once you have added the indicator.
Basic rundown:
- A single Buy/Sell indicator in the dim colour; may be setting a direction change, or just healthy movement.
- When the brighter Buy/Sell indicator appears; it often means that a change in direction (uptrend or downtrend) is confirmed.
---
You can see here, there was a (brighter) green indicator which flipped down then up into a (brighter) red sell indicator which set the downtrend. At the end it looks like it may be starting to break the downtrend - as the price is hitting the trend line. (Would watch for whether it holds above or drops below at that point)
Another example, showing how sometimes it can still be correct but take some time to play out - with some arrow indicators.
Typically I would also look at oscillators, RSI and other things to confirm - but here it held above the trend lines nicely, so it appeared to be rather obvious.
It's worth paying attention to the trend lines and where the candles are sitting.
Once you understand/get a feel for the basics of how it works - it can become a very useful tool in your trading arsenal.
Also works for traditional markets & commodities etc in the same way / using the same ATR multipliers, however of course crypto generally has bigger moves.
---
You can use this and other indicators to confirm likeliness of a direction change prior to the brighter/confirmation one appearing - but just going by the 2nd(brighter) indicators, I have found it to be surprisingly accurate.
Tends to work well on virtually all timeframes, but personally prefer to use it on 5min,15min,1hr, 4hr, daily, weekly. Will still work for shorter/other timeframes, but may be more accurate on mid ones.
---
This will likely be updated as I go / find useful additions that don't convolute things. The base indicator may be updated with some limited / toggle-able features in future also.
CL PMAThis is and indicator Using SMAs of the High+Low+Close/3 pivot point strategy outlines by Mark Fisher. This indicator is meant to be used as another layer adding confirmation to the ACD system. I mostly use this script to track Crude Oil ( CL ) but it can be used for many other products . However, this indicator is most useful in volatile markets.
This is not meant to be used as a primary indicator but rather third level of confirmation after ACD and Number lines outlined by Mark Fishers system.
iBox, Initial Balance | IB High, Low, Midpoint | OpeningThis Indicator will print basically 4 lines.
You have to understand the importance of the "Initial Balance" the first trading hour of Cash session is very important in trading stocks and indizes.
So you will get 4 lines:
Opening
Initial Balance High
Initial Balance Low
Initial Balance Midpoint/Halfback
Most indicators for Range Box, Opening Trade, Opening Range, Initial Balance, iBOX and "Ultimate Lines" will only use the timezone of the exchange or your own timezone. I'm living in europe and we have this daylight saving time change in Summer/Winter - which will cause problems with most of the existing indicators or at least will push you to change the times regularly.
Another important point: I really like to switch the indizes when trading on my mobile. So what will happen when you set up opening range for DAX at 09:00 and then switch to S&P500? All indicators I tried failed here - they will just draw a wrong line for SPX, NDX, DJI, FTSE, ASX etc. I fixed that and hard coded stock exchanges and ticker symbols into 3 main groups Initial Balance EU/US/Asia
For example we take DAX - XETRA DAX is opening at 09:00 MEZ (Europe/Berlin)
The Initial Balance is set during the H1 Candle from 09:00 - 09:59
Please be aware, that some cash indizes only deliver data to TradingView after the "opening auction" - so for Xetra DAX you have to book live data and often you will only see data at 09:02/09:03 after the opening auction.
So you will get different opening lines compared from cash to future or your CFD provider. Future and CFD should fit for 99%
The Opening Line will be drawn at exactly 09:00
IB High on the highest price during the H1 candle
IB Low on the lowest price during the H1 candle
IB Halfback is simple: (IB High + IB Low) / 2
The lines will be drawn from cash start until next day and will end 2 minutes before the next cash session will start again. Please make your own experience! Activate the indicator for a CFD or Future switch to M15 and watch the wicks around the 4 lines. Even in the night or the next morning before the next Initial Balance will be set.
For me the lines are valid for around 24 hours and often longer. That's why it's good to have the old lines on the chart too.
To-do:
Yesterday high / low / close / halfback (also for last week and month)
Labels for the lines - sometimes only the colors will confuse you - a simple label should be a benefit (IB_h, IB_l, IB_1/2, 1D_o)
Range Lines for Asia Range and Premarket Range - additionaly a parameter to disable premarket lines when premarket is trading in asia range.
Add Alert condition to get alerts after IB is set
If you have and thoughts, ideas or improvements, please send me an message or leave an comment!
Like i said, the stock exchanges and ticker symbols are hard coded and can be extended for all relevant assets.
Have fun and i really hope this indicator will help improving your trading experience!
Quick LevelsQuick Levels allow users to quickly add multiple levels to their chart all at once through an intuitive user interface!
No need to fiddle with drawing lines and then inputting their exact position afterwards, do all of it with one string of numbers!
Insert multiple levels at once, simply separate your price levels by commas(,).
Insert levels across tickers to save time when switching between charts.
Notes:
For users coming from "Copy/Paste Levels", this system is very robust.
The only user input variable that is not multiple choice is the "levels" box. I have taken steps to fool proof this box, by (input processing) removing spaces, removing commas at the start or end, and replacing semicolons with commas. You can see in the cover chart that the inputs for the first level have a lot of spaces and a comma at the end, yet it does not effect the output.
If there is no ticker entered in the "Ticker" box, the levels will be drawn on your current chart.
Enjoy!
Pivot-Based Channels & Bands [Misu]█ This Indicator is based on Pivot detection to show bands and channels.
The pivot price is similar to a resistance or support level. If the pivot level is breached, the price should continue in that direction. Or the price could reverse at or near this level.
█ Usages:
Use channels as a support & resistance zone.
Use bands as a support & resistance zone. It is also very powerfull to use it as a breakout.
Use mid bands & mid channels as a trend direction or trade filter as a more usual moving average.
█ Parameters:
Show Pivot Bands: show bands.
Show Pivot Mid Band: show mid bands.
Show Pivot Channels: show channels.
Show Pivot Mid Channel: show mid channels.
Deviation: deviation used to calculate pivot points.
Depth: depth used to calculate pivot points.
High & Low Of Custom SessionThis script boxes a custom session and sets the box at the high and low of the session and draws that box to the next session.
Box color is determined by price in relation to the box position. Box color is set at the start of the next session. This allows
user to lookback at multiple box sets to see how each day closed in relation to the session highlighted.
I have written this for backtesting purposes and intend to expand it to use with volume analysis and gradient color to change the box color based on how many times price tests
the box.
2nd 3rd 4th Order PivotsThis indicator calculates pivots of 2nd, 3rd and 4th order in the current timeframe.
The idea is borrowed from the book "The Art and Science of Technical Trading" by Adam Grimes:
"A pivot high is a bar that has a higher high than the bar that came before it and the bar that comes after it"
"Second-order pivot highs are first-order pivot highs that are preceded and followed by lower first-order pivot highs.
The type of picot calculation can be found as well in script "Higher Order Pivots" by rumpypumpydumpy. However, this script is different in the following ways:
1. Shows pivots of order 2, 3 and 4
2. The chart timeframe can be different than the pivot timeframe, allowing e.g. to map daily pivots to intraday charts via lines
3. Labels and/or lines can be used to show pivot points
4. Use of extended session data can be enabled/disabled, independently from the current chart settings
5. To disable older pivots, a starting time for the pivot calculation can be set
Please consider following limitations:
1. Maximum of 500 drawing objects per chart. Use Notification option to keep track of when running out of chart objects.
2. Lookback history: The max lookback history is limited by the currently selected timeframe. E.g. on a 5min timeframe, 20000 bars (Premium Plan) result in approx. 5 months of lookback period, meaning you may want to verify with a 30 min or higher chart to get a complete picture of pivots.
PrevHighLow Trend IndicatorPrevHighLow Trend Indicator which is calculated by using prev lowest and highest of p1 -period and p2 -period for two MAs.
First MA is made of prev highest of p1-period / prev lowest of p1-period.
Second MA is faster, made up of p2(<p1)- period(same formula).
Can be used in the next way: slower MA(straight line) shows main trend, faster shows temporary trend.
BUY, when first MA and second MA are green; Exit: second MA changes from green to red.
SELL, when first MA and second MA are red; Exit: second MA changes from red to green.
RSI Assistant basically filtres signals in the way, when signals from RSI and Faster MA are similar? it signals about it with labels: BUY for long, SELL for short. You can either enable or disable it. Also customizable so you can find your setup. RSI Assistant, depending on you customize it, can help you either follow trend or show reversals. Just find your own setup and watch things happen!
Feel free to leave valuable feedback and your setups which you consider to be good.
Hope you PHLTI usefull. Good luck!
Rolling QuartilesThis script will continuously draw a boxplot to represent quartiles associated with data points in the current rolling window.
Description :
A quartile is a statistical term that refers to the division of a dataset based on percentiles.
Q1 : Quartile 1 - 25th percentile
Q2 : Quartile 2 - 50th percentile, as known as the median
Q3 : Quartile 3 - 75th percentile
Other points to note:
Q0: the minimum
Q4: the maximum
Other properties :
- Q1 to Q3: a range is known as the interquartile range ( IQR ). It describes where 50% of data approximately lie.
- Line segments connecting IQR to min and max (Q0→Q1, and Q3→Q4) are known as whiskers . Data lying outside the whiskers are considered as outliers. However, such extreme values will not be found in a rolling window because whenever new datapoints are introduced to the dataset, the oldest values will get dropped out, leaving Q0 and Q4 to always point to the observable min and max values.
Applications :
This script has a feature that allows moving percentiles (moving values of Q1, Q2, and Q3) to be shown. This can be applied for trading in ways such as:
- Q2: as alternative to a SMA that uses the same lookback period. We know that the Mean (SMA) is highly sensitive to extreme values. On the other hand, Median (Q2) is less affected by skewness. Putting it together, if the SMA is significantly lower than Q2, then price is regarded as negatively skewed; prices of a few candles are likely exceptionally lower. Vice versa when price is positively skewed.
- Q1 and Q3: as lower and upper bands. As mentioned above, the IQR covers approximately 50% of data within the rolling window. If price is normally distributed, then Q1 and Q3 bands will overlap a bollinger band configured with +/- 0.67x standard deviations (modifying default: 2) above and below the mean.
- The boxplot, combined with TradingView's builtin bar replay feature, makes a great tool for studies purposes. This helps visualization of price at a chosen instance of time. Speaking of which, it can also be used in conjunction with a fixed volume profile to compare and contrast the effects (in terms of price range) with and without consideration of weights by volume.
Parameters :
- Lookback: The size of the rolling window.
- Offset: Location of boxplot, right hand side relative to recent bar.
- Source data: Data points for observation, default is closing price
- Other options such as color, and whether to show/hide various lines.
Fibonacci + Support/Resistant + Trendline (Price action)This is opening source code version: Fibonacci + Support/Resistant + Trendline (One of Advanced Price action Analysis).
How it works:
It find entry Long/Short by combining: Fibonacci + Support/Resistant + Trendline
1. Find Impulse wave:
To findind Impulse wave, It uses Pivot High/Low to find Impulse wave. In case find entry Long, If having Pivot High higher Pivot High before, it will draw an Impulse wave.
2. Find entry at Fibonacci levels:
Draw Fibonacci fibonacci retracement from Pivot Low to Pivot High. A Fibonacci retracement forecast is created by taking two extreme points on a chart and dividing the vertical distance by important Fibonacci ratios. 0% is considered to be the start of the retracement, while 100% is a complete reversal to the original price before the move. Horizontal lines are drawn in the chart for these price levels to provide support and resistance levels. Common levels are 23.6%, 38.2%, 50%, and 61.8%
3. Find entry at Support/Resistant Zone:
Support/Resistant Zone drawed from Pivot High before, which price just breaken and return to retest.
4. Find entry at Trendline:
Trendline drawed from Pivot High/Low before, which price just breaken and return to retest.
How do use it:
+ You can customize the thickness of the lines.
+ You can set up an alert when the price touchs important areas.
Daily Levels Suite + Market BreadthThere are many levels suites out there but many of them use the line series and/or label series to create multiple levels. Pine v5 provides the capability to use line arrays and labels so I wanted to create some code that is extensible to add additional lines/levels and labels to an array of lines with very little effort.
There is also some Market Breadth info that can be shown in the corners of the chart to allow a user to understand how the broader markets are moving compared to the security they are charting.
Current Levels provided are as follows:
Today's Open
Previous Days Close
Previous Days High/Low
Previous Days 50%
T+2 High/Low
All levels and the market breadth table is configurable to be hidden or shown based upon the user's desire.
Pi CycleImplementation of Pi Cycle Top and Pi Cycle Bottom with clear visualization
Pi Circle Top is slightly modified to be closer to Pi sma 113 & sma (355) * 2)
Pi Circle Bottom is ISO sma 571 & ema 150
Script will adapt to timeframe but under hourly it might not work due to the high amount of candles to take into account.
Copy/Paste LevelsCopy/Paste Levels allows levels to be pasted onto your chart from a properly formatted source.
This tool streamlines the process of adding lines to your chart, and sharing lines from your chart.
More than one ticker at a time!
This indicator will only draw lines on charts it has values for!
This means you can input levels for every ticker you need all at once, one time, and only be displayed the levels for the current chart you are looking at. When you switch tickers, the levels for that ticker will display. (Assuming you have levels entered for that ticker)
The formatting is as follows:
Ticker,Color,Style,Width,Lvl1,Lvl2,Lvl3;
Ticker - Any ticker on Tradingview can be used in the field
Color - Available colors are: Red,Orange,Yellow,Green,Blue,Purple,White,Black,Gray
Style - Available styles are: Solid,Dashed,Dotted
Width - This can be any negative integer, ex.(-1,-2,-3,-4,-5)
Lvls - These can be any positive number (decimals allowed)
Semi-Colons separate sections, each section contains enough information to create at least 1 line.
Each additional level added within the same section will have the same styling parameters as the other levels in the section.
Example:
2 solid lines colored red with a thickness of 2 on QQQ, 1 at $300 and 1 at $400.
QQQ,RED,SOLID,-2,300,400;
IMPORTANT MUST READ!!!
Remember to not include any spaces between commas and the entries in each field!
ex. ; QQQ, red, dotted, -1, 325; <- Wrong
ex. ;QQQ,red,dotted,-1,325;)<- Right
However,
All fields must be filled out, to use default values in the fields, insert a space between the commas.
ex. ;QQQ,red,dotted,,325; <- Wrong
ex. ;QQQ,red,dotted, ,325; <- Right
While spaces can not be included line breaks can!
I recommend for easier typing and viewing to include a line break for each new line (if changing styling or ticker)
Example:
2 solid lines, one red at $300, one green at $400, both default width. Written in a single line AND using multiple lines, both give the same output.
QQQ,red,solid, ,300;QQQ,green,solid, ,400;
or
QQQ,red,solid, ,300;
QQQ,green,solid, ,400;
In this following screenshot you can see more examples of different formatting variations.
The textbox contains exactly what is pasted into the settings input box.
As you can see, capitalization does not matter.
Default Values:
Color = optimal contrast color, If this field is filled in with a space it will display the optimal contrast color of the users background.
Style = solid
Width = -1
More Examples:
Multi-Ticker: drawing 3 lines at $300, all default values, on 3 different tickers
SPY, , , ,300;QQQ, , , ,300;AAPL, , , ,300
or
SPY, , , ,300;
QQQ, , , ,300;
AAPL, , , ,300
Multiple levels: There is no limit* to the number of levels that can be included within 1 section.
* only TV default line limit per indicator (500)
This will be 4 lines all with the same styling at different values on 2 separate tickers.
SPY,BLUE,SOLID,-2,100,200,300,400;QQQ,BLUE,SOLID,-2,100,200,300,400
or
SPY,BLUE,SOLID,-2,100,200,300,400;
QQQ,BLUE,SOLID,-2,100,200,300,400
Semi-colons must separate sections, but are not required at the beginning or end, it makes no difference if they are or are not added.
SPY,BLUE,SOLID,-2,100,200,300,400;
QQQ,BLUE,SOLID,-2,100,200,300,400
==
SPY,BLUE,SOLID,-2,100,200,300,400;
QQQ,BLUE,SOLID,-2,100,200,300,400;
==
;SPY,BLUE,SOLID,-2,100,200,300,400;
QQQ,BLUE,SOLID,-2,100,200,300,400;
All the above output the same results.
Hope this is helpful for people,
Enjoy!
Rob Booker - ADX Breakout updated to pinescript V5Rob Booker - ADX Breakout. The strategy remains unchanged but the code has been updated to pinescript V5. This enables compatibility with all new Tradingview features. Additonally, indicators have been made more easily visible, default cash settings as well as input descriptions have been added.
Rob Booker - ADX Breakout: (Directly taken from the official Tradingview V1 version of the script)
Definition
Rob Booker’s Average Directional Index (ADX) Breakout is a trend strength indicator that affirms the belief that trading in the direction of a trend and continuing to follow its pull is more profitable for traders, while simultaneously reducing risk.
History
ADX was traditionally used and developed to determine a price’s trend strength. It is commonly known as a tool from the arsenal of Rob Booker, experienced entrepreneur and currency trader.
Calculations
Calculations for the ADX Breakout indicator are based on a moving average of price range expansion over a specific period of time. By default, the setting rests at 14 bars, this however is not mandatory, as other periods are routinely used for analysis as well.
Takeaways
The ADX line is used to measure and determine the strength of a trend, and so the direction of this line and its interpretation are crucial in a trader’s analysis. As the ADX line rises, a trend increases in strength and price moves in the trend’s direction. Similarly, if the ADX line is falling, a trend decreases in strength and price then enters a period of consolidation, or retracement.
Traditionally, the ADX is plotted on the chart as a single line that consists of values that range from 0-100. The line is non-directional, meaning that it always measures trend strength regardless of the position of a price’s trend (up or down). Essentially, ADX quantifies trend strength by presenting in both uptrends and downtrends of the line.
What to look for
The values associated with the ADX line help traders determine the most profitable trades and where risk lies in the current trend. It is important to know how to quantify trend strength and distinguish between the varying values in order to understand the differences in trending vs. non-trending conditions. Let’s take a look at ADX values and what they mean for trend strength.
ADX Value:
0-25: Signifies an absent of weak trend
25-50: Signifies a strong trend
50-75: Signifies a very strong trend
75-100: Signifies an extremely strong trend
To delve into this a bit further, let’s assess the meaning of ADX if it is valued below 25. If the ADX line remains below 25 for more than 30 or so bars, price then enters range conditions, making price patterns more distinguishable and visible to traders. Price will move up and down between resistance and support in order to determine selling and buying interest and may then eventually break out into a trend or pattern.
The way in which ADX peaks, ebs, and flows is also a signifier of its overall pattern and trend momentum. The line can clearly indicate to the trader when trend strength is strong versus when it is weak. When ADX peaks are pictured as higher, it points towards an increase in trend momentum. If ADX peaks are pictured as lower - you guessed it - it points towards a decrease in trend momentum. A trend of lower ADX peaks could be a warning for traders to watch prices and manage and assess risk before a trade gets out of hand. Similarly, whenever there is a sudden move that seems out of place or a change in trend character that goes against what you’ve seen before, this should be a clear sign to watch prices and assess risk.
Summary
The ADX Breakout indicator is a trend strength indicator that analyzes price movements relative to trend strength to signal a user when is best for a trade and when is best to manage risk and assess patterns. As long as a trader recognizes strong trends and assesses the risk of each trade properly, they should have no problem using this indicator and utilizing it to work in their favor. In addition, the ADX helps identify trending conditions, but while doing so, also aids traders in finding strong trends to trade. The indicator can even alert traders to specific changes in trend momentum, allowing them to be primed for risk management.