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 login_dejavu, 04-10-2020, 01:49 PM
      7 responses
      196 views
      0 likes
      Last Post markdshark  
      Started by SheriDi, Today, 06:21 PM
      0 responses
      5 views
      0 likes
      Last Post SheriDi
      by SheriDi
       
      Started by efeuvejota01, 05-10-2023, 05:34 PM
      21 responses
      153 views
      0 likes
      Last Post bltdavid  
      Started by Skechers, Yesterday, 05:59 PM
      4 responses
      22 views
      0 likes
      Last Post Skechers  
      Started by diorfo57, Yesterday, 11:36 PM
      9 responses
      43 views
      0 likes
      Last Post diorfo57  
      Working...
      X