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
Watch it run · EURUSD · 1h bars
plot 1plot 2plot 3plot 4plot 5

Sample data. Not a result. The real AlgoBarsX engine ran this exact script on made-up bars, and this replays what it drew and did. It shows no profit or loss, and it says nothing about how the script would do in a real market.

Replay of this script on 150 sample bars: 5 lines drawn.

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