What if the user manages to cast 2 or 3 EAs in a second?
Well, actually this is unlikely.
Taras Slobodyanik:
the time will not give uniqueness - restart the terminal with Expert Advisors enabled - all will have the same time)
But here we have another song. When restarting the EA, the Expert Advisor must continue to work with its magician to maintain previously opened positions. So remembering will not be a problem.
This is a different story. When restarting, the Expert Advisor must continue to work with its magician to maintain previously opened positions. So remembering will not hurt.
I stopped at this variant for FOREX (FORTS without changes)
If someone comes up with a better one, please do not hesitate.
also changes on restart, and the EA will not be able to continue working with the same labels (unless you save them)
The uniqueness of each copy of the EA in parameters (inputs) and in the symbol. Then, the label does not need to be saved, it will be the same for the same Expert Advisor-parameters.
I've settled on this version for FOREX (FORTS without changes)
If someone comes up with a better one - you are welcome.
The question was on each position a unique magician. It occurred to me now. It is easier to take the last ticket and set it as a magik. I similar applied in the copier. Took the ticket of position from a server part and assigned it to position which was opened by magician in clients. Also works without any extra efforts.
The question went to each position a unique magician. Now I'm thinking. It's easier to take the last ticket and put it as a magik. I used the similar in the copier. Took position's ticket from server part and assigned it to position opened by magician in clients. Also it works without any extra efforts.
I have to have my own master for each order.
You are right, when you reload the ChartID will change, therefore, we do not need to save anything in Global Variables of the terminal.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
It won't work.
Same EA on the same (different) symbols.
Add all instances to a string (you can also add a period character),
If anyone has any ideas on how to get unique magiks for each order differently (without crutches), by
Please share.
Time, thank you, will give uniqueness to each EA and there is no need to link to ChartID() and path to the EA,
But you will still need to save wizard in Global Variable of the terminal.
Time will not give uniqueness - restart terminal with all EAs enabled - all will have the same time)
As an option, no headache.
What if the user manages to cast 2 or 3 EAs in a second?
time will not give uniqueness - restart the terminal with EAs enabled - all will have the same time)
Yes, exactly
What if the user manages to cast 2 or 3 EAs in a second?
Well, actually this is unlikely.
the time will not give uniqueness - restart the terminal with Expert Advisors enabled - all will have the same time)
But here we have another song. When restarting the EA, the Expert Advisor must continue to work with its magician to maintain previously opened positions. So remembering will not be a problem.
Well, it's actually not very likely.
This is a different story. When restarting, the Expert Advisor must continue to work with its magician to maintain previously opened positions. So remembering will not hurt.
I stopped at this variant for FOREX (FORTS without changes)
If someone comes up with a better one, please do not hesitate.
The Expert Advisor should have
ChartID()also changes on restart, and the EA will not be able to continue working with the same labels (unless you save them)
The uniqueness of each copy of the EA in parameters (inputs) and in the symbol.
Then, the label does not need to be saved, it will be the same for the same Expert Advisor-parameters.
I've settled on this version for FOREX (FORTS without changes)
If someone comes up with a better one - you are welcome.
The question was on each position a unique magician. It occurred to me now. It is easier to take the last ticket and set it as a magik. I similar applied in the copier. Took the ticket of position from a server part and assigned it to position which was opened by magician in clients. Also works without any extra efforts.
The question went to each position a unique magician. Now I'm thinking. It's easier to take the last ticket and put it as a magik. I used the similar in the copier. Took position's ticket from server part and assigned it to position opened by magician in clients. Also it works without any extra efforts.
I have to have my own master for each order.
You are right, when you reload the ChartID will change, therefore, we do not need to save anything in Global Variables of the terminal.