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:	434
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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    89 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X