Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1279

 
pit84:

Please learn to read verbatim, not between the lines:

Forum on trading, automated trading systems and trading strategy testing

FAQ from Beginners MQL5 MT5 MetaTrader 5

Vladimir Karputov, 2021.01.25 13:58

Read carefully: the indicator is not in the place you have specified.

Paste your MQL5 code using the Code button and paste a screenshot from Windows Explorer - to prove the presence of the indicator.

Where is the code of the EA? Where is the screenshot from Windows Explorer?

 

There were too many jaws. That's what it means to trade and collect indicators))

   ExtJawsHandle=iMA(NULL,0,InpJawsPeriod,0,InpMAMethod,InpAppliedPrice);
   ExtJawsHandle=iMA(NULL,0,InpJawsPeriod,0,InpMAMethod,InpAppliedPrice);
   ExtTeethHandle=iMA(NULL,0,InpTeethPeriod,0,InpMAMethod,InpAppliedPrice);
   ExtDroolingHandle=iMA(NULL,0,InpDroolingPeriod,0,InpMAMethod,InpAppliedPrice);
 
pit84:

try reducing the number of bars to calculate the indicator

 

Hello.

Can you tell me if there's a difference between this design

//+------------------------------------------------------------------+
   if(IsFillingTypeAllowed(SYMBOL_FILLING_FOK))
      m_trade.SetTypeFilling(ORDER_FILLING_FOK);
   else
      if(IsFillingTypeAllowed(SYMBOL_FILLING_IOC))
         m_trade.SetTypeFilling(ORDER_FILLING_IOC);
      else
         m_trade.SetTypeFilling(ORDER_FILLING_RETURN);
//+------------------------------------------------------------------+
bool IsFillingTypeAllowed(int fill_type)
  {
   int filling = m_symbol.TradeFillFlags();
   return((filling & fill_type) == fill_type);
  }
//+------------------------------------------------------------------+

and this one.

m_trade.SetTypeFillingBySymbol(m_symbol.Name());

If I understood correctly what is written in the help, it is essentially the same.

But I have doubts why people write large code instead of one line.

 
Vladimir Karputov:

Please learn to read verbatim, not between the lines:


Where is the EA code? Where is the screenshot from Windows Explorer?

EA in ex5, screenshot from Windows Explorer attached.
Files:
b9u3p1.PNG  88 kb
 
pit84:
EA in ex5, screenshot from Windows Explorer attached.

Show the iCustom call string in the EA. You need the source code for this, not ex5.

 
Vladimir Karputov:

Show the iCustom call string in the EA. You need the source code for this, not ex5.

I don't have the source code.
 
pit84:
I don't have the source code.

So contact the author and clarify the custom indicator call string.

 
Hello, what is the number of activations when purchasing the software from the marketplace ? Can this program be used on different computers and accounts at the same time? The point is that we want to buy one program for two people and use each of them separately
 
Please tell me how to check for the presence of an order of a certain type (in this case ORDER_TYPE_BUY_LIMIT ) or magic number ... and if it's not there or it is closed - then the EA continues its work... I would be very grateful...