Support Board
Date/Time: Tue, 04 Nov 2025 03:26:15 +0000
Post From: ACSIL help please. :)
|   [2023-03-30 13:53:49]     |  
| ondafringe - Posts: 328 | 
| 
                You don't actually need two arrays, just one with two dimensions. First dimension contains two elements, one for positive D and one for negative D. Second dimension contains X sub-elements for the look-back period. At the end of every bar, you could use a for-loop to move each sub-element value back one place (9 to 10, 8 to 9... 1 to 2, 0 to 1), then put the current bar's value into the first sub-element at 0. That would give you a rolling X bar look-back period.
                 Date Time Of Last Edit: 2023-03-30 14:07:10  
             | 
        
