Hi HappySingh ji
I need to include ichimoku cloud into this multi chart setup. Please check if this is possible.
Ichimoku code
t1= 9;t2=26;t3=52;
SL = ( HHV( H, 26 ) + LLV( L, 26) )/2;
TL = ( HHV( H, 9 ) + LLV( L, 9 ) )/2;
KS = ( HHV( H, 52 ) + LLV( L, 52) )/2;
Lagging = Ref( C, 26 );
Span1 = (( SL + TL )/2);
Span2 = (HHV( H, 52) + LLV(L, 52))/2;
aboveKumo=IIf((C>=Ref(Span1,-t2) AND C>=Ref(Span2,-t2)),1,0);
withinKumo=IIf((C>=Ref(Span2,-t2) AND C<=Ref(Span1,-t2)),1,0) OR IIf((C>=Ref(Span1,-t2) AND C<=Ref(Span2,-t2)),1,0);
belowKumo=IIf((C<=Ref(Span1,-t2) AND C<=Ref(Span2,-t2)),1,0);
PlotOHLC(Span1,Span2,Span1,Span2,"",IIf(Span1>Span2,colorDarkYellow,colorBlueGrey),styleCloud|4096,0,0,26);// span out 26 days