@Metamega: thank you so much for such a great response! Looks like BarsSince() function will do just fine in this situation - I tried to find something like this in the manual but without success.
Thanks for letting me know about yahoo amibroker forum as well, have to agree that it's...
Hello,
I am beginner at coding and would like to ask for your support.
I have some simple formula in Amibroker (afl language):
buyCon1 = Cross( MACD(), Signal() );
BuyCon2 = Cross(MA(C,30),MA(C,10));
Buy = buyCon1 AND buyCon2;
Question: how can I add to the above something like:
If...