Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Daily Profit Trigger

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

    Daily Profit Trigger

    Hello team,

    I have a strategy for which I want to apply a Daily Profit Trigger, that is to say that the strategy is launched and when it reaches a daily profit that I have determined, it closes automatically and stops functioning. but works the next day, so the setting must reset every day.

    I saw that in our dashboard via web we can activate this trigger and it works well but I would like to integrate it directly into my strategy and modify this objective via the user interface according to my objective.

    I tried several things but it doesn't work, is it possible to have the code that activates this trigger from the web? Image attached.


    Click image for larger version

Name:	Capture d’écran 2023-09-22 151122.jpg
Views:	423
Size:	105.6 KB
ID:	1269951
    thanks a lot for your help​

    #2
    Hello snoussi,

    You can find a sample of working with PnL in a strategy in the following link, that shows how to use the pnl to stop trading. The User dashboard setting applies to the account and would not be able to be referenced by a strategy.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    51 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    129 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 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