When you use this formula: (ROC(C,260,%)+ROC(C,130,%)+ROC(C,65,%)+ROC(C,22,%))/4 in the Explorer it rejects securities that lack 261 days of data. Is there a way to write something like
if there is at least 261 days of data then (ROC(C,260,%)+ROC(C,130,%)+ROC(C,65,%)+ROC(C,22,%))/4
else if there is at least 131 days of data then (ROC(C,130,%)+ROC(C,65,%)+ROC(C,22,%))/3
else if there is at least 66 days of data then (ROC(C,65,%)+ROC(C,22,%))/2
and so on....
so that short securities would not get rejected?