Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

bars required question

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

    bars required question

    I have a multi time frame strategy. I run the strategy on a 1 minute, and add 3 and 15 minute time frames. I use a 12, 26, 9 MACD on the 15 minute bar, so for bars required I'd need 390 bars? (15 * 26 = 390)

    Just want to make sure I understand this in a multi time stragegy.

    -Erik

    #2
    "Bars required" option is independent from any indicator parameters. You even might go with a value of 0. However, you might see whipsaws on the early bars then.

    Basically you would need to figure out best setting for your setup to filter out start-up-whipsaws.

    Comment


      #3
      bars required question

      Originally posted by NinjaTrader_Dierk View Post
      "Bars required" option is independent from any indicator parameters. You even might go with a value of 0. However, you might see whipsaws on the early bars then.

      Basically you would need to figure out best setting for your setup to filter out start-up-whipsaws.

      ...if i have a strategy on a daily chart, and 'Bars required' set to 0, it would calculate right away? and if it was a 30min chart, and 'Bars required' set to 1, it would calculate after 1 bar of historical data?

      Comment


        #4
        Correct mystiq, this concerns the start of the historical data on your chart, it tells the script's OnBarUpdate() to wait for x bars until starting the calcs.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        59 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        143 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        161 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        97 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        283 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X