Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy is not working in SIM

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

    Strategy is not working in SIM

    I have created a strategy with Strategy Builder. It works in Strategy Analyzer but not in SIM101 with Continuum. The strategy has been added to the chart. The strategy is in the Strategies tab and is enabled and showing as green. Plot executions is set to Text and Marker in the Data Series

    #2
    Hello Itachi,

    Welcome to the NinjaTrader forums!

    Please try testing the Sample MA Crossover included with NinjaTrader on the same instrument, bar type, and interval.

    Are you seeing the Sample MA Crossover has historical and/or real-time orders submitted?

    Are you looking at the strategy performance window?
    If yes, are you viewing Historical, Real-time, or Real-time and Historical?
    [url]https://ninjatrader.com/support/helpGuides/nt8/index.html?running_a_ninjascript_strateg2.htm#HowToViewStrategyPerformance[/url]


    If the expected trade(s) are not appearing, this would indicate that the condition to place the order is not evaluating as true or the order is being ignored for other reasons.

    To understand why the script is behaving as it is, such as placing orders or not placing orders or drawing objects when expected, it is necessary to add prints to the script that print the values used for the logic of the script to understand how the script is evaluating.

    Below is a link to a forum post that demonstrates how to use prints to understand behavior and includes links to videos.
    [URL]https://ninjatrader.com/support/forum/forum/ninjatrader-8/indicator-development/97575-sample-scripts?p=786040#post786040[/URL]

    Please let me know if you would like assistance analyzing the output from the NinjaScript Output window.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by helpwanted, Today, 03:06 AM
    1 response
    5 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    7 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    5 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X