[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coding swing highs/lows of an indicator?



PureBytes Links

Trading Reference Links

Is it possible to calculate swing highs and lows for indicators?  I'm trying
to code a bearish divergence in a Stochastic Oscillator, which Murphy
defines as divergence between %D and the underlying price when %D is in the
overbought range and forms 2 declining peaks as prices continue higher.  I'm
having trouble defining the '2 declining peaks' part.  Any ideas/is it even
possible?

Peter