what is the type of filter that has values ones? I used the filter with values ones but i don't know what kind of type is?

p=ones(1,L) where L is the length of the filter

in this case what we can name the filter?
This, on its own, would perform a summation operation of L elements of your input. If you modified it to p = ones(1,L)./L, then it would become a moving average (or in other words a low-pass) filter.

For more information please see this and this link.

Hope this helps