Hi
I've been looking at this indicator and while all the other components seem to work as expected, the .ChinkouSpan seems incorrect. While the tooltip and display look 'sensible' the value returned from the .ChinkouSpan(26) function seems to be stuck at 1.79+308?
Even with this simple version from Mohamed Abdelmaaboud's article, www.mql5.com/en/articles/11081 does not seem to work correctly?
I've attached a screen grab, the plot looks correct, as does the tooltip, it's the value returned that seems incorrect?
There was another post about this back in 2011, but with no solution as to why the value is stuck, other than to refresh, which as you can see is being done.
Can anyone help with this please? Does anyone get the same display? Is this a bug or something I have missed?
Thank you.
Here is his code:
Ok, so I have tracked this down a little further. When I use my broker data it works fine. When I use custom data I downloaded from TickStory I get the error.
So am I correct in assuming there is some error in the data?
Thank you.
Hi
I've been looking at this indicator and while all the other components seem to work as expected, the .ChinkouSpan seems incorrect. While the tooltip and display look 'sensible' the value returned from the .ChinkouSpan(26) function seems to be stuck at 1.79+308?
Even with this simple version from Mohamed Abdelmaaboud's article, www.mql5.com/en/articles/11081 does not seem to work correctly?
I've attached a screen grab, the plot looks correct, as does the tooltip, it's the value returned that seems incorrect?
There was another post about this back in 2011, but with no solution as to why the value is stuck, other than to refresh, which as you can see is being done.
Can anyone help with this please? Does anyone get the same display? Is this a bug or something I have missed?
Thank you.
Here is his code:
The library is already taking the shift into account, your code to get the current values should be :
double SpanAVal= Ichimoku.SenkouSpanA(0); double SpanBVal= Ichimoku.SenkouSpanB(0); double ChikouVal= Ichimoku.ChinkouSpan(0);
Hello,
I am getting the same error, even when I call Ichimoku.ChinkouSpan(0).
I observe this behaviour starting from period H8 and upwards, while everything works fine between M5 and H4.
The number you keep seeing is the highest existing double value DBL_MAX, also known as EMPTY_VALUE.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
I've been looking at this indicator and while all the other components seem to work as expected, the .ChinkouSpan seems incorrect. While the tooltip and display look 'sensible' the value returned from the .ChinkouSpan(26) function seems to be stuck at 1.79+308?
Even with this simple version from Mohamed Abdelmaaboud's article, www.mql5.com/en/articles/11081 does not seem to work correctly?
I've attached a screen grab, the plot looks correct, as does the tooltip, it's the value returned that seems incorrect?
There was another post about this back in 2011, but with no solution as to why the value is stuck, other than to refresh, which as you can see is being done.
Can anyone help with this please? Does anyone get the same display? Is this a bug or something I have missed?
Thank you.
Here is his code: