Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

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)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...