Infinity_Trading_

The Flip Backgrounds - Weekly & Hourly

Description
This indicator creates vertical background bands of larger timeframes when viewing lower timeframes so the trader can keep track of the larger timeframes when they are zoomed in on lower timeframes. This script displays hourly and weekly backgrounds. When the timeframe is thirty minutes or lower, hourly backgrounds are displayed. When the timeframe is greater or equal to an hour, then weekly backgrounds are displayed. The weekly backgrounds are great for spotting price movement over a weeks span. Many times price will go up the first part of the week and then come right back down in the second half (or vice versa). The weekly background makes these trends easy to spot.

The Flip
When a new candle forms, on any timeframe, this is referred to as "the flip". The most prominent flip is the hourly timeframe because intraday price action can be clearly seen with the hour timeframe. This is where this script gets its name. Also, since the stock market opens on the bottom of the hour, the hourly background start on the bottom of the hour as well.

Style
The hourly and weekly backgrounds can be independently toggled on and off for ease of use. The hourly and weekly vertical backgrounds are split into alternating colors. Each of these colors can be individually chosen (along with transparency) to match the trader chart colors.

Note: the weekly backgrounds logic in this script keeps track of the weeks by looking for Monday's. If the market is closed on a Monday, the weekly background will span two weeks.


Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?