Çok eski bir web tarayıcısı kullanıyorsunuz. Bu veya diğer siteleri görüntülemekte sorunlar yaşayabilirsiniz.. Tarayıcınızı güncellemeli veya alternatif bir tarayıcı kullanmalısınız.
Displays the performance of a security from the beginning of the current year in percent gain/loss.
Year to Date Gain/Loss (Percent)
a:=C<0;
ytd:=ValueWhen(1,Year()<>Ref(Year(),-1),C);
bs:=BarsSince(Year()<>Ref(Year(),-1))+1;
lvbs:=LastValue(Cum(1))-LastValue(bs);
If(Cum(1)=LVBS,ROC(C,LastValue(BS+PREV-PREV),%),C)