Build failed but no error in the Errors Log tab...

Questions about MultiCharts .NET and user contributed studies.
Tartalognion
Posts: 23
Joined: 17 Mar 2010
Has thanked: 20 times
Been thanked: 2 times

Build failed but no error in the Errors Log tab...

Postby Tartalognion » 31 Aug 2018

Hello,

I've created a signal and I went I wanted to compile it, The signal was Saved, but not verifed and No error was displayed, :cry:
I found the issue: I wanted to get the close of "n" bars ago, with Bars.Close[n], but I declared the "n" input as double instead of integer. :wink:

It would be nice to add a commentary for this kind of error in the errorlog tab or am I missing something?

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

Re: Build failed but no error in the Errors Log tab...

Postby Henry MultiСharts » 05 Sep 2018

Hello Tartalognion,

We were unable to replicate this behavior on our end. The error message was shown ok for this kind of code.
Please provide the complete code that does not produce this error.

Tartalognion
Posts: 23
Joined: 17 Mar 2010
Has thanked: 20 times
Been thanked: 2 times

Re: Build failed but no error in the Errors Log tab...

Postby Tartalognion » 05 Sep 2018

Hello Henry,
I've corrected the code and I don't remember in which signal I had the issue.
But nevertheless, It seems I get the same issue with some others codes. and closing and reopening the Editor does not change anything.
I've got the same problem with one code from Josh examples, in which I get the same problem.
I recommend his examples as they are very useful:
https://www.tradingcode.net

So because, this code has been created by Josh, I send it in a private message.
Thank you.


Return to “MultiCharts .NET”