Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 03:11:12 +0000



Post From: Code optimization

[2021-09-12 18:11:02]
User907968 - Posts: 823
Consider enclosing the button configuration details in a conditional block as described here - ACSIL Programming Concepts: One Time Calculations That Do Not Run During Study Updating

Maybe consider reworking the code to use manual looping - Working with ACSIL Arrays and Understanding Looping: Manual Looping/Iterating

In either case the aim would be to revise your code so as to only call configuration details once, as it is now they are called for each and every chart bar.
You should find that this change reduces the initial calculation time to single digit milliseconds.
Date Time Of Last Edit: 2021-09-12 21:17:45