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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        67 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        60 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X