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.
I don’t see anything wrong in the code. Do you have live data feed for that commodities? What timeframe did you used?
Thanks Nicolas.
I used daily and weekly time frames in this particular instance. However, after your reply I will check data feeds and make sure I am subscribed.
Regards