Jauqius

TWP Chart Period Breaks

█ OVERVIEW

This script plots historical and one future vertical line at the higher timeframe.period time mark of your choosing along with the ability to create alerts that ping on the opening of the new bar on the timeframe and during the market session that you have selected. This script adds body to the default "session breaks" that Tradingview provides within the chart settings. It can be a hassle visually keeping track of time when trading but particularly when day trading. Timing is so important and I needed some visual assistance aka some guard rails for my mind to operate in, in order to better execute my trades. I hope this helps you too.

█ CONCEPTS

The script takes some simple steps to plot vertical lines onto your chart with some extra goodies to go the extra yard.


█ FEATURES

1 — Resolution
  • Auto / Manual selection
    • There is tooltip explains how the automatic time selection operates (see below)
AUTO_TIMEFRAME_TOOLTIP = "When the Auto option is selected, the timeframe of the indicator is chosen automatically based on the chart timeframe. The Timeframe dropdown is ignored. The automated timeframes are: \n
 
 '10 minutes' for any chart timeframes below '1 minute' \n
  
 '1 hour' for any chart timeframes starting from '1 minute' up to '5 minutes' \n
 
 '4 hours' for any chart timeframes starting from '5 minutes' up to '60 minutes' \n
 
 '1 day' for any chart timeframes starting from '1 hour' up to '4 hours' \n
 
 '1 week' for any chart timeframes starting from '4 hours' up to '1 day' \n
 
 '1 month' for any chart timeframes starting from '1 day' up to '1 week' \n
 
 '3 months' for any chart timeframes starting from '1 week' up to '1 month' \n
 
 '12 months' for any chart timeframes above '1 month'"

2 — Show Future Period Line

3 — Number of Historical Lines Back

4 — Line Style
  • Line color selection
  • Line width selection

5 — Alerts
  • Market session selection

█ HOW TO USE

 • Add it to your chart, select your timeframe, change up your colors, add your alerts (if necessary) and enjoy yourself!

Please visit our website to obtain access to any of our indicators.
Protected script
This script is published closed-source and you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Want to use this script on a chart?