Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TickSize in NinjaTrader with NT set to TenthPip

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

    TickSize in NinjaTrader with NT set to TenthPip

    I'm writing a strategy that adds one tick/pip to the prior candle's high as a stop (or the prior low for long trades). So far so good and it works fine on the futures side. However with FX I've got a bit of a problem. In the data settings panel I have set the quote currency (FX) to TenthPip. Now instead of adding a pip it's adding a 1/10 of a pip in my strategy.

    Any way to avoid that? I'm using TickSize in my code (e.g. High[1] + TickSize))

    Thanks in advance.

    #2
    Hello molecool,

    Thank you for your post.

    You will need to adjust your code for use with Forex versus Futures and Equities.

    For information on how quantity plays a factor in Forex strategies please visit the following link: http://www.ninjatrader.com/support/h...strategies.htm

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

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello molecool,

      Thank you for your post.

      You will need to adjust your code for use with Forex versus Futures and Equities.

      For information on how quantity plays a factor in Forex strategies please visit the following link: http://www.ninjatrader.com/support/h...strategies.htm

      Please let me know if I may be of further assistance.
      This is good info but I don't think it addresses my question. I was asking about pip sizes when NT is set to TenthPips. Was I unclear?

      Comment


        #4
        Hello molecool,

        Thank you for your response.

        You were nor unclear. You understand how the different quantity sizes from Futures to Forex work. You will need to work with each strategy differently if it is setup for Futures or Forex data. Make sure to review the information at the following link: http://www.ninjatrader.com/support/h...strategies.htm

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

        Comment


          #5
          Originally posted by NinjaTrader_PatrickH View Post
          Hello molecool,

          Thank you for your response.

          You were nor unclear. You understand how the different quantity sizes from Futures to Forex work. You will need to work with each strategy differently if it is setup for Futures or Forex data. Make sure to review the information at the following link: http://www.ninjatrader.com/support/h...strategies.htm

          Please let me know if I may be of further assistance.
          Patrick I am NOT talking about quantity sizes. I am talking about PIPS!! When enabling TenthPips in NinjaTrader my strategy uses TenthPips as the pip size via the 'TickSize' call. I need to add a full pip to my stop - not a tenth of a pip.

          For instance - let's say I use the length of a prior candle as my base to calculate my stop. The wick length is 23'4 pips. That's 23 and 4 tenth of a pip. Now I need to add ONE pip to that which would get me to 24'4 pips as my stop distance. However, when I add one pip via + TickSize I get 23'5 (235) as the result. That happens because NinjaTrader is set to TenthPips (I think).

          Does that make more sense?
          Last edited by molecool; 03-19-2013, 11:08 AM.

          Comment


            #6
            Hello molecool,

            Thank you for your response.

            Yes, this makes sense. With the TenthPip setting you will need to times TickSize by 10 to get a full pip.

            For example: High[1] + (10 * TickSize)

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

            Comment


              #7
              Originally posted by NinjaTrader_PatrickH View Post
              Hello molecool,

              Thank you for your response.

              Yes, this makes sense. With the TenthPip setting you will need to times TickSize by 10 to get a full pip.

              For example: High[1] + (10 * TickSize)

              Please let me know if I may be of further assistance.
              Ah - I see - so in other words I'll have to hack it (cracks fingers)

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              648 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              369 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              108 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              572 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              573 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X