Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Snapping horizontal lines to price

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

    #16
    but with no indicators, the snap works perfectly fine on the ES and it will snap in .25 increments. is there any way to specify snap increments? is there any way to exclude the indicators for the snap function?

    Comment


      #17
      Hello,

      This is correct as the snap will snap to any y price. If you apply an indicator to a chart you are adding snap points. These snap points will snap to the indicator values in addition to the price values and this is expected. Unfortunately on the ES since the ES has a .25 tick value and any other instrument that has a similar tick value you will see this occur on, since the indicator can be calculated to be 1024.63 for example and ploted on the y axis. An example of this would be instead of going from .25 to .50 to .75 like on the ES the instrument went .1 .2 .3 .4 like the TF (There is no gaps) you do not see this occur.

      Let me know if I can be of further assistance.
      Last edited by NinjaTrader_Brett; 08-12-2010, 02:53 PM.
      BrettNinjaTrader Product Management

      Comment


        #18
        ok, i see. do you know of any kind of work-around? is there a way to exclude objects to snap to? a way to change the decimal places on the indicators?

        Comment


          #19
          Hello,

          No work around currently.
          BrettNinjaTrader Product Management

          Comment


            #20
            You can change the decimal formatting of the indicator through code.
            Josh P.NinjaTrader Customer Service

            Comment


              #21
              I successfully changed the decimal place on the indicator, but the snap still uses the full data points even though the indicator only displays one decimal place. any other ideas?

              Comment


                #22
                393mach1,

                Then you will most likely need to force rounding your indicator values to your desired format. This will need to be done in indicator code on the value before you do .Set().
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                612 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                355 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                105 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                561 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                564 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X