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


Quick Search
Advanced Search »


public HighestBar2(DataSeries ds, int period, string description)
public static HighestBar2 Series(DataSeries ds, int period)

Parameter Description

ds Source Series
period Lookback period for the highest value.


If more than one bar has precisely the same Highest value within the specified period, HighestBar2 returns the first occurrence of those bars. This differs from the native HighestBar function, which returns the most recent bar, i.e., the bar with the latest date/time.



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.