• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using strategy analyzer - beginner

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

    Using strategy analyzer - beginner

    Hi,

    I was watching videos from youtube, about creating strategies and so one (Strategy Wizard 301 - NinjaTrader 7 Training,....). But seems I am getting problem with running them through analyzer ? Even with this free, downloaded from forum.

    When I run most of the strategies, I am not getting anything, number of trades remain zero, even I tried to change data series type from minute to day or back.

    Opened strategy analyzer, opened output window, choose the instrument, click to open backtesting, choose strategy from dropdown, changed data series, clicked on "Run Backtest" and nothing happens.
    What I am missing in all this ?

    Thanks,

    Neb

    #2
    Hello shonev,

    Thanks for your post and welcome to the NinjaTrader forums!

    Please test using the strategy SampleMACrossover. This strategy is an always in so you should get trades unless you do not have historical data. If you do not have historical data, connect to your live data feed and re-run the sampleMACrossover in the strategy analyzer. This will pull in the data needed.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      2nd question re strategies

      Hi Paul,

      This one seems working with historical data.
      Thanks for hint !
      2nd question would be then, how can I debug strategy ?
      How can I find out what did I missed for ones which are not working ?
      Did I miss something in configuration settings, params or something else ?
      I took some from forum and some I created through wizard.

      Thanks,

      Neb

      Comment


        #4
        Hello,

        Thanks for your reply.

        You would use print statements in your code to print out to the output window when you expect certain conditions/logic to change to verify that it is changing (or not). Alternately or in addition you can draw objects such as triangle, diamonds, dots, etc , on the chart when conditions are true. These and other dubugging tips are discussed here: http://ninjatrader.com/support/forum...ead.php?t=3418
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by hemlaguza, Today, 12:19 AM
        0 responses
        2 views
        0 likes
        Last Post hemlaguza  
        Started by sdauteuil, Yesterday, 11:02 PM
        1 response
        3 views
        0 likes
        Last Post sdauteuil  
        Started by Jschmelz, Yesterday, 04:45 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Marco  
        Started by sisenberg, Yesterday, 08:06 PM
        1 response
        11 views
        0 likes
        Last Post sisenberg  
        Started by priceisking, Yesterday, 07:44 PM
        0 responses
        8 views
        0 likes
        Last Post priceisking  
        Working...
        X