• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Moving Profit Targets

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

    Moving Profit Targets

    Is it possible to move the Profit Target from an Automated Strategy. Say I have a profit target of 2 ticks submitted from an automated strat and after 20 one minute bars it isn't reached so I want the profit target to move to 1 tick. Is this possible or can you only move stops in a strategy? Thanks for any help on this.

    #2
    If you would like to manually move a working stop or target, you will need to call an ATMStrategy method.

    NinjaTrader comes with a sample under Tools > Edit NinjaScript > SampleATMStrategy.

    For changing the target via the script, you can see an example of how to modify a working Target from the following link:

    http://www.ninjatrader.com/support/f...ead.php?t=3222
    MatthewNinjaTrader Product Management

    Comment


      #3
      It was via script. Thank you for your detailed reply. Worked great! Thank you for your help.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by morrnel, Today, 09:40 AM
      2 responses
      5 views
      0 likes
      Last Post morrnel
      by morrnel
       
      Started by Grantx, Today, 08:22 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by Johnny Santiago, Today, 09:43 AM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by caveat_lector, 05-25-2020, 04:34 PM
      2 responses
      20 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by Swing123, Today, 08:21 AM
      2 responses
      5 views
      0 likes
      Last Post Swing123  
      Working...
      X