Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

writing code for multiple time frame indicator coordination

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

    writing code for multiple time frame indicator coordination

    In writing code for multiple time frame indicator coordination is it possible to have a strategy execute using the CLOSE of a price bar with one short term time frame along with an intra-bar reading from a longer term time frame?

    #2
    Originally posted by unispec View Post
    In writing code for multiple time frame indicator coordination is it possible to have a strategy execute using the CLOSE of a price bar with one short term time frame along with an intra-bar reading from a longer term time frame?
    I run calculateonbarclose = false.... so I would expect nothing less.

    but if it was true... it would take about 10 minutes of coding to verify in the output window.

    Control Center->tools->output window

    then use Print statements in your code for your BarsInProgress = 0 (I assume).

    Comment


      #3
      You can separate your logic to work at the end of each bar and also tick per tick. Please see our Reference Sample on this topic for more information:

      MatthewNinjaTrader Product Management

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      173 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      90 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      129 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      208 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      186 views
      0 likes
      Last Post CarlTrading  
      Working...
      X