Wealth-Lab Wiki

API ChartStyles Community Components Community Indicators IndexDefinitions Knowledge Base Misc Optimizers Pending Deletion PosSizers Providers Standard Indicators TASC Traders Tips TASCIndicators Tutorial Videos Visualizers
RSS

Navigation


Quick Search
»
Advanced Search »


Series is Below a Value

RSS

SeriesIsBelowValue: Indicator Documentation

Syntax


SeriesIsBelowValue(DataSeries ds, double num, int period)
SeriesIsBelowValue(DataSeries ds, double num, int period, string description)

Parameter Description

dsData series
numValue
periodPeriod for which the data series should be below the value

Description

Returns the number of consecutive bars that a DataSeries dshas been below a value num minus the Period bars.
  • To count the number of consecutive bars that the DataSeries has been below the value, use period = 1.
  • For any other period, SeriesIsBelowValue returns zero until the DataSeries has been below the value for at least period bars. After being below for period bars, SeriesIsBelowValue returns 1 and increments with each new bar that the DataSeries is below the value.

See also:
Series Is Above a Value
Series Is Below

Example

See Series Is Above a Value.

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.

Used under license from FMR Corp. Copyright 2008 FMR Corp. All rights reserved.


ScrewTurn Wiki. Some of the icons created by FamFamFam.