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 srbdoc, Today, 04:36 PM
      1 response
      32 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by jimmy12, 01-02-2023, 05:06 PM
      3 responses
      55 views
      0 likes
      Last Post jimmy12
      by jimmy12
       
      Started by tommmm, 02-27-2019, 05:19 AM
      4 responses
      801 views
      0 likes
      Last Post akaSurreal  
      Started by TallTim, Today, 06:13 AM
      2 responses
      39 views
      0 likes
      Last Post TallTim
      by TallTim
       
      Started by givemefood, Today, 06:09 PM
      0 responses
      27 views
      0 likes
      Last Post givemefood  
      Working...
      X