Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 01:53:18 +0000



Post From: Calculate a moving average based on a custom variable

[2020-06-17 20:36:31]
Ackin - Posts: 1865
Not sure why it works with this and not the other but I'm glad it works :)

An array is used when you fill it in one cycle. If the cycle is left, the pointer to that array is lost and a new declaration creates a new array .... for example, the content of another array or another study_array is loaded into the array ... or even what you wanted, but there would have to be a loop for filling values ..... But SG has an exact address, it's made as an array with a pointer to it ...

Simply use SG's and you won't have any problems ... when you'll improve your programming in the future, you will instead solve the performance and speed of the program and then you will to avoid autolooping and SG's.

have a nice day
Date Time Of Last Edit: 2020-06-17 20:42:25