Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automated strategy becoming disabled

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

  • NinjaTrader_BrandonH
    replied
    Hello swjake,

    Thanks for your notes.

    To clarify, are you reporting that your custom NinjaScript strategy you created is becoming disabled?

    If so, please check the Log tab of the Control Center for any error messages that would be related to the disabling of the strategy and includes the message of disabling the strategy. These error messages would provide some clues as to the cause for why the strategy was disabled. Once the cause is known then you can determine what is needed to prevent that.

    If the NinjaScript strategy is not behaving as you expect it to, debugging prints should be added to the strategy to confirm exactly how your conditions and logic are evaluating. In the strategy add prints (outside of any conditions) that print the values of every variable used in every condition along with the time of that bar to see how the conditions evaluate.

    Prints will appear in the NinjaScript Output window (New > NinjaScript Output window).​

    Below is a link to a forum post that demonstrates how to use prints to understand behavior.
    https://ninjatrader.com/support/foru...121#post791121

    Leave a comment:


  • NinjaTrader_PaulH
    replied
    Hello Bmatarese,

    Thanks for your reply.

    It does indicate a loss of connection with the price data feed server. There could be a number of connection points between your PC and the source server so the connection loss could occur at any of those points, including your wifi. You can eliminate wifi issues by directly connecting to your router/modem.

    You may want to review your connection loss settings for strategies. These are found in Tools>Options>Strategies. Please see the help guide section, "Understanding NinjaScript properties" on this page: https://ninjatrader.com/support/helpGuides/nt8/?options_strategies.htm for further information regarding these settings.

    Leave a comment:


  • Bmatarese
    replied
    It says Primary connection=Connected, Price Feed=Connection lost

    Leave a comment:


  • Bmatarese
    replied
    It says lost price connection for more than 10 seconds and will be restarted. Does this imply an issue with my wifi?

    Leave a comment:


  • NinjaTrader_PaulH
    replied
    Hello Bmatarese,

    Thanks for your post.

    Please check the "Log" tab of the control center as this would show any error messages that would be related to and include the message of disabling the strategy. These error messages would provide some clue as to the cause. Once the cause is known then you can determine what is needed to prevent that.

    If the strategy becomes disabled, it would be expected that any indicators applied by the strategy would be automatically removed from the chart.

    Leave a comment:


  • Bmatarese
    started a topic Automated strategy becoming disabled

    Automated strategy becoming disabled

    I left my automated strategy unattended for a couple of hours and for some reason it completely shut off. The indicators the strategy displays stopped showing up and the strategy stopped executing trades. How do I prevent this from happening again. Thanks in advance.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Christopher_R, Today, 12:29 AM
0 responses
6 views
0 likes
Last Post Christopher_R  
Started by sidlercom80, 10-28-2023, 08:49 AM
166 responses
2,235 views
0 likes
Last Post sidlercom80  
Started by thread, Yesterday, 11:58 PM
0 responses
3 views
0 likes
Last Post thread
by thread
 
Started by jclose, Yesterday, 09:37 PM
0 responses
7 views
0 likes
Last Post jclose
by jclose
 
Started by WeyldFalcon, 08-07-2020, 06:13 AM
10 responses
1,415 views
0 likes
Last Post Traderontheroad  
Working...
X