
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
Why? ENUM_DEAL_ENTRY describes all possible "ways". Just because no mention is made of reducing the position size by DEAL_ENTRY_OUT does not mean that the enumeration needs to be expanded.
Again, repeating question #2: How do I currently identify trades that have reduced the volume of a previously open position (without closing or reversing the position)?
And as I wrote above, doesDEAL_ENTRY_OUT not work in this case?
I.e., according to your version, deals which resulted in reduction of volume of previously opened position (without closing the position), should be identified "due to DEAL_ENTRY_OUT"?
I can't answer your question, because I have no information about how information about properties of deals is formed.
I.e., according to your version, deals which resulted in reduction of volume of previously opened position (without closing the position), should be identified "due to DEAL_ENTRY_OUT"?
I cannot answer your question, because I do not know how information about properties of deals is formed.
Well, logically, why don't you ask the same question about refilling a position? It is denoted by the same member of the enum, as the initial market entry -DEAL_ENTRY_IN. You don't suggest for some reason to complete the listing in this case, do you? And on the occasion ofa partial withdrawal youmissDEAL_ENTRY_OUTfor some reason.
Please answer at least one of my questions :) For example, on the last one:
according to your version, deals that resulted in reduction of volume of previously opened position (without closing the position) should be identified "at the expense of DEAL_ENTRY_OUT"?
Otherwise you constantly ask new questions instead of answers - forcing me to think for you, what you mean by that. And I would like to get clear answers instead of guessing.
DEAL_ENTRY_IN entry or refill
DEAL_ENTRY_OUT closing partial or full (exit).
Although not...Partial is realized by entering the market ( IN ) in the opposite direction...
Good evening, will it be a mistake to use numeric values of the int type instead ofENUM_TIMEFRAMES?
A function has a set of parameters of a well-defined type. If a parameter of a different type is inserted, it will be an error. The compilerwill generallyreport an error, but not always. For instance:
Generally, do any specific values correspond to periods?
Yes, each period corresponds to a certain value. Somebody posted it on the forum a couple of years ago. You can find it out on your own by running a line similar to the one below:
DEAL_ENTRY_IN entry or topping up
DEAL_ENTRY_OUT partial or full close (exit)
Thank you for your clear answer. It turns out that the Reference contains incomplete information about the value of DEAL_ENTRY_OUT property, since only a complete closing of a position is attached to this property at the moment. Right?
Next. If the value of DEAL_ENTRY_OUT means either complete closing of a position or reduction of the position volume without closing, then how can we determine whether a trade withDEAL_ENTRY_OUT resulted in closing of a position? According to the current version of the Handbook, everything is clear: if a deal has the DEAL_ENTRY_OUT property - it closed it. But according to your version, the mere presence of this property does not mean anything, and we have to make up some additional checks.
OK... I've tried everything. Let's look at an example so as not to get confused.
1.Entry into the market - IN.
2.Adding more IN.
3А. Closing of all positions (press Close - sell will work) - OUT.
3Б. Closing partially by opening of half of the sell - OUT.