Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting Without Knowing How to Code

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

    Backtesting Without Knowing How to Code

    Is there a way to backtest a strategy in NT8 without knowing how to code? Is replaying data and manually executing trades the only way if you can’t code?

    #2
    Hello MoneyTrust,

    Thank you for your post.

    You mention "backtest a strategy" - do you mean a general trading strategy that you are using to determine your manually placed trades, or an automated strategy that you have imported into the platform from a third party? You may backtest automated strategies using the Strategy Analyzer:The Strategy Analyzer is used for testing NinjaScript strategies, which you may download and import from a third party. If you'd like to build your own strategy without knowing how to code, you could learn some of the basics and use the Strategy Builder to build your strategy using an interface that allows you to set up your strategy conditions and actions. This does not require you to write code in a code editor. For more information about the NinjaScript basics and the Strategy Builder:Otherwise, if you do not have any NinjaScript strategies imported and you do not plan to build your own strategy, downloading and replaying data would be the best option to backtest your manual trades over a period of time:


    Please let us know if we may be of further assistance.

    Comment


      #3
      Originally posted by NinjaTrader_Emily View Post
      Hello MoneyTrust,

      Thank you for your post.

      You mention "backtest a strategy" - do you mean a general trading strategy that you are using to determine your manually placed trades, or an automated strategy that you have imported into the platform from a third party? You may backtest automated strategies using the Strategy Analyzer:The Strategy Analyzer is used for testing NinjaScript strategies, which you may download and import from a third party. If you'd like to build your own strategy without knowing how to code, you could learn some of the basics and use the Strategy Builder to build your strategy using an interface that allows you to set up your strategy conditions and actions. This does not require you to write code in a code editor. For more information about the NinjaScript basics and the Strategy Builder:Otherwise, if you do not have any NinjaScript strategies imported and you do not plan to build your own strategy, downloading and replaying data would be the best option to backtest your manual trades over a period of time:


      Please let us know if we may be of further assistance.
      Yes, a manual, discretionary strategy.

      Comment


        #4
        Hello MoneyTrust,

        Thank you for your reply.

        In that case, the following statement applies:
        Otherwise, if you do not have any NinjaScript strategies imported and you do not plan to build your own strategy, downloading and replaying data would be the best option to backtest your manual trades over a period of time:
        https://ninjatrader.com/support/help...connection.htm
        Replaying data and manually executing trades would be the only way with no code involved. Otherwise, if you'd prefer to review reporting on trades that were already placed, you could use the Trade Performance window:


        Thank you for using NinjaTrader.

        Comment


          #5
          Originally posted by NinjaTrader_Emily View Post
          Hello MoneyTrust,

          Thank you for your reply.

          In that case, the following statement applies:


          Replaying data and manually executing trades would be the only way with no code involved. Otherwise, if you'd prefer to review reporting on trades that were already placed, you could use the Trade Performance window:


          Thank you for using NinjaTrader.
          Thanks for clearing that up.

          Comment


            #6
            Originally posted by NinjaTrader_Emily View Post
            Hello MoneyTrust,

            Thank you for your reply.

            In that case, the following statement applies:


            Replaying data and manually executing trades would be the only way with no code involved. Otherwise, if you'd prefer to review reporting on trades that were already placed, you could use the Trade Performance window:


            Thank you for using NinjaTrader.
            One more question. In manual backtesting through replay, are the stats kept automatically? Such as wins, losses, drawdowns, balance, etc.

            Comment


              #7
              Originally posted by MoneyTrust View Post
              One more question. In manual backtesting through replay, are the stats kept automatically? Such as wins, losses, drawdowns, balance, etc.
              As mentioned in the help guide, "The Playback101 account properties (e.g., Commissions, Risk, etc.) are created from the Sim101 account when connecting to the Playback Connection and cannot be reset while connected. The Playback101 account will reset with current Sim101 account properties when reconnecting."



              This means that the stats you are referring to would be reset/cleared when reconnecting. This also includes any time you drag the slider in the playback box to a new time. If you'd like to manually save results, you could go to the desired report then right-click and select Export in order to be able to save the report as an Excel file.

              Please feel free to reach out with any additional questions or concerns.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Today, 05:17 AM
              0 responses
              51 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              129 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              69 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              42 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              46 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X