Display Multiple Sentences on Chart

 

Hi, 

I want to display below message on the chart, 


Come and Join Us 

Fill in the form - https://forms.gle/2on4SrAwCbKSZrDn6 

Inform me and I will come back to you 


   ObjectCreate("Lable1", OBJ_LABEL, 0, 0, 1.0);
   ObjectSet("Lable1", OBJPROP_CORNER, 2);
   ObjectSet("Lable1", OBJPROP_XDISTANCE, 23);
   ObjectSet("Lable1", OBJPROP_YDISTANCE, 21);
   G_text_1472 = "Come and Join Me";
   ObjectSetText("Lable1", G_text_1472, 8, "Windings", White);
   

I manage the get the first sentence, but how to display the 2nd and 3rd sentences ? 

Anyone can help ? 

 
Isaac Tan:

Hi, 

I want to display below message on the chart, 


Come and Join Us 

Fill in the form - https://forms.gle/2on4SrAwCbKSZrDn6 

Inform me and I will come back to you 


I manage the get the first sentence, but how to display the 2nd and 3rd sentences ? 

Anyone can help ? 

Create another OBJ_LABEL and change the OBJPROP_YDISTANCE.

 
Somehow it looks like you are working with decompiled code, a strong hint is this "G_text_1472"


More hints are given here:


I am quite convinced, that is not your code.
 
Dominik Christian Egert #:
Somehow it looks like you are working with decompiled code, a strong hint is this "G_text_1472"

I agree and in another topic by this person

if (Digits == 3 || Digits == 5)Gd_316 = 10.0 * Point;
   else Gd_316 = Point;

I have deleted that topic.

Isaac Tan:

Do not post decompiled code. It is not allowed and can lead to getting a ban.

 
  1. Decompiled code is stolen code. Either you are a thief, a fence, or the receiver of stolen (intellectual) property. Either way, we will not be an accomplice after the fact to that theft.

    See also
              Terms of Use of MQL5.community #3.13
              How can I recognize a decompiled code ? - General - MQL5 programming forum - Page 2 #17 (2017)
              134317 - MQL4 programming forum (2011)

    If you post decompiled code again, you will likely be banned.

    Don't tell us you found it on the 'net: if someone stole your bank details and uploaded them on to the internet, is it OK for everyone to use them because “someone uploaded it, I don't know why I can't use that?”

  2. Your link is broken ( )

  3. Only Comment supports multiple lines. You have to create additional labels.