Using the Kumo Cloud for trading checkout this chart
the code for the Kumo Cloud is
Per1:= Input("Tenkan Length 1",1,1000,9);
Per2:= Input("Kijun Length 2",1,1000,26);
Per3:= Input("Senkou B Length 3",1,1000,52);
Per4:= Input("Shift Length ",1,1000,25);
ST:=(HHV(H,Per2)+LLV(L,Per2))/2;
TL:=(HHV(H,Per1)+LLV(L,Per1))/2;
DL:=Ref(C,Per4);
1Span:=Ref((ST+TL)/2,-Per4);
2Span:=Ref((HHV(H,Per3)+LLV(L,Per3))/2,-Per4);
KumoCloud:=If(C>Max(1span,2Span),1,If(C<Min(1span,2span),-1,0));
KumoCloud;
this will plot a +1 when the close is above the cloud and -1 when the close is below the cloud
trading this in the long only format returns around 16.7%
trading this in the short only format returns around -44.28%