Having a lot of trouble with some array processing. I want to compare the low points of a stochastic.
I define the reversal points as Trough_Def = StocK > Ref(StocK,-1) AND Ref(StocK,-1) < Ref(StocK,-2); shift the array by one bar Stoc_Low = Ref(Trough_Def,1); So far so good. Now I want to know which low points are higher than prior low. This is easy to do for the last two lows (or any two lows from the selected bar), but I can't figure out how to create an array with that info for the entire data set, so it can be used for backtesting. Thanks in advance Ara
