Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer shows no trades

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

    Strategy Analyzer shows no trades

    This is very basic I am sure. But when I use strategy analyzer with my own strategy or others where I am certain there would be trades I am getting no results. I must be doing something wrong or a setting is wrong.


    klineal

    #2
    Hello Klineal,

    Unfortunately there isn't just one thing that could explain this. One thing you can do is add drawing objects for visual confirmation of signals. If you're seeing confirmation that your conditions are true but no orders are submitted, you can add TraceOrders = true; to your Initialize method. You then view output for strategy based orders through the tools > output window.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      Are you checking for Historical in your script? In back testing, all bars are considered to be Historical.

      Comment


        #4
        i have the same problem.i need to analyz a strategy already in the forum.do we need historical data to analyz or do we need some thing else.i m using IB as data feed.

        Comment


          #5
          Hello alfa123,

          Backtesting requires data. The data can be acquired through stored real time data or historical data. IB supplies historical data so you should be able to backtest with this connection.

          The suggestion by Avrohom relates to a coding mechanism where you return out of processing historical bars. Having this line in your strategy will prevent backtesting.



          That's an additional thing to check beyond using drawing tools and TraceOrders output to debug strategy orders.
          Ryan M.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          65 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          139 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          75 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          45 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          50 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X