How to implement ichimoku in Pi?

I learned to trade manually using ichimoku with another broker. As Pi is in beta, ichimoku indicator is not available.

Is it currently possible to implement Ichimoku trading strategies using tradescript?

Ichimoku not available in Pi

there is script in Zerodha scripts section

follow this link

the thing is u can add this on EA but not on scanner 1 can any1 help with the code for scanner ?

Tenkan-sen (Conversion Line): (9-period high + 9-period low)/2)
And the script calculates average of high for 9-period …sma(high,9)…which is wrong