Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Manual Movement of Targets and Stops in an Automated Strategy

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

    Manual Movement of Targets and Stops in an Automated Strategy

    Does anyone have code I can add (and instructions on how and where to add such code) to an automated strategy that allows me to manually move my targets and stops without the strategy returning them to their original position?

    #2
    Hello kal1212,

    In general manually moving targets with a Strategy is not supported. Strategies won't see that change, if your logic later updates a target it will snap back to the original price.

    The suggested way to do this would be to have the strategy move the order for you. If you wanted a means to manually make a change you could add custom buttons to the user interface to make specific changes to orders.



    ATM's would otherwise be suggested however if you have any stop logic such as trailing the same problem exists, the ATM is in control of the order and ultimately ignores your manual changes. You can see the SampleATMStrategy for an example of using ATMs from NinjaScript.

    Another way to approach this would be to not use a strategy. You can use an Indicator to observe an account and its orders. That will see manual updates to orders so the indicators logic can adjust as needed.



    Comment


      #3
      Has anyone implemented any of these suggestions, got it to work and willing to share it? I have no clue on where to even begin. Thanks in advance.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      58 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      133 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      73 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      45 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      50 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X