I have a question about static variables. Do they have a performance advantage over global variables (as they are functionally equivalent to them) and over local variables?
then: insert into eurousd(ASK, BID) values(1.349,1.3489);. I.e. 4 decimal places ! I wouldn't like to use conversion function to string, because it's preferable to have double type in database. What may be the problem?
So the argument of the print function is already a string, not a double. The point is that if you don't use the DoubleToStr function, then StringConcatenate truncates the characters.
fevrall>>: Так в аргумент функции print попадает уже строка, а не double. Суть в том, что если не использовать функцию DoubleToStr, то StringConcatenate обрезает знаки.
The argument of the print function is a command to print a string and two doubles consecutively. Both doubles are truncated.
Feel free to put double in the base, since the conversion to string shows that the required precision is there.
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.
tick=OrderSend(Symbol(),OP_BUYLIMIT,volume,Fibo_138,0,0,Fibo38,NULL,magic,0,Red);
I have a question about static variables. Do they have a performance advantage over global variables (as they are functionally equivalent to them) and over local variables?
Outputs five decimal places: 1.34869.
And, if without the DoubleToStr function
then:
insert into eurousd(ASK, BID) values(1.349,1.3489);. I.e. 4 decimal places !
I wouldn't like to use conversion function to string, because it's preferable to have double type in database.
What may be the problem?
then StringConcatenate truncates the characters.
Так в аргумент функции print попадает уже строка, а не double. Суть в том, что если не использовать функцию DoubleToStr,
то StringConcatenate обрезает знаки.
The argument of the print function is a command to print a string and two doubles consecutively. Both doubles are truncated.
Feel free to put double in the base, since the conversion to string shows that the required precision is there.
With DoubleToStr the database gets what it needs.
How can the indicator window be programmed as a narrow strip
Как можно окно индикатора програмно сделать в виде узкой полоски
The cluster type?
It's crude but it'll do as an example, it's roughly from a landfill, so check it out.