Ichimoku Cloud

Ichimoku Cloud is an indicator drawn over the price chart.

core language

ichimoku-cloud.abx
1indicator "Ichimoku Cloud"
2pane: price
3
4cloud = ichimoku()
5
6plot cloud.conversion, color: blue
7plot cloud.base, color: red
8plot cloud.span_a, color: green.fade(40)
9plot cloud.span_b, color: red.fade(40)
10fill cloud.span_a, cloud.span_b, color: if cloud.span_a > cloud.span_b then green.fade(85) else red.fade(85)
11plot cloud.lagging, color: gray
What this script says

Ichimoku Cloud is an indicator drawn over the price chart.

It calculates cloud as the Ichimoku cloud.

On the chart, it plots cloud.conversion, cloud.base, cloud.span_a and cloud.span_b; it also shades between cloud.span_a and cloud.span_b; it also plots cloud.lagging.

Try this in the Terminal. AlgoBars is free: $0 a month, no card needed.

Create my free account