Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pending order at price touch - need help

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

    Pending order at price touch - need help

    hallo there,

    i need your help. seach a lot but didnt find a solution.
    maybe its very simple...

    if the market goes up to a price level i set, i want to generate a short pending order
    at a lower price. if possible with stop and take profit.

    like this:
    market is at 100$
    i want to activate a pending order if the price reachs 120$
    so if the price comes down to 90$ i want to go short with 20$ stop and 50$ take profit.

    you can also call it: make a pending order if horizontal line is broken...

    i am sure its very simple but i found everything but not my problem in the web.
    so i hope you can help me.

    best regards and thanks

    lux

    #2
    Hello lux12,

    Thanks for your post and welcome to the forums!

    You can create a strategy that compares the current price to the horizontal line value and when price crosses above the line value you can then place a ShortStopLimit() order at the $90 level. You can use the setStopLoss() and SetProfitTarget() methods to the place a stop loss and profit target as soon as the entry order is filled.

    references:
    http://ninjatrader.com/support/helpG...tstoplimit.htm
    http://ninjatrader.com/support/helpG...etstoploss.htm
    http://ninjatrader.com/support/helpG...ofittarget.htm

    You can create the strategy directly in Ninjascript or through the strategy wizard.
    http://ninjatrader.com/support/helpG...strategies.htm

    Comment


      #3
      thank you for reply - i will test it this week.

      best regards

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      68 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      39 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X