TradingView
Frien_dd-DisDev
7 juil. 2021 09:23

Single Prints - Session Initial Balances 

Bitcoin / TetherUSBinance

Description

Disclaimer: Expose yourself to the knowledge of different trading methods. If you are unaware of what a Single Print is then do some research and broaden your knowledge.
This indicator has only been tested on BTCUSDT Binance pair. This indicator is meant to be used on the 30 minute timeframe to highlight Single Prints.
The calculations are base on 0000 UTC and what Single Prints are created during that day.

Single Prints

Single Prints are where prices moves to fast through an area (on a 30 minute timeframe), in the case of this indicator in $50 intervals, where the price has not yet cross back past, represented as orange lines. If you were viewing this on a Time Price Opportunity Chart (TPO) each $50 would be represented as a square with a letter in it. If price has only been through that area once, within that 24 hour period, then it is called a Single Print. If however the Single Print is on the lower wick of the candle it is called a Buying Tail and on the Upper Wick a Selling Tail.

Single Prints leave low volume nodes with liquidity gaps, these inefficient moves tend to get filled, and we can seek trading opportunities once they get filled, or we can also enter before they get filled and use these single prints as targets.
Single Prints are a sign of emotional buying or selling as very little time was spent at those levels and thus there is no value there.
The endpoints of single print sections are considered to be potential support or resistance points and or get filled (like a CME gap).
The above is only a very short summary, to understand Single Prints, Buying Tails and Selling Tails more please do your own research (DYOR).

References:
Trading Riot Volume Profile - Website
TOROS TPO Charts Explained - Youtube


Session Boxes

Session Boxes are the high and low of that markets session before the new market session opens. I used the data from the website Trading Hours for the time input.

White box – Start of day UTC 0000 to Market Close UTC 2000
Purple box – Asia Start UTC 0130 to London Start UTC 0700
Yellow box – London Start UTC 0700 to New York Start UTC 1330
Blue box – New York Start UTC 1330 to Market Close UTC 2000
Red box – Market Close UTC 2000 to End of day UTC 2359

References:
Trading Hours - Website


Initial Balance

The Initial Balance is the market range between the high and low of the first hour of trading for the market. In the case of crypto when is the Initial Balance if it is 24/7.
Context of Initial Balance:
The Initial Balance is traditionally the range of prices transacted in the first hour of trade. Many regard the Initial Balance as a significant range because, especially for the index futures which are tied to the underlying stocks, orders entered overnight or before the open are typically executed prior to the end of the first hour of trade. Some use it to understand how the rest of the day may develop, while others use it as a span of time to avoid trading altogether because of its potential volatility.

For this indicator I have coded the Initial Balance time as below:

White Box - To appear for the first hour of the day 0000 to 0100 UTC .
Purple Box - To appear for the first hour of the day 0130 to 0230 UTC .
Yellow Box - To appear for the first hour of the day 0700 to 0800 UTC .
Blue Box - To appear for the first hour of the day 1330 to 1430 UTC .
Red Box - To appear for the first hour of the day 2000 to 2100 UTC .

The diagram above shows some examples:
How price (white arrows) retraces the single prints.
How price (red arrows) uses the single prints as S/R.

References:
Not Hard Trading – Website
My Pivots Initial Balance - Website

Thanks go to:
StackOverFlow Bjorn Mistiaen
Trading View user mvs1231


Please message me if you have any feedback/questions.
I am looking at developing this indicator further in the future.

Notes de version

Updated functionality

Show Daily Single Prints with Extended Lines - This now will extend all Daily Single Prints where price has not crossed.
Show Daily Single Prints - I have left this option so that you can kind of back test and see what happened to other daily Single Prints.

Notes de version

User request to be able to change the color of the Session Boxes.

This is now available with the settings.

Notes de version

User reported that when they changed the timings for sessions that weekend session boxes would not show up.

Code updated to rectify this issue.

Notes de version

User update request.

User requested the functionality to be able to turn on and off the session boxes.

Aim to be able to look back at particular individual session and their Initial Balances to see how that market opening affected price action.

Notes de version

User request for Initial Balance extension to only be for today and yesterday.

Code modified.
Commentaires
monteima
thank you for this! it's great and very useful. i was wondering, is there a way to extend the IB lines in the boxes for the duration of the session? that would be a nice upgrade. thanks!
rakesh2574
Hi,
Thanks for such an amazing implementation.
I would like to use this for some other symbols as well.
Unfortunately this ends up in error, As I am not so flexible with pine script.
Could you please help what all changes I need to do to use this for another symbol.
Nidhogg37600
hi, its possible to add a alarm when single print appears?
sanj4y7
@Nidhogg37600, even im trying for dat sir
Did u get it?
itsjhow
Thanks heaps! I use exo charts mainly but this is wicked to have on tradingview!! Thank you
H4SH3M_
Awesome indicator mate thx a lot
Could u please add option to extend the line. In pic above look extended but not working for me, can you help plz
SergioCarpintero
Hi traders friends ! I´ve found how to use this with Alts.
Introduce into the "distance between lines" field the value 0.01 and select weekly or yearly opcion.
Works as expected. Enjoy !
SergioCarpintero
Hi mate, this tool is very usufull for BTC, is there any way to configured on alts? I´m scalper and will be a great help to work with. thanks for your contributions. Regards from Spain
jms_sub89
Any ideas on how to fix a study error " Error on bar 10567: Bar index value of the 'left' argument (0.0000000) in 'box.new(). is too far from the current bar index. Try using 'time' instead."
eyeioanh
hi, how much distance should i set for ETH/USDT?
Plus