OPEN-SOURCE SCRIPT

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

已更新
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.
forecastingforwardtestlookaheadnextdayprojectedsessionprojectionsessionstomorrow

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


You can buy me a coffee here...

PayPal.Me/twingall
BTC: 3JrhUwNRnKyqhaa1n1AXKeAubNeEFoch6S
ETH erc20: 0x4b0400B1c18503529ab69611e82a934DDe4Ab038
ETH bep20: 0x1F0f03F184079bb1085F8C9dF3a8191C9f5869B3

免责声明