PROTECTED SOURCE SCRIPT
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)
Pine Script®
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!
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!
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.