OPEN-SOURCE SCRIPT

Zig Zag/Consecutive Bars [UkutaLabs]

업데이트됨
█ OVERVIEW

The Zig Zag/Consecutive Bars indicator is a powerful trading tool that helps to visualise the flow of the market. This indicator allows users to see at a glance when a candle closes at a new high or a new low, which can be incorporated into a variety of trading strategies to better understand points of reversal and consolidation.

This indicator also displays the RSI score of each pivot, as well as a trailing count of how many bars it has been since there was a new high/low.

█ USAGE

As each bar finishes, the script will check if it closed above or below the previous bar’s high or low, depending on the current trend direction. When a new high or low is set, the script will then look for a move in the other direction. This can be a powerful tool that can identify when the market is trending strongly, as well as identifying when the market has a weak or no trend.

At each pivot point, the RSI score is displayed. This serves as additional confirmation to how strong the trend is. The RSI labels can be turned off in the settings.

As each trend develops, the script will count and display the number of bars that have closed since the most recent pivot. These labels can be turned off in the settings.


█ SETTINGS

Configuration

• Show RSI Scores: Determines whether or not labels displaying RSI scores are drawn.
• Show Counter: Determines whether or not labels displaying the number of bars since the most recent pivot are drawn.
• Line Color: Determines the color of the Zig Zag line.
릴리즈 노트
- Fixed a small bug that caused the first bar of the count to be 0.
릴리즈 노트
- Added a new setting: Change Bar Color. This setting will change the colors of bars depending on whether the zig zag last finished at a low or a high, regardless of whether the bar finished above or below its opening price.
- Added a new setting: Bullish Color. This setting determines the color of bars in a bullish trend when the Change Bar Color setting is toggled.
- Added a new setting: Bearish Color. This setting determines the color of bars in a bearish trend when the Change Bar color setting is toggled.
Relative Strength Index (RSI)Trend Analysis

오픈 소스 스크립트

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

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

면책사항