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
    Paul H.NinjaTrader Customer Service

    Comment


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

      best regards

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,404 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      95 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      8 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      160 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Yesterday, 09:29 PM
      0 responses
      9 views
      0 likes
      Last Post Belfortbucks  
      Working...
      X