New MetaTrader 5 Platform Build 5260: Enhancements in Algo Forge, extended OpenBLAS support, and new inheritance rules in MQL5 - page 8
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Your question is unclear. To what are you referring? Can you elaborate?
Rodger all that; cept for the inference that you could not remove them or they couldnt be hidden or removed; as i have had them hidden/removed from almost as many years and builds that they were there. I have just forgotten how i did it, OR the ability i had was disabled in this latest build. I will keep searching. As i am sure that i still had the Ask and bid price showing at end of my tests, therefore changing the colours of these couldnt have been the way i hid them in the past.
Why ? Different scope, it's all ok. It's like that since a very long time.
EDIT: If you really want to hide them, then set the chart colours (F8) for the Ask price line and Bid price line to the "None", but I don't think that is very practical.
I now think that you are correct here; I think I had to have done just this, as you said: changed the colour of Bid and Ask to None, since I would have no reason to see these during a backtest.
Thanks for your "EDIT"(s). and NOTE: I only ever use real ticks mode.
Thank you for your message.
In the tooltip all integers type were interpreted as ulong.
I changed this behaviour, all integer type values will cast to the nearest unsigned type (special 1 bit integer type for bool) before output to the tooltip
Also for a double type values "%.16g" will be used instead of "%.15g" for the tooltip
The watchlist uses RYU for a double type values (IMHO it is fastest and precize algorithm)
Dear Ilyas,
I don’t think the watchlist is actually using RYU. In RYU’s implementation, you don’t manually specify "%.16g" or "%.15g" (see here ).
From what I see, the watchlist still relies on plain C printf() :
"%.17g" for the displayed value in the watchlist
"%.15g" for the tooltip
The displayed values are always correct (though often longer than needed). The tooltip is shorter but sometimes wrong (BUG).
RYU’s Dtoa() would automatically pick the shortest and correct format ( "%.15g" , "%.16g" , or "%.17g" ) to ensure round-tripping. If RYU were used, the tooltip would show 0.30000000000000004 , consistent with the Expert log output.
I posted about this issue before, but it’s still unresolved. :(
Edited:
I suggest to use RYU for the displayed value. The tooltip will show the hex representation of double.
Dear Ilyas,
I don’t think the watchlist is actually using RYU. In RYU’s implementation, you don’t manually specify "%.16g" or "%.15g" (see here ).
From what I see, the watchlist still relies on plain C printf() :
"%.17g" for the displayed value in the watchlist
"%.15g" for the tooltip
The displayed values are always correct (though often longer than needed). The tooltip is shorter but sometimes wrong (BUG).
RYU’s Dtoa() would automatically pick the shortest and correct format ( "%.15g" , "%.16g" , or "%.17g" ) to ensure round-tripping. If RYU were used, the tooltip would show 0.30000000000000004 , consistent with the Expert log output.
I posted about this issue before, but it’s still unresolved. :(
Edited:
I suggest to use RYU for the displayed value. The tooltip will show the hex representation of double.
I do agree there is something unclear in Ilyas message (Watchlist is not using RYU, Ilyas probably confused Watch list and tooltip in his answer), though I think you are wrong to say the tooltip should be 0.30000000000000004, 0.3 is correct RYU value.
The RYU algorithm is designed to find the shortest, correct decimal representation that, when converted back to a floating-point number, yields the original bit pattern.
I do agree there is something unclear in Ilyas message (Watchlist is not using RYU, Ilyas probably confused Watch list and tooltip in his answer), though I think you are wrong to say the tooltip should be 0.30000000000000004, 0.3 is correct RYU value.
Execuse me Alain, 0.30000000000000004 is the actual return value from RYU library. It is consistent with the Expert log output.
You can test yourself:
I don't have the souce code. Ilyas can confirm the issue.
The RYU algorithm is designed to find the shortest, correct decimal representation that, when converted back to a floating-point number, yields the original bit pattern.
Here, the shortest string may have 1,2,.. up to 17 significant digits. RYU only picks the shortest string that round-trips (when converted back to a floating-point ...)
The MQL 5 Print() uses the RYU algorithm since build 3210.
Debugger watchlist window / tooltip still do not. (rely on plain C wsprintf).