Profile Picture

Indicators["indicator name"].createIndicator Error

Posted By tnew Last Year
Message
Posted Friday May 20 2016
If I try to create a Indicator like this:
Indicators["SMA200"].CreateIndicator(new SMA(200) );        I get a compile error " RightEdge.Common.ISeries does not contain does not contain a definition for 'Indicators' and no extension method 'Indicators' accepting a first argument"
This above code is shown in the API documentation on how to do this.  So, has this definition been removed in the newer version of Right Edge ?
I know how to do it another way  like this:   SMA200Day = new SMA((int) param["SMA Period"],Close)
However, I was wondering why it didn't work like the API shows.






Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems