Questions from Beginners MQL5 MT5 MetaTrader 5 - page 333

 
Novikov:

Because your dealer has disabled this tab! It is better to ask your dealer about it.

Another option is to open your own account in the terminal from another dealer.

Did I understand correctly, the dealer is a broker?
 
akaMaxMan:
Am I correct in assuming that the dealer is the broker?
Yes. You have understood correctly. If there is no "Signals" tab, please contact your trader/broker/dealer.If there is no "Signals" tab in MetaTrader
 

Forum on trading, automated trading systems and trading strategy testing

Answers to newbies in pictures

KozochkaLarisa, 2014.12.17 14:22

Please tell me if it is possible to insert a widget in contact or onoklassniki, and how to do it? And I only have the code displayed, maybe I'm trying to put it in the wrong place.

Many widgets for their insertion require web-resource administrator rights, and you on these resources have the rights of an ordinary user. That's why you see the code in the message on the web resource.

What are you trying to insert: a signal or a product from the Market?

 

Please advise why the copyeditor gives 'starttime' - declaration without type on the code

datetime starttime=D'00:00:01';

datetime endtime=D'23:59:59';

MqlDateTime startday,swapday,endday; //starttime,swapday,endtime

void TimeToStruct(starttime,startday);

void TimeToStruct(endtime,endday;)

startday.day_of_week=1;

swapday.day_of_week=3;

endday.day_of_week=5;


 
loaderinbox:

...

You have already been given the answer:

Forum on trading, automated trading systems and trading strategy testing

Discussing the article "Fundamentals of MQL5 Programming - Time

tol64, 2014.12.17 13:08

   datetime starttime =D'00:00:01';
   datetime endtime   =D'23:59:59';
   //---
   MqlDateTime startday,swapday,endday;
   //---
   TimeToStruct(starttime,startday);
   TimeToStruct(endtime,endday);
   //---
   startday.day_of_week =1;
   swapday.day_of_week  =3;
   endday.day_of_week   =5;

 
tol64:
You have already got your answer. And you don't need to knock on every thread.

and what is the answer?

Example:

voidOnStart()
{
//---
datetime date1=D'2008.03.01';
datetime date2=D'2009.03.01';

MqlDateTime str1,str2;
TimeToStruct(date1,str1);
TimeToStruct(date2,str2);
printf("%02d.%02d.%4d, day of year = %d",str1.day,str1.mon,
str1.year,str1.day_of_year);
printf("%02d.%02d.%4d, day of year = %d",str2.day,str2.mon,
str2.year,str2.day_of_year);
}
/* result
01.03.2008, day of year = 60
01.03.2009, day of year = 59
*/

and how does the syntax of the example in the documentation differ from my code?

I can read the documentation in Russian, I even understand what is written sometimes))) If you can't say anything but reference to documentation - do not play the coryphaeus.

 

Forum on trading, automated trading systems and trading strategy testing

Answers to newbies in pictures

Kermit, 2014.12.17 14:53

Can you tell me, in MT5 are still several open positions on the same pair "merged" into one pile?

This is called the principle of position accounting: NETO accounting.
 
loaderinbox:

...

and how is the syntax of the example in the documentation different from my code?

I can read the documentation in Russian, and sometimes I even understand what is written))) If you can not say anything but reference to documentation - then do not play the coryphaeus.

Here's another good read: Bringing up types.

The documentation has all answers to basic questions. If you duplicate the same question in a mass on all forum threads, you will get a reply in the form of a ban. )

 
loaderinbox:

and what is the answer?

Example:

voidOnStart()
{
//---
datetime date1=D'2008.03.01';
datetime date2=D'2009.03.01';

MqlDateTime str1,str2;
TimeToStruct(date1,str1);
TimeToStruct(date2,str2);
printf("%02d.%02d.%4d, day of year = %d",str1.day,str1.mon,
str1.year,str1.day_of_year);
printf("%02d.%02d.%4d, day of year = %d",str2.day,str2.mon,
str2.year,str2.day_of_year);
}
/* result
01.03.2008, day of year = 60
01.03.2009, day of year = 59
*/

and how does the syntax of the example in the documentation differ from my code?

I can read the documentation in Russian, I even understand what is written sometimes))) If you can't say anything but reference to documentation - do not play the coryphaeus.

Correctly insert the code in the forum. Carefully compare your code with the one you received in response. If you don't see the difference - just paste the code from the answer into MetaEditor and compile it - there will be no error.
Ответы новичкам в картинках
Ответы новичкам в картинках
  • www.mql5.com
Как наложить (прикрепить) индикатор на график. - - Категория: общее обсуждение
 
barabashkakvn:

Many of the widgets require web resource administrator rights for their insertion, and you have ordinary user rights on these resources. This is why you see code in the message on the web resource.

What are you trying to insert: a signal or a product from the Market?

Your signal
Reason: