Hi,
How do you add a module or a class ?
In Visual Studio, If I add a Class in a an indicator , I get the message in the powerlanguage .NET editor :
"Class1 not defined"
How do i declare it in VS ?
Emmanuel
If we add class, error : Class1 not defined [SOLVED]
Re: If we add class, error : Class1 not defined [SOLVED]
The format of the study file name is:TechName.TechType.cs(vb) where:Hi,
How do you add a module or a class ?
In Visual Studio, If I add a Class in a an indicator , I get the message in the powerlanguage .NET editor :
"Class1 not defined"
How do i declare it in VS ?
Emmanuel
1) TechName - the name of the study (must be equal to class name).
2) TechType - type of the study (Indicator, Strategy, Function)
When the new file with name that matches this template is created, MC will "pick up" it as new study.
Re: If we add class, error : Class1 not defined
Hi Dru
This is really interesting, It work !!!
I created a second indicator (a second class), then load this second indicator in the sub new of the first indicator.
This is cool !!!
Thanks
Emmanuel
This is really interesting, It work !!!
I created a second indicator (a second class), then load this second indicator in the sub new of the first indicator.
This is cool !!!
Thanks
Emmanuel