Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enter a position by an offsetted stop order

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

    Enter a position by an offsetted stop order

    I'd need to enter a stop order at a fixed price, but it seems not to be possible.
    For example if I have a buy signal when the 14 SMA cross above the 50 SMA, I want to enter a long position by a stop order at the closing price plus the current ATR14.
    If the price doesn't match my condition at the next bar then the stop order moves following the closing price of the following bars. e.g.: closing price of the bar that match the crossing condition is ES12-20: 3000; STOP ORDER: 3000 + ATR14=5 --> 3005. The price doesn't reach 3005 until the close of the bar and closes at 3003. So the strategy builder moves my stop order at 3003+ ATR14=5----> 3008.
    Instead I need my order to stay at 3005.
    It's a possible thing to do with the strategy builder?
    I hope I made myself clear.

    Thank tou very much

    #2
    Hello Gianni78bari,

    It sounds like the problem is that the stop is trailing rather than being placed at a fixed price. You could use a variable like the following builder example to control different stages in an orders price. This is specifically a break even but you could use similar logic to control when a price is being set to prevent it from moving between OnBarUpdate events.

    https://ninjatrader.com/support/foru...596#post806596

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Jesse View Post
      Hello Gianni78bari,

      It sounds like the problem is that the stop is trailing rather than being placed at a fixed price. You could use a variable like the following builder example to control different stages in an orders price. This is specifically a break even but you could use similar logic to control when a price is being set to prevent it from moving between OnBarUpdate events.

      https://ninjatrader.com/support/foru...596#post806596

      I look forward to being of further assistance.
      Problem solved.
      Thank you very much.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by wooofad, Today, 05:38 PM
      0 responses
      4 views
      0 likes
      Last Post wooofad
      by wooofad
       
      Started by caacapital, Today, 10:10 AM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by DiverG20, Today, 10:23 AM
      0 responses
      22 views
      0 likes
      Last Post DiverG20  
      Started by SuneSorgenfrei, Today, 09:29 AM
      0 responses
      22 views
      0 likes
      Last Post SuneSorgenfrei  
      Started by dodoei, Today, 07:24 AM
      0 responses
      14 views
      0 likes
      Last Post dodoei
      by dodoei
       
      Working...
      X