[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 985

 

thanks, that works, but then how do I briefly write it to shut down at 10.30pm? is there another if inside?

 
asc9:

thanks, that works, but how do I briefly write it to switch off at 10.30pm? is there another if inside?


if (Hour() = 22 && Minute() = 30)

{

...............................

}

And to make it less slow on tests

if (Hour() = 22)

{

if Minute() = 30)

{

...............................

}

}

 

Generally speaking, nothing has changed .... if you do not put any time limits all the same log entries start only from 23.00 ... the feeling that something gets stuck in memory as after rebooting the computer at the first run is ok, and then again the same thing.

 

Help me understand a conditional alert that needs to be rewritten to trigger 1 time

if (Close[0]>n1-percent1/100&&Close[0]<n1){
   static datetime LastAlertTime=0;
      if(LastAlertTime!=Time[0]){
         LastAlertTime=Time[0];
Alert(Symbol(),"n1",n1);
   }
}   
This signal is triggered every time the condition is fulfilled.
 

Why does Kim's e-MovingInWL function not work on a five-digit broker (Alpari)? Who can fix it. Thanks.

ZS: asked in his thread, no one has answered.

 
Maniac:

Why does Kim's e-MovingInWL function not work on a five-digit broker (Alpari)? Who can fix it. Thanks.

ZS: asked in his thread, no one has answered.

Judging by the name, it's not a function, but an advisor.
 
artmedia70:
Judging by the name, it is not a function, but an advisor.

Well, it's for moving it to breakeven
 
Maniac:

Well, it's to move it to breakeven.
It's natural, but have you tried to solve the problem yourself? Show us which part of the code is causing difficulties. It's more interesting to communicate with people who are trying to find out what the problem is and not to use something ready-made... :)
 
Can you advise whether two identical currency pairs with the same Expert Advisor and different timeframes would work adequately in the same account.
 
Chved:
If you have a different EA and different timeframes, will the same currency pair work adequately on the same account?
will they, if they have different Magik numbeers in their EAs... - although ... fuck ... the question itself, beyond the logical construction :) - three questions in one :)
Reason: