Results 1 to 6 of 6

Thread: GetLastObjectDescription()

  1. #1



    I Want some help from the coding Gurus. I wanted to make a function which yields the description of the chart object. For example imagine you have an Indior which finds InsideBars. It creates Text Objects above the bars that are closed whenever they're the description Inside Bar as well as InsideBars with a Name that is specific.

    Regrettably I do not have that much experience with Object Functions. Could someone help me out?

    Series {


    Any help will be very much appreciated.

  2. #2
    Quote Originally Posted by ;
    Simple strings Such as PriceActionIndi20. Where the amount is that the current time without anything or arrows. The description varies.
    In your EA you can use the current time and construct the name that the label at the current bar would have if it already existed. Then on each new bar look with just that name. If it exists you have it.

  3. #3
    Quote Originally Posted by ;
    For example imagine you've got an Indior which detects InsideBars. It creates easy Text Objects over the bars that are closed if they're also the description Inside Bar and InsideBars with a Name that is specific.
    How can the names look like?

  4. #4
    Simple strings like PriceActionIndi20. Where the amount is the current time without anything or dots. Only the description changes.

  5. #5
    If you can get a pattern to the names of the objects, then you can cycle through the objects.

    Inserted Code int ObjectCount = ObjectsTotal(); for (int I = ObjectCount; I gt; 0; I--) //Select object //Get the item's name //check to see if the name is everything you're looking for

  6. #6

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. Read more.