When I use the visual mode, indicators are drawing values that are the same as when I print the values in the log. Unfortuanltelly, when I don't use the visual mode, indicators change the drawing values and they do not correspond to the ones from the log(Print function was used).
Here are the pictures of the approx. same time, you will understand looking at the first buy position opened.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Here is the problem:
When I use the visual mode, indicators are drawing values that are the same as when I print the values in the log. Unfortuanltelly, when I don't use the visual mode, indicators change the drawing values and they do not correspond to the ones from the log(Print function was used).
Here are the pictures of the approx. same time, you will understand looking at the first buy position opened.
Any ideas on why this happens?