Buy-and-Hold backtest formula?

mandelmus

Newbie
Messages
3
Likes
0
How can I write the buy-and-hold formula? It would buy on the first day and sell on the last day of the system backtest.
 
I think you could stick something like this in the "Enter Long" section.
Code:
Cum(1) = 1;

basically it should only be true on the first bar... and Metastock should close it automatically at the end of the back test
 
Top