
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
Another option is to consider the opening price to be the price that was formed in the previous price range. The example of opening markets has shown that this is incorrect.
Don't attribute this nonsense to me. I repeat:
The market for each FI opens at the moment when the offer price for that FI appears. In the same FOREX the market does not open for all FI at once.
You yourself have derived the rule: "No price, no bar".
If the market was open, but there was no liquidity (sellers or buyers), there was no price. There was either "ask price" or "bid price", but in the absence of one of the parties of the deal - the price was absent, there was only the price of the previous period.
And it is correct, when the decision about the price in case of multi-currency synchronization is made by the TS itself, not by the terminal. Because the question of what is the price in case of absence of the price is an ambiguous one.
OK, Andrew, you've almost convinced me.
Then let the terminal fill the bars missed by the growler with NAN - I agree! But it does not remove them from the time series irreversibly (by standard means). All I need is a standard synchronization tool. I will decide for myself what to fill the "undefined" bars with. Even (at least) I am ready to agree to not display the missed bars, although it does not allow me to visually compare the charts of different instruments.But I need synchronized (by bar number) quotes for calculations. So my question is - am I the only original developer or does anyone else need them? What percentage of those in need? Does this percentage grow or shrink? And finally, which compiler generates faster code - MQL5 or C++?
The market for each FI opens when there is a supply price for that FI. In FOREX, the market does not open for all FIs at once.
Well, then the only thing to do is to force all market participants to act exclusively at the same time.
One of the questions of multicurrency strategies is whether it is correct to consider at a given moment in time the last price that took place so and so long ago to be adequate.
One of the issues with multi-currency strategies is whether or not it is correct to consider at this point in time the last price that took place so long ago to be adequate.
Absolutely correct if the past price refers to the current trading session. Take potato pricing again.
Correct when you take the past price into account when making decisions in the current session, but it is incorrect to relate the past session price to the current session.
Isn't that what it says here?
Absolutely correct when you relate the past price to the current trading session. Again, take the pricing of potatoes.
Tell me one flaw in this bar formation model:
A new minute arrives - a bar is formed, the opening price of which is the bid price at the time of the new minute. In this case, if the offer price is not available at the moment of the new minute (opening of a trading session), a bar is not formed, or is formed with the value NAN (for the opening price, as High, Low and Close can already be). Bars during a closed trading session are not formed.
Tell me one flaw in this model of bar formation:
A new minute comes - a bar is formed, the opening price of which is the bid price at the time of the new minute. In this case, if the offer price is not available at the moment of a new minute (opening of a trading session), the bar is not formed, or is formed with the value of NAN. Bars during a closed trading session are not formed.
Highlighted is incorrect based on the definition of price. You constantly equate"price of the last transaction" with "price of a transaction that has not yet taken place". Not only that, we have already made one questionable assumption when we equate "price of last deal" with "offer price". Do you keep starting to build the bar on "bid prices"? What are these prices? How do we know them?
You keep attributing some nonsense to me, which you read between the lines. Here is a concrete example of the implementation of my suggestion
Another example:
For this example, we have three bars:
Where is the flaw?
OK, Andrew, you've almost convinced me.
Then let the terminal fill the bars missed by the growler with NAN value - I agree!!! But it does not remove them from the time series irrevocably (by standard means). All I need is a standard synchronization tool. I will decide myself what to fill the "undefined" bars with.I can even (at least) agree to not display the missed bars, although it deprives me of the possibility to visually compare the charts of different instruments. But for calculations, I need synchronized (by bar number) quotes.