That is what I am asking, How can I do the computations on the closed bar? I am not able to find this. For example, how can I convert this "AccumulationDist[AD,D] > 0" to be computed on the closed bar and not tick by tick? TIA!