Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Decimal point accuracy of Bollinger bands

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

    Decimal point accuracy of Bollinger bands

    Hi,
    I was looking to use Bollinger bands but notice that by default the values the Bollinger indicator method
    (eg Bollinger(IDataSeries input, double numStdDev, int period).Upper[int barsAgo] )

    returns are only to 2 decimal places (eg 122.11).

    I am used to values being returned, eg on esignal, to 6 decimal places.

    Is there a way to get the Bollinger values calculated/exposed to at least 3 or 4 decimal places?

    many thanks

    #2
    Update:

    I now see that the values are in fact calculated by the Bollinger method to 11 decimal places - more than enough.
    So my question is therefore a charting question, as on the chart if seems to plot in a linear way from one value to the next, with each value plotted at only 2 decimal places.

    Is it possible to make the chart more granular, and specify the number of decimal places to which I would like the Bollinger band values to be plotted?
    (eg 122.1132 and 122.1189, instead of 122.11 or 122.12)

    Comment


      #3
      Hi Pourleau,

      For price markers and the data box, the decimal format is based on the TickSize of the instrument. If you print the values, you can see them formatted to more digits.

      If you want to change the display of price markers to include more decimal points, can use this method:
      Ryan M.NinjaTrader Customer Service

      Comment


        #4
        That's perfect thanks v much.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        601 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        347 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        559 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        558 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X