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 futtrader, 04-21-2024, 01:50 AM
          6 responses
          57 views
          0 likes
          Last Post futtrader  
          Started by sgordet, Today, 11:48 AM
          0 responses
          1 view
          0 likes
          Last Post sgordet
          by sgordet
           
          Started by Trader146, Today, 11:41 AM
          0 responses
          2 views
          0 likes
          Last Post Trader146  
          Started by jpapa, 04-23-2024, 07:22 AM
          2 responses
          17 views
          0 likes
          Last Post rene69851  
          Started by funk10101, Today, 11:35 AM
          0 responses
          1 view
          0 likes
          Last Post funk10101  
          Working...
          X