- ago
I would like to simulate a buy-and-hold strategy using the meta strategy creator. However, in order to do this, I would need to simulate a buy and hold using a building block strategy.

How could I accomplish a buy and hold on 1 symbol using building blocks? I imagine its fairly simple, but I need some guidance to make sure I do it correctly.

0
420
Solved
3 Replies

Reply

Bookmark

Sort
- ago
#1
After looking through the discussion forum, I found a C# strategy that can accomplish the same goal, so building blocks are not needed.

Here is the URL for the C# Code: https://wealth-lab.com/Discussion/Buy-and-Hold-SPY-doesn-t-match-the-benchmark-SPY-6802
0
Cone8
 ( 24.99% )
- ago
#2
Just open a new BB Strategy and delete the Sell block. Voila! Buy and Hold starts with the open of the second bar, sized using Close of the first bar.

Note - for testing purposes you can select "Basis Price: Market Open next Bar" so that all 100% of Equity can be applied without risk of missing the trade due to a gap.
0
Best Answer
Glitch8
 ( 10.94% )
- ago
#3
This would also do it:

0

Reply

Bookmark

Sort