AlgoGirl

Tenkan-Sen Kijun-Sen Distance (TKD) Oscillator - Ichimoku

AlgoGirl Updated   
The TKD is the distance between the Tenkan-Sen and the Kijun-Sen, expressed in percentage of current price. The further apart the tenken-sen and kijun-sen are, the more they want to snap back together. This makes for a decent oscillator. When the Tenkan-Sen is above the Kijun-Sen, the TKD is green. When it is below, the TKD is red. At the crossing points, it turns blue.

For those more familiar with Ichimoku Cloud techniques, one might also think of this indicator as a C-Clamp indicator. Bar coloring is supported and enabled by default. There's also an option to flip/invert the green/red colors in case you want to use it to judge pending cycles rather than current ones.
Release Notes:
Now gives a much earlier signal since now we're figuring out what the new signal is going to be based on what the last signal was before the cross started. This also means no more blue/indecision lines. Could it reverse in the middle of the cross? Sure but that has a low probability of happening.
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?