This is a modification of two scripts by RobMinty, "FXN - Asian Session Range" and "FXN - Week and Day Separator". Both scripts provide functionality to track and separate trading sessions, days, and weeks for the user. Since both scripts have the common purpose of tracking trading times, the modification was made to combine the two into one indicator.
This script is a quick hack-around where both scripts by RobMinty were literally thrown together into one script (please excuse the sloppy code!). Despite how it was created, the inputs and functions of the combined script have not changed significantly from the originals. The main disadvantage is the size of the script makes it a bit slow to add to a chart, but it otherwise works as expected. Like the originals, the code has been made open-source. If this script is reused or modified, please provide RobMinty first and foremost with credit for the source code and maybe to me (Billy_FX_) as well if you modify this... modification! =)
진정한 TradingView의 정신에 따라, 이 스크립트의 작성자는 스크립트를 오픈소스로 게시했기에 거래자들이 이해하고 확인할 수 있습니다. 작가님께 건배! 스크립트를 무료로 사용할 수 있지만, 게시물에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다.
Appreciate the kind words! :)
there is only one issue... when i set Asian Range End to 23:00 is does not plot the Range on Mondays! ... and the Pipvalue for the Asian Range cannot be turned off, to make the Charts clearer.
Only one proposal that could make it perfect beside the little bug I mentioned... please make it possible that the Background Colour of the Sessions is only visible for the current Day and in advance, for timing, does that make sense?
Because in hindsight these Areas are completely useless and making the Charts only stuffed full...
Thank you for the kind words and criticism! :)
Unfortunately I didn't design the source code (original source code by RobMinty) behind the different tools in the script so it will require me to perform some review in order to create logical and toggleable fixes to the issues you mentioned.
In the meanwhile, a basic solution using the script settings for the background and text issue you were mentioning is listed below. In the settings for the script:
1) Go to display and scroll to the bottom of the display settings page.
2) Uncheck all checkboxes for "Fill ... range" settings (background colors).
3) Uncheck the checkbox for the "Labels" setting (text labels for pip ranges and levels).
4) Do not uncheck the setting for "Lines". (session box outlines)
The above steps will turn off all session text labels and disable session background coloring which will allow you to only see session box outlines for the current and upcoming sessions that are configured. Once the current day has concluded, the box outlines should be removed from the chart.