⭐ epictetus Posted December 29, 2020 Report Posted December 29, 2020 Hello guys, I'm trying to switch from the metastock program to Amibroker completely. Metastock has an Ichimoku based strategy that I use. I have had very effective results on weekly charts as an example, especially in long time frames. Can anyone translate this search formula into AFL? It would be really cool! Metastock Formula: COL A : If((C<SenkouSpanA(26,52,26) AND C<SenkouSpanB(26,52)) OR (C>SenkouSpanA(26,52,26) AND C<SenkouSpanB(26,52)) OR (C<SenkouSpanA(26,52,26) AND C>SenkouSpanB(26,52)),1,0) COL B : If(C>KijunSen(26) AND Ref(ChikouSpan(26),-26)>Ref(C,-26),1,0) COL C : If(Cross(Ref(ChikouSpan(26),-26),Ref(C,-26)),3,If(Cross(Ref(C,-26),Ref(ChikouSpan(26),-26)),2,If(Ref(ChikouSpan(26),-26)>Ref(C,-26),4,1))) COL D : ValueWhen(1,Cross(Ref(ChikouSpan(26),-26),Ref(C,-26)),C) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.