Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Quick 'ConstantLines' question

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

    Quick 'ConstantLines' question

    I like to use the constant lines indicator, but I can't figure out how to plug in the values for the bond futures like ZN or ZB. They are quoted as 117'040 etc. The indicator won't take the apostrophe. I tried to replace it with a decimal but it didn't work.

    #2
    Hi jonbig04,

    Thank you for your post.


    You will need to convert the pip value over to a decimal by using the following formula:

    pip value / 32 = decimal value


    Unfortunately, no better method currently exits. It would, however, be possible to change the way ConstantLines works to accept values as you desire through custom programming. If you are not a programmer, any of the NinjaScript consultants listed at the following link could code this type of project for you: http://www.ninjatrader.com/webnew/pa...injaScript.htm
    KyleNinjaTrader Customer Service

    Comment


      #3
      Got it, thanks. I would have never figured it out on my own. I'm no programmer, so I'll just stick to the decimal conversion. I only change the lines every once in a while so it's not a real hassle.

      Comment


        #4
        Hi, I'm just trying to add some lines to a zn chart. What do you mean by pip value/32. How would I calculate and enter, say, 129'220

        thanks

        Comment


          #5
          Hello syxforex,

          To place the line at 229'220 you will use a value of 129.6875. 220 32
          Christopher S.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by kempotrader, Today, 08:56 AM
          0 responses
          4 views
          0 likes
          Last Post kempotrader  
          Started by kempotrader, Today, 08:54 AM
          0 responses
          3 views
          0 likes
          Last Post kempotrader  
          Started by mmenigma, Today, 08:54 AM
          0 responses
          1 view
          0 likes
          Last Post mmenigma  
          Started by halgo_boulder, Today, 08:44 AM
          0 responses
          1 view
          0 likes
          Last Post halgo_boulder  
          Started by drewski1980, Today, 08:24 AM
          0 responses
          3 views
          0 likes
          Last Post drewski1980  
          Working...
          X