Hi Everyone,
I am not sure whether this is the correct place for this…but I have written a couple of very simple screener codes which on first glance work OK. Basically the code identifies when SMA’s are in a certain order and price is between 2 specific SMAs. They return the charts/asset I would expect except for one fact…it shows some forward assets with the correct line up of SMAs but the chart is old..up to 1 year old!
I don’t know why this is..it works on regular assets such as DFB Forex and Indices but on forwards (e.g. NY Sugar May-2019)..it shows a chart from Feb 2018.
Any ideas please? I suspect I am missing something simple and straightforward. I have attached the screener code if that helps.
Thank and regards.