I'm wondering-- is there a function (?) that would allow me to set a minimum number of conditions that must be met/true in order for the overall statement to be true, within a watchlist scanner? For example, if I have 5 possible conditions, I'd like to set an alert that will trigger if any 4 of them are true, but at least a total 4 of them must be true. So not a simple OR/AND logic condition.
For instance, if the 5 (completely hypothetical) conditions were: close > 5.25; close[1] > open[1] * 1.05; Average(HL2, 7)[1] > Average(open, 9)[1]; MovAvgExponential(price = HL2, length = 3)[1] > Average(HL2, 7)[1]; and volume[1] > 10000, is there a function that would allow me to set the minimum number of conditions that must be true (like 4 out of any of these 5, etc.) in order to trigger a watchlist scanner alert?
Thank you,
JRD
For instance, if the 5 (completely hypothetical) conditions were: close > 5.25; close[1] > open[1] * 1.05; Average(HL2, 7)[1] > Average(open, 9)[1]; MovAvgExponential(price = HL2, length = 3)[1] > Average(HL2, 7)[1]; and volume[1] > 10000, is there a function that would allow me to set the minimum number of conditions that must be true (like 4 out of any of these 5, etc.) in order to trigger a watchlist scanner alert?
Thank you,
JRD