|
On Mar 26, 6:48 pm, yingtao...@GMAIL.COM (yingtao) wrote:
> Try this:
> change startshare=startshare+endshare as
> startshare=sum(startshare,endshare)
> or startshare+endshare
> I guess it may be caused by the missing value.
I tried startshare+endshare but that caused the same result -i.e. the
retain statement not working -> startshare is always 0 so endshare is
set to trade. Sum(A,b) may work. I'll try it and let you know.
|