OPEN-SOURCE SCRIPT

Summer 2020/2021

업데이트됨
The Pine Script indicator you are examining is designed to enhance your trading chart by visually demarcating specific seasonal periods known as summer for the years 2020 and 2021. This indicator achieves this by employing background shading to indicate these defined summer periods, providing traders with a visual reference to help in analyzing seasonal trends and making informed decisions.

The script operates with precision by defining two critical summer periods: one for the year 2020 and another for the year 2021. The summer period, in this context, is identified as the time span between June 21 and September 22 of each specified year. The script utilizes the Pine Script timestamp function to create exact date and time boundaries for these periods, marking June 21 as the start of summer and September 22 as the end of summer for each year.

In detail, the indicator sets up two distinct background colors to represent the summer periods of 2020 and 2021. Specifically, it employs a semi-transparent blue color to signify the summer period of 2020, and a semi-transparent green color to denote the summer period of 2021. This differentiation in colors allows for easy visual distinction between the two years on the chart.

To achieve this visual effect, the script continuously evaluates the current bar's timestamp against the defined summer periods. If the current bar falls within the summer range of 2020, the background is shaded with the specified blue hue. Conversely, if the current bar is within the summer range of 2021, the background is shaded with the green hue. This approach ensures that the chart background reflects the specific summer periods accurately and distinctly.

By incorporating this indicator into your TradingView chart, you gain the ability to visually distinguish between different summer periods of consecutive years. This can be particularly useful for analyzing how market behavior or price movements vary during these specific times, facilitating better trend analysis and decision-making based on historical seasonal patterns.

Overall, this indicator serves as a practical tool for enhancing your chart's clarity and providing a seasonal context that can aid in the evaluation of trading strategies and historical market trends during the summer months of 2020 and 2021.
릴리즈 노트
The Pine Script indicator you are utilizing is meticulously designed to enhance your trading chart by visually delineating the summer periods for the years 2020, 2021, and 2024. This indicator achieves this by applying distinct background shading to represent these specific summer periods, which assists traders in observing and analyzing seasonal trends over multiple years.

The script operates by defining the summer periods for three distinct years: 2020, 2021, and 2024. Each summer period is considered to span from June 21 to September 22 of the respective year. By using the Pine Script timestamp function, the indicator establishes precise start and end times for each summer period, ensuring accurate visual representation on the chart.

Specifically:

Summer 2020 is represented with a semi-transparent blue background.
Summer 2021 is represented with a semi-transparent green background.
Summer 2024 is represented with a semi-transparent red background.

The indicator works by continuously evaluating the timestamp of each bar on the chart against the predefined summer periods for the three years. If the timestamp of the current bar falls within the summer range for any of the specified years, the background is shaded with the corresponding color. This visual distinction allows for easy comparison and analysis of market behavior during these summer periods.

By incorporating this indicator into your TradingView chart, you gain a powerful tool for visualizing and comparing the seasonal impacts across different years. This can be particularly valuable for analyzing historical trends, identifying recurring patterns, and making more informed trading decisions based on seasonal data.

In summary, this indicator provides a clear and effective way to visualize summer periods from 2020, 2021, and 2024 on your trading chart, aiding in the analysis of how market dynamics may vary during these key times of the year.
educational

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항