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 »


Year To Date Gain

RSS

Syntax

public YTDGain(DataSeries ds, string description)
public static YTDGain Series(DataSeries ds)

Parameter Description

ds Data series

Description

This indicator, originally created by Robert Sucher for WL4, calculates the YTD (Year To Date) change, in %, of a symbol's last Closing price compared to the last Close of the previous year (or some other Data Series).

Note that it will only work when the data crosses over from one calendar year to the next. Thus, it will neither work for IPOs if the entire data series is within one year, nor will it work for any other security until the displayed data crosses into the next year.

Example

No example currently available.

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.