• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reference manually drawn trendline

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

    #16
    Originally posted by NinjaTrader_RyanM View Post
    You may be able to get some ideas from this indicator:
    http://www.ninjatrader.com/support/f...d=4&linkid=472
    I put your formula in my spreadsheet comparing my calculations and your method.

    Yours is a little more simpler.

    I set up some proportions based on what was reported by NT, which had a few more calculations.

    On my sample, 1390.9868884520 to 1393.00, bars 6382 to 6399, I'm off by .003 in rounding at the final bar ( 1392.9970910472). Your totals exactly to 1393.00.


    I was kind of surprised NT didn't calculate this and make a ValueAtLine or something for the current 'bar', like with "endY" for Horizontal Lines.

    Comment


      #17
      Thanks for your feedback sledge, exposing this value natively is on our suggestion lists, I will make sure to add your vote in as well.
      BertrandNinjaTrader Customer Service

      Comment


        #18
        Do you know if this feature request made it in to NT8??

        Comment


          #19
          Originally posted by jg123 View Post
          Do you know if this feature request made it in to NT8??
          There is an Alert option which may do what you want without programming.

          Check out this recent webinar that goes over it:

          https://www.bigmiketrading.com/ninja...tml#post494565

          Comment


            #20
            Hello jg123,

            Originally posted by jg123 View Post
            Do you know if this feature request made it in to NT8??
            Yes, the ability to trigger alerts when the price or an indicator crosses a manually drawn line has been added to NinjaTrader 8.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #21
              Thank you Chelsea an Sledge!!

              I have watched the webinar now and between what I could see there and the wording that you used, it sounds like it can only place an order when it *crosses* the drawn line. Will it be possible to submit the order when the data series *closes* beyond the line?

              Comment


                #22
                Originally posted by jg123 View Post
                Thank you Chelsea an Sledge!!

                I have watched the webinar now and between what I could see there and the wording that you used, it sounds like it can only place an order when it *crosses* the drawn line. Will it be possible to submit the order when the data series *closes* beyond the line?
                That's what one of the options is.

                Comment


                  #23
                  Hello jg123,

                  Yes, you can detect a cross above, cross below, less than, less than or equal to, greater than, greater than or equal to, not equal, and equal.
                  Chelsea B.NinjaTrader Customer Service

                  Comment


                    #24
                    Thanks Chelsea.

                    I apologize for asking the same question with different wording, but I am just still not quite clear. I appreciate you showing all of the option but I am still not clear if one can say "if the close is greater than" or "if the close is less than or equal to" or "if the close is not equal to" etc.

                    At this point, it still seems like it might just be "if the price crosses" or "if the price is greater than" or "if the price is not equal to" etc.

                    Thank you again for your help

                    Comment


                      #25
                      Hello jg123,

                      For the alerts, you can take one object and use any of the comparison operators to compare this to another object.

                      This is very similar to how this works in the condition builder that is part of the Strategy Wizard.

                      Yes, you can trigger an alert when a bar closes greater than a drawn line.
                      Chelsea B.NinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by iishkuatcyta, Today, 02:43 AM
                      0 responses
                      1 view
                      0 likes
                      Last Post iishkuatcyta  
                      Started by curious, Today, 02:17 AM
                      1 response
                      4 views
                      0 likes
                      Last Post NinjaTrader_EricB  
                      Started by pmmkm, Yesterday, 11:13 PM
                      0 responses
                      3 views
                      0 likes
                      Last Post pmmkm
                      by pmmkm
                       
                      Started by pulpiwapi, 03-04-2019, 11:18 PM
                      11 responses
                      149 views
                      0 likes
                      Last Post music_p13  
                      Started by indy73, 06-25-2019, 10:52 PM
                      3 responses
                      20 views
                      0 likes
                      Last Post sledge
                      by sledge
                       
                      Working...
                      X