PureBytes Links
Trading Reference Links
|
A peak is determined by me to have the following Characteristics
ref(h,-2) < ref(h,-1) and h<ref(h,-1) and ref(h,-1)>ref(close,-3)
A trough is determined to be as follows
ref(l,-2) > ref(l,-1) and L>ref(L,-1) and ref(l,-1)<ref(close,-3)
if 4 peak and 4 troughs are calculated, I want a trendline between the
nearest peak to the previous peak that is higher than it
If you look at an SPY chart
the peaks are 09/11/2002 and 09/17/2002 and on 08/27/02 and 8/30/02
the troughs are 09/24/02 and 7/24/02 and 09/13/02 and 09/05
the peaks of 09/11 and 09/17 need to be connected and also that of
08/30 and 09/11
the trough of 09/24 and 7/24 need to be connected. the trough of 09/05
and 09/13 needs to be connected.
|