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


Name

Kommentar

Name

Description

Parameter 1

Parameter 2

Parameter 3

Parameter 4

Returns

Comment

Example

n:th step downwards within periods since

Price for 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 sersie with price for n:th step, or number of steps within if parameter 3 is zero.

-

DOWNSTEPS(C,100,1) returns the price for 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 has a lower price than the last  Close

Tips for graphics


Placement

Scaling

Price bars if stand alone function, otherwise any.

Automatic