Structures OHLCThis will mark the:
Previous month OHLC
Last week OHLC
Current week open
Yesterday OHLC
2 days ago OHLC
Ohlc
Oasis Group - VWAP / OHLC (Daily / Weekly / Monthly)
5min with the Daily overlay
4hour with the Weekly overly
This Script was influenced be Chris Moody's OHLC Script.
I have created my version of the script and used it to Overlay Daily/Weekly/Monthly Candles over any chosen Intraday Time Frame.
**Important**
The "Stepline" Line style function in pine script is defective so anyone who wants to use this must change all line
styles to "Stepline" manually except for the VWAP Line.
This gives traders a great overall candle experience and also insight into the noise of the intraday.
Intraday traders can keep watch of the highs and Lows along with open and close levels for the larger time frames chosen.
Give us a Follow and Like. This can be used on any Asset class.
I personally use this on Intraday Trading.
Helps me Identify the Prior day Highs and Lows, Closing price compared to the next mornings Opening Price, and daily, weekly, or monthly ranges.
Also included is the powerful VWAP indicator for identifying bullish or bearish pysche.
Yearly OHLplots Yearly Open, High, Low levels
Interesting interactions to note at previous yearly opens
PivotBoss Pivots & Camarilla - H,D,W, M timeframe & OHLC LabelsThis is the new pivotboss pivots calculations and also has Camarilla Pivots . User can define which time frame pivots they want to see starting from Hourly, Daily, weekly and monthly. Added labels for each levels. So that user can calculate potential profit targets. This script also includes Hourly and Daily OHLC with labels. Added Developing mid point of the current day. The script can calculate midpoint as and when new highs and lows are made through out the day
Abbrevations used in this script
yHI - Yesterday's session High
dOP - Days open
yCL - yesterday's session Close
yLO - yesterday's session Low
MP -- Developing midpoint of the day
TC - Top channel
P - Pivot Point
BC - Bottom Channel
R1 - R4 -- Resistance levels
S1 - S4 -- Support Levels
BEST Supertrend MAHello traders,
That one is an experiment
I was curious to see what a supertrend based on moving average cross could give
How does it work?
Bull event: fast moving average crossing over the slow moving average
Bear event: fast moving average crossing under the slow moving average
When the event is triggered, the script will plot the Supertrend as follow
UP Trend = ohlc4+ ATR * Factor
DOWN Trend = ohlc4- ATR * Factor
Interesting to see the results given by ohlc4 vs hl2 and hl3
Documentation: www.tradingview.com
This is an alternative of the classical Supertrend based on candle close being above/beyond the previous Supertrend level.
Hope you'll enjoy it and it will improve your trading making you a better trader
Dave
Ledger Status ToolboxI use a few things very frequently:
Multiple moving averages
OHLC on various timeframes
This allows you to use both, and toggle several settings.
You can enable multiple moving averages (up to 4) and use SMA, EMA, or ALMA styles and choose from which timeframe they show (this can be useful but also choppy).
You can enable OHLC info for daily, weekly, or monthly views.'
You can enable Bollinger Bands with a checkbox.
This script combines all of that.
I have a ton of stuff I'd like to do with this, but I've used it this way for a long time now, and figured I'd share it.
Crypto Daily-Weekly Range + KZsWeekly OHL + Daily OHL + Intraday Killzones
For markets that open the daily candle at 12AM UTC
Daily-Weekly Range + KZsWeekly OHL + Daily OHL + Intraday Kill zones
For markets that open daily candle at 10pm UTC
Simple OHLCSimple OHLC containing daily, previous daily, weekly and monthly levels. Hides past levels to keep chart clean.
Colors levels red if current price is below level and green if current price is above level.
Periodic CandleI have developed this indicator to be able to see the current day's candle. You can use any period that supported by TradingView. You can even shift the candle and plot the past days (period) candle.
Disclaimer: This is not financial advice
Trade safe,
Atilla
Manual Pivot Points & OHLCPresented is a simple script which allows you to input data directly from external sources manually. The lines are colour coordinated and can be suited for your own need.
Why this script? Many traders rely upon official pivot point values and close prices published on external third-party websites. This script allows you to quickly input your costs, as well as hide when analysing your chart.
You no longer have to worry about accidentally moving lines with your cursor.
Pumpenomics Price-action Levels (OHL M)Simple price-action levels in regards to the OHL and M levels.
Levels available:
Open (Orange)
High (Green)
Low (Red)
Middle [ /2] (Aqua)
Timeframes available:
1H, 4H, Daily, Weekly, Monthly, Quarterly, Yearly
Enjoy!
-
Inspired by Long Term Levels (4h, D, W, M, Q, & Y) by scarf
[AU] Price Action Levelsv2a
Price action levels for multiple timeframes with standard alignment and offset options using modulus for stagger and spacing
1hr, 4hr, D, 3D, W, M, Quarter, Year timeframes and levels available
Based upon Long term levels by scarf()
Candle (High/Low/Close)-MTF [Anan]
Hello Friends,,
This is just multi time frame candle plot (High / Low / Close) on your current chart resolution.
USA SessionThe USA session (9:30am to 4:00pm) is the most volatile session during market hours. Because of this, previous day OHLC values during that time frame are important to stock traders. For future traders, these and the overnight high/low are important. This indicator overlays the open, previous day open, previous day close, previous day high and previous day low (of the USA session) onto most stock chart. And for most future charts, this indicator will also plot the overnight high and low.
How to use
Currently, this indicator is only intended to work on stock and future assets. I'm not sure what will happen when used with other assets, but that's not my problem. This will also only work on a 5 minute chart, but I am working to have it function with all intraday time frames. When viewing stocks, you have to turn off the Extended Hours view in chart settings, else the calculated values will be garbage.
Assuming your chart meets those 3 constraints, this indicator should work automatically, all values are displayed by default. It may take a while to process when you first add this indicator. If you are only viewing stocks, you may want to disable the overnight levels as they will always be n/a. When viewing stocks, levels are not drawn on the last bar for the US session (3:55pm) to avoid ugly connecting lines between sessions. If you want those lines to connect, it can be enables in the indicator settings.
If levels are not flat across the whole session or you are still experiencing difficulties/inconsistencies please review the known issues below.
Knows issues
This indicator breaks when the asset is missing data. If a bar is missing, this indicator will break and move to a different level that is no longer valid. You can tell a bar is missing because the time will jump, for example, from 2:15 to 2:25 instead of 2:20. Unfortunately, I think this is an issue with the data feed and I have no way of correcting this. From the test I have done with the data feed I have, this has not been a big problem with more popular assets, but results will vary. A more professional data feed may be required for consistent and proper results.
During my tests, I found that my future assets are always missing data from 3:10pm to 3:25pm. It was so consistent, I put code in to correct it. However, I'm not sure if other people will experience this same issue, or if the issue varies. Because of this, I there is a 'Fix missing data bug' input in the indicator settings that is enabled by default. If you are missing data from 3:10pm to 3:25pm on your futures chart (like myself) make sure this stays on. If you have data during this time, you need to turn that setting off.
This indicator only works when the USA session opens/closes at its regular time. Days that do no follow this rule may produce garbage levels. Don't worry, they will work fine the next day!
Previous OHLC LevelsQuick dirty code for personal use. Plots previous OHLC levels based on a selected time-frame on the chart.
Not bad if you want to see different time-frame levels.
Fill function can serve to highlight the daily range (high-low or open-close) on non-standard charts
Uses base code from JayRogers
Multi Bar OHLC Compare Panel (Floating Grid)Multi Bar OHLC Compare Panel by RagingRocketBull 2019
version 1.0
This indicator lets you compare OHLCV values from several specified bars. Bars can be dynamic/persistent.
You can also use it as an alternate OHLC panel if you don't like small font of the native TradingView panel.
It uses Pinescript v4 to output data dynamically as string labels in a horiz/vertical grid.
Features:
- Floating Panel with customizable horiz/vertical layout and grid spacing
- Support for up to 5 OHLC bars (highlighted with markers)
- Outputs Bar #/index, OHLCV, Bar Change Value/%, Exchange/Ticker, Timeframe, Timestamp strings
- Dynamic (fixed offset)/Persistent bars (fixed time)
- Show/Hide parts of strings
- Full output string customization, including text size, date/time format and delimiters
- 2 Anchor points for panel offset: cur bar high or range high
- Bar Change can change color
Usage:
- specify at least 1 bar index as OHLC source
- select anchor point to position the panel
- select horiz/vertical grid layout
- adjust horiz/vertical spacing
- customize output strings as needed
Notes:
- this indicator uses Pinescript v3 Compatibity Framework
- both bars 1,2 are required for log scale adjustment to work
- you can't attach the panel to screen's top/bottom and must use offset/anchor because, unlike plotshape, string labels don't support yloc=yloc.top/bottom, only yloc.above/belowbar
- you can't precisely align strings in a grid because there's no label.get_width/height to calculate mid/left points, only get_x/y/text. Alignment will break depending on string length, zoom and change color option on/off
- bar change is rendered as a separate label when change color is enabled (2 panels total) and merged into the main panel when disabled (single panel)
- you can't change the order of strings as playing with the natural order of things isn't the best of ideas
- you can modify the script to compare up to 50 OHLC bars, but do you need that much power? Of course, you do.
- you can't set color/style for string labels in Style UI, so a few extra settings were added.
- bar index is limited to 5000 for free accounts (10000 for paid), will show an error when exceeded, also when it exceeds the total number of bars in history
- in persistent bars mode all bars with index > 0 are considered persistent, bar 0 always remains a dynamic bar
- persistent bars' offset is reset: in replay mode on exit or when price reaches cur bar, or when panel layout is changed from h to v in both replay/realtime modes
- initial pos of each persistent bar relative to the first realtime bar anchor doesn't change during session - new persistent bars introduced during session are attached to the most recent cur bar anchor
P.S. Everything is proceeding as I have foreseen
Non Parametric Adaptive Moving AverageIntroduction
Not be confused with non-parametric statistics, i define a "non-parametric" indicator as an indicator who does not have any parameter input. Such indicators can be useful since they don't need to go through parameter optimization. I present here a non parametric adaptive moving average based on exponential averaging using a modified ratio of open-close to high-low range indicator as smoothing variable.
The Indicator
The ratio of open-close to high-low range is a measurement involving calculating the ratio between the absolute close/open price difference and the range (high - low) , now the relationship between high/low and open/close price has been studied in econometrics for some time but there are no reason that the ohlc range ratio may be an indicator of volatility, however we can make the hypothesis that trending markets contain less indecision than ranging market and that indecision is measured by the high/low movements, this is an idea that i've heard various time.
Since the range is always greater than the absolute close/open difference we have a scaled smoothing variable in a range of 0/1, this allow to perform exponential averaging. The ratio of open-close to high-low range is calculated using the vwap of the close/high/low/open price in order to increase the smoothing effect. The vwap tend to smooth more with low time frames than higher ones, since the indicator use vwap for the calculation of its smoothing variable, smoothing may differ depending on the time frame you are in.
1 minute tf
1 hour tf
Conclusion
Making non parametric indicators is quite efficient, but they wont necessarily outperform classical parametric indicators. I also presented a modified version of the ratio of open-close to high-low range who can provide a smoothing variable for exponential averaging. I hope the indicator can help you in any way.
Thanks for reading !
Japanese Correlation CoefficientIntroduction
This indicator was asked and named by a trading meetup participant in Sevilla. The original question was "How to estimate the correlation between the price and a line as easy as possible", a question who got little attention. I previously proposed a correlation estimate using a modification of the standard score (see at the end of the post) for the estimation of a Savitzky-Golay moving average (LSMA) of order 1, however something faster could maybe be done and this is why i accepted the challenge.
Japanese Correlation
Correlation is defined as the linear relationship between two variables x and y , if x and y follow the same direction then the correlation increase else decrease. The correlation coefficient is always equal or below 1 and equal or above -1, it also have to be taken into account that this coefficient is quite smooth. Smoothing is not a problem, scaling however require more attention, high price > closing price > low price, therefore scaling can be done. First we smooth the closing/high/low price with a simple moving average of period p/2 , then we take the difference of the smoothed close with the smoothed close p/2 bars back, this result is then divided by the difference between the highest smoothed high's with the lowest smoothed low's over period p/2 .
Since we use information provided by candlesticks (close/high/low) i have been asked to publish this estimator with the name Japanese correlation coefficient , this name don't imply the use of data from Japanese markets, "Japanese" is used because of the candlestick method coming from Japan.
Comparison
I compare this estimation with the correlation coefficient provided in pinescript by the correlation function.
The estimation in orange with the original correlation coefficient using n as independent variable in blue with both length = 50.
comparison with length = 200.
Conclusion
I have shown that it is possible to roughly estimate the correlation coefficient between price and a linear function by using different price information. Correlation can be further estimated by using homogeneous bridge OHLC volatility estimators thus making able the use of different independent variables. I really hope you like this indicator and thanks to the meetup participant asking the question, i had a lot of fun making the indicator.
An alternative method
Daily OHLC UpdatedThis plots the daily OHLC values as well as a few other options.
The base indicator plots and colors a daily open line. When line is green close is above open. When line is red close is below day open.
You can also turn on background highlighting.
Background will be green (default) If close is above day open
Background will be red (default) If close is below day open
There is also an option to turn on indicators on the bottom of your chart:
Arrow up will be green (default) If close is above day open
Arrow down will be red (default) If close is below day open
Next version will be adding alerts.
Weekly/Daily Cross & Bias ConfirmationThis indicator plots the weekly and daily open in addition to a current close price line.
It also signals when price closes above or below the daily and weekly opens.
Also, the bull/bear bias is painted on this indicator as well.
Black is the weekly open
Silver is the daily open
Weekly is default black arrows. Up is going above open, down is going below
Daily is default aqua arrows. Up is going above, down is going below
Weekly OHLC Plus 3 Weekly TF EMAsPlots weekly OHLC (with option to turn on monthly Open and Close) and 3 Weekly resolution EMAs (customizable).
This indicator is a combination of a few I've created/updated here on TV.
First part plots Weekly OHLC with an option to plot monthly open and close.
This indicator also plots on your chart 3 EMAs (customizable) from the Weekly timeframe (resolution).
The default settings (all EMAs)
200 - Orange
50 - Purple
20 - Black
There is no smoothing so the EMA line will appear jagged.






















