Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy and Hold in strategy builder

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

    Buy and Hold in strategy builder

    I've been trying to do a buy and hold strategy in strategy builder. I can get the cumulative profit but I want to see maximum drawdown on a daily basis as trade progresses. Is this possible to do in strategy builder?

    #2
    Hello Karl Armstrong,

    Thanks for your post.

    There is not a "good" way to do this in the Strategy Builder due to the limited ability to perform some math operations.

    You could approximate it in the Strategy Builder by using a double variable and comparing the Close price minus (offset) the Strategy.AveragePrice and if less to then store that value in the variable. The variable value can then be displayed with Drawing>TextFixed. However, the value would be in points and would be - when the trade is positive.

    Otherwise, your best bet would be to unlock the strategy and work directly in code.








    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 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
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X