Libraries: AutoMagic

 

AutoMagic:

The library allows to automatically assign 'magic' to an Expert Advisor on any symbol and any timeframe. It allows having up to 65535 magic numbers in one Expert Advisor.

AutoMagic

Author: prostotrader

 

AutoMagic FORTS library

IMPORTANT! Intended for use ONLY on FORTS

Cannot be used on the same symbol at the same time - it will be the same Magic

100% inconsistency with other Magic in the terminal

One Expert Advisor has 65536 100% unique Magic(s).

What is the purpose of this library?

Let's assume that the Expert Advisor sent 20 pending orders with the OrderSendAsync() command,

but we have not received any response from the server (tickets). All 20 orders belong to a single symbol,

knowing the unique Magic(s) that we assigned to each order, we can easily correctly assign to these orders

to their tickets.

Библиотеки: AutoMagic
Библиотеки: AutoMagic
  • www.mql5.com
AutoMagic: Автор: prostotrader...
Files:
 
The larger the shift, the more likely it is that the magic(s) will match in the terminal.

Why do you need such a library? Which cannot perform the task it is supposedly intended for.

Why only on OOOOOORTS? As opposed to non-FOOOOORTS?

 
prostotrader:

...

You can't use it on the same symbol at the same time, it's the same Magic.

...

To do this, you just need to check the symbol, then you do not have to worry about inventing magicians. By the way, the performance will be higher if only one Expert Advisor works on one symbol, then you can not check the magic at all, but only the symbol.

Using a chart handle to form a magik means that in case of accidental chart closing, orders will be lost.

 
prostotrader:

AutoMagic FORTS library

IMPORTANT! Designed to be used ONLY on FORTS

Cannot be used on the same symbol at the same time - it will be the same Magic

100% inconsistency with other Magic in the terminal

One Expert Advisor has 65536 100% unique Magic(s).

What is the purpose of this library?

Let's assume that the Expert Advisor sent 20 pending orders with the OrderSendAsync() command,

but we have not received any response from the server (tickets). All 20 orders belong to a single symbol,

knowing the unique Magic(s) that we assigned to each order, we can easily correctly assign to these orders

exactly their tickets.

Download link

https://www.mql5.com/ru/forum/168857 

How is it possible to post code to kodobase so quickly?

I tried to publish my time synchronisation code, it took two weeks, moderators ignored it, so I changed my mind.

 
Dmitry Fedoseev:

So why do you need such a library? Which can't fulfil the task for which it is supposedly intended.

Why only on UNFOOORTS? As opposed to non-FOOOOORTS?

Dimitri, post your side of the story. That you're stalking a man?
 
Sergey Chalyshev:

How do you manage to post your code to kodobase so quickly?

I tried to post my time synchronisation code, it took two weeks, moderators ignored it, so I changed my mind.

Was it during the New Year holidays? Moderators are people too and were on holiday, so much stuff was accumulated during that time that it took them 2 weeks to sort it out.