Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sell stop or sell stop limit orders can't be placed above market

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

    Sell stop or sell stop limit orders can't be placed above market

    Hello forum,

    I get the message in the title while testing a strategy on 4 days market replay data. I don't really understand how this is possible nor how to prevent it.
    I am using NT8's methods as per tutorial, first i declare

    if (State == State.Configure)
    {
    SetProfitTarget(CalculationMode.Ticks, 8);
    SetStopLoss(CalculationMode.Ticks, 4);
    }


    and then for orders I use:
    EnterShort() and EnterLong()

    I am attaching the screensot of the error and a snippet of my code.

    Can somebody help me out? This has been driving me crazy for the last week!
    Thanks a lot!

    Attached Files

    #2
    This is happening to me as well. There is no issue in BackTest, just replay mode.

    Comment


      #3
      Hello Theghios,

      May I confirm that you are using 8.0.23.2? (With issue 14723 corrected)
      https://ninjatrader.com/support/help...8/8_0_23_2.htm

      ravipatel_us, welcome to the NinjaTrader forums!
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        I can confirm that.

        Comment


          #5
          Hello ravipatel_us,

          Thank you for confirming this. Please send an email to scriptingsupport [at] ninjatrader [dot] com so that we may request your log and trace files.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by algospoke, Yesterday, 06:40 PM
          2 responses
          23 views
          0 likes
          Last Post algospoke  
          Started by ghoul, Today, 06:02 PM
          3 responses
          14 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by jeronymite, 04-12-2024, 04:26 PM
          3 responses
          45 views
          0 likes
          Last Post jeronymite  
          Started by Barry Milan, Yesterday, 10:35 PM
          7 responses
          22 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by AttiM, 02-14-2024, 05:20 PM
          10 responses
          181 views
          0 likes
          Last Post jeronymite  
          Working...
          X