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

RSS

SeriesIsBelow: Indicator Documentation

Syntax


SeriesIsBelow(DataSeries ds1, DataSeries ds2, int period)
SeriesIsBelow(DataSeries ds1, DataSeries ds2, int period, string description)

Parameter Description

ds1First data series
ds2Second data series
periodPeriod for which the 1st data series should be below the 2nd data series

Description

Returns the number of consecutive bars that Series1 has been below Series2 minus the Period bars.
  • To count the number of consecutive bars that Series1 has been below Series2 use period = 1.
  • For any other period, SeriesIsBelow returns zero until Series1 has been below Series2 for at least period bars. After being below for period bars, SeriesIsAbove returns 1 and increments with each new bar that Series1 is below Series2.

Example

See Series Is Above.

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.