Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 05:43:45 +0000



Post From: ACSIL Question

[2017-01-09 19:02:05]
Entropy - Posts: 36
Hi,

I have made a few indicators now using ACSIL but this latest is a bit different. I think that I am not approaching this indicator in the right way and would like some insights into this. I am trying to do the following:

1. Download a XML file containing certain data (I have code using sc.MakeHTTPRequest() as well as Wininet)
2. Parse and sort the XML file and put the data into a vector
3. Display the data on the chart using UseTool

As separate parts they work but not as a whole. An ordinary indicator updates at each tick, but this indicator should basically download the file once per week, parse the data and display it based on day of week. It doesn't need to update at each tick.

What is the correct approach in ACSIL for such an indicator? Any ideas or pointers to solutions welcome!

Cheers,
Fred