Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strange trades at the beginning of the session...

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

    #16
    Thanks Ben,
    So for my case, if I use Bolinger Bands with a period of 14, and if I set 'min bars required' to less than 14, say 9, then the Bollinger calculation would be inaccurate, is that correct?

    If thats the case, if the trading period of a contract is 8am to 4pm, and you set these times for your script, and if you use 1min charts with a 14 period Bollinger Band, then you would not get accutate values for your Bollinger Bands until 8.14am.... is that correct, am I on the right lines?

    Then if that's also true, if I set my opening times to 14mins before the previous days close, then therefore my Bollinger Band value be correct on the start of the session at 8am?

    Are my deductions correct and could this be my quick fix???????

    Regards
    John
    Last edited by John833; 08-08-2008, 11:02 AM.

    Comment


      #17
      Hello,

      >>So for my case, if I use Bolinger Bands with a period of 14, and if I set 'min bars required' to less than 14, say 9, then the Bollinger calculation would be inaccurate, is that correct?

      Correct.

      >>If thats the case, if the trading period of a contract is 8am to 4pm, and you set these times for your script, and if you use 1min charts with a 14 period Bollinger Band, then you would not get accutate values for your Bollinger Bands until 8.14am.... is that correct, am I on the right lines?

      Your thinking is correct.

      >>Then if that's also true, if I set my opening times to 14mins before the previous days close, then therefore my Bollinger Band value be correct on the start of the session at 8am?

      Yes.

      >>Are my deductions correct and could this be my quick fix???????

      It could be. Congratulations, you are starting the debugging process!
      DenNinjaTrader Customer Service

      Comment


        #18
        Thanks Ben...

        Comment


          #19
          Dear Ben,

          But if the data/chart is continous it must take the data prior to 8am and calculate the indicator. Why should it be the case that only after current days 14 bars it starts calculating. How to solve this problem.

          Originally posted by NinjaTrader_Ben View Post
          Hello,

          >>So for my case, if I use Bolinger Bands with a period of 14, and if I set 'min bars required' to less than 14, say 9, then the Bollinger calculation would be inaccurate, is that correct?

          Correct.

          >>If thats the case, if the trading period of a contract is 8am to 4pm, and you set these times for your script, and if you use 1min charts with a 14 period Bollinger Band, then you would not get accutate values for your Bollinger Bands until 8.14am.... is that correct, am I on the right lines?

          Your thinking is correct.

          >>Then if that's also true, if I set my opening times to 14mins before the previous days close, then therefore my Bollinger Band value be correct on the start of the session at 8am?

          Yes.

          >>Are my deductions correct and could this be my quick fix???????

          It could be. Congratulations, you are starting the debugging process!

          Comment


            #20
            Hello kassaindia,

            When the indicator uses a period of 14, it will take 14 price bars for the indicator to calculate its value. Thus a minimum of 14 bars is required to plot an indicator value.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            75 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            45 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            26 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            62 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X