• 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

  • shonev
    started a topic Using strategy analyzer - beginner

    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

  • NinjaTrader_PaulH
    replied
    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

    Leave a comment:


  • shonev
    replied
    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

    Leave a comment:


  • NinjaTrader_PaulH
    replied
    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.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by pureblast2, Today, 10:44 PM
0 responses
1 view
0 likes
Last Post pureblast2  
Started by ntbone, 07-13-2019, 11:37 PM
10 responses
28 views
0 likes
Last Post ntbone
by ntbone
 
Started by nicknamed, Today, 05:10 PM
1 response
16 views
0 likes
Last Post NinjaTrader_EricB  
Started by pstrusi, Today, 04:57 PM
0 responses
7 views
0 likes
Last Post pstrusi
by pstrusi
 
Started by williamzz, Today, 04:18 PM
0 responses
6 views
0 likes
Last Post williamzz  
Working...
X