Buy and Hold Indicator for Metastock
Here are two buy and hold formulas for metastock. One displays in percent the other in dollars.
Indicator / Formula
Copy & Paste Friendly
periods:=Cum(If(C>0,1,0));
dollars:=C-ValueWhen(1,periods=1,C);
dollars;Copy & Paste Friendly
periods:=Cum(If(C>0,1,0));
percnt:=C/ValueWhen(1,periods=1,C);
percnt;0 comments
Leave Comment
Please login here to leave a comment.