for the forum dll look into the files section
now for the ichimoku, check out this chart using the default settings
The code for the Tenkan Kijun long
ST:=Input("ST Length",10,100,26);
TL:=Input("TL Length",3,50,9);
LB:=Input("Lookback Length",2,50,25);
A2:=Input("A2 Length",20,200,52);
ST:=(HHV(H,ST)+LLV(L,ST))/2;
TL:=(HHV(H,TL)+LLV(L,TL))/2;
A1:=Ref((ST+TL)/2,-LB);
A2:=Ref((HHV(H,A2)+LLV(L,A2))/2,-LB);
LE:= If(A1>=A2,Cross(C,A1),Cross(C,A2));
LX:= If(A1>=A2,Cross(A1,C),Cross(A2,C));
SE:= If(A1>=A2,Cross(A2,C),Cross(A1,C));
SX:= If(A1>=A2,Cross(C,A2),Cross(C,A1));
B:=ExtFml( "ForumDll.Latch", LE, LX, SE, SX);
Buy:=If(TL>ST AND B>0,1,0);
Sell:=If(TL<ST AND B<0,-1,0);
entry:= {<-- Do not change entry parameter name}
Buy+Sell=1 AND Ref(Buy+Sell,-1)<>1;
exit:= {<-- Do not change exit parameter name}
Buy+Sell=0 AND Ref(Buy+Sell,-1)=1;
you may try the Kumo Cloud
checkout this chart
the kumoCloud long formula 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));
entry:= {<-- Do not change entry parameter name}
KumoCloud=1 AND Ref(KumoCloud,-1)<>1;
exit:= {<-- Do not change exit parameter name}
KumoCloud<>1 AND Ref(KumoCloud,-1)=1;
the above charts were created using VST Pro from
www.Metastocktools.com