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,
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.
It would be nice to add a commentary for this kind of error in the errorlog tab or am I missing something?
Build failed but no error in the Errors Log tab...
-
- Posts: 23
- Joined: 17 Mar 2010
- Has thanked: 20 times
- Been thanked: 2 times
- 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...
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.
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.
-
- 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...
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.
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.