Thanks for all the usefull links
One thing that aint all clear to me. Is it possible to have an all code setup?
I was of the understanding that I could start the batch script (ArconeTest.js) via cmd. And it would run as a cron job, and trigger once a day to run my strategy.afl... ?
What is the console command to start running a JScript?
I have still not figured out how to start my amibroker trading system via console. Maybe its not possible?
How is it possible to download multiple symbols?
I have managed this using a chart button. When the symbols are downloaded the script only run for the selected symbol and not all the other symbols downloaded. How can I on download trigger update on all symols?
Please read the batch help of upper provided link. Internal batch processor has internal scheduler.
(As aside you can also add jscripts/vbscript/py/exe... to internal batch command).
For example you may execute jscript from batch via Execute and Wait command and adding script path to Parameter/file field:
Or use any other external 3rd party scheduler to run your custom jscripts or vbscripts (see windows task scheduler or whatever).
Your choice.
I did not help you on that code (and it does not make sense to me as proper one is to be found in KB article of previous post's link already). You do not need to iterate to check for new bar added to DB.
The code example provided in the link did not work as needed. The iteration is to handle any previous bars if the system have not been running for a few days.