Questions from Beginners MQL5 MT5 MetaTrader 5 - page 235

 
singapurq:

Good afternoon!

Please help.

What program/advisor can translate courses from Metatrade4/5 to Excel?

Thank you!

Look towards DDE. MT4 has a built-in DDE server, you just need to enable it in the settings and in the terminal directory there is an Excel file DDE-Sample.xls with an example.
 

Hello!

I'm asking for help and advice:

Signals have stopped being copied.

They open when I subscribe, but they don't copy from there.

Two different forex broker, two different accounts. Two different signals.

 

Why is the delimiter in the csv file not taken into account and all elements are on the same side without tabulation I don't understand what I'm doing wrong

bool f_Write()
  {
//--- Открываю файл для записи 
   string  name="Report"+".csv";
   int  hand=FileOpen(name,FILE_CSV|FILE_READ|FILE_WRITE|FILE_ANSI|FILE_COMMON,",");
//--- если файл инвалидный 
   if(hand==INVALID_HANDLE) {  return(false);}
//---
   string text="";
   for(int g=0;g<5;g++)
     {
      string p="111";
      StringAdd(p,",");
      StringAdd(text,p);
     }
//---
   FileWrite(hand,text);
//---
   FileClose(hand);
//---
   return(true);
  }
 
lewvik:

Why is the delimiter in the csv file not taken into account and all elements are on the same side without tabulation I don't understand what I'm doing wrong

(This removes the question))) You need to use a semicolon, my excel does not respond to other delimiters
 

Dear forum users. Please help me deal with one issue: I have purchased a paid indicator on the Market, but not the computer I would like it to go to. According to the rules, which hang on the Market, I can put the same indicator on 5 computers. I searched through all the information - I don't understand how to do it. Can someone please explain.

Thank you.

 
Myrlokotam:

Dear forum users. Please help me deal with one issue: I have purchased a paid indicator on the Market, but not the computer I would like it to go to. According to the rules, which hang on the Market, I can put the same indicator on 5 computers. I searched through all the information - I don't understand how to do it. Can someone please explain.

Thank you.

I have to assume you need to go to Market from each working machine and make additional activations.

But they are not infinite...

 
Fleder:

You have to go to the market from each working machine and make additional activations.

But they are not infinite...

Yeah, I know they're not infinite. They're infinite and not necessary. I tried it, played it and quit. If I try to install this indicator from Martet on another computer, won't it take money off my account again?

If I didn't have money in my account, I wouldn't bother. But paying multiple times is not the right thing to do.

 
Myrlokotam:

Yes, I understand that they are not infinite. They are endless and unnecessary. I tried it, played it and gave it up. If I try to install this indicator with Martha on another computer, won't it take money out of my account again?

If I didn't have money in my account, I wouldn't bother. But paying multiple times is not the right thing to do.

Products in the Market have between 5 and 20 activations (at the vendor's discretion). If you haven't used up your attempts at activation, you don't have to worry, they won't charge you extra money.
 

Afternoon!

I am trying to write an EA using a custom indicator.

I have the following questions:

1 .InMQL4when using an indicator it is possible to use different indicator lines by specifying the line index. For example, the oscillator has two lines and needs two values.

How in MQL5can Iget several values of different buffers of one indicator?

2 .For the speed of testing, I will use fetching values on a new bar (once fetching a value on a new bar, writing it and resetting it after the arrival of a new bar, and so on).

Question, where is better to check the new bar in OnInit or OnTick?

 
forexman77:

Afternoon!

I am trying to write an EA using a custom indicator.

I have the following questions:

1 .InMQL4when using an indicator it is possible to use different indicator lines by specifying the line index. For example, the oscillator has two lines and needs two values.

How in MQL5can Iget several values of different buffers of one indicator?

2 .For the speed of testing, I will use fetching values on a new bar (once fetching a value on a new bar, writing it and resetting it after the arrival of a new bar, and so on).

The question is, where is better to check the new bar in OnInit or OnTick?

All calculations are made in OnCalculate (i.e. a new bar event is defined here)
P.S. On the first question. Look through the example in the iCustom help. The example has the CopyBuffer and the second parameter is exactly the buffer_num, that is, the indicator buffer number.
Reason: