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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      80 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      46 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      66 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X