There is no way of knowing whether a tick will be the last tick of the bar
GumRai:
There is no way of knowing whether a tick will be the last tick of the bar
But you would know when the current bar will reach its time before new bar developed.
There is no way of knowing whether a tick will be the last tick of the bar
deysmacro:
But you would know when the current bar will reach its time before new bar developed.
But you would know when the current bar will reach its time before new bar developed.
Hello deysmacro, thanks for your response.
So this could be almost the same as knowing when the last tick of a bar is and then place an order just before new bar, correct? How could this be done?
Your help will be much appreciated.
Best regards and thank you,
codeMolecules
codeMolecules:
Sorry. Not the same. Every bar developed in a preset timing. So, get the timing and open new order in the last few seconds of the current bar.
So this could be almost the same as knowing when the last tick of a bar is and then place an order just before new bar, correct?
deysmacro: . So, get the timing and open new order in the last few seconds of the current bar. | And what if there is no tick in the last few seconds of the bar. During Asian session there can be many minutes between ticks |
WHRoeder:
I know the workaround. No need to depend on ticks.
deysmacro: . So, get the timing and open new order in the last few seconds of the current bar. | And what if there is no tick in the last few seconds of the bar. During Asian session there can be many minutes between ticks |
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello forum, good day.
Is it possible to know when the bar ends and place an order right at the last tick? I know that the easy way would be to wait until new bar event and do it on first tick, but I need to place the order right at the last tick/end of a bar. Could this be done?
Best regards and thank you,
codeMolecules