{ Downloaded From https://www.WiseStockTrader.com }
periods:=Cum(If(C>0,1,0));
percnt:=C/ValueWhen(1,periods=1,C);
percnt;