Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 927

 
atztek:
You will have to dig in the "profiles" folder.
Look at the name of the active profile, and in its folder in the chart*** files you will find indicators, one of them creates problems. It is easier to change the name of the folder "profiles" to "profiles_" when MT4 is off, and after restarting MT4 will generate a new one - all at your own risk! ;-)))

How from a profile to see indicators? For example, I open chart*** and how next.
 
smart:
How can I see the indicators from the profile? For example I open chart*** and then how.
name=folder_name\indicator_name

without extension.
 
Hello!
How in EA (MQL4) can I get every tick from other currency pairs?
 
Vinin:
Who does such scary things? Can't the author think?
It's me :-). I am not the author of this indicator, but it is an attempt to enter in the buffer. I tried to put it all in the buffer. It is not possible :-(
 
nikelodeon:
This is me :-). I am not the author of this indicator, but this is an attempt to put it in the buffer. I can get it all, but only for one day, but I can't get the whole history in the buffer. I can not do it :-(
Then put the one that you have not rules.
 

Hello! I need to select market orders that were not opened today.

Tried this at first:

for(i = OrdersTotal(); i >= 0; i--) {
  if(OrderSelect(i, SELECT_BY_POS)) {                        // Выбираем ордер:
    if(OrderType() <= 1 &&                                   // рыночный
       TimeDay(OrderOpenTime()) < TimeDay(TimeCurrent())) {   // не сегодняшний

                // Операции с рыночным ордером

    }    
  } 
}

But there is an error when changing month . Please give me an idea.

 
Gobsek:

Hello! I need to select market orders that were not opened today.

Tried this at first:

But there is an error when changing month . Please give me an idea.

Check for the number of seconds since the beginning of the day.
 
evillive:
Check for the number of seconds since the beginning of the day.
You mean the TimeSeconds () function. Let's say I got the number of seconds since the beginning of the day today. How can I associate it with order opening time. (sorry if I am confused)?
 
Gobsek:

Hello! You need to select market orders that were not opened today.

if (iBarShift (_Symbol, PERIOD_D1, OrderOpenTime()) == 0) continue;
 
TarasBY:
if (iBarShift (_Symbol, PERIOD_D1, OrderOpenTime()) == 0) continue;

I'm SHOCKED !!! One line !!! Thank you !!! I've already started breaking time down into hours, minutes, seconds to get the seconds from the beginning of the day and comparing...

Wouldn't have thought of it myself.

Reason: