SparkyFlary

Ichimoku with offset included

Based on the idea that some Donchian Channels in trading books have a lookback or offset of 1 in order to use it as a sort of trailing stop or so that the channels don't adjust. Ichimoku's Tenkan and Kijun lines have a very similar formula to Donchian Channels. In case anyone wants to use those lines as a sort of more fixed trailing stop, offset the Kijun, Tenkan, Span B, and/or treat it like Donchian Channels and such in the Ichimoku system, I included an offset of 1 as the default. To change this indicator to a standard regular looking Ichimoku, just change the offset value to 0.

The formula seems a bit different to what Tradingview has for their own version of Ichimoku but it's the same as many other programmers here. I made the colors as close to the traditional colors seen in books and other places and Tradingview as much as I could think of. Ichimoku has many different variations out there and to add the the confusion can have many different strategies to go with it. If you have any suggestions or tips, please let me know.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?