OPEN-SOURCE SCRIPT

[blackcat] L1 Ichimoku Cloud with Entry Signals

업데이트됨
The Ichimoku Cloud is a technical analysis indicator used to identify potential trend reversals, support and resistance levels, and generate entry and exit signals in financial markets. It was developed by a Japanese journalist named Goichi Hosoda, who went by the pen name Ichimoku Sanjin.

The Ichimoku Cloud consists of several components, including the Tenkan-sen (Conversion Line), Kijun-sen (Base Line), Senkou Span A (Leading Span A), Senkou Span B (Leading Span B), and the Cloud. The Tenkan-sen and Kijun-sen lines are calculated based on the average of the highest high and lowest low over a specific period of time. The Senkou Span A is the average of the Tenkan-sen and Kijun-sen, plotted ahead of the current price. The Senkou Span B is calculated based on the average of the highest high and lowest low over a longer period of time, also plotted ahead of the current price. The Cloud is the area between Senkou Span A and Senkou Span B and is often used to identify potential support and resistance levels.

The Ichimoku Cloud with Entry Signals script provided above is a TradingView Pine script that plots the Ichimoku Cloud on a chart, along with entry signals. The entry signals are generated based on the crossover and crossunder of the Tenkan-sen and Kijun-sen lines, as well as the relationship of the closing price with Senkou Span A and Senkou Span B. When the conditions for a long entry signal are met, a green triangle-up shape is plotted below the price bars. Conversely, when the conditions for a short entry signal are met, a red triangle-down shape is plotted above the price bars.

It's important to note that the Ichimoku Cloud is a versatile indicator that can be used in various ways, including identifying trends, determining support and resistance levels, and generating entry and exit signals. Traders and investors often use it in conjunction with other technical analysis tools and indicators to make informed trading decisions.

This piece of code is a TradingView indicator script used to plot Ichimoku Cloud and display entry signals. It is written in Pine Script language.

First, the `indicator` function is used to set the title and short title of the indicator and overlay it on the main chart.

Next, two parameters `tenkanPeriod` and `kijunPeriod` are defined to represent the calculation period of Tenkan-sen (Conversion Line) and Kijun-sen (Base Line) respectively. Then, the `ta.sma` function is used to calculate the values of Tenkan-sen and Kijun-sen, and they are plotted on the chart using the `plot` function.

After that, the value of Senkou Span A (Leading Span A) is calculated using the `math.avg` function, and it is plotted on the chart using the `plot` function. Similarly, the value of Senkou Span B (Leading Span B) is calculated and plotted.

Then, the `fill` function is used to fill the area between Senkou Span A and Senkou Span B with color, forming the cloud.

Finally, entry signals are determined based on certain conditions. If the conditions are met, the `plotshape` function is called to plot arrow shapes at the corresponding positions to represent entry points.
릴리즈 노트
correct logo
blackcat1402Trend Analysis

오픈 소스 스크립트

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

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


Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
또한 다음에서도:

면책사항