Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder - configure a profit target condition?

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

    Strategy Builder - configure a profit target condition?

    Does anyone know how I could run an automated strategy until profit hits $50.00 (total PnL?)? But stop running if we go negative $50.00?
    Last edited by MatthewLesko; 03-09-2021, 12:52 AM.

    #2
    Hello MatthewLesko,

    Thank you for your post.

    Yes, in the Strategy Builder you could create a set of conditions to check whether your realized PnL is greater or less than your values, and set a bool to control whether the strategy can enter again. I've created a simple strategy builder strategy that runs in real time only (please test with the Sim101 account on a live chart) and submits a long order with a stop and target if the current position is flat and a bool called OKtoTrade is true. When the strategy sees that the realized PnL is greater or less than the ProfitPnL or LossPnL, the bool is changed to false and the strategy will not enter further trades.

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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X