PureBytes Links
Trading Reference Links
|
I'm wanting to find the last
peak based on a fixed number of points, rather than percentage. So I set a
variable to the fixed points value I want divided by the high * 100 togive
me a percentage to use in the peak formula. But I get an error. Maybe the
function needs a value not subject to fluctuation for its
underlying calculations. Is there a way I can use this function with a fixed
number of points?
MinRetracement = <FONT
color=#ff00ff>6/C * 100 ; Thisgives a
value of 1.2 percent when C =500.
PeakValue = <FONT
color=#0000ff>Peak(H,1.2,1) ; This
finds the peaks like I want, when price is in the range of 500.
PeakValue Peak(H,MinRetracement,1); Gives
an error.
Any ideas welcome.
Esteban
|