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.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?