I am trying to get the minimum value of a group of variables, say the range of the last 5 bars (range1, range2, range3 etc). I tried calling the Math.Min Function but it only allows 2 variable inputs. Is there any easy way to get the minimum value of variables (I know how to do it for Price data series, with MIN and MAX).
Also if I wanted to write my own method to execute such a function how would I do so? I have tried to use the custom event handler with no success as well as inputting my own code for a method but I keep getting errors.
Thanks so much
Comment