TOPBARS(d,p,n,n2)
Previous Topic  Next Topic 


Name

Comment

Name

Description

Parameter 1

Parameter 2

Parameter 3

Parameter 4

Returns

Comment

Example


n:th top within periods since

The number of periods back that has the n:th top in dataseries d within p periods

Dataseries, reference back in dataseries or return value from other function returning dataseries

Periods

Top #

Percentage for least top found on either side. Excluded or zero to ignore

Dataseries with number values for periods back to the n:th top

Excellent to find tops

TOPBARS(C,10,1) gives what period back is closest top within 10 periodes.
TOPBARS(C,20,1,10) demands 10% price movement on either side of top.

GT(TOPBARS(H,20,2),10) returns TRUE if top #2 in High-series is farther away than 10 periods and within 20 periods

Tips for graphics


Placement

Scaling

Price bars if stand alone function. Otherwise any

Automatic