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 Segwin, 05-07-2018, 02:15 PM
    14 responses
    1,788 views
    0 likes
    Last Post aligator  
    Started by Jimmyk, 01-26-2018, 05:19 AM
    6 responses
    837 views
    0 likes
    Last Post emuns
    by emuns
     
    Started by jxs_xrj, 01-12-2020, 09:49 AM
    6 responses
    3,293 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    13 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    11 responses
    63 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X