Creating custom indicator BourseRSI
Author: mikael
Creation Date: 10/1/2008 10:48 PM
profile picture

mikael

#1
Hi there

I was just copying over one of my indicators today that creates some basic series like the one below. But the compiler gets hung up on "new DataSeries", telling me that there is "No overload for method 'DataSeries' takes '0' arguments". OK, so I'm not getting the paradigm. Could someone help, please. What am I missing?

CODE:
Please log in to see this code.


Cheers
M
profile picture

Eugene

#2
In your example, there's not enough parameters to build the DataSeries - some inheritance required. To get started with creating custom indicators in the built-in editor, please refer to the WealthScript Programming Guide, Indicators, Custom Indicators, "How to: Create a "semi-formal" Custom Indicator".
profile picture

mikael

#3
Yes indeed. It goes beautifully now.

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