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 argusthome, 03-08-2026, 10:06 AM
          0 responses
          61 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          40 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          21 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          23 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          51 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X