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 bmartz, 03-12-2024, 06:12 AM
      4 responses
      31 views
      0 likes
      Last Post bmartz
      by bmartz
       
      Started by Aviram Y, Today, 05:29 AM
      4 responses
      12 views
      0 likes
      Last Post Aviram Y  
      Started by algospoke, 04-17-2024, 06:40 PM
      3 responses
      28 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by gentlebenthebear, Today, 01:30 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by cls71, Today, 04:45 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X