Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Print Line Position

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Print Line Position

    Hello
    Is it possible to print with code (indicator / strategy) the position (Y axis: price) of a line created by an indicator?

    Thank you
    regards

    #2
    Hello motxu,

    Thank you for your note.

    Yes this would be possible with custom code.

    I have attached a sample which will loop through drawing objects applied to a chart and print each objects tag name. You could modify the sample to print only the specified drawing object.

    If you need further assistance in modifying this specifically for your needs, and would like a third party to help, please let us know and we can have someone reach out with a list of third parties.

    Please let us know if you need further assistance.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Thank you very much for your fast answer.
      Regards

      Comment


        #4
        Hello Again.
        And what about if its not a line.
        Can i loop through each type of drawing present on chart?
        Thank you

        Comment


          #5
          Hello motxu,

          I've attached a sample which demonstrates how to identify each drawing object which could be applied to a chart.

          Please let know if you need further assistance.
          Attached Files
          Alan P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DJ888, Today, 10:57 PM
          0 responses
          2 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by MacDad, 02-25-2024, 11:48 PM
          7 responses
          158 views
          0 likes
          Last Post loganjarosz123  
          Started by Belfortbucks, Today, 09:29 PM
          0 responses
          7 views
          0 likes
          Last Post Belfortbucks  
          Started by zstheorist, Today, 07:52 PM
          0 responses
          7 views
          0 likes
          Last Post zstheorist  
          Started by pmachiraju, 11-01-2023, 04:46 AM
          8 responses
          151 views
          0 likes
          Last Post rehmans
          by rehmans
           
          Working...
          X