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

 
borilunad:
Thank you too! And bothering right away! Suddenly the navigator has expanded to the full width of the screen and obscured all the charts! Do you know how to get it back to its normal size, like Market Review?
I'm afraid I'm not quite sure what happened. But to get it back to its normal size, you can double-click on the "Navigator" header - it will go from a separate window to a terminal window. Or you can grab the header and drag it to the edge of the window - it will try to integrate with the general terminal window.
 
borilunad:

I tried to copy it to show you, but it doesn't work! I'll explain:

I don't know what to do! Seems to have tried everything, only open/close in help. There's no hint that it might suddenly expand wide, obscuring the charts.

Maxim, it's difficult for me to advise you. Alternatively, try restarting the terminal and computer. If it's just a glitch, maybe this will help.

I usually save a terminal profile for such purposes, which I then restore from. Try loading the default profile from there.

 
Chiripaha:

Maxim, it's difficult for me to advise you. Alternatively, try restarting the terminal and computer. If it's just a glitch, it might help.

I usually save a terminal profile for such purposes, from which I then restore. Try loading the default profile from there.

Thanks Sergei! Allow me to introduce myself, Boris!
 
borilunad:
Thank you, Sergei! Allow me to introduce myself, Boris!
Nice to meet you, Boris! : )) I stand corrected.
 
Chiripaha:
Nice to meet you, Boris! : )) I stand corrected.
That's all right! There are worse mistakes! ;))
 

Hello!

I found a good Expert Advisor (according to the tester) and ran it on the demo and it is losing money in the Japanese session.

If you know the code, how to make it run at a certain time and at a certain time to close all my orders and then exit.

Also a place where to insert this code.

Thank you in advance!

 
How, elegantly, can you describe the same thing? Something is breaking 96 times, describing the same thing.
int количество_хаев_0=0;
int количество_хаев_15=0;
//  и так далее 96раз до
int количество_хаев_1425=0;
/////////////////////
int время_хая=0;
//+------------------------------------------------------------------+
void start()
  {
     {
/// здесь узнаём время хая  (В течении дня. Время в минутах с начала дня)
     }

   if(время_хая   == 0)    количество_хаев_0=количество_хаев_0+1;
   if(время_хая   == 15)   количество_хаев_15=количество_хаев_15+1;
//  и так далее 96раз до
   if(время_хая==1425)     количество_хаев_1425=количество_хаев_1425+1;
///////
   Print(" количество_хаев_     0       ",   количество_хаев_0);
   Print(" количество_хаев_     15      ",   количество_хаев_15);
   Print(" количество_хаев_     1425    ",   количество_хаев_1425);
/////////////////////                                           
  }
//+------------------------------------------------------------------+
Thank you!
 
SAnd7:

Hello!

I found a good EA (from the tester) and ran it on the demo and it is losing money in the Japanese session.

If you know the code, how to make it run at a certain time and at a certain time to close all my orders and then exit.

Also a place where to insert this code.

Thank you in advance!

The code will make the EA 'silent' at certain times.

Insert this code into your EA:

extern HourStart=0; // The hour of the start of the session to be skipped

///

extern HourEnd=0; // End of the session which must be skipped
//+------------------------------------------------------------------+
int start()
{
if(Hour()>=HourStart)
{
{ if(Hour()<=HourEnd)
{
return(0);

}

//Paste this code (above) in front of your EA.

}
// your EA body
}
//+------------------------------------------------------------------+
 
001:
How, elegantly, can you describe the same thing? Something is breaking 96 times, describing the same thing.
Thank you!
What did you want to get?
 
001:

The code will make the EA 'silent' at certain times.

paste this code into your EA:

extern HourStart=0; // The hour of the beginning of the session to be skipped

///

extern HourEnd=0; // End of the session which must be skipped
//+------------------------------------------------------------------+
int start()
{
if(Hour()>=HourStart)
{
{ if(Hour()<=HourEnd)
{
return(0);

}

//Paste this code (above) in front of your EA.

}
// your EA body
}
//+------------------------------------------------------------------+

Thank you very much!

It would also close orders...