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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          65 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          149 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          99 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          286 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X