DOWNSTEPSBARS(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 step downwards within periods since

Number of periods backwards to the n:th step downwards in the data series d within p periods

Data serie, referens backwards in data series or return value from other function returning data series

Periods

step # or zero for the function to count all steps within the periods and return

Percentage for least size of step. Exclude or set to zero to ignore.

Data series with number of periods to the n:th step, or number of steps within the range if parameter 3 is zero.

-

DOWNSTEPS(C,100,1) returns the period backwards to the nearest step downward within 100 periods. DOWNSTEPS(C,100,1,2) demands 2% price movement to count the step.

GT(DOWNSTEPS(L,20,2),C) turns TRUE if step #2 in the Low-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