Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding a dashed line from entry to target/stop

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

    Adding a dashed line from entry to target/stop

    Hello,
    is there a way to add a dashd line from the entry point to the exit point ?
    br

    #2
    Hello mate41,

    Thanks for your post.

    What you describe here is possible, but custom programming is required. If you are not a programmer, any of the NinjaScript consultants listed at the following link could code this project for you: https://www.ninjatrader.com/partners...pt-Consultants
    KyleNinjaTrader Customer Service

    Comment


      #3
      Hi Kyle,
      The intention is to create an indicator for that. I don't (as an old C/Assembler programmer) need any consultant and only need the entry/exit price/variable points.
      I joined NT in aug 2011 so can't know everything about NT at now

      Comment


        #4
        Originally posted by mate41 View Post
        Hi Kyle,
        The intention is to create an indicator for that. I don't (as an old C/Assembler programmer) need any consultant and only need the entry/exit price/variable points.
        I joined NT in aug 2011 so can't know everything about NT at now
        Ah, how nice to see someone else who had to know what the hardware was doing.

        In this case, you just need the DrawLine() method.

        ref: http://www.ninjatrader.com/support/h...l?drawline.htm

        Comment


          #5
          Thanks koganam,
          for drawing a line we have to know from where to where, exact? So, the "from where" is the entry-point of a trade ande the "to where" is the exit point of the trade. These points (price) are displayd on the chart when a trade is done, so they could be accessed, do it ?
          Maybe what i want is already available on NT, i don't know : " a line drawed from the entry-point to the exit-point of a trade on the chart".

          Comment


            #6
            Accessing trade details is possible in a NinjaScript strategy only but this feature (draw lines between entries and exits) is already available there.

            There's unfortunately no way to access trade information programatically, unless you're accessing from within the specific strategy instance that generated them. .
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              Thanks RyanM,
              if i understand, that line could only be there on a strategy, not on a manually trade ?

              Comment


                #8
                Yes, exactly, but then drawing between executions is already available in a strategy with no additional code required.
                Attached Files
                Ryan M.NinjaTrader Customer Service

                Comment


                  #9
                  RyanM,
                  this is very strange, do not work for me. See attached shots.
                  Sorry, "TextandMarker" In an ATM strategy.
                  Attached Files
                  Last edited by mate41; 10-24-2011, 11:57 AM.

                  Comment


                    #10
                    These lines are only available in a NinjaScript strategy, not an ATM strategy.
                    Ryan M.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by judysamnt7, 03-13-2023, 09:11 AM
                    4 responses
                    59 views
                    0 likes
                    Last Post DynamicTest  
                    Started by ScottWalsh, Today, 06:52 PM
                    4 responses
                    36 views
                    0 likes
                    Last Post ScottWalsh  
                    Started by olisav57, Today, 07:39 PM
                    0 responses
                    7 views
                    0 likes
                    Last Post olisav57  
                    Started by trilliantrader, Today, 03:01 PM
                    2 responses
                    21 views
                    0 likes
                    Last Post helpwanted  
                    Started by cre8able, Today, 07:24 PM
                    0 responses
                    10 views
                    0 likes
                    Last Post cre8able  
                    Working...
                    X