I would like to count the number of times a stock price drops 5% in the next 3 months using Amibroker AFL code. I guess this will require using Ref() to reference future values.
https://www.amibroker.com/guide/afl/ref.html
Can someone provide some hint as a starting point?
https://www.amibroker.com/guide/afl/ref.html
Can someone provide some hint as a starting point?