Is the following the correct manner in which to record the LAST POSITIVE value of an oscillator before the value becomes negative?
x=Osc>0; OscLPV=ValueWhen(x,LastValue(Osc),1); pstv_osc_val=IIf(x,Osc,Osclpv); TIA for any help in correcting the above. Regards R
