How do I use in code the first form of the syntax example as seen on many Wiki pages?
Author: KEVINP
Creation Date: 10/3/2015 12:04 AM
profile picture


Many, but not all, indicators on the Wiki website show syntax examples like the following for LinearReg:


public LinearReg(DataSeries ds, int period, string description)
public static LinearReg Series(DataSeries ds, int period)
public static double Value(int bar, DataSeries ds, int period)

Here is the link to the LinearReg Wiki page:

How do I use the first example in code with the description parameter? I have not seen the first example anywhere. Also, please show me some links with examples.

Thank you.
profile picture


I'm sure you've seen the description without realizing it, for instance, in the QuickRef > DataSeries object. Here's an example:

Please log in to see this code.

This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).