New Low

See Also...

Related Topics

 

 

Description

This function determines whether the current low is a new low.

 

 

Formula

NewLow(instrument, distance)=begin

  bNewLow = FALSE

  targetBar = 0

  cLow = GetPrice(instrument, BATE_LOW, targetBar, 0)

  if vchart(disttomin(instrument.low,0,distance)[-1])<distance then begin

  if cLow < vchart(instrument.low) then bNewLow = TRUE

  end

  bNewLow

end

 

 

Parameters

instrument

An instrument.

 

distance

The number of bars to test.

 

 

Return Value

TRUE or FALSE

 

 

Examples

...

  if NewLow($1, targetBar) then begin

...

 

 

Comments

NA

 

©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.