Useful features from KimIV - page 128

 
Victor Nikolaev:

There are other branches.

Why others? How to get someone back in this one, there's a question
 
Дмитрий Карпов:

What are the others for? How do you get someone back into this one?

The author of this thread hasn't been on the forum for a long time.
 
Victor Nikolaev:

The author of this thread hasn't been on the forum for a long time.
Well, where are those who know mql4?
 
Дмитрий Карпов:
OK, where are those who are proficient in mql4?

And what do you want to do or get?
 
Victor Nikolaev:

What do you want to do or get?
I am looking for a lock script.
There is an Expert Advisor, it feels good during a flat. But as soon as the trend starts, of course, it makes a loss.

So, instead of "close all lots" I want to insert a lock equal to difference between buy/sell deals, so that the EA would be able to continue trading when the trend reverses.
 
Дмитрий Карпов:
I am looking for a lock script.
There is an Expert Advisor, it feels good during a flat. But as soon as the trend starts, of course, it makes a loss.

So, instead of "close all lots" function I want to insert a lock equal to difference between buy/sell deals, so the EA would be able to continue trading when trend reverses.

It is for you here
 
ANDREY:

Good day all!

Please tell me if you can change the value of MAJIC NUMBER in an order which has already been closed and appears in the list of closed orders.

I.e., change the value of MAJIC NUMBER after the order is closed.

If it is possible, then which function should be used to change it. I did not find such a function in Kim's work.

Thank you.

Magick cannot be changed at all, neither for an open nor for a closed order
 
Alexander:

Query


Registry access ?

RegOpenKeyEx ?


get an answer ?

Reason: