Hi all,
Does anyone know/or how to create a rolling window counter before? I'm a bit puzzled on how its able to be created with storing the LTP over a 20 seconds period.
Rolling Window
- jamesedwards
- Posts: 4119
- Joined: Wed Nov 21, 2018 6:16 pm
Where I am using a counter from 1 to 10. I believe I need to set it up in a way where...
10 becomes 9 -> 9 becomes 8 -> 8 becomes 7.... 1 Becomes LTP.
The LTP is always being overwritten with the most up to date data.
I tired the counter method, that You helped me with and that was great, however It only collects the data in that window. I need it to be rolling.
10 becomes 9 -> 9 becomes 8 -> 8 becomes 7.... 1 Becomes LTP.
The LTP is always being overwritten with the most up to date data.
I tired the counter method, that You helped me with and that was great, however It only collects the data in that window. I need it to be rolling.
- jamesedwards
- Posts: 4119
- Joined: Wed Nov 21, 2018 6:16 pm
Do you mean you want the last 10 LTPs each with an individual SV? Or the last 10 LTPs at each second over a 10 sec period?Emtaxx wrote: ↑Tue Jul 29, 2025 3:34 pmWhere I am using a counter from 1 to 10. I believe I need to set it up in a way where...
10 becomes 9 -> 9 becomes 8 -> 8 becomes 7.... 1 Becomes LTP.
The LTP is always being overwritten with the most up to date data.
I tired the counter method, that You helped me with and that was great, however It only collects the data in that window. I need it to be rolling.
Yeah what I want is the 'the last 10 LTPs at each second over a 10 sec period' they need to be stored as SV tho I can run them through calcs
and when its goes onto the next second being 11 (or it resets back to 1), it forgets the old figure and replaces is with the new value.
and when its goes onto the next second being 11 (or it resets back to 1), it forgets the old figure and replaces is with the new value.
- jamesedwards
- Posts: 4119
- Joined: Wed Nov 21, 2018 6:16 pm
Emtaxx wrote: ↑Tue Jul 29, 2025 3:40 pmYeah what I want is the 'the last 10 LTPs at each second over a 10 sec period' they need to be stored as SV tho I can run them through calcs
and when its goes onto the next second being 11 (or it resets back to 1), it forgets the old figure and replaces is with the new value.
You do not have the required permissions to view the files attached to this post.