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 soon123, Today, 12:18 AM
      1 response
      20 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by space_trader, Today, 12:52 AM
      1 response
      20 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by ybhx0315, Yesterday, 09:06 PM
      0 responses
      20 views
      0 likes
      Last Post ybhx0315  
      Started by parkinsonbr, Yesterday, 08:23 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by fxRichard, Today, 04:35 AM
      2 responses
      14 views
      0 likes
      Last Post fxRichard  
      Working...
      X