gravity2726
Member
HI Rad,@gravity2726 The following code should work but you may want to add additional filters... There may be better ways to do this and I'll see what else I can come up with...
Ruby:def hist = reference TTM_Squeeze.Histogram; plot scan = if hist > 0 and hist[1] > 0 and hist[2] < 0 then 1 else Double.NaN;
Using the same code, how to capture the first yellow histogram using the code? Thanks