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!
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?