Questions from Beginners MQL4 MT4 MetaTrader 4 - page 205

 
Vitaly Muzichenko:

I also tried it - it didn't work.

Port was prescribed: smtp.ukr.net:465


On Windows 10 2004, MetaTrader 2489 sends mail to the server you specified.

 
Vladimir Karputov:

On Windows 10 2004, MetaTrader 2489 is definitely sending mail to the server you specified.

Thank you. I need to know if it works for someone on mt4

On mt5 the email went out with similar settings, just checked.

 
Vitaly Muzichenko:

Thank you. I need to know if it works for someone on mt4

On mt5 the email went out with similar settings, just checked.

So write in the appropriate thread - why are you writing in the MetaTrader 5 thread?

 
Vladimir Karputov:

So write in the appropriate thread - why are you writing in the MetaTrader 5 thread?

Thought there are no codes here and the section is irrelevant

 

Works in mt5, silence in mt4 with the same settings for some reason

Build 1260

 
Hello Help a newbie, Ibought an indicator with a code for autorisation ... I was just told: "In settings there is an autorisation code that you have to enter the code" ???? Where is it and how do I get there?
Магазин торговых роботов для MetaTrader 5
Магазин торговых роботов для MetaTrader 5
  • www.mql5.com
Официальная витрина приложений для торговли из терминала
 
Arkin Nabirov:
Hello Help a newbie, Ibought an indicator with an authorization code ... I just got told: "Settings have an autorisation code, you have to put in the code. ???? Where is it and how do I get there?
 
Arkin Nabirov:
Hello Hello, Help a newbie,bought an indicator with a code for authorization ... I was just told: "There's an autorisation code in settings, you have to enter the code" ???? Where is it and how do I get there?

Run the indicator in the terminal. Its settings window will appear. There should be a field called "autorisation code". Enter in it the code you were given.

 
Vladimir Karputov:

It's not just the Market that fills the world.

 
void OnTick()
  {
   double ma = iMA(Symbol(),PERIOD_CURRENT,13,0,MODE_EMA,PRICE_CLOSE,0);
   double price = Ask;

   if(price>ma)
     {
      for(int a=0; a<=2; a++)
        {
         Alert("есть сигнал на покупку");
        }
      return;
     }
   else
     {
      if(price<ma)
        {
         for(int b=0; b<=2;)
           {
            Alert("есть сигнал на продажу");
           }
         return;
        }
     }
  }

This is a question from a beginner) condition in the code for an example, help please.

How to make a message at the true condition was output once, that is price>ma output one message (and not multiply), I think you know what I mean.

How to properly prescribe the counter?

Reason: