Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy just for Backtest

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

    Strategy just for Backtest

    Hello,
    I´m trying to create a very very simple strategy just to use it in Backtesting with the Strategy Analyzer, but it doesn't give any results. The only things I'm editing in the strategy builder are the stop loss and profit target total possitions. I don't need no conditions or anything else, maybe that´s the problem.

    The Sample MA works fine in the Backtest, but the Sample ATM doesn´t. I have loaded the Historical data I need just in case, but nothing happens.
    Any idea of what I should do?

    Thank you very much

    #2
    Hello Belen, thanks for your post, and welcome to the NinjaTrader forum. I will be happy to help out.

    Can you give details and screen shots of the strategy you made in the builder?

    The SampleATMStrategy will not work in a backtest as the ATM Strategy Methods are meant for real-time only.

    I look forward to hearing from you.

    Comment


      #3
      Hello,
      Thanks for your quick response. The only thig I'm editing in my Strategy is the Stop and Target as you can see in this screenshot. I didn't touch anything else and it let me Save it with no problem.




      Comment


        #4
        Hello Belen, thanks for your reply.

        The strategy needs to submit an entry order for the stop and target orders to be applied. If there is no entry order those protective orders will not be used. In order to backtest this, define an entry order condition and submit an order in the Actions list. For a real-time trading solution, consider using ATM Strategies. We have a few examples of using the condition builder here.

        Please let me know if I can assist any further.

        Comment


          #5
          Ok. I'll try
          Thank you very much.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          52 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          130 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          70 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          44 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          48 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X