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!
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?