Suppose there are five ticks as follows:
tick 1 - 10:00:01
tick 2 - 10:00:02
tick 3 - 10:00:03
tick 4 - 10:00:04
tick 5 - 10:00:05
and I run my script with IOG on and call RecalcLastBarAfter(10) for each tick calculation.
In ten seconds, will there be five re-calculations accordingly?
Or will the last take precedence over the others (hence only one recalculation will take place)?
Thanks a lot!
Occurrences of RecalcLastBarAfter() [SOLVED]
- TJ
- Posts: 7746
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2225 times
Re: Occurrences of RecalcLastBarAfter() [SOLVED]
Suppose there are five ticks as follows:
tick 1 - 10:00:01
tick 2 - 10:00:02
tick 3 - 10:00:03
tick 4 - 10:00:04
tick 5 - 10:00:05
and I run my script with IOG on and call RecalcLastBarAfter(10) for each tick calculation.
In ten seconds, will there be five re-calculations accordingly?
Or will the last take precedence over the others (hence only one recalculation will take place)?
Thanks a lot!
No forced recal will take place.
Please read the definition again carefully.