TradingView
twingall
28 feb 2023 02:32

Tomorrow's Custom Sessions: 4x Sessions projected into next day 

Bitcoin / U.S. dollarBitstamp

Descrizione

Tool to visualize your favored sessions for the day ahead (4x custom sessions)

-Input four custom sessions; they will be projected into the next day.
-Toggle on/off each session independently.
-Adjust multiplier UP to show more days of history (setting 0 = tomorrow only; setting 1 = today and tomorrow).
-Increase number from 1>>125 to show historical sessions/days, for backtesting purposes.
-If Set to 0, showing tomorrow only; the projected session boxes will disappear as price passes through their right hand edge.

--note: the session defaults i've written are arbitrary/not special; please choose your own--

Setting '0'; shows next day's sessions only

Note di rilascio

-added user input timezone

Note di rilascio

-Fixed a bug with sessions painting falling short of the last bar

Note di rilascio

-fixed error in toggle-off boxes

Note di rilascio

-added custom labels with optional time/day/date stamps
-option to delete historical labels

Note di rilascio

-proper fix for error in 'delete historical labels' condition

Note di rilascio

-added funciton to reposition/normalize boxes on new day start so they're nearer to current price.
-added user inputs for custom adjustment of box height, box high, box low.

Note di rilascio

-Added option to NOT show tomorrow's boxes; only today's (default toggled ON): session boxes for future time remaining in the current day will print, but tomorrow's session boxes will NOT print.

Note di rilascio

-minor tweak to account for user timezone for new day start
Example usage: Don't look ahead beyond current day; days back to show = 2; preserve historical labels:

Note di rilascio

-fixed to work on crypto as well as traditional assets. Please read the updated tooltips for specifics usage notes/quirks/limitations.
Commenti
leofitra
awesome idea, thank you..
it'd be nice if the box can work like background (full height top-bottom canvas)
and the text can stick on the bottom or top of the canvas just like plotshape location bottom/top
anyway, greak work
babasake
I'm noticing it isn't working on mobile. Is this an issue?
Iskalder
Actually wonderful.

Thank you!
manmohan200980
How to use it
memox
most underrated indicator! thx
I need to figure out intraday future as well. It only shows tomorrow.
babasake
@memox @twingall any work around for this?
twingall
@babasake @memox maybe DM me to explain in detail. With setting 'days back to show' = 1 (default), it should show today's sessions until they are passed through..
twingall
@babasake @memox fixed: added user choice of show tomorrow or not show tomorrow
Altro