|SYNTAX||LLVBars( ARRAY, periods )|
|FUNCTION||Calculates the number of periods that have passed since the ARRAY reached its periods period trough. The function accepts periods parameter that can be constant as well as time-variant (array).|
|EXAMPLE||The formula "llvbars( close,50 )" returns the number of periods that have passed since the closing price reached its 50 period trough.|
The LLVBars function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.