[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 359

 
solnce600:
All OK!!! Thanks a lot!!!

It's not OK ... Kim's function deletes orders whose symbol, type and magic you pass to it as its parameters. And it's void type. You pass a one into it. And what do you want from it?
 
artmedia70:
It's not O`Kay ... Kim's function deletes orders whose symbol, type and magic you pass to it as its parameters. And it's void type. You pass a one into it. And what do you want from it?


What we want, that's what we have!!!
 
Vinin:

What we want is what we have!!!
Well, Vitya, pass 1 instead of the symbol and the rest is the default ... Is that OK? And why make the function a Boolean if it doesn't return anything anyway, it only removes the orders filtered by the parameters passed to it.
 
artmedia70:
Well, Vitya, pass 1 instead of the symbol and the rest is the default ... Is that ok? And why make the function a Boolean if it doesn't return anything anyway, it only removes orders filtered by parameters passed to it.


Artem, most of the questions in this thread are of this type. Too lazy to read the documentation, too lazy to read the tutorial, too lazy to read the description of the functions. 90% of the questions are solved before you even ask them.
 

Good day to all! Question to everyone who knows and can help: please explain what is meant in practice by "EA with explicit control of the opening bars" and how to make an EA in real trading react only to the opening of candles, and not try to work during the whole time of candlestick formation. The EA in the tester shows different results when tested at open prices and at all ticks; in the real trade it works at all ticks, but I want it to work at open prices!

Thanks in advance to everyone who replies!

 
CYBOPOB:

Question to all who know and can help: Please explain what is meant in practice by 'EA with explicit control of bar openings' and how to make an EA in the real trade, which reacts only on the opening of candles, and not trying to work during the whole time of candlestick formation. In the tester, the EA shows different results when tested at open prices and at all ticks; in the real trade it works at all ticks, but I want it to work at open prices!

Thanks in advance to everyone who replies!


maaa-tu-tu-tushka, lee-en, obu-ya-la-me-nya...:-)

See right from the first link:

static PrevTime=0;
....
int start()
{
  if (Time[0]<=PrevTime) return(0);
  PrevTime=Time[0];
.....

}
 
Roman.:


maaa-tu-tushka, lee-en, sho-i-yay-la-me-nay...:-)

See right from the first link:


:-) Thanks, Roman for this MEGO way :-) So it turns out that this forum thread is not needed now at all? After all, it's unlikely that any of the newbies will ask something new, which has not been discussed on the forum... :-)

 
Hello.

Found an EA and don't know how to make it work, what to copy etc. Please give me all the details. I can't get it to work. I get 3 errors at compile time

https://www.mql5.com/en/code/10306/page4



I want to thank you in advance. Alexander

 
Ale-xander:
Good afternoon.

Found an EA and don't know how to make it work, what to copy etc. Please give me all the details. I can't get it to work. I get 3 errors at compile time

https://www.mql5.com/en/code/10306/page4


https://www.mql5.com/ru/code/10328/page2#comments

 
Roll:


https://www.mql5.com/ru/code/10328/page2#comments


thanks
Reason: