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 judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      53 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      33 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      5 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      19 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      6 views
      0 likes
      Last Post cre8able  
      Working...
      X