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

KEVINP

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

QUOTE:
Syntax

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: http://www2.wealth-lab.com/WL5WIKI/LinearReg.ashx

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

Eugene

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

CODE:
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).