Initial Balance Markets Time ZonesThe below script is based on Initial Balance.
Initial Balance is based on the highest and lowest points of Price Action (PA) within the first 60 minutes of trading. There is so much information available online, reference Initial Balance, that I have not provided a reference.
Most indicators I have seen have been solely based on UTC 0000 Initial Balance. My aim with this indicator was to be able to visualize how other time zones market openings Initial Balance affect PA.
The three market openings I chose to code in are:
London 0800 to 0900
New York 1430 to 1530
Asia 0000 to 0100
Within the script I have given the user the option to select to see with a green or red background when PA is above all zones Initial Balance high (green) or PA is below all zones Initial Balance low (red).
Alerts are also coded in, to prompt the user that PA has gone above or below as per above.
The Initial Balance high and lows also offer another form of areas of confluence.
Below are some examples of IB in action:
LTC
NULS
UNFI
DEXE
Openingrange
Kviateq - Session Pivots for CryptoPretty much the exact same indicator as my other Session Pivots, however this one also shows the weekends and the session times are set to Bitmex exchange (note: I'm in a GMT+7 timezone myself).
Kviateq - Session PivotsFirst of all, I must say that this script wouldn't be possible without the help of one of the best script developers on TradingView - @ahancock (thanks a bunch for your help)
This script draws opening ranges for each of the sessions - Tokyo, London and New York and plots session high, low and pivot range of the previous session.
So if you trade London session - you would only take longs if we're above the Tokyo pivot range and vice versa for shorts.
Often times previous session's highs act as resistance and lows act as support, so careful trading around those levels.
It is obviously meant for lower timeframes, since each of the sessions only lasts a few hours.
Default settings are set to the exchange that I use and my timezone (GMT +7), so you might need to adjust the settings accordingly.
Tokyo - 12am GMT
London - 7am GMT
New York - 12pm GMT
Opening LevelsOpening Levels is an indicator to draw lines on the opening prices of the current day, week, and month.
Inputs:
1. Line Width :- Opening Levels Line width, from 1 to 10
2. Right Offset :- Right offset from current bar, from 0 to 50
3. Line Style :- Select line styles from
4. Show Label :- Show or hide price labels
5. Day Level Color :- Current day opening level color
6. Week Level Color :- Current week opening level color
7. Month Level Color :- Current month opening level color
8. Day Label Text Color :- Current day label text color
9. Week Label Text Color :- Current Week label text color
10. Month Label Text Color :- Current month label text color
Happy trading.
London Open Range Breakout by KviateqThis script is what I currently use to day trade forex on a 5-minute timeframe.
The script features Multi-timeframe EMA20 that uses timeframe multipliers and is smoother by the factor by which you're multiplying your current timeframe.
Default settings are set to display EMA20 on the current (M5) timeframe, as well as M15, H1, H4 and D1 timeframes.
The background color changes intensity based on how many conditions are met - are all EMAs in the right order, is the current close above/below all the EMAs.
Featured is also a range set to 1 hour since the London breakout (can be changed to M15, or however long you'd like - my current setting is 30 minute).
Also featured are levels that I find to be of most importance - such as Daily and Weekly Open, Previous Day's and Week's Highs.
The idea is to only take trades when all stars align - EMAs, break above/below the Opening Range and not to long/short into an important level.
ORB - Opening Range BreakoutThis script plots the high/low of any custom session and extends it until the daily close. It does not show on the timeframe higher than the length of custom opening session by default.
The time period of opening range & the max timeframe to display it on can be adjusted from the settings.
So for eg. if want to use 5m ORB to trade, then set "ORB total time" as 5min & "Session Time" as whatever is the opening 5mins time period of ticker that are trading.
CBG Key Numbers v6Here is my opening range, key numbers indicator. It takes the Opening Range (5 minutes by default) and then plots the opening range and up to 7 extensions of that range above and below.
It's amazing how the OR is stamped up on the rest of the day's price movements.
2 strategies (at least) are to play the OR range breakout and to fade when price hits an extreme range.
You have total control over how you set up the various lines and colors.
If you start overlaying the trading day with the OR and it's extensions, you will see amazing patterns become clear. For example, the pump and reverse. This is where price pumps right out of the opening and then reverses later in the morning.
I have the opening price set to big circles as this is one of the most important reference points during the day.
Important: For some reason, the 9:30 am time Opening acts differently for equities and futures . For equities, you can set the time values to 0930. But for futures , to capture the Open at 9:30, you have to set the time values to start at 0830. I haven't been able to find a better solution but setting the times manually works. Make sure to set all the time values on the Options screen.
There is one more setting of interest. It is called IB Target Amount. This is a number above and below the opening range that I have observed price to hit whenever there's a breakout. This will allow you to predict a price target on breakouts. For SPY , I have found that price usually breaks out to at least 50 cents. On ES futures , it's 6 dollars. This can help you lock in 10% and 20% when trading options and is a great tool. That's why I have it so prominent in red. You will also see price return to this level during the day and act as support or resistance.
Please disregard the red and green shaded rectangles. They are my own support and resistance zones and TV wouldn't let me hide them from the picture. :-)
I mostly use this on a 5 minute chart but any timeframe will work.
ORB 15 Min By EquityDurai#Let the index/stock trade for the first fifteen minutes and then use the high and low of this "fifteen minute range" as support and resistance levels.
#A buy signal is given when price exceeds the high of the 15 minute range after an up gap.
#A sell signal is given when price moves below the low of the 15 minute range after a down gap.
#It's a simple technique that works like a charm in many cases.
>If you use this technique, though, a few caveats are in order to avoid whipsaws and other market traps.
>The most common whipsaw is a trading range that lasts longer than 15 minutes.
>If an obvious range builds in 20, 25 or even 30 minutes , use those to define your support and resistance levels.
>Also consider the higher noise level in the morning.
>A breakout that extends only a tick or two can be easily reversed and trap you in a sudden loss.
>So let others take the bait at these levels, while you find pullbacks and narrow range bars for trade execution.
Opening range plus essential indicators all in oneThese are some essential indicators I use which do not clog up too much of the window.
Forex session - Opening Range- Jayy fixed updatedOpening Range (OR) for Forex 24 hour regular session. This is not for regular market day sessions addressed in a separate script.
This script fixes four issues:
syntax error when code compiles
messed up opening range the day after a holiday Monday
flaky plotting of the opening range and targets that required page reloading
TradingView problems with starting forex session at 1700 hours EST/EDT when using certain securities eg FX_IDC currently (Jan 2017)
Additions in his code are more options for trading range
Time compensation option for some securities that incorrectly start sessions at 1200 hrs instead of 1700 hrs NY time
- this glitch is likely temporary but present when this script update was created
More opening range time period choices
Opening Range Targets:
Opening Range Targets as per Leaf_West
Targets are set at 127% , 162%, 200 %, 262 %, 362%, 423%, 685%, 1109% and 1794% and this can be traded intraday using methods described here charts-by-leaf.com I also have some Leaf West PDFs that describe how the targets are set and how they are traded. There are others that use opening range.
The Time Session Glitch and the Fix:
The script will correctly default to 1700 hrs to 1700hrs EDT/EST session for FXCM.
Strangely some securities appear to erroneously start their session at 1200 hrs ie. My guess is that they are somehow tied to GMT+0 instead of New York time (GMT+5). See this for yourself by selecting EURUSD using the FXCM exchange (FX:EURUSD) and then EURUSD from the IDC exchange (FX_IDC:EURUSD). The FX-IDC session opening range starts 5 hours
before it actually should at 1700 hrs EDT/EST. To correct for this I have implemented an automatic fix (default) and a user selected "5 hour time shift adjust. ment needed on some securities".
There is also a 4 hour time shift button which might be necessary when New York reverts from Eastern Standard Time
to Eastern Daylight Time (1 hour difference) in March (and then back again in November). In the default auto adjust mode you will need to select the 1 hour time shift. That is if this glitch still exists at that time.
I have looked at other scripts, other than my own and where the script is available, that need to use information about the opening bar and all have the same time shift issue
What are the choices for Opening Range?
The dialogue box offers the standard TradingView options.
Also where you see Pick Opening Range 1 to 12 hours , SET TO 0 To USE LINE ABOVE TO DETERMINE OR LENGTH
As the note says a number other than 0 will override the standard options from the line above
The dialogue box below in offers choices by hours 1 to 12. A number greater than 12 will still only give
720 minutes (12 hours) for the length of Opening Range.
What sessions within the FOREX time-frame are available?
The default is 1700 hours to 1700 hours EST/EDT
Check any one (only one) of the time periods to change the opening range period to suit.
New York opens at 8:00 am to 5:00 pm EST (EDT)
Tokyo opens at 7:00 pm to 4:00 am EST (EDT)
Sydney opens at 5:00 pm to 2:00 am EST (EDT)
London opens at 3:00 am to 12:00 noon EST (EDT)
There is a build your own session (click the button to select)
The two lines for inputting session times are almost identical except that the second line starts the be the same as each other.
The default for the build your own session is 2200 hours to 2200 hours. As of the time of publishing this plots EURUSD FX-IDC just right. The GMT+5 and GMT+4 do not apply to this selection.
See my comments above on this strange aberration.
The script originated from work done by Chris Moody. It has changed significantly but there are remnants of that script lurking within.
Script is free to all - that way you can see what is inside
Cheers Jayy
Securities day session - Opening-Range- Jayy Opening Range (OR) for regular daytime session eg NYSE 0 930hrs to 1600 hrs.
This is not for Forex sessions which is addressed in a separate script.
This script fixes two issues:
syntax error when code compiles
flaky plotting of the opening range and targets that required page reloading
Additions:
In this code there are more more opening range time period choices at the bottom of the format dialogue box
Opening Range Targets:
Opening Range Targets as per Leaf_West
Targets are set at 127% , 162%, 200 %, 262 %, 362%, 423%, 685%, 1109% and 1794% and this can be traded intraday using methods described at charts-by-leaf.com I also have some Leaf West PDFs that describe how the targets are set and how they are traded. There are others that use opening range.
See the notes in the script for more detail.
My first opening range script originated from work done by Chris Moody. This script has changed significantly but there are small remnants of Chris Moody's script lurking within.
This script is available to all.
Cheers Jayy
Opening Range Breakout with 2 Profit Targets.Opening Range Breakout with 2 Profit Targets.
Updated Indicator now works on all Symbols with Many Different Session Options.
***Known PineScript Issue…While the Opening Range is being Formed the lines only adjust for that individual bar. Just reset Indicator after Opening Range Completes.
***All Times are Based on New York Time
Session Options Forex U.S. Banks Open (8:00), Gold U.S. Open (8:20), Oil U.S. Open (9:00), U.S. Cash Session - Stocks (9:30), NY Forex Open (17:00) , Europe Open (02:00), or if you choose Setting 0 the Session Runs from 00:00 to 00:00 (Midnight to Midnight).
***Ability to use 60 minute Opening Range, 30 minute, 15 minute, and many other options.
***However you can manually change the times in the Inputs Tab to adjust for any session you prefer. This is useful for Day Light Savings Adjustments. Also the default times work if your charts are set to EST Time. If you use A different time zone in your settings you need to Adjust the times in the inputs tab.
Initially Opening Range High and Low plot as Yellow Lines. If Price Goes Above Opening Range then Line Turns Green. If Price Goes Below Opening Range Line Turns Red.
By default the First Profit Target is 1/2 the Width of the Opening Range and the 2nd Profit Target is 1 Times the Opening Range. However these are Adjustable in the Inputs Tab.
By Default the Opening Range Length is 1 Hour. However, you can Change the Opening Range Length to 15 min, 30 min, 2 hours etc. in the Inputs Tab.
Plots a 1 Above or Below Candle when 1st Profit Target is Achieved, and a 2 when 2nd Profit Target is Achieved.