Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtest limit order entry

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

    Backtest limit order entry

    Hi

    Apologies if this has been covered elsewhere. I've searched the forums, but cant find the answer I'm looking for. I'm running a strategy test and set a bunch of conditions and want to enter short on limit 4 pips above the close of the last bar. However when i select to enter on limit the only option is price implying it will enter at a specific price. Using the wizard is there any way to test limit order entries which are X pips away from the last bar's close?

    Regards

    Dave

    #2
    Dave,

    You will just need to type in the numeric value of the price for that 4 pip evaluation.

    Close[0] + 4 * TickSize
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks

      Where do I type that?

      I dont have any coding knowledge so am relying on the strategy wizard.

      Under do the following.
      I click add
      Enter short position by limit order.
      The options in the boxes are:
      Quantity
      Limit Price
      Signal name

      Do I insert your suggested line there in the limit price box? Doesnt seem right.

      Is there a way of doing this through the wizard or do I have to use the code?

      Comment


        #4
        In the Limit box select the ... button on the side and select the Price category's close. Then in the offset parameter type in 4.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Excellent customer service. Thanks for your speedy replies

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          51 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          142 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          160 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          96 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          275 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X