Outcome Reach - Session Ranges - 1st**Must apply scale price on chart only by right clicking on price on the y-axis, otherwise this indicator won't work** This indicator shows price ranges in each forex session including the overlap between London and New York. This indicator is the first of a set of 3.
Do note this won't work with higher timeframes.
Session
Sessions High & LowA tool to save time while trading Forex for example.
Ability to turn on/off up to 4 sessions with user defined range
Separate alerts for a new high/low for each session
[PX] Session LevelHello guys,
this scripts prints the high and low as well as the moving average of a user-defined session.
How does it work?
Basically, as soon as we are in the session range, the indicator will constantly keep track of the high and the low of this range. It also prints the moving average, which can either be a floating or a static line, that represents the latest MA value.
The indicator comes with multiple options to style the printed lines.
If you find this indicator useful, please leave a "like" and hit that "follow" button :)
Have fun and happy trading :)))
P.S: Check my signature if you want to get in touch with me.
Week Start - Highlights the first candle of the weekSome users asked in PM about a script that highlights the start of the week. Consequently, I decided to publish it open for anyone finding it useful.
Furthermore, I will update the script soon with more useful features and customisation options.
bitpul Sessions + sma [MHMK]Background colors that show open-close of the major market sessions ( Tokyo, London, joint time, New York, free time).
I added two sma to get more confirmation for the reversal - You can hide smas
[FN] Session Range & Date Range For BacktestingThis has been done before in different ways, however, my goal is to publish a single, simplified copy/paste version of the idea so you can quickly and easily incorporate it into your strategy backtesting.
You can designate weekdays, weekdays + weekends for 24/7 markets, and also session range.
So, you trade bitcoin? It works. CME futures? It works. You are a discretionary trader so the only signals that matter are the ones that happen when you're awake? It works. Copy and paste.
The goal is that its that easy. You'll have to let me know if it is. glhf everyone.
If I'm not mistaken, you should be able to copy/paste this directly into your strategy script (Paste it in before your entry declarations). Just leave out the last 2 lines where the bgcolor() is declared... unless you want the background color lit up, that's up to you. It's just for demonstration purposes in this script.
After you've pasted it in, then in your strategy.entry() function you are adding: to the strategy.entry() function.
e.g:
strategy.entry("Long", strategy.long, qty=1, when = ENTRY_SIGNAL and signal_backtest())
Shoutouts to @zenandtheartoftrading and @allanster for providing the basis of this code that I put together here. We stand on the shoulders of giants.
MF Custom Sessions - Asian to LondonThis indicator is meant to be used as a visual aid for understanding when major volumes / session timings are taking place. Asian to london sessions are covered.
ATR By Time [Chart]What is ATR By Time (Chart)?
This premium indicator is a companion script to my ATR By Time indicator.
This companion script draws your stop loss price to the chart directly. In the above example, the black line represents a regular 1x ATR stop loss above and below price action, while the colored lines are the 1x ATR By Time indicator values when set to use the "Smallest ATR" in the settings menu.
When set to "Smallest ATR", the script calculates the regular ATR and the ATR By Time of Day and compares the distance of the two values. It then selects whichever value is smaller to be used as the stop loss, and adds or subtracts it to the most recent swing high or low (or the closing price if desired).
This allows for tighter stops and larger position sizing during certain times of day for aggressive traders when set to Smallest ATR, or wider stop losses during more volatile periods of the day for conservative traders when set to Largest ATR.
Stop Loss Distance Options:
- Regular ATR
- ATR By Time
- Smallest ATR
- Largest ATR
More Information
Similar to my RVOL By Time indicator, the ATR By Time indicator works on any market that has consistent trading session lengths . So it works best on Forex & Crypto, but also works on some Stock and Futures markets.
Instead of calculating the ATR based on recent price data like the regular ATR indicator, 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 (as an average).
So in other words, your 10:00AM candle will show the average of the past 14 10:00AM candles rather than the past 14 candles leading up to that 10:00AM 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 in trying the script or you want more information on how the script works, there is more information available on my website including instructions on how to apply for a free trial: ATR By Time Feature Page .
Good luck with your trading!
NSDT Session Background ShadingA simple script to add background colors to specific timeframes. Great for trading futures so you can separate sessions for easier viewing. Use for stocks to separate pre, open, and post market times.
There are three timeframes that can be set and all colors can be modified.
[Zekis]Opening Range Higher High Lower Low Forex SessionsOpening Range Higher High Lower Low Forex Sessions
Very useful for session trading, the opening range will reset when new session is start and will plot new higher highs and new lower lows until the end of the session.
Ability to change between 3 opening sessions:
* London - opens at 3:00 am EST
* New York - opens at 8:00 am EST
* Tokyo - opens at 7:00 pm EST
* New day - GMT +0
Green arrow - new higher high
Red arrow - new lower low
Green background - the strength of the bullish trend
Red background - the strength of the bearish trend
(the lighter the color, the stronger the trend)
Enjoy!
@zekis
Volume AccumulationA simple tool that accumulates the trading volume of an instrument for a specified period of time.
Available modes:
Minutely
Hourly
Session
Daily
Monthly
Quarterly
Yearly
Candle Range - Monthly - Open/High/Low/Close/Wicks (Oldinvestor)This candle range comparison is similar to my original script Candle Range Compare .
This script is to compares the size of open/close high/low and wick size side by side. This version of the script allows you to only show a chosen month of each year to compare. I hadn't even thought to try and vanish the part of the chart I'm not looking at. I'll consider that later (may never happen, I am limited on time).
I have also included check boxes to turn on/off certain candles. This part is pretty self explanatory. For example: if you wish to not see wicks in front of the open/close, go to the settings for the study and uncheck the box for "Show Wicks".
Warning: The script does not work so well on monthly candles? Some of the candles are missing...
Good luck
Oldinvestor
Shade a particular timeframeI couldn't find a script that shades a particular timeframe so I created one where you can adjust the times, colors, and transparency. Pretty simple but nice if you just want to trade before or after certain times. Only issue is it seems to default to Eastern times. Lucky you if you are on the east coast of the USA! Everyone else add or subtract from that timeframe.
NYSE Session for 24/7 marketsThis script is used for analyzing the correlation between 24/7 markets with regards to the price action during NYSE session. Defaults to showing daily session open/high/low but there is the option to show the weekly session data.
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.
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!