If I use graphics in my code, I add a static identifier and sometimes (to resolve conflicts) a dynamic identifier.
This is what it looks like:
// статический идентификатор#define ID "RC GID "// динамический идентификатор -- для индикаторовint DynamicID;
int init()
{
// все индикаторы работают в одном потоке. Миллисекундное зависание позволит получить на 100% уникальный идентификатор
Sleep_(1);
DynamicID = GetTickCount();
}
void Sleep_(int mSec)
{
if (mSec > 100) mSec = 100; // долго циклиться в индюках нельзя -- чреватоint start = GetTickCount();
int now = start;
while (now - start < mSec)
{
now = GetTickCount();
if (now < start) // на случай переполнения
{
start = now;
}
}
}
int start()
{
// формирование имени любого объекта индюкаstring name = ID + DynamicID + " Start Line";
//...
}
int deinit()
{
// удаление по маске всех объектов индюкаfor (int i = ObjectsTotal() - 1; i >= 0; i--)
{
string name = ObjectName(i);
if (StringFind(name, ID + DynamicID) == 0)
{
ObjectDelete(name);
}
}
}
Gentlemen of skill, could you please answer a question:
When we turn on OPTIMIZATION in the strategy tester, the window OPTIMIZATION RESULTS, we have such columns: TRANSMISSION, TOTAL, ..., SELLING.
Please tell me if (and how) instead of some column, make a column which would show the MAXIMUM NUMBER OF LOST (or PROFITABILITY) TRADERS in a row, or for example the AMOUNT NUMBER OF LOST (or PROFITABILITY) trades in a row .
Gentlemen of skill, could you please answer a question:
When we turn on OPTIMIZATION in the strategy tester, the window OPTIMIZATION RESULTS, we have such columns: TRANSMISSION, TOTAL, ..., SELLING.
Please tell me if (and how) instead of some column, make a column which would show the MAXIMUM NUMBER OF LOST (or PROFITABILITY) TRADERS in a row, or for example the AMOUNT NUMBER OF LOST (or PROFITABILITY) trades in a row .
Thanks in advance.
Boris.
Only if you make your own report and then review it
Please tell me how to do it. I tried to copy it as a report, but it returns in htm and does not show the number of losing trades in a row all the same.
removes all objects containing string s - my EA draws arrows named "Arrow" + time - delete all arrows clear_object("Arrow");
if you know, ok, if you don't, help... https://www.mql5.com/ru/forum/123941/
If I use graphics in my code, I add a static identifier and sometimes (to resolve conflicts) a dynamic identifier.
This is what it looks like:
All killed, thank you all :)
The question about the "backing" remains open. Or will I have to paint the plugs?
Abzasc:
The question about the 'backing' remains open. Or will you have to paint the plugs?
A simple question has arisen -
what is the best margin margin margin margin margin to use when opening a new position in EA?
Gentlemen of skill, could you please answer a question:
When we turn on OPTIMIZATION in the strategy tester, the window OPTIMIZATION RESULTS, we have such columns: TRANSMISSION, TOTAL, ..., SELLING.
Please tell me if (and how) instead of some column, make a column which would show the MAXIMUM NUMBER OF LOST (or PROFITABILITY) TRADERS in a row, or for example the AMOUNT NUMBER OF LOST (or PROFITABILITY) trades in a row .
Thanks in advance.
Boris.
Gentlemen of skill, could you please answer a question:
When we turn on OPTIMIZATION in the strategy tester, the window OPTIMIZATION RESULTS, we have such columns: TRANSMISSION, TOTAL, ..., SELLING.
Please tell me if (and how) instead of some column, make a column which would show the MAXIMUM NUMBER OF LOST (or PROFITABILITY) TRADERS in a row, or for example the AMOUNT NUMBER OF LOST (or PROFITABILITY) trades in a row .
Thanks in advance.
Boris.
Only if you make your own report and then review it
Only if you make your own report and then view it
Please tell me how to do it. I tried to copy it as a report, but it returns in htm and does not show the number of losing trades in a row all the same.