[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 62

 
frixer:
Thank you, of course, but I tried it, but the decimal remains after the comma, and I don't have enough sense to round it off ;(
What decimal point can there be in int? You should check it first.
 
frixer:
Thanks of course, but tried then after the comma remains a decimal, and rounded as it mind is not enough ;(
Sorry about that, thanks, I'm just not used to the five digits yet
 
Can you advise where to read about positioning, for example comments to press to the bottom right corner
 
frixer:
Can you advise where to read about positioning, e.g. comments to press to the bottom right corner


Redo this function

//+------------------------------------------------------------------+
//|                                                      comment.mq4 |
//|                                                   Korey       AP |
//|                                                   ekr-ap@mail.ru |
//+------------------------------------------------------------------+
void comment(int n,color c,string s0="",
                           string s1="",
                           string s2="",
                           string s3="",
                           string s4="",
                           string s5="",
                           string s6="",
                           string s7="",
                           string s8="",
                           string s9="",
                           string s10="",
                           string s11="",
                           string s12="",
                           string s13="",
                           string s14="",
                           string s15="",
                           string s16="",
                           string s17="",
                           string s18="",
                           string s19=""){
   string r=s0+s1+s2+s3+s4+s5+s6+s7+s8+s9+s10+s11+s12+s13+s14+s15+s16+s17+s18+s19;
   string name="comment_"+n;
   int y=30+n*15;
   int x=5;
   if(ObjectFind(name)<0) ObjectCreate(name,OBJ_LABEL,0,0,0);
   ObjectSet(name,OBJPROP_XDISTANCE,x);
   ObjectSet(name,OBJPROP_YDISTANCE,y);
   ObjectSetText(name,r,12,"",c);
}
 
Thanks again to XmaksasX: for organising an uninterrupted internet connection.
 
Guys, how do you make an RSI with a period of 7200 in a minute chart as code?
 

Good afternoon!

Can you tell me what this error is (intuitively, it's a loading error) and why it occurs

08:46:27 Math_Lib USDCHF,M1: loaded successfully

I don't see it in the history tester (I put the Expert Advisor on demo). When recompiling the library and the Expert Advisor the error does not disappear.

 
Fox_RM:

Good afternoon!

Can you tell me what this error is (intuitively, it's a loading error) and why it occurs

I don't see it in the history tester (I put the Expert Advisor on demo). When recompiling the library and the Expert Advisor the error does not disappear.

This is not an oversight)) On the contrary, it is reported that the Math_Lib on the USDCHF1 chart has been successfully loaded))
 
Guys, who don't mind throwing in some lucrative closing/opening conditions, please.
 
oDin48:
Guys who don't care, please throw in some lucrative closing/opening conditions.
Who exactly do you want to throw?
Reason: