Compiled study- Not registered as compiled VS 2012

Questions about MultiCharts .NET and user contributed studies.
JosephIM
Posts: 10
Joined: 21 Nov 2012
Been thanked: 1 time

Compiled study- Not registered as compiled VS 2012

Postby JosephIM » 21 Nov 2012

Hey I cant seem to figure out what my test strategy is wanting ot call compiled( perhaps I need to move the dll to a different working path )
I dont believe this to be the case as the test study I created does show up in MC.

When I try to add the study a MessageBox is shown that sayd its needs to be compiled? I certainly compiled in VS... Thinking it was a VS issue I open up PL editor and try "Compile" from there i dont get any indication it compiled or did not, other than the fact m test remains disabled with the red bang on it.

So how do I get MC to see a study as compiled(Yes I did make sure my project was set to .NET 3.5 in VS)???
Last edited by JosephIM on 21 Nov 2012, edited 1 time in total.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Compiled study- Not registered as compiled VS 2012

Postby Henry MultiСharts » 21 Nov 2012

Hello JosephIM,

Is Error list enabled in View tab of PowerLanguage .Net Editor?
Do you have any errors in it when you try to compile the study?

JosephIM
Posts: 10
Joined: 21 Nov 2012
Been thanked: 1 time

Re: Compiled study- Not registered as compiled VS 2012

Postby JosephIM » 21 Nov 2012

Errors tab has 0 errors, output window is blank. The footer is telling me build succeeded.

Dru
Posts: 107
Joined: 28 Aug 2007
Has thanked: 4 times
Been thanked: 171 times

Re: Compiled study- Not registered as compiled VS 2012

Postby Dru » 22 Nov 2012

Errors tab has 0 errors, output window is blank. The footer is telling me build succeeded.
First check the name of your class that inherits SignalObject for consistency with name of code file. Example: if my class name is "_Historical_Entry" then file name is "_Historical_Entry.Strategy.cs"

JosephIM
Posts: 10
Joined: 21 Nov 2012
Been thanked: 1 time

Re: Compiled study- Not registered as compiled VS 2012

Postby JosephIM » 22 Nov 2012

It looks like I have to use the "PowerLanguage.Indicator" namespace for the indicator to be seen as compiled. This just didn't seem like this was going to be the case since I was ale to see the type.


Return to “MultiCharts .NET”