intraday trading perioddisplay the intraday trading period (08:30 - 15:00) on chart with high transparent white background.
you can edit the time period by yourself in the pine editor mode.
Session
ATR (Average True Range) By TimeWhat is ATR By Time?
This premium indicator was inspired by my RVOL By Time indicator . It works on Stocks, Forex, Crypto and most Futures markets. Instead of calculating the ATR by recent price data, it calculates an ATR value for each candle based on that candle’s time of day.
For example, if you set the Lookback setting on this indicator to 14, then instead of calculating the ATR based on the past 14 candles, it will calculate an ATR value based on the past 14 trading sessions for each candle.
This is extremely useful for day traders in particular as it allows you to gauge the average range of candles during certain times of day instead of only by the most recent price action.
It also draws a regular ATR (optional) – so this is essentially an enhanced ATR script that gives you multiple readings on price volatility.
If you are interested, you can purchase access to the script or register for a free trial on my website: ATR By Time Feature Page .
Why Does It Cost Money?
The reason why this is a premium script that requires payment to access is because it took a lot of time, research and development in order to create. The other advantage of charging for it is that it retains exclusivity to only a select few dedicated traders.
By paying the yearly fee you get access to ALL of my premium indicators including lifetime updates and technical support.
If you don’t want to pay for this script then I completely understand and I have plenty of other free indicators and scripts that you might be interested in!
Free Trial
I am a trader myself and so I know how skeptical you might be that this indicator is worth your time and money. That is why I am offering a free trial of this indicator.
All you need to do to initiate your trial is Join My Mailing List/ on my website: zenandtheartoftrading.com
How It Works
This script uses a complex formula to calculate ATR values across distant historical bars.
Depending on the timeframe you select it will skip through historical bars to find previous bars from the same time of day. It collects these values then applies the traditional ATR formula to them.
The ATR value is determined by the maximum result of the following three calculations:
- Current high minus the current low
- The absolute value of the current high minus the previous close
- The absolute value of the current low minus the previous close
- Whichever of these three calculations comes out highest, that is your ATR for the given candle.
Once this value is calculated for historical bars the ATR indicator’s reading is typically determined by a 14-period moving average of these individual ATR values. So the ATR reading you see on your screen is an average of the past 14 ATR values.
This means that as markets expand and contract this volatility reading will adapt to the change in candle price ranges.
The difference with the ATR By Time indicator’s calculation formula is that rather than referencing recent bars it references bars based on their time of day.
For example, if you are on the 1-Hour chart and you check the ATR By Time value at 9:00AM with a Lookback period of 14, then the value you see will be the result of the ATR calculation of every 9:00AM 1-Hour candle over the past 14 trading sessions.
You can also choose to enable the ATR moving average in the settings menu if you wish. This will give you a smoothed ATR reading by averaging the current session’s ATR value with previous sessions.
This versatility gives you a sophisticated reading on price volatility which is particularly helpful for day trade setups based around market opens or market closes when volatility tends to spike.
The regular ATR indicator will not account for this on the lower timeframes, but this indicator will!
Examples
Stocks - Heatmap Scheme with regular ATR
Stocks - Price Scheme - No ATR
Stocks - Traffic Scheme - Session Average Line RMA
Stocks - Trigger Scheme - 10 sessions
Forex - RMA
Forex - No RMA
Forex - Normal ATR Stop
Forex - Session ATR Stop
Oil Pit VWAPOil future traders commonly watch the pit session VWAP (9:00am to 2:30pm). The Oil Pit VWAP indicator overlays the VWAP from 9-2:30 (using hlc3) onto any futures asset, but its probably only useful for oil...
USA VWAPFuture traders commonly watch both the globex VWAP (all time) and the US session VWAP (9:30am to 4:00pm). Trading view's built-in VWAP indicator plots the globex VWAP. The USA VWAP indicator overlays the US session VWAP (using hlc3) onto any futures asset. It works for stocks too, but it would be the exact same thing as using the builtin VWAP indicator.
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!
Trademinator Forex Sessions"Trademinator Forex Sessions" displays overlapping colored boxes on the chart delimited by the opening and closing times of the specific exchange on the horizontal axis, and the maximum and minimum trading prices on the vertical axis, respectively. It also displays the exchange name on top of the candle corresponding to the opening time for each exchange.
Sessions can be enabled or disabled on the chart for each individual exchange through the "Inputs" tab of the "Settings" dialog box of the indicator. The exchange names can also be enabled or disabled in the same tab.
The included exchange sessions in sequential opening order are:
1- Sydney
2- Tokio
3- Frankfurt
4- London
5- New York
And additional session is included to account for the 2 hour timespan between the New York close and the Sydney open, when all exchanges are closed but still there is someone out there trading the Forex. I don't need to nominate you, since by now you already know who you are.
A future release of the indicator is planned to automatically adjust the opening and closing times of each exchange by the Daylight Saving Time.
London_NYThis is a session indicator that is one color from beginning of London Session to end of New York Session.
Session Volume Profile v1.0This script is a continuous Real Time Session Based (1D) Volume Profile . It emulates TV's built in Volume Profile Session Volume function.
It looks at the real time volume for a given session (1 day) and updates the following three elements for that day in real time:
Point of Control ( POC )
Value Area High ( VAH )
Value Area Low ( VAL )
There are 2 standard parameters:
Number of Bins/Rows : The granularity of the volume profile, the higher the number the more precise the calculations will be but will load slower, ideal is 16/32.
Percent for Value Area : Percent of total volume traded that you would like to be shown as a fill around the POC (maximum volume bin/row)
There are also 2 non standard parameters:
Checkbox for slower loading but more precise Value Area Calculation, checked = enabled, unchecked = disabled
Checkbox for more volatile symbols, check this if the price action is outside of the white dotted lines, default is disabled, checked = enabled, unchecked = disabled
POC: White Stepline
Value Area High: Highest Blue Line marking the top of the fill (Value Area)
Value Area Low: Lowest White Line marking the bottom of the fill
Please pm me if you are interested in trying this script out; I am also available for hire to work on custom scripts. Ty
Multi-Timeframe VWAP V2 MODQuick and dirty mod of this script in order to fit my needs.
Added one custom session
More user friendly (Enable/disable through inputs menu)
Fx220 Market Sessions IndicatorFx220 NATION! Welcome. Here's a script to add the Market Sessions without altering any settings! Enjoy - Brian
Volume+ (RVOL By Time of Day)This script is an enhanced volume indicator.
It calculates relative volume (RVOL) based on the average volume at that time of day (rather than using a moving average).
For example, using this indicator you can see today’s volume during the first 5-minute candle of the market open compared to the previous day’s volume at the market open. Or you can see today’s volume at the market close during the last 15-minute candle compared to the average of the past 20 days of volume at the market close.
Due to the different quantity of candlesticks in a session between Stocks and Forex/Crypto, I separated those markets into separate settings, making this an all-in-one volume indicator that works on all markets.
Settings:
Stocks
If you set the lookback period to 1 on the 5-minute chart and look at the 9:30am candle for a stock, then the current volume bar will show you what today’s volume is compared to yesterday’s 9:30am 5-minute candle.
If you set the lookback period to 15, then the current volume bar will show you what today’s volume is compared to the average of the last 15 days of 9:30am 5-minute candles.
Max Lookback: 64 Sessions
Stocks
This setting is for traders who want to use this indicator on a timeframe lower than the 5-minute chart.
Due to limitations in how many historical bars PineScript can reference, referencing 1-minute and 3-minute bars requires a lot more historical data so I separated the two to allow the 5-minute+ timeframes to have a longer lookback period.
Max Lookback: 12 Sessions
Forex/Crypto
When you set the script to Forex/Crypto, it does the same thing for stocks but calculates based on a 24-hour period.
So if you set the lookback period to 1 on the 1-hour chart and look at the 11:00am candle for a currency pair, then the current volume bar will show you what today’s volume is compared to yesterday’s 11:00am 1-hour candle.
If you set the lookback period to 10, then the current volume bar will show you what today’s volume is compared to the average of the last 10 days of 11:00am 1-hour candles.
Max Lookback: 17 Sessions
What Doesn’t It Work On?
Because I had to manually calculate how many volume candles to look back per timeframe to get the previous session’s candle, I had to hard-code the math in this script.
That means that this indicator will only work on 1m, 3m, 5m, 15m, 30m, 45m, 1h, 2h, 3h, 4h, Daily and Weekly timeframes. If you try to use it on any other timeframe it will revert to a regular volume indicator.
Why Is It Useful?
Similar to volume profile by price, this gives you a volume profile by time in a way that the default volume indicator does not.
For example, you can use this to determine when a stock has a particularly strong opening drive, or when a currency pair has a weak fake-out leading up to the London open, or for general confirmation on trading signals with time-specific volume information to work with.
Colors
The purple line and the faint gray bar is the RVOL value.
The blue number is the percentage of the current volume bar relative to RVOL.
There are four different bar color settings:
Heatmap – Changes color to be brighter based on higher RVOL
Price – Changes color based on price action (like the default TradingView volume indicator)
Traffic – Changes color based on RVOL percentages (for fast visual cues)
Trigger – Changes color only when the specified alert conditions are met
Heatmap:
Traffic:
Trigger:
Price:
Heatmap:
Turns very bright green at 2.0 RVOL
Turns light green at 1.0 RVOL
Turns normal green at 0.75 RVOL
Turns medium green at 0.5 RVOL
Turns very dark green at 0.25 RVOL
Is gray otherwise.
Price:
Turns red if the price action candle closed bearish.
Turns green if the price action candle closed bullish.
Traffic:
Turns red if RVOL is between 1.0 and 1.5.
Turns orange if RVOL is between 1.5 and 2.0.
Turns dark green if RVOL is between 2.0 and 3.0.
Turns bright green if RVOL is above 3.0.
Is gray otherwise.
Trigger:
Turns teal if any of the given alert conditions in the user settings are met.
Alerts
Alerts are optional. You have to set them like any other indicator, by creating a new alert and selecting this indicator.
If you leave the "Alert At RVOL %" setting at 0, then alerts will only be triggered if the current candle exceeds the 1.0 (100%) RVOL level.
If you change the "Alert At RVOL %" setting then alerts will be triggered if the RVOL percentage (blue number) exceeds your given value. The blue number is a percentage of the average, so if it’s at 0.5, then it’s 50% of the average.
Notes
- This indicator only works with regular time bars. It will not work with range, tick, renko etc.
- This script has lookback limitations due to restrictions on how many historical bars PineScript can reference. The lookback limit varies based on the market type you choose. The more bars required for calculation the lower the lookback limit.
- If you use it on the Daily timeframe the lookback period will count as 1 week. If you use it on the Weekly timeframe the lookback period will count as 1 month. So a Lookback of 3 on the Daily would be 3 weeks of averages, a Lookback of 5 on the Weekly would be 5 months of averages (for that Day of Week or Week number).
- Big thanks to @tb12345 for the idea and for helping to field-testing the indicator!
3 Sessions DividerAsia (Syndey + Tokio)
London
NY
Made for GMT-6 (Central US Time)
Sessions may Overlap.
Average Hourly VolumesHello traders!
This indicator shows you the average hourly volumes across the instrument history.
It can help you to find time frames with the highest and the lowest activity of traders. Thus, you will know when to jump into the train and when to jump out.
What is included
An option to include/exclude weekends from calculation
An option to start calculations from specific date
An option to hide zero volumes
It works on ANY instrument that has available volume data.
It works on all resolutions
I attached some screenshots to show you how it works with other instruments.
How to get access
You can buy it for only 59$ to get lifetime access
Good luck and happy trading!
Cumulative Hourly VolumesHello traders!
This indicator shows you cumulative hourly volumes across the instrument history.
It can help you to find time frames with the highest and the lowest activity of traders. Thus, you will know when to jump into the train.
I attached some screenshots to show you how it works with other instruments.
How to get access
You can buy it for only 79$ to get lifetime access
Good luck and happy trading!
Sessions Asia, London, NY colored USED FOR GMT+2Simple script making easy to see when what session begins also overlaps and ends.
This script used for GMT+2 time zone, if you want to edit it just overite script time cycle.
Forex Sessions by EF with DSTBased on the well known existing Sessions script
Changes:
- 3x daylight savings checkboxes for Australia, London and New York. No more manual script modifications when DST is on/off, just check/uncheck and go!
- sessions re-ordered to trading day
- 1 hour pre-market zones added (there is none for Australia as that is the start of the Forex day)
- modified transparency settings to make it more subtle
- default on are Asia open and New York open + their respective 1 hour Pre-Market
Custom Colored Session (Pre, Open, Close, Post, Outside)Another script enabling coloring of sessions. Variables for all session timings and colors are exposed. Backgrounds and/or dividers can be enabled. If you only want dividers, just uncheck all of the background sections.
Note: Due to the way weekends are handled on some exchanges, displaying the divider on Friday is not possible.
Note: Displaying backgrounds or dividers in the future does not seem to be possible. I would gladly add this if I can figure it out.
Trading Session IndicatorFollowing time zones showing:
Asia Session - Red
London Open - White
London Session - Blue
NY Open - White
Sector High/LowHighlights which S&P SPDR Sector ETFs are at highs of day (green letter) or lows of day (red letter)
The first candle of the day is always all-green because by default the first candle of the day has the high of the day. So this indicator is more meaningful later in the day when sectors are making repeated highs/lows
Session RangeSimple script for showing the high/low/midrange of a session. By default configured to do the Daily range using the "regular" session. But it's configurable. For example on this chart I am showing the Weekly range.