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
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: