G001: I don't know, that's why I showed how I take Ask and Bid.
Then print out every variable that is involved in forming the trigger price of the pending order, as well as that price itself before sending the trade request. ..Do you reset the gequest variable to zero before each use?
How to determine the opening time of the next bar, i.e. the one that hasn't been formed yet?
Also: how to round the time received in ChartXYToTimePrice() to the open date of the bar (even if this bar does not exist yet) if the cursor is in the future then CopyTime does not work because it will in any case show the open date of the last existing bar.
do not use comparison with TimeCurrent().
--------------------------------------
SOLVED
-----------------------------------------
+ is it possible to remove warnings about possible data loss due to implicit type conversion?
SkyTreker: Does anyone know how to download historical data from a csv file ? Is it possible? Because the default history is of very poor quality in some places.
If I'm not mistaken, it has been repeatedly stated that no third-party history is allowed. It was advised to ask your broker about the completeness of the history.
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.
Again. Such miracles...
What kind of price is that?
Right?
How to determine the opening time of the next bar, i.e. the one that hasn't been formed yet?
Also: how to round the time received in ChartXYToTimePrice() to the open date of the bar (even if this bar does not exist yet) if the cursor is in the future then CopyTime does not work because it will in any case show the open date of the last existing bar.
do not use comparison with TimeCurrent().
--------------------------------------
SOLVED
-----------------------------------------
+ is it possible to remove warnings about possible data loss due to implicit type conversion?
it's swearing at fmod like that double.
it's just nonsense - my entire error window is covered with such nonsense and i can't see if anything has been added.
or there are only 2 variants? all by doubles or double -->> string -->>integer, taking only integer part? but it is irrational and slow
Try it this way: