Greetings,
Log files are full of:
ERROR: Values length too low - indicator might not work correctly NUM1 NUM2
and indeed, indicators are not working on certain machines. Do you have an indication on what this error is and where it is originating from?
Thanks in advance,
Kind Regards,
Zoltan
Values length too low
-
- Site Admin
- Posts: 278
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: Values length too low
This means that in response to calculateValuesInRange indicator probably didn't return correct number of dots. There is also a known false-positive when user is zooming or dragging, so that can trigger those messages when there is actually no issue.
Could you please clarify "are not working" part? I could maybe give you some ideas.
In the case message is actually not a false-positive, I'd expect one of:
- no indicator data at all. First of all - make sure you don't forget to call setCompleted at some point
- indicator data is there, but it's shifted, usually to the left. Or it's not moving while chart is moving. That would be typical for "incorrect dots count" case.
Could you please clarify "are not working" part? I could maybe give you some ideas.
In the case message is actually not a false-positive, I'd expect one of:
- no indicator data at all. First of all - make sure you don't forget to call setCompleted at some point
- indicator data is there, but it's shifted, usually to the left. Or it's not moving while chart is moving. That would be typical for "incorrect dots count" case.
Re: Values length too low
One of my indicator package (Moving Average Package) is not displaying the lines for a client on DXFeeed. I cannot reproduce the issue and I asked for his/her logfile. In the logfile there is nothing related to my code, but I see tons of this error message. As we have discussed, it is hard to troubleshoot with DXFeed due to the signing requirement, therefore I am looking for clues what the issue might be. The client has one of my other packages, which is based on the the same Simplified API (and same moving average calculation classes) and it displays data, so no data calculation, pip size or other problems can be suspected. If you say that this Error can be ignored, that is fine, I will look elsewhere.
Kind Regards,
Zoltan
Kind Regards,
Zoltan
-
- Site Admin
- Posts: 278
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: Values length too low
With simplified API that error would be outside of your control anyway... Now, about DxFeed - is UI of the addon enabled? (if yes - it's whitelisted, otherwise it's not, which could be caused by, say, firewall blocking signature files download)