OPEN-SOURCE SCRIPT

Ichimoku ACE Club

A. Overview:

This script is a custom implementation of the Ichimoku Cloud indicator for the TradingView platform, built using Pine Script version 4. It adds additional features like custom "Knife" lines and circle markers for specific data points. The indicator overlays on the chart and plots various elements of the Ichimoku system, including the Tenkan, Kijun, Chikou, and Kumo Cloud.

B. Inputs:

1. Tenkan (TS): This is the short-term moving average line (default period: 9).
2. Kijun (KJ): This is the medium-term moving average line (default period: 17).
3. Knife1 (K1): This line is based on a longer-term moving average (default period: 65).
4. Knife2 (K2): Another long-term moving average line (default period: 129).
5. Chikou Displacement (Chikou_Disp): The Chikou Span is plotted with a delay of 26 periods by default.
6. Displacement (disp): Determines the horizontal shift of the Kumo cloud.

C. Functions:

- `donchian(len)`: This function calculates the Donchian channel, which is the average of the highest high and the lowest low over the given period (len).
- `mf(len, offset)`: This function calculates the highest high and the lowest low over the given period, with an offset applied.

D. Plots:

1. Tenkan, Kijun, Knife1, and Knife2: These are plotted as lines with different colors and thicknesses.
- Tenkan is blue.
- Kijun is red.
- Knife1 is yellow.
- Knife2 is orange.
2. Chikou Span: This is plotted with a displacement and shown in purple.
3. Kumo Cloud: The cloud is formed by plotting two lines, Span A (green) and Span B (magenta), which represent the top and bottom of the cloud, respectively. The space between these lines is filled with a semi-transparent color, either green or magenta, depending on the relative position of the two spans.

E. Circle Markers:

- Additional circle markers are plotted for each of the Tenkan, Kijun, Knife1, and Knife2 lines at various offsets, helping to visualize the historical data points for each of these indicators. These circles are color-coded according to the line they correspond to.

F. Customization:

- The indicator allows customization of the lengths (periods) for Tenkan, Kijun, Knife1, Knife2, and other components via the script's input fields.

G. Conclusion:

This Ichimoku-based indicator provides a detailed view of the market's trend strength and direction. It offers a unique addition with the Knife lines and visual aids like circle markers for specific periods, which helps traders make better-informed decisions based on Ichimoku analysis.

---

You can modify the parameters such as `TS`, `KJ`, `K1`, `K2`, and `disp` according to your trading preferences. The colors and line thicknesses can also be adjusted for better visual representation.
Ichimoku Cloudichimokukinkohyo

Skrip open-source

Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Hormat untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Inggin menggunakan skrip ini pada chart?


Juga di:

Pernyataan Penyangkalan