Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

MinMove/Price Scale

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

    MinMove/Price Scale

    Hello,

    I am working on converting code from Tradestation into Ninja Trader. I need help to find min move,Price scale and big point equivalents in Ninja or you can guide me to calculate these values through coding.
    In Ninja Trader we have prices values up to 4 decimal places i.e 1.3256. How can I get more values after decimal?

    Thanks

    #2
    Hello tazz90,

    Thank you for your post.

    The double price values are rounded to the nearest tick size Close, Open, High and Low. What instrument are you viewing that the price value returned in your code is not the proper tick size?

    I look forward to your response.

    Comment


      #3
      Ok now I understand.

      What about this :
      I am working on converting code from Tradestation into Ninja Trader. I need help to find min move,Price scale and big point equivalents in Ninja or you can guide me to calculate these values through coding.

      Thanks

      Comment


        #4
        Hello tazz90,

        Thank you for your response.

        I would think you are looking for the TickSize for minimum movement and MasterInstrument.PointValue for the big point.

        For information on TickSize please visit the following link: http://www.ninjatrader.com/support/h...7/ticksize.htm

        For information on MasterInstrument.PointValue please visit the following link: http://www.ninjatrader.com/support/h...trument_po.htm

        For Price Scale I am not quite sure what you are looking for here. Is this the scale of the chart?

        I look forward to your response.

        Comment


          #5
          Regarding decimal points, let say I have imported data manually. In my data file I have values upto 6 decimal places but the tick size of instrument is 0.0001. Ninja reads values to 4 places after decimal. Is it possible to set instrument setting to read the exact values in files no matter how many decimal places are or at least upto specified decimal points?

          By price scale I mean this : http://help.tradestation.com/08_08/e...rved_word_.htm
          You can also find MinMove and big point term which I am talking about.
          Thanks

          Comment


            #6
            Hello tazz90,

            Thank you for your response.

            There is no method for a dynamic tick size base don the data. However, you can change the tick size of the instrument by going to Tools > Instrument Manager > search for the instrument > select the instrument > Edit > then change the tick size to the desired value > OK > OK.

            MinMove is TickSize in NinjaScript and BigPointValue is MasterInstrument.PointValue. However, I am not aware of PriceScale in NinjaScript based on the description in the link you provided.

            If I needed the price per tick I would just calculate TickSize / 1 * MasterInstrument.PointValue, this would give me 12.5 for the ES which is the proper value per tick (tick being .25 on the ES and a point is 50).

            Please let me know if I may be of further assistance.

            Comment


              #7
              Thank you so much your replies helped me a lot

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Belfortbucks, Today, 09:29 PM
              0 responses
              6 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
               
              Started by mattbsea, Today, 05:44 PM
              0 responses
              6 views
              0 likes
              Last Post mattbsea  
              Started by RideMe, 04-07-2024, 04:54 PM
              6 responses
              33 views
              0 likes
              Last Post RideMe
              by RideMe
               
              Working...
              X