OPEN-SOURCE SCRIPT
מעודכן

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

6062
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
תמונת-בזק
הערות שחרור
-added user input timezone
הערות שחרור
-Fixed a bug with sessions painting falling short of the last bar
הערות שחרור
-fixed error in toggle-off boxes
הערות שחרור
-added custom labels with optional time/day/date stamps
-option to delete historical labels
הערות שחרור
-proper fix for error in 'delete historical labels' condition
הערות שחרור
-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.
הערות שחרור
-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.
הערות שחרור
-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:
תמונת-בזק
הערות שחרור
-fixed to work on crypto as well as traditional assets. Please read the updated tooltips for specifics usage notes/quirks/limitations.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.