Indicator with calculation of value
Author: odeedo
Creation Date: 9/5/2010 5:48 AM
profile picture

odeedo

#1
Hi,
i want to write my own class of LinearReg. I created a lot of new indicators in my own "my.indicators" class.
As template i use Community.indicators which works fine for my projects.

But now i want to create a indicator which the need to calculated also values like

CODE:
Please log in to see this code.



In the Community.indicators i did not find any examples with this calculation methods as defined below.


CODE:
Please log in to see this code.



Is it possible to get an example/template for this method. It would be nice if this would be the LinearReg ;-)

Thanks Frank
profile picture

odeedo

#2
Like always, after searching for nearly a hour and than writing the problem in a thread you found the answer.
I found it here
http://personal.fidelity.com/products/trading/Trading_Platforms_Tools/pdf/Creating-an-Indicator-Library-in-Wealth.pdf

Sorry for taking your time.

Frank
profile picture

Eugene

#3
Right, Community Indicators are not using the Value method. You could find examples on coding a .Value method in the source code of TASCIndicators in the Wiki.