Download MetaTrader 5
To add comments, please log in or register
Unable to find the right application? Order it!
Dominic Gilbert
1632
Dominic Gilbert 2014.09.24 09:52 

How can I stack up multiple comments lines?

At the moment they all just overlap when they're updated, but I want 3 separate comment lines in the top left hand corner working simultaneously?

      
   if(D1_Bias=="None") 
    if(Daily_3<Daily_5)
     if(Daily_5<Daily_8)
      if(Daily_8<Daily_10)
       if(Daily_10<Daily_12)
        if(Daily_12<Daily_15)
         if(Daily_15<Daily_30)
          if(Daily_30<Daily_35)
           if(Daily_35<Daily_40)
            if(Daily_40<Daily_45)
             if(Daily_45<Daily_50)
              if(Daily_50<Daily_60)
                {
                D1_Bar = iTime(NULL, high, 1);
                D1_Bias="Down";
                Comment("Daily Bias is: "+D1_Bias+" since: "+TimeToStr(D1_Bar,TIME_DATE|TIME_MINUTES));
                }
   
     
    if(D1_Bias=="Daily is Down" && H4_Bias=="None") 
     if(Hour4_3<Hour4_5)
      if(Hour4_5<Hour4_8)
       if(Hour4_8<Hour4_10)
        if(Hour4_10<Hour4_12)
         if(Hour4_12<Hour4_15)
          if(Hour4_15<Hour4_30)
           if(Hour4_30<Hour4_35)
            if(Hour4_35<Hour4_40)
             if(Hour4_40<Hour4_45)
              if(Hour4_45<Hour4_50)
               if(Hour4_50<Hour4_60)
                 {
                 H4_Bar = iTime(NULL, middle, 1);
                 H4_Bias="Down";
                 Comment("4 Hour Bias is: "+H4_Bias+" since: "+TimeToStr(H4_Bar,TIME_DATE|TIME_MINUTES));
                 }
   
   
   if(D1_Bias=="Daily is Down" && H4_Bias=="4 Hour is Down" && H1_Bias=="None")
    if(CurrentSmallFish1<CurrentSmallFish2)
     if(CurrentSmallFish2<CurrentSmallFish3)
      if(CurrentSmallFish3<CurrentSmallFish4)
       if(CurrentSmallFish4<CurrentSmallFish5)
        if(CurrentSmallFish5<CurrentSmallFish6)
         if(CurrentSmallFish6<CurrentBigFish1)
          if(CurrentBigFish1<CurrentBigFish2)
           if(CurrentBigFish2<CurrentBigFish3)
            if(CurrentBigFish3<CurrentBigFish4)
             if(CurrentBigFish4<CurrentBigFish5)
              if(CurrentBigFish5<CurrentBigFish6)
                {
                triggerBarTime = iTime(NULL, low, 1);
                H1_Bias="Down";
                Comment("1 Hour Bias is: "+H1_Bias+" since: "+TimeToStr(triggerBarTime,TIME_DATE|TIME_MINUTES));
                }

...
qjol
3243
qjol 2014.09.24 10:06  
string D1 = "...";
string H4 = "...";
string H1 = "...";

Comment(D1, "\n", H4, "\n", H1);
Dominic Gilbert
1632
Dominic Gilbert 2014.09.24 13:22  
Sweet - seems straight forward. Will have a play in a little bit and confirm if that's done it :)
SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.09.24 18:31  
There will be a max 64 characters limit though.
honest_knave
969
honest_knave 2014.09.24 20:10  
deysmacro:
There will be a max 64 characters limit though.

2054 characters.

comment

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.09.25 00:00  
Sorry. Meant to say number of parameters.
/
To add comments, please log in or register