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
To the developers!
When working with the tabs of the strategy tester (placed on a separate monitor), the terminal always hangs (and deadlocked).
I have to close everything and restart the terminal.
Win XP SP3, KIS 2011.
The path to the folder with the injectors through the /i:<path> set?
If the path to the inluder in the script is specified in quotes, the script will compile. When <> is in triangle brackets, it doesn't. Tried all kinds of paths.
If the direction changes, the existing Out position is closed and the new In position is reopened.
If I remember correctly.
You do not remember correctly. Take a look at at least this;
POSITION_IDENTIFIER
Position_identifier is a unique number, which is assigned to each newly opened position and does not change throughout its lifetime. Reversal of a position does not change the position identifier.
long
Incorrectly remember. Take a look at at least this;
POSITION_IDENTIFIER
The position identifier is a unique number which is assigned to each newly opened position and does not change throughout its lifetime. Reversal of a position does not change the position identifier.
long
Well, we're talking about the immutability of the identifier here, not the position itself. The advice was given above.
Incorrectly remember. Take a look at at least this;
POSITION_IDENTIFIER
The position identifier is a unique number which is assigned to each newly opened position and does not change throughout its lifetime. Reversal of a position does not change the position identifier.
long
Theoretically, a position flip can be considered as a closing of an existing position + opening of a new one (by volume difference).
Then the identifier is simply inherited by the new position for the convenience (it is easier to trace what really happened).
But if we are specifically talking about MT5 and a reversal in it, then, given that the identifier has not changed - the position remains the same.
I see. But when you flip it, the comment should change anyway.
Yes, it is changed, to an empty line, i.e. the old one is deleted, but I would like it to be replaced by a new one, from the order.
Well, the identifier invariance means that the position is the same.
I see. Beginners aren't the only ones who prefer working with reference material to theory :)
One can of course assume that a long position, having turned into a short position, has remained "the same" long :) Or something like that. But such terminology will not be clear to everyone :)
Invariability of the identifier means that the trader has a market obligation after the trade, but what this obligation is ( Long or Short position) is another question.
I see. Beginners aren't the only ones who prefer working with reference material to theory :)
One can of course assume that a long position, having turned into a short position, has remained "the same" long :) Or something like that. But such terminology will not be clear to everyone :)
Non-changeability of identifier means that after the trade the trader has a market obligation, but what is this obligation ( Long position or Short position) is another question.
In any case, it is a request to Service Desk. Because it is unacceptable that the comment is not inherited during the rollover (especially if it is empty).
Personally, I would mark somehow the change of position type buy/sell, even if there is no comment in the transaction that made the flip (sl/tp is written in the comment on the server automatically).