Support Board
Date/Time: Mon, 25 Nov 2024 11:27:01 +0000
Post From: ACSIL global variables
[2014-01-30 07:08:15] |
User40117 - Posts: 56 |
ty, indd persistent is probably what i need. however, it is not clear to me how i would compute f.e. an average volume of all bars and define it as a variable. I cannot loop within sc.setdefaults because the data array is empty. the average volume is used in the loop but yet not defined... So i would need to go through all data first and when the persistent variable is defined the automated loop can start the calculations for the indicator... Not sure how to achieve this in a clean way. |