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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    86 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    67 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X