Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to update user Object by script without changing its owner

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

    How to update user Object by script without changing its owner

    Hi
    I have a script working in NT8
    In the script I "catch" horizontal line created by end user.
    I want that the script will assign the horizontal line a template
    The only way I found to do this is by using the command
    Draw.HorizontalLine(this,Tag,MyHL.StartAnchor.Price,true,"LVN") ;
    While LVN is the template name.
    Any other way to assign template to object ?
    Anyhow, I want that the owner of the horizontal line remain the user and not the script
    how this is done ?


    #2
    Hello Doron,

    Thank you for writing in. We are currently investigating this and will update you as soon as possible. Please note: Our normal business hours are between 8:30AM EST and 6:00PM EST Monday through Friday.

    Thank you for your patience in the meantime.
    Michael M.NinjaTrader Quality Assurance

    Comment


      #3
      Hello Doron,

      Thank you for your patience.

      I was unsuccessful in finding a means to perform these items. I am checking with development.

      Comment


        #4
        Originally posted by doron View Post
        Hi
        I have a script working in NT8
        In the script I "catch" horizontal line created by end user.
        I want that the script will assign the horizontal line a template
        The only way I found to do this is by using the command
        Draw.HorizontalLine(this,Tag,MyHL.StartAnchor.Price,true,"LVN") ;
        While LVN is the template name.
        Any other way to assign template to object ?
        Anyhow, I want that the owner of the horizontal line remain the user and not the script
        how this is done ?

        There would not be a way to access the template or assign one to the object.

        You can set the y value using the ChartAnchor.Price as seen at the following link: http://ninjatrader.com/support/helpG...rawingtool.htm

        You should be able to do this without re-submitting the object and thus keeping the chart as the owner.

        Comment


          #5
          Originally posted by NinjaTrader_PatrickH View Post
          There would not be a way to access the template or assign one to the object.
          That's a bummer! as I was hoping access to both get and assign templates to manually drawn objects would now be possible in NT8 (unlike 7)..

          I haven't got that far yet, but I would like to be able to provide various fib templates with my indy, and then thru some simple clicks allow the user to switch back and forth between those templates.. (This particular instance would be for manually drawn fibs/objects)..

          If this is not currently possible.. please add that request and my vote to it..


          -=Edge=-
          NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

          Comment


            #6
            We have collected a number of votes on a tracked suggestion to add new method overloads for drawing tools which would allow you to specify a template to apply. I've added your vote to SFT-142.
            Dave I.NinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Rosario, Today, 12:50 AM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_PaulH  
            Started by Ithinkimlost, Yesterday, 08:50 PM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_PaulH  
            Started by Stanfillirenfro, Today, 05:31 AM
            0 responses
            25 views
            0 likes
            Last Post Stanfillirenfro  
            Started by sidlercom80, Today, 04:45 AM
            0 responses
            3 views
            0 likes
            Last Post sidlercom80  
            Started by NT-Roland, Today, 04:44 AM
            0 responses
            4 views
            0 likes
            Last Post NT-Roland  
            Working...
            X