Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy switches to seconds chart

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

    Strategy switches to seconds chart

    I have a strategy that I start from a chart. The chart is a 15 minute chart. Upon start, it sometimes switches to a second chart at launch. Nothing in the code tells it to do this (if that is even possible).

    I haven't determined any reason that it does this. Sometimes it happens when a strategy is running on a chart and I change the symbol (which restarts the strategy).

    Notice the top right which shows the 15m selected and above it says seconds.

    Any ideas?
    Rich
    Attached Files
    Last edited by richtobey; 06-20-2011, 09:48 AM.

    #2
    Hi Rich,

    Initialize() is called for all scripts, not just the one you're working with. It's possible another script is setting the interval with unsupported code. Another forum member had the same issue and identified a script called connection monitor that did something similar. Hopefully provides you some clues on what script it may be in your NS environment.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      I had installed connection monitor but was not using it. thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      115 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      61 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      40 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      43 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      82 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X