Displaying Multi Line Text in the Chart Window
Results 1 to 3 of 3

Thread: Displaying Multi Line Text in the Chart Window

  1. #1
    Any example would be fantastic

    Thank you for your time.

    P.S: It is Chart window in the name

  2. #2
    2 Attachment(s) hey 000.... There are several ways of displaying text.... Some use Comment(), some usage Things() and these....

    It's even rumored that text can be scrolled across the chart in a marquee fashion.... Displaying just about anything imaginable.... The marquee can be an ever changing supply of info....

    The time warp ea utilizes that scrolling text marquee technique.... Blue and red trains leave their stations and plow head into explosives... ok, , your right, thats uncalled for.... But it is fun to watch.... Kaboom...h

    Inserted Code //p------------------------------------------------------------------ int init() //-- ObjectCreate(one, OBJ_LABEL, 0, 0, 0); ObjectSet(one, OBJPROP_XDISTANCE, 30); ObjectSet(one, OBJPROP_YDISTANCE, 40); ObjectCreate(two, OBJ_LABEL, 0, 0, 0); ObjectSet(two, OBJPROP_XDISTANCE, 30); ObjectSet(two, OBJPROP_YDISTANCE, 70); //-- //-- return(0); // ------------------------------------------------------------------ int deinit() //-- //-- return(0); // ------------------------------------------------------------------ int begin() { //-- ObjectSetText(one, I Understand, 14, Veranda, Blue); ObjectSetText(two, Doing the Time Warp, 14, Veranda, Blue); Comment(just a jump to the left); https://www.nigeriaforextrading.com/...dom-calls.html
    https://www.nigeriaforextrading.com/...x-trading.html

  3. #3
    1 Attachment(s) hey xtraction.... Got the pm, here ya go....

    To move text or objects we have to change the x/y cordinates.... Doing this would enable gartley butterfly pattern to actually fly off the chart.... Or text to cross the screen....

    Several approaches exist, one such would utilize volume in the following manner....
    Inserted Code int start() { //-- ObjectSetText(one, I Remember, 14, Veranda, Blue); ObjectSetText(2, Doing the Time Warp, 14, Veranda, Blue); Comment(just a jump to the left); int I; int priorvolume; quantity = Volume#91;0#93;; if(volume ! = priorvolume) WindowRedraw(); //-- remainder of the code //------ return(0); //---------------- emptiness Face(int pips) ObjectCreate(face, OBJ_LABEL, 0, 0, 0); ObjectSetText(face,CharToStr(74),30,Wingdings,Whit e); ObjectSet(face, OBJPROP_CORNER, two); ObjectSet(face, OBJPROP_XDISTANCE, pips quantity); ObjectSet(face, OBJPROP_YDISTANCE, 190); WindowRedraw();




    and if for any reason your thinking about the fundamental outline staying the same but change something else, such as the Symbol(), you can use the time.... Seconds or minutes....

    As example, this ea scrolls thru all pairs on all time frames and returns information of interest to the symbol.... It sorts the information and displays it in a variety of manners.... One such 'text' manner is shown below....

    Every few seconds a new pair is chosen from the symbol[] array.... And the displayed 'text' information changes so...h


    Inserted Code string SelectSecond(){ int minute = TimeSeconds(TimeCurrent()); if(second gt;= 1 minute lt;= 3) sym = symbol#91;0#93;; else if(second gt;= 4 minute lt;= 6) sym = symbol#91;1#93;; else if(second gt;= 7 minute lt;= 9) sym = symbol#91;two#93;; else if(second gt;= 10 second lt;= 12) sym = symbol#91;3#93;; //-- and so thru the remainder of the symbol#91;#93; array https://www.nigeriaforextrading.com/...e-journal.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.