Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Disable My Strategy

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

    Disable My Strategy

    Hi,

    How can I disable my strategy, right after my profit target is filled?
    Is there a command to do so?
    Sometimes the market is too fast, to allow me to go to the Strategies Settings, then uncheck the Enable box


    Thanks

    #2
    Hello Abdullah_KSA,

    Thank you for your post.

    You can call CloseStrategy() to disable the strategy:



    I'd suggest monitoring for the profit target to fill in OnExecutionUpdate and call CloseStrategy() when the desired fill is seen.

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    49 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    67 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X