Occurrences of RecalcLastBarAfter()  [SOLVED]

Questions about MultiCharts and user contributed studies.
scotthkao
Posts: 31
Joined: 19 Feb 2014
Has thanked: 14 times

Occurrences of RecalcLastBarAfter()

Postby scotthkao » 02 Aug 2015

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!

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Occurrences of RecalcLastBarAfter()  [SOLVED]

Postby TJ » 02 Aug 2015

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.


Return to “MultiCharts”