Ichimoku coding assistance

Hi, can anyone assist with providing me the following coding:

  1. Tenkun Plot (26 period) <= Kijun Plot (26 period). This should produce a True / False answer

  2. Close (Price) <= Top of Ichimoku Cloud (26 period). This should produce a True / False answer

Thanks,
Karen

 

Hi Karen,

In this example i’m using the standard Ichimoku function (Tenkan line set to 9 period) as when both the Tenkan and Kijun lines are set to 26 they are identical.

To find where the Tenkan Line is equal to or less than the Kijun line you can use the following script:

ICHIMOKUCLOUD().TenkanLine <= ICHIMOKUCLOUD().KijunLine

This will provide a True / False result.

To find where the Close of the chart is equal to or less than the top of the Ichimoku cloud you can use the following script:

CLOSE() <= ICHIMOKUCLOUD().CloudBandUpper

This will provide a True (Black Shaded Zone) / False result.

Ex13

Thanks Matthew, that is very helpful.

Kind regards,

Karen