Support Board
Date/Time: Tue, 04 Nov 2025 12:37:55 +0000
Post From: Max/Min of more than 2 ScFloatArrays
|   [2021-02-18 17:15:02]     |  
| Nick_ON_CAD - Posts: 22 | 
| 
                Could someone please point me in right direction?  Would be greatly appreciated. Subgraph_PriceOverlayMax[BarIndex] = max(Study1Array[BarIndex], Study2Array[BarIndex], Study3Array[BarIndex], Study4Array[BarIndex], Study5Array[BarIndex], Study6Array[BarIndex], Study7Array[BarIndex]); This is what I'm trying to accomplish but I realize that max() only takes two parameters. I want a reference to the highest/lowest subgraph. What is the preferred way to find min/max of a >2 arrays, in ACSIL? Most of my experience is in Python and having a hard time finding an example in any of the SC code - tried to use std:max() with initializer list but won't compile. Thank you, Nick  | 
        
