athanfx:
Scripts don't need a tick to run, they are mainly intended to run once and then exit, but if a loop is added within start() code can be made to execute more than once.
Hi
according to documentation start() is triggered every time a tick is coming in. Now when i run a script during a weekend i can see that start() does run/loop several times even there are no ticks at all since it is weekend.
Anyone know why that happens or could explain that to me? Or any link would be nice
Thanks
RaptorUK:
Scripts don't need a tick to run, they are mainly intended to run once and then exit, but if a loop is added within start() code can be made to execute more than once.
Scripts don't need a tick to run, they are mainly intended to run once and then exit, but if a loop is added within start() code can be made to execute more than once.
my fault. by saying script i meant custom indicator. what you said applies as well in custom indicators?
athanfx:
my fault. by saying script i meant custom indicator. what you said applies as well in custom indicators?
Nope, an Indicator's start() needs a tick to be called.
my fault. by saying script i meant custom indicator. what you said applies as well in custom indicators?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
according to documentation start() is triggered every time a tick is coming in. Now when i run a script during a weekend i can see that start() does run/loop several times even there are no ticks at all since it is weekend.
Anyone know why that happens or could explain that to me? Or any link would be nice
Thanks